Claude agent memory just got a lot more interesting: Anthropic showed that Claude can “dream,” and the result is an AI that stops forgetting what you taught it. In one test, a wiki built over 128 dreaming sessions lifted Claude’s score from 13% to 48% of graded criteria.
On November 6, 2026, Anthropic published “The components of agent memory,” a research post by Lance Martin. In short: Claude saves what it learns as memory notes, and between sessions an offline process the lab calls dreaming reviews those notes, fixes mistakes, and organizes them for next time.
That matters if you use Claude as a freelancer’s second brain: memory that survives between sessions — and improves on its own — ends the daily re-onboarding.
What “dreaming” actually is
Dreaming is not sleep, and Claude is not conscious. The name comes from sleep-time compute, proposed by researchers at Letta and UC Berkeley: use idle time between interactions to reorganize what a model already knows.
Anthropic defines agent memory narrowly: knowledge Claude gains from experience, kept between sessions as context it can read later. It excludes weight changes, single-conversation learning, and compaction, the summaries Claude writes to replace older turns.
Memory has four layers: transcripts (a searchable log), memory notes, representations such as wikis, and injected context — the facts loaded into every new session.
The Pokémon test: less memory won
Anthropic tested Claude’s judgment about what to save by letting it play Pokémon Red, with a folder of memory files it could read and write.
Claude Sonnet 3.7 wrote down almost everything: 413 memory files across 225 folders. It earned one badge. Claude Fable 5 wrote nine files plus a single file called global.md, focused on strategy and lessons. It earned four badges.
The detailed record kept going out of date as the game state changed. Around step 10,000, Sonnet 3.7 spent 17 steps creating and deleting memory files without taking a single action in the game. Fable 5 kept a dashboard of its goal and gym plan — and progressed much further. Opus 5.5 took the same approach and beat the game.
| Experiment | Setup | Result |
|---|---|---|
| CL-Bench database task | Opus 5.5 with a memory store | Mean reward 0.655 to 0.838 |
| Pokémon Red | Sonnet 3.7, 413 files | 1 badge earned |
| Pokémon Red | Fable 5, 9 files + global.md | 4 badges earned |
| Stainless wiki | 128 dreaming sessions | 13% to 48% of graded criteria |
Dreaming fixes wrong memories
A note that is wrong from the start can poison every later session. In the Pokémon run, Claude wrote down that the PokéCenter was on the east side of Mt. Moon. It was on the west. Claude walked off a one-way ledge and fell back onto the route it came from — three times.
Dreaming broke the loop: Claude checked the note against the transcript, caught the error, and rewrote it. With the corrected memory, it walked straight back into Mt. Moon and reached Cerulean City. The uncorrected run gave up and walked back to Pewter City.
Dreaming also builds new representations. From about 350,000 internal documents (~420 million tokens) from Stainless, a company Anthropic acquired in May, Opus 5 agents ran 128 dreaming sessions to build a linked wiki. Scores on 25 questions rose from 13% to 48%. With search and the wiki together, the score rose from 54% to 61%, using about 20,000 fewer tokens a question.
How Claude’s memory layers work
Transcripts (everything that happened) → Memory notes (worth keeping) → Wiki (a map of knowledge) → Injected context (top facts, loaded into every session)
Dreaming runs between sessions: checks notes against transcripts, fixes errors, promotes the best facts upward.
What this means for freelancers and creators
The research points at a near future where your AI assistant remembers your clients, your house style, and the mistakes you already fixed.
- Client playbooks: per-client notes on tone, pricing, and preferences that persist across projects.
- Fewer repeated mistakes: a corrected fact stays corrected.
- Faster starts: a new session loads a small index instead of re-reading everything.
Anthropic’s post links to cookbooks for getting started with dreaming, aimed at developers building agents. This is research, not a consumer launch — but the techniques are public.
How to profit
- Build a memory file for every client. Tone, brand rules, pricing, past decisions — load it at the start of each session.
- Write down what went wrong. After each project, add a short note: what the client rejected, what took too long, what worked.
- Keep memory small and opinionated. The Pokémon test is the warning: 413 files earned one badge, nine earned four. Save rules and decisions, not raw logs.
- Sell an “AI that remembers” setup. A fixed-price package: client playbooks, a memory file system, a weekly review that prunes stale notes.
- Charge for the system, not the chat. One clever prompt buys one answer. A memory system buys an assistant that improves every week.
FAQ
Is Claude dreaming in my chats now?
Not as a consumer feature. The November 6 post is research about agents, with cookbooks for developers. Dreaming is an agent technique, not a chat-app switch.
What is agent memory, exactly?
Knowledge Claude gains from experience, kept between sessions as context it can read later — not weight changes, single-conversation learning, or compaction summaries.
What does dreaming do?
An offline pass between sessions: Claude re-reads transcripts, checks memory notes against them, fixes errors, and builds representations such as wikis.
How big were the improvements?
On a CL-Bench database task, Opus 5.5 went from 0.655 without memory to 0.838 with it, per Anthropic’s chart. A wiki built over 128 sessions lifted scores from 13% to 48% — Anthropic’s own evaluations.
Can dreaming fix a wrong memory?
Yes. A wrong note about a PokéCenter’s location trapped Claude in a loop three times; dreaming checked it against the transcript, corrected it, and Claude reached the next city.
Sources
- Anthropic: The components of agent memory
- Anthropic on X: “Memory is what allows Claude to learn from experience”