Research ·

Anthropic explains how Claude agents "dream" to tidy up their memory

What happened

Anthropic described how agents, in the gaps between tasks, review their own notes (memory is stored as files), compare them against logs of earlier work, and fix mistakes. The key takeaway is that a model does better when you explain why memory matters than when you dictate exactly what to write down. In a Pokémon test, Fable 5 won four badges with just 10 files, while the older Sonnet 3.7 won one with 413 files.

Why it matters

If you use CLAUDE.md or notes for agents in your projects, here's practical advice: fewer files, more explanation of purpose, and periodic cleanup of notes by comparing them with what actually happened.

Sources

More from this brief