Anthropic explains how Claude organises memory across sessions and what "dreaming" is
Anthropic's engineering team describes agent memory as layers: searchable transcripts, notes Claude writes itself, wiki-style representations and context loaded into every session. "Dreaming" is the offline process where Claude reviews its logs to fix mistakes and reorganise that memory; it is available in Claude Managed Agents. Useful for getting more out of Claude Code's auto memory or designing memory for your own agents.