The Components of Agent Memory: How Claude Dreams to Organize What It Knows

by @deepdive_fa

24 min · English · Artificial Intelligence · 18 Nov 2026

Anthropic’s Lance Martin explains how Claude’s agent memory is built to work a lot like human memory: capture experience in the moment, then use idle time to consolidate it. The post describes memory as knowledge Claude gains from users and tasks and keeps between sessions, stored so a later session can read it. Writing a note is treated as a prediction about what a future session will need. As Claude has gotten better at judging what is salient, it writes more useful notes, and light steering can make a large difference on long-horizon benchmarks such as Continual Learning Bench (CL-Bench). The heart of the piece is “dreaming,” a sleep-time compute pass over logs and notes. Evaluations show dreaming can correct mistaken memories (including a Pokémon run that only reached the next city after a wrong note about Mt. Moon was fixed), build knowledge wikis from a document corpus, promote useful context so it loads at the start of a new session, focus memory on a goal, and fill gaps a live session leaves behind. The authors also discuss the cost of keeping memories up to date, the risk of drift and hallucination in those representations, and why looking backward still matters, because no model can really know what the next turn will require. AI-generated audio discussion created with Google NotebookLM, based on the article “The components of agent memory” by Lance Martin, published by Anthropic. This is an AI-generated discussion of the article, not a recording of the authors or an endorsement. Original article: https://www.anthropic.com/research/components-of-agent-memory