Anthropic Says AI Agents Need Selective Memory to Work Longer
Anthropic found Claude works better when it saves strategies instead of everything, and a post-session Dreaming pass can fix faulty notes before they derail future work.
AIXVZ
AI agents that sell for you. AIXVZ builds sales agents and automates routine business processes — from first contact to deal.
Learn more
Anthropic says long-running AI agents fail not because they remember too little, but because they remember the wrong things. In tests with Claude, selective notes about strategies and rules beat exhaustive archives, while a post-session review called Dreaming corrected errors. The finding matters for anyone expecting agents to carry project knowledge across days without starting over.
Why saving everything made Claude fail
In a test with Pokemon Red, the older Claude Sonnet 3.7 treated almost everything as potentially important. Across roughly 10,000 game steps, it created 413 files in 225 folders, often a separate file for each battle and item found. Because the game state kept changing, the archive went stale quickly. At times the model spent its effort reorganizing notes instead of playing, and it finished with just a single badge. The newer Claude Fable 5 limited memory to a few files and earned four badges.
Anthropic said Fable 5 did not record information already visible on screen and instead wrote down plans, strategies and tested rules. The company recommends explaining the purpose of memory to Claude and letting the model decide how to use it. In one benchmark, rigid instructions such as only record mistakes wiped out most of the advantage for stronger models. Older models benefited from clearer instructions, such as being told to read their notes before every response. Anthropic noted its model comparison covers only a single playthrough per model.
What selective memory means for daily work
For workers using agents on multi-day projects, the lesson is practical: an agent that logs every step can become slower and less reliable as outdated notes pile up. Selective memory focused on decisions, rules and what has already been tested is more likely to stay useful across sessions. Anthropic also warns against automatically loading too many memories into every session, because they consume context and can carry a bad note into every future session. Dreaming is designed to reduce that risk by checking notes against transcripts of earlier sessions during idle periods.
The approach is still experimental and the evidence comes from Anthropic itself. Dreaming costs extra compute, its results arrive only after a delay, and taking notes mid-task can distract the agent. Wikis and note stores need regular upkeep or errors accumulate, and in one case a wiki grew larger than the source documents. Dreaming was introduced in May as a research preview for Claude Managed Agents, reading a memory store and up to 100 past sessions without changing the original. At launch it supported only Claude Opus 4.7 and Sonnet 4.6.
// Read next
AI labs near cryptography breakthrough as expert panel prepares statement
A 21-expert cryptography panel lists a forthcoming statement as researchers point to an AI breakthrough in theoretical …
Musk: Google Wants to Rent More Computing Capacity From SpaceX
Elon Musk says Google is interested in renting additional computing power from SpaceX, a signal of how tight AI infrast…
RTX 5090 Cable Melt Triggers Air Quality Alarm in PC Owner Room
A Reddit user says a melting 12+4-pin cable on a Gigabyte RTX 5090 filled the room with particles and damaged the GPU p…
YouTuber builds working USB graphics card for 20 cents
Bitluni turned a 13-cent CH570 microcontroller into a monochrome USB graphics card using PWM video tricks and SRAM cach…