
Anthropic published the architecture behind Claude's agent memory: four layers from raw transcripts to the small header loaded into every session, and an offline pass it calls dreaming that corrects notes, builds wikis and promotes what survives. Memory pays through judgement about what to save, and the maintenance pass is a separate, token-billed night shift.

| Model | No memory | With memory | Gain |
|---|---|---|---|
| Opus 5.5 | 0.655 | 0.838 | +0.183 |
| Sonnet 5.5 | 0.644 | 0.833 | +0.189 |
| Opus 5 | 0.564 | 0.828 | +0.264 |
| Opus 4.7 | 0.383 | 0.700 | +0.317 |
| Sonnet 5 | 0.306 | 0.610 | +0.304 |
| Sonnet 4.6 | 0.330 | 0.364 | +0.034 |

global.md dashboard held the current goal, a prewritten plan and the model's own rules for using memory. Folders held route plans and tested strategies, including one written after seven Poké Balls failed on a Magikarp.
instructions field steers synthesis, not text. Directives that target a specific line generally produce no change, so a team expecting to hand-edit the output store through a prompt will be disappointed 3.| Layer | What it holds | Who writes it | What it bills | When it earns its keep |
|---|---|---|---|---|
| Transcripts | Every event of every session | The harness, automatically | Storage and retrieval tokens | This sprint: dreaming has nothing to read without logs |
| Memory notes | Rules, traps, plans the screen will not repeat | The model, mid-session | Attention taken from the task | This sprint, with one sentence about purpose |
| Representations | Linked pages over a document corpus | Dreaming, offline | A background token budget | After an evaluation: it pays only on cross-document questions |
| Injected context | The index loaded into every session | Dreaming, plus pruning | Tokens on every request | This sprint: cap it, and leave links behind |
anthropic.com
code.claude.com
platform.claude.com
platform.claude.com
arxiv.org
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.