Basics
What Is Claude Dreaming? How Anthropic’s Agents Clean Up Their Own Memory
Claude dreaming is Anthropic’s way for AI agents to review past sessions and rewrite their memory. How it works, who can use it, what it costs, and the test results.
Claude dreaming sounds like science fiction, but it is a plain engineering idea. An AI agent that works on the same job for weeks collects a lot of notes. Some are wrong. Some repeat each other. Some are out of date. Dreaming is the step where Claude goes back over its old work, while nobody is waiting on it, and tidies those notes up.
The term is back in the news because Anthropic published a long research post on November 6, 2026, called "The components of agent memory," with new test results. Here is what dreaming is, how it works, who can actually use it, and what the numbers say.
What is Claude dreaming?
Dreaming is offline reflection for AI agents. During a normal session, an agent works on a task and may jot down memory notes for next time ("the deploy script needs the staging flag," "this client prefers short replies"). Dreaming happens between sessions. Claude rereads those notes next to the original transcripts and asks: is this still true, is it repeated somewhere else, and what is missing?
Anthropic’s own definition of agent memory is knowledge Claude gains from experience, with users and with tasks, that it keeps between sessions as text it can read later. That matters for one reason: dreaming edits that saved text. It does not retrain Claude. Anthropic’s Alex Albert told VentureBeat at launch that dreaming does not update the model’s weights.
The name borrows from neuroscience. Anthropic’s post compares it to the way the brain replays the day during sleep, and to an older research idea called sleep-time compute from Letta and UC Berkeley.
How does Claude dreaming work?
Anthropic describes agent memory as four layers, from bottom to top:
- Transcripts: the full, searchable log of past sessions.
- Memory notes: short notes Claude writes for itself.
- Representations: bigger structures built from notes, such as a linked wiki.
- Injected context: the few notes loaded into every new session automatically.
A dream moves information up and down that stack. It checks notes against transcripts and fixes errors, merges duplicates, builds wiki pages with links between them, and promotes the most important notes into the top layer so the next session starts with them. A second dream can fill gaps the first one left.
On the developer side, the Managed Agents docs spell out the mechanics. You start a dream with one existing memory store and 1 to 100 past sessions. You can add optional instructions to steer it. The job runs in the background and usually takes "minutes to a few hours." When it finishes, you get a brand-new memory store. The docs are clear that the input store is never modified, so you can compare the two before you switch your agent over.
What did Anthropic’s tests show?
The November 6 post includes several experiments. These are Anthropic’s own tests, not independent ones, and some rest on single runs.
| Test | Without dreaming or wiki | With it |
|---|---|---|
| Stainless company docs (about 350,000 files), 25 questions, wiki only | 13% of graded criteria after 2 dreaming sessions | 48% after 128 sessions |
| Same test, wiki plus search | 53% with search alone | 61%, and about 20,000 fewer tokens per question |
| Harvey LAB merger questions (24) | 73% with search alone | 87% with the wiki |
| Pokémon Red, Mt. Moon | Wrong note sent Claude back to Pewter City; never reached Cerulean | Dream fixed the note; reached Cerulean City at action 1,935 |
Anthropic also shows where it did not help. On one legal task the wiki gave no clear gain over search. On another, the wiki grew to 1.77 times the size of the documents it was summarizing, which the post says "effectively abstracted nothing." When VentureBeat covered the May launch, it reported that legal AI company Harvey saw task completion rise about 6x after adopting dreaming. That figure comes from Anthropic’s launch, not an outside audit.
Who can use Claude dreaming?
Right now, developers. Dreaming lives in Claude Managed Agents, which entered public beta on April 8, 2026. Dreaming itself was announced at Anthropic’s Code with Claude conference in May 2026 and is still labeled a research preview. Developers request access through a form on claude.com, and the API calls need a special dreaming beta header on top of the Managed Agents one.
| Question | Answer (as of November 8, 2026) |
|---|---|
| Where it runs | Claude Managed Agents API |
| Status | Research preview, access by request |
| Price | Standard API token rates for the model you pick; no separate dream fee |
| Supported models | Fable 5.1, Fable 5, Opus 5.5, Opus 5, Sonnet 5.5, Sonnet 5, Opus 4.8, Opus 4.7, Sonnet 4.6 |
| Run time | Minutes to a few hours |
| Zero data retention or HIPAA | Not eligible |
| In the Claude app? | No setting announced |
Is there Claude Code dreaming?
Many people search "claude code dreaming" and "claude dream command." Anthropic has not announced dreaming as a Claude Code feature. Claude Code has its own, separate auto memory, which saves notes to a MEMORY.md file. Anthropic’s post notes that Claude Code loads only the first 200 lines or 25 KB of that file into each session, which is exactly the kind of limit dreaming is meant to work around. A memory-tidying feature was reportedly spotted in leaked Claude Code source earlier this year, but that is a leak, not a launch. If you see a "dream skill" or "dream prompt" on GitHub or Reddit, it is a community project that copies the idea, not an Anthropic product.
Claude dreaming vs regular chatbot memory
Consumer memory, like the saved facts in the Claude or ChatGPT apps, stores things about you as you go. Dreaming is a separate cleanup pass that runs later and spends extra compute to make the memory better. Meta’s new approach takes a different angle again, which we covered in What is Muse Active Memory? Google offers hosted agents too; see Gemini Managed Agents.
Anthropic is honest about the costs. Dreaming uses compute. Checking every memory may not be practical. A wrong note that gets promoted to the top layer is carried into every session. And loading a note does not guarantee Claude will act on it.
Dreaming edits memory, not the model. Training that changes the model itself over time is a different idea, explained in What is continual learning in AI?
What this means for you
Dreaming solves a real problem: agents that forget, or worse, remember things wrong. But today it is a developer tool. Using it means building an agent on an API, picking a model, managing memory stores and paying per token.
Most people just want the work done. That is the idea behind an agent app on your phone: you describe the task, a small team of AI agents plans it and does the legwork, and you stay in charge of the decisions. You do not need to know what a memory store is. If you want the bigger picture first, start with what agentic AI is or browse the glossary.
New to the platform that dreaming runs on? Start with What is Claude Managed Agents?, which covers pricing and the self-hosted beta.
Quick answers
What is Claude dreaming? A Claude Managed Agents feature where Claude reviews an agent’s memory store and past session transcripts between sessions, then writes a new, cleaned-up memory store with errors fixed and duplicates merged.
How does Claude dreaming work? You give a dream one memory store, 1 to 100 past sessions and optional instructions. It runs in the background for minutes to a few hours and outputs a new memory store. The original store is never changed.
Is Claude dreaming free? No separate fee, but it is billed at standard API token rates for the model you choose, so longer and more numerous sessions cost more.
When did Anthropic launch dreaming? It was announced at Code with Claude in May 2026 as a research preview. Anthropic’s detailed research post on agent memory and dreaming came out on November 6, 2026.
Does dreaming change the Claude model? No. It only rewrites saved memory text. The model weights stay the same.
Can I use Claude dreaming in the Claude app or Claude Code? Not as an announced feature. It is part of the Managed Agents API for developers. Claude Code has its own separate auto memory.
Sources: Anthropic: The components of agent memory (Nov 6, 2026) · Claude docs: Dreams · VentureBeat (May 7, 2026) · Let’s Data Science (Nov 7, 2026)