Anthropic explains how agent memory works: notes, wikis and dreaming that fixes mistakes
In an engineering post, Anthropic describes how it designs memory for AI agents: knowledge an agent gains from its work and keeps between sessions, for example as a folder of notes. On the CL-Bench test, run with Claude Managed Agents, Opus 5 was the first model to close the learning loop by recording a rule, how it verified it, and the traps it found. The core idea is dreaming: in idle time the agent reviews logs and transcripts, corrects wrong notes, builds a linked wiki and promotes key notes to the top of each new session's context. On a corpus of Stainless documents, scaling dreaming from 2 to 128 sessions raised the score from 13% to 48%. Another finding: tell the agent what memory is for rather than imposing fixed rules on what to record.
Otomatzia editorial · Published
Source published: · Anthropic

