The Components of Agent Memory
The concept of memory in AI agents is a complex one that involves a division of labor, much like in the human brain. Human memory works by encoding experiences constantly, with the hippocampus capturing these moments for quick access. However, not all experiences make it to long-term memory, with consolidation happening during sleep and quiet rest. Agents, on the other hand, capture their work in logs or transcripts and can use idle time to reorganize their context, a process akin to "sleep-time compute."
This memory organization can be enhanced through a process similar to dreaming, where agents reflect on their logs to correct mistakes or create new notes and representations. To evaluate agent memory, researchers have tested systems like Claude, focusing on components such as dreaming, tagging salient events, and creating memory notes.
Claude's memory operates differently from the human brain, but it can be trained to recognize what's important by tagging salient events during a session. This tagging allows Claude to easily recall crucial information in the future. Moreover, Claude can act as a prediction system, writing down rules and theories about relevant patterns that it anticipates will be useful in future sessions.
This predictive capability has improved Claude's performance in tasks requiring long-term memory, such as Continual Learning Bench (CL-Bench) 1.0.
In this benchmark, Claude's ability to create learning loops by recording failures, testing theories, and forming rules has varied among different models. Claude Sonnet 5.5 and Claude Opus 5.5, for example, have been able to close the loop by capturing validated rules, answers to earlier questions, and warnings about potential traps.
This approach to memory has led to improved performance in tasks like playing Pokémon Red, where agents must navigate complex, long-horizon tasks and make judgments about what information to retain in memory.
Rewritten by urgent.news; may contain errors — check the original.
Other reports of this story
- The Components of Agent Memory anthropic.com