Anthropic Maps Agent Memory Layers and Offline Dreaming for Claude

Anthropic detailed how Claude agents stack transcripts, notes, wikis, and injected context, and how offline dreaming corrected memory to lift document Q&A and

By AI World

Anthropic Maps Agent Memory Layers and Offline Dreaming for Claude

đź§  **Anthropic** published a deep research post on **Thursday** describing how **Claude** agents organize memory across sessions and how offline **dreaming** reviews transcripts to fix notes, build wikis, and load small slices of context before each run.

The company frames agent memory as a four-layer stack: searchable transcripts, salient notes, structured maps such as linked wikis, and a thin injected context layer loaded at startup. **Dreaming** runs between sessions, checking notes against logs, merging duplicates, and promoting only high-signal rules upstream. In tests on roughly **350,000** internal files from **Stainless**, wiki-only accuracy on **25** questions rose from **13%** to **48%** as dreaming scaled from **2** to **128** sessions; pairing search with the wiki lifted scores to **61%** versus **53%** for search alone.

The work matters because long-running agents live or die on memory hygiene. **Anthropic** showed **Claude Fable 5** earning four Pokémon badges with **9** memory files while **Claude Sonnet 3.7** wrote **413** files and stalled at one badge. On merger-style document questions, wiki access hit **87%** versus **73%** for search alone. The lab warns dreaming burns compute and can spread bad notes if left unchecked—research, not a finished product toggle for every developer. 🔬

Affissi