Read The Day

AI AgentsNews analysis · 4 min read

Anthropic explains how Claude agents organize and repair memory

Anthropic’s November 6 engineering report treats agent memory as a maintained system rather than a transcript dump. Its tests show gains from selective notes and offline reorganization, alongside costs and failure modes.

Memory is a selection problem

An agent that remembers every observation can become less useful as its archive grows. Anthropic’s November 6 engineering report describes agent memory as knowledge gained from experience and retained between sessions in files or other readable context. It separates this from changing model weights, learning inside one conversation and compaction that summarizes older turns.

The design begins with a searchable transcript and memory notes written during work. A note is effectively a prediction about what a future session will need. That makes selection central: a verified rule, current goal or discovered trap may deserve persistence, while a changing screen value can usually be read again. The report’s examples show that indiscriminate saving creates stale material and increases the work needed to find the useful part. Source: The components of agent memory

Newer models build more useful learning loops

Anthropic evaluated Claude Managed Agents on a database task from Continual Learning Bench 1.0. Each question began in a fresh session, but the agent could read and write a persistent memory directory. The company reports that Opus 5.5 improved from a 0.655 stateless mean reward to 0.838 with memory; Sonnet 5.5 moved from 0.644 to 0.833. These are Anthropic’s results for one benchmark, not a general accuracy guarantee.

The qualitative difference was whether the model closed the learning loop. Older models often saved untested theories. Later models recorded a rule, the evidence supporting it, previous answers and warnings about known traps. In a separate Pokémon task, Sonnet 3.7 accumulated 413 files across 225 folders and earned one badge, while Fable 5 kept ten files and earned four. The comparison suggests that judging salience can matter more than retaining a larger archive. Source: The components of agent memory

Dreaming uses idle compute to revisit experience

Anthropic uses “dreaming” for offline passes that review transcripts and reorganize memory between active sessions. The process can correct notes, build linked representations such as wikis, or decide which compact index should be loaded automatically next time. In one game example, a stored location was wrong; a dreaming pass checked it against the transcript, rewrote the note and changed the agent’s later route.

This matters because stored errors can become more persistent than an ordinary wrong answer. A future session may trust a memory note without recreating the evidence that produced it. Rechecking the note against the original record creates a path for repair, but the method consumes compute and depends on the transcript being a suitable reference. An offline pass can also introduce its own errors, so maintenance does not eliminate the need for traceability. Source: The components of agent memory

A wiki helps only when the task needs one

Anthropic also tested a generated wiki over roughly 350,000 internal files containing about 420 million tokens. Across 128 dreaming sessions, performance using only the wiki rose from 13% to 48% of graded criteria. Search combined with the growing wiki improved from 54% to 61%, compared with 53% for search alone, and used about 20,000 fewer tokens per question in the reported test.

The report includes important counterexamples. A wiki gave no clear benefit when individual questions could be answered from one document, and another generated wiki grew to 1.77 times the size of its source corpus. In a contract task, concurrent agents overwrote material and preserved only 41 of 57 facts until the instructions and page ownership were changed. A memory representation is therefore an engineered index, not automatically a better source of truth. Source: The components of agent memory

Adoption needs expiry, provenance and a budget

For developers, the before-and-after change is not a new model endpoint but a clearer memory architecture: event logs at the bottom, selected notes above them, optional representations for navigation, and a small injected index for every session. Claude Code’s auto-memory example loads only the first 200 lines or 25 KB of MEMORY.md, preserving context space while pointing toward deeper material.

A useful pilot should test whether a saved claim has a source, whether changing facts expire, whether contradictory notes are surfaced, and how much background compute maintenance consumes. Anthropic explicitly leaves open when memory should be written and how often dreaming should run. The practical takeaway is narrow but significant: durable agents need memory that can be inspected, corrected and pruned, not merely more storage. Source: The components of agent memory

Sources and editorial note

  1. The components of agent memory

    Original source · 6 November 2026. Accessed 7 November 2026.

AI-assisted reporting and analysis based on the linked primary source. Company results are attributed; we have not independently tested the systems. The context and outlook sections are our analysis. Our editorial standards.