Anthropic says the key to agent memory is knowing what to forget, not how much to store

In one sentence

Anthropic found that effective AI agent memory relies on selectively recording strategies and using a post-session "Dreaming" process to review transcripts and fix faulty notes.

Key points

  • Anthropic tested how Claude stores information in note files across sessions for later tasks.
  • Tests showed that selectively recording strategies and rules works better than logging every step, which overwhelms models with outdated data.
  • Through a post-session process called "Dreaming," the system analyzes earlier transcripts during idle periods to fix faulty notes and build structured knowledge bases.
  • Anthropic introduced Dreaming in May as a research preview for Claude Managed Agents, initially supporting Claude Opus 4.7 and Sonnet 4.6.

In depth

An AI-written overview of the original article, not the article itself.

Anthropic has studied how its Claude models retain knowledge across sessions, finding that selective note-taking outperforms exhaustive logging. By using a post-session review process called Dreaming, agents can also correct faulty memories and organize knowledge more effectively.

Selective notes beat exhaustive logs

Because AI agents start each new session from scratch, they must decide in real time what to record. In a Pokémon Red test, Claude Sonnet 3.7 logged everything across 10,000 steps, creating 413 files that quickly became outdated and earning just one badge. By contrast, Claude Fable 5 recorded only tested strategies and rules in a few files, earning four badges.

Anthropic recommends explaining the purpose of memory rather than imposing rigid rules, which can hinder stronger models.

Dreaming fixes errors and builds wikis

To prevent agents from relying on false notes, Anthropic introduced Dreaming. During idle periods, Claude checks its notes against earlier session transcripts, similar to how human brains process experiences during sleep. In the Pokémon test, this helped Claude correct a wrong landmark note and find the right path.

Dreaming can also organize large knowledge bases into wikis. In a legal test, combining a wiki with search boosted Claude's accuracy on multi-document questions to 87 percent, compared to 73 percent with search alone.

Limitations and broader industry efforts

Anthropic notes that mid-task note-taking can distract agents, while Dreaming adds compute costs and delays. Loading too many memories also wastes context.

Anthropic launched Dreaming in May as a research preview for Claude Managed Agents. OpenAI and Google have also adopted similar dreaming and wiki-based memory approaches for their agents.

Read originalOpens the-decoder.com

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Recent stories from this source