Skip to content
All news

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

An agent's folder of memory notes linking into a wiki of connected pages. Conceptual illustration.
Original Otomatzia editorial diagram. Conceptual illustration, not a product screenshot.

How do you apply this in a business?