Skip to content

AI Compass / Quick reads

Memory is for what the agent cannot look up

Prompting Everyday

Anthropic compared how Claude models keep a memory made of note files. The older model created 413 files and got less far than Fable 5 with nine files. Store the goal, the plan and tested rules, not what can be looked up at any time. And check old notes against the history, because a wrong note is believed every time.

In depth: Memory in three tiers – what Claude knows about you and your projects

In November 2026, Anthropic described how Claude models keep a memory made of note files that persists from one session to the next. One test was the game Pokémon Red. Each model got a folder in which it could write any notes it liked while playing. After around 10,000 steps, the older Sonnet 3.7 had created 413 files in 225 folders, often one file per battle, per item and per character, and had won one badge. Fable 5 made do with nine files in two folders plus an overview file and had four badges. The difference lay in what was stored. Money and location are on the screen anyway, so Fable 5 did not note them. It wrote down what it had found out itself: goal, plan and rules it had tested. The large archive, by contrast, kept going out of date, because the game keeps changing. Sonnet 3.7 spent more and more steps on sorting. In one phase, it created six files in 17 steps, deleted nine and did not play at all. Two more results from the same post: a fixed instruction such as “record only failures” cost Opus 5 and Opus 4.7 a large part of what memory gave them. Anthropic therefore tells the model what the memory is for, but not how to keep it. And a wrong note is believed in every later session. Anthropic therefore has Claude check the notes against the session logs during breaks and correct them. Anthropic calls this dreaming. Jack Roberts sums this up in a Short as a rule: at the end of a session, save the decisions with their reasoning and leave out the rest. That is his own takeaway; Anthropic does not put it that way.

Tool and alternative

No purchase needed. Claude Code has a built-in automatic memory. According to Anthropic, it loads only the first 200 lines or 25 KB of the file MEMORY.md at the start of every session. The file serves as a table of contents; the details are in further files. With /memory you can see what is in it and delete anything outdated. At the end, the post links Anthropic’s cookbooks on dreaming and on knowledge wikis. I haven’t checked them. How to split memory and archive is in the card Memory in three tiers.

Sources

Advertising in the source: No sponsor apparent, neither in the Short nor in Anthropic’s post.

You can try this with your team in the AI Lab. See the AI Lab