Part 2: Memory Press enter or click to view image in full size In this article, we will add structure to our initial setup and focus on the memory, or state management, level of the app. By the end of this read, our AI Agent will be able to keep track of conversations with the user. We will define the scope of its work, set personality traits, and provide it with the tools to retrieve and save data to a database. We will also create a second agent to help organize these memories.