The Anthropic team has presented the results of a study in which the Claude model learned to analyze its own experiences during periods of inactivity—a process the developers explicitly compare to human sleep. According to them, it is precisely in this 'rest phase' that the neural network organizes accumulated information, consolidates useful knowledge, and, importantly, finds and corrects its own mistakes without external prompts. The accompanying visualization demonstrates both sides of this approach: the model explores a real-world scene in augmented reality while simultaneously structuring the acquired data into a knowledge graph.
The Memory Problem: Between a 'Dump' and a Blank Slate
The initial challenge faced by engineers was non-obvious: if a bot records every single step, its memory eventually turns into a 'dump' of redundant data. But if important details are not stored, the next session must start from scratch. Finding the balance between full logging and targeted memorization is the key to ensuring the model genuinely accumulates experience rather than merely copying it.
The Pokémon Red Test: Accuracy Versus Volume
To test these approaches in practice, researchers set Claude to play Pokémon Red—a game that requires exploring the world and collecting badges. The results after 10,000 game steps proved telling. The Sonnet 3.7 model stored absolutely everything: 413 files across 225 folders, nearly 978,000 characters—yet earned only a single badge. Claude Fable 5 acted with surgical precision: just 10 files across 3 folders (about 43,400 characters) and four badges. Fable 5 recorded the essentials—strategies, conclusions, and current goals—without wasting resources on what was already visible on the screen and without losing discoveries between sessions.
'Dreams' as a Mechanism to Fix Hallucinations
Anthropic emphasizes that if the AI stores a false fact, it will treat it as truth in subsequent conversations. It was these 'dreams'—periods of inactivity—that helped eliminate such a 'hallucination.' In one of the Pokémon Red tests, the bot incorrectly recorded the coordinates of the Pokémon Center near Mount Moon and consequently kept wandering around, jumping over one-way ledges, and returning to the start of the route. During idle mode, Claude cross-referenced its notes with the full text of the past game and discovered the error.
From Game to Real Tasks: 420 Million Tokens
The efficiency of 'nighttime reflection' was tested on large data arrays. Claude was tasked with processing 350,000 internal documents from Stainless, totaling about 420 million tokens. Over 128 periods of inactivity, the model independently created a full-fledged wiki system with structured data and cross-references. The accuracy of answers to 25 complex test questions rose from 13 to 48 percent. In another experiment involving company merger documents, the knowledge base created during the idle period allowed it to answer with up to 87 percent accuracy, whereas standard document search yielded only 73 percent.
Limitations: The Computational Cost of 'Sleep'
The developers honestly point out the limits of the approach: such analysis sessions require significant computational resources, and an excessive amount of information in memory can overload subsequent work sessions of the model. Nevertheless, the demonstrated mechanism—self-correction during downtime—is seen as one of the paths toward a more stable and 'clean' memory for AI agents.