
031 - How an AI Agent Remembers You
How can an AI agent remember that you prefer short emails, know which project you're working on, or pick up a task you started yesterday? An agent can create this experience by storing useful information outside the model's immediate context and retrieving the right pieces when they become relevant. The episode explains several layers of memory. Working context contains the current conversation, instructions, tool results, and information needed for the task. Longer-term memory can include procedural information about how the agent should behave, semantic facts such as preferences or project details, and episodic information about previous events. These are useful mental models rather than a universal standard, since different systems implement memory differently. The episode then connects memory to retrieval-augmented generation, or RAG. RAG retrieves external information and places relevant material into the model's context. Memory can use the same general retrieval pattern to bring information from the past into a current task. Retrieval does not have to mean vector search: an agent can also use SQL, documents, APIs, files, or other sources. Context engineering is important because the model's active context is limited. Anthropic's current guidance emphasizes selecting useful information and using just-in-time retrieval rather than loading an entire knowledge base into every request. Memory also has to change over time. If a user once preferred morning meetings and later says afternoons work better, the system needs to update or supersede the older preference. A memory system therefore needs rules for what to keep, what to retrieve, how to handle conflicting information, and when information should be removed. There is also a privacy dimension. If an agent stores information about a person, users need controls over what is remembered, what can be retrieved, and what can be deleted. Memory is therefore part of the agent's data architecture and permissions model. The key idea is that an AI agent does not remember people the way a person does. It stores information outside the model's immediate context, retrieves useful pieces when needed, and places them into the context used for the next decision. Memory, retrieval, and context management work together to create the experience of an agent that knows you over time. REFERENCES Anthropic - Effective context engineering for AI agents https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents Anthropic - Effective harnesses for long-running agents https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents OpenAI - Memory and new agent capabilities https://openai.com/index/memory-and-new-agent-capabilities/ OpenAI - New tools for building agents https://openai.com/index/new-tools-for-building-agents/ Voice narration is AI-generated.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
