The lede
Components of agent memory
Anthropic · made the Sunday
A four-layer taxonomy — transcripts, memory notes, structured representations like a wiki, and the small always-injected top layer — plus the mechanism that ties them together: an offline 'dreaming' pass that re-reads the logs and reorganizes what was written. The best demonstration is small and damning. An agent wrote down that a landmark sat on the wrong side of a cave, then walked off a one-way ledge three times trusting its own note; dreaming checked the note against the transcript, fixed it, and the corrected run reached Cerulean City while the uncorrected one backtracked. The rules that generalize are the ones worth arguing about at work: let a capable model judge salience rather than handing it a rigid policy, because 'record only failures' cost Opus 5 most of its memory gain. Don't write down what the environment already shows you. Never let two agents write the same page — splitting one shared table into a page per contract took fact coverage from 41 of 57 to all 57. And keep the injected layer tiny, since Claude Code reads only the first 200 lines of its memory index and long instruction files get followed less reliably. Read the wiki numbers honestly too: representations beat search on multi-document synthesis (87% vs 73%) and did nothing on a single-document brief, where the wiki grew to 1.77x the size of its sources and abstracted essentially nothing.