Anthropic has described a way for its Claude agents to reorganize their memory during idle time between sessions. Anthropic's research blog calls the process dreaming and compares it to how the human brain consolidates memories during sleep.
Anthropic says the human hippocampus captures experiences as they happen, then replays them during sleep and quiet rest. That replay is thought to distill experiences into long-term knowledge in the neocortex. Agents work in a similar split: they record much of their work in logs or transcripts, then review those records later. The approach builds on sleep-time compute, an idea from researchers at Letta and UC Berkeley that lets models use idle time to reorganize existing context.
Anthropic defines agent memory as knowledge Claude gains from experience and keeps between sessions as context it can read later. That excludes changes to model weights, learning within a single conversation, and compaction, where Claude summarizes older turns to keep working. Claude can tag important events in a log or write them to a folder of memory notes.
Anthropic also treats memory as a prediction about what a future session will need. It tested this on a Continual Learning Bench task, where Claude answered database questions in fresh sessions. The only link between sessions was a memory directory that persisted from one session to the next.