R147Anthropic's components of agent memory: notes, dreaming, wikis, injected contextFour layers (transcripts, agent-written notes, derived wikis, a small injected index) plus dreaming, an offline pass that corrects notes against transcripts, builds wikis and prunes the injected layer. Measured: memory lifts Opus 5 0.564 to 0.828 on a CL-Bench task but Sonnet 4.6 only 0.330 to 0.364; a fixed "record only failures" rule costs strong models most of the gain; Fable 5's 10-file Pokemon memory beat Sonnet 3.7's 413 files; wiki + search 61% vs search 53%, no gain on single-document lookup; one writer per page kept 57/57 facts vs 41/57.agent-memorycontext-engineeringevalsknowledge-managementharness-config