Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Learn AI in Bits

Learn AI in Bits artwork

031 - How an AI Agent Remembers You

Aug 25, 20266 minAudioSeason 1, Episode 31
ShareXLinkedInFacebookWhatsAppEmail

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.

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. 099 - How Does an LLM Generate Text?

    Nov 23, 20265 minAudio

    Follow a prompt through the inner workings of a large language model. This episode explains tokenization, embeddings, transformer layers, attention, logits, probability selection, and the KV cache. It also compares...

    Credit the people on this episode

  2. 098 - Product Managers: What AI Skills Are Companies Looking for?

    Nov 23, 20265 minAudio

    Explore the AI skills employers increasingly expect from product managers working on AI products. This episode covers core product management, AI literacy, model and agent fundamentals, evaluation, product metrics, and...

    Credit the people on this episode

  3. 097 - Developers: What AI Skills Are Companies Looking?

    Nov 23, 20266 minAudio

    Companies are looking for developers who can combine strong software fundamentals with practical AI skills. This episode looks at AI-assisted development, model APIs, RAG, agents, evaluation, debugging, and system...

    Credit the people on this episode

  4. 096 - Structured Outputs — How to Make AI Return Valid JSON

    Nov 22, 20265 minAudio

    Structured outputs help AI models return data that software can reliably read. This episode explains JSON, JSON Schema, and the difference between JSON mode and schema-constrained responses. It also compares how OpenAI,...

    Credit the people on this episode

  5. 095 - Function Calling: How AI Uses Tools

    Nov 22, 20265 minAudio

    Function calling lets AI models work with external tools, APIs, and business systems. This episode explains the tool-calling loop, how applications define and execute functions, and how OpenAI, Claude, Gemini, and...

    Credit the people on this episode