Live1 today

ResearchNov 7, 2026, 09:24 UTC

Anthropic finds compact memory can beat exhaustive logs for long-running agents

Experiments with games and a 350,000-file corpus show that validated notes and offline reflection can help agents learn across sessions.

A librarian places a small, hand-bound journal on a bookshelf filled with many large logbooks, next to a chessboard.
Illustration: Toolcall

Anthropic has tested how AI agents should retain knowledge across long tasks, comparing raw logs, compact notes, structured wikis and an offline reflection process the researchers call “dreaming.” The results suggest that saving more context is not always better: agents benefit when they preserve validated rules and revisit earlier evidence to correct bad assumptions.

In a Pokémon Red experiment at roughly 10,000 steps, an older Claude agent created 413 files across 225 folders and earned one badge. A newer agent called Fable 5 kept nine files in two folders plus a global note and earned four badges. Anthropic says Claude Opus 5.5 later completed the game with a similarly small memory folder.

The team also gave agents access to an internal software corpus from Stainless containing about 350,000 files and 420 million tokens. Claude Opus 5 agents built a wiki over repeated sessions. Across 25 evaluation questions, the share of grading criteria satisfied rose from 13% after two reflection sessions to 48% after 128 sessions. In another example, reflection caught an incorrect navigation rule and replaced it before the agent repeated the same failure.

The practical lesson is that durable agent memory needs curation, testing and periodic revision—not just a larger context window. The study is still limited: it uses controlled game tasks and one internal corporate corpus, so it does not establish a universal memory design for production agents.

Sources

  1. 1Anthropic researchanthropic.com

In this story

Share

← Back to feed