In Anthropic's tests, agent memory got better when a later pass revised mid-task notes
Lance Martin of Anthropic argues that notes an agent writes mid-task are a poor knowledge base on their own. A separate consolidation step, which Anthropic calls dreaming, corrected wrong notes, filled gaps and built wikis in his examples.
Watch from 7:51Recording by AI Engineer.
The idea
The speaker’s argument, in our words.An agent writes to memory while working, when something looks important for the task in front of it. Future sessions need something different: a coherent, non-redundant and correct map of what is known. Martin's point is that these are two separate jobs and should be done at different times. Recording happens during the task. Consolidation happens afterwards, over the full transcripts and the notes, and can correct, connect and promote information.
His examples are small but concrete. In a Pokemon game, one wrong note about a landmark's location kept sending the agent into the same trap until a consolidation pass fixed it. On a question set built from an acquired company's documents, a wiki built by the agent got more useful as more consolidation compute was spent, and wiki plus search beat search alone. A separate benchmark shows that whether an agent benefits from a plain memory directory at all depends heavily on the model.
What they found
From the talk. Figures are self-reported unless stated.On an open-source continual-learning benchmark (40 sequential questions about a database, a fresh session for each, a persistent notes directory, no memory-specific prompting), an older Sonnet-class model gained little from memory while stronger models gained progressively more.
Shown as a bar chart with and without memory; no figures were read out. Martin says the weaker model did not reliably know when to write to or read from memory. Benchmark name is unclear in the transcript.
Case study
9:25A wrongly recorded landmark location made the agent repeatedly mislocalize itself and fall back a level; without consolidation it stayed stuck, and with a consolidation pass it corrected the note and moved on.
Shown as game-progress trajectories for memory only versus memory plus dreaming. Number of runs not stated.
Case study
14:20On 25 questions answerable only from an anonymized corpus of an acquired company's documents and Slack messages, plain semantic search scored about 53%; an agent-built wiki improved as consolidation tokens increased, and combining wiki and search scored higher than search alone.
Anthropic's internal test of its own models, built from the corpus of Stainless, which Anthropic acquired. Only the 53% search baseline was stated aloud; the wiki scores were on the slide.
Vendor claim
15:53An agent-built wiki contained placeholders for pages that did not exist; a consolidation pass filled the gaps and created an index.
From a different, unnamed benchmark. Shown as before and after views.
Case study
17:28
Why it matters
Our reading. Not said in the talk.A memory design that only appends notes and retrieves them later has no step where wrong or redundant notes get fixed, so errors persist and directories grow. Martin's examples suggest a scheduled consolidation pass addresses both, at a compute cost the talk does not quantify.
What one could try
- Keep full session transcripts searchable as the ground truth, separate from the agent's notes.
- Add a periodic job that rereads recent transcripts and notes, corrects or deletes stale notes, and rebuilds a linked index or wiki.
- Before investing in a memory system, run the same task sequence with and without memory on your chosen model; in Martin's results the benefit varied a lot by model.
Limitations
- All results are Anthropic's own experiments on its own models; only the 53% search baseline was read out, and other gains were shown on charts without sample sizes or variance.
- Game examples are illustrative single trajectories; they show the mechanism, not how often it occurs.
- Consolidation costs compute; the talk does not compare that cost with the gains.
Original sources
AI Engineer CODE Summit 2026 · Nov 12, 2026
Exploring Claude's Frontier
Lance Martin · Anthropic · 18 min
This is our synthesis of the talk, checked against the transcript at the linked moments.

