Dreaming

concept · updated Jul 25, 2026

person concept tool org talk claim — click a node to jump to its page; hover an arrow for the relation

Dreaming is an offline, out-of-band process for consolidating and improving agent memory, analogous to the role biological dreaming plays in human memory consolidation. In the context of long-horizon tasks, it serves as an alternative to in-band memory writing during active agent execution.

Core concept

Lance Martin (Anthropic) describes dreaming as a mechanism distinct from writing memories inline during task execution. Rather than updating memory stores in real time as an agent works, the dreaming process operates offline — reviewing prior session traces and correcting or consolidating the memory store after the fact. Martin at 3:39:50

Motivation: preventing memory degradation

The primary justification Martin offers for dreaming is defensive: when agents write memories in-band during task execution, incorrect or low-quality memories can persist and compound, degrading agent performance over time. An offline dreaming process that reviews prior traces can catch and correct these errors before they accumulate. Martin at 3:39:50

Relationship to In-band memory writing

Dreaming is positioned as an alternative (or complement) to in-band memory writing rather than a replacement for all memory mechanisms. The distinction is temporal and architectural: in-band writing happens during the active task loop, while dreaming happens outside it, decoupled from the live execution context. Martin at 3:39:50

Practical use

Martin notes direct practical application of this technique: Martin at 3:53:40

"I want to show you a fun example that I've used dreaming for"

This suggests the concept has moved beyond theoretical motivation into concrete implementation within Anthropic's work on long-horizon agent systems.

Points of disagreement

No dissenting perspectives on dreaming as a concept appear in the available material. All attribution derives from a single speaker (Lance Martin) in a single talk.