protologue

Dreaming vs Sleep-time Compute

Dreaming and sleep-time compute both use a model's idle time, but for different ends. Sleep-time compute reasons over a context before queries arrive, precomputing inferences so that later answers are faster and cheaper, while dreaming reviews an agent's past sessions and stored memories to merge duplicates, fix stale entries and record new insights for future sessions.

Definitions

Dreaming PTL-0247
Dreaming is an offline, asynchronous process in which a model reviews an agent's past session transcripts together with its stored memories, then merges duplicates, replaces stale or contradicted entries and records new insights, producing a curated memory for later sessions.
Sleep-time Compute PTL-0215
Sleep-time compute is computation a language model performs on a context before any query arrives, anticipating likely questions and precomputing useful inferences so that less computation, and lower latency, is needed when queries come.

Differences

DreamingSleep-time Compute
Works onPast session transcripts and an existing memory storeA context that will be queried later, such as a document or codebase
ProducesA new, curated memory storePrecomputed inferences about the context
Main goalBetter memory across many sessionsLower latency and test-time compute per query
Introduced byAnthropic (Claude Managed Agents, 2026)Lin et al. (2025)

Which to use

  • Use dreaming when an agent accumulates memory over many sessions and that memory has become duplicated, contradictory or stale.
  • Use sleep-time compute when a stable context will be asked many predictable questions and per-query latency matters.

Sources

  1. Anthropic (2026). Dreams.
  2. Anthropic (2026). New in Claude Managed Agents: dreaming, outcomes, and multiagent orchestration.
  3. Martin (Anthropic) (2026). The components of agent memory.
  4. Lin et al. (2025). Sleep-time Compute: Beyond Inference Scaling at Test-time.

Cite this page

Protologue. (2026). Dreaming vs Sleep-time Compute. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.7.0). https://protologue.com/compare/dreaming-vs-sleep-time-compute/

Markdown