# Dreaming

> 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.

- Identifier: PTL-0247
- Category: Agents & Orchestration
- Canonical URL: https://protologue.com/t/dreaming/
- Also known as: dreams, agent dreaming, memory consolidation
- Introduced: 2026

## Description

The name was popularized by Anthropic, which added dreams to Claude Managed Agents as a research preview in May 2026. In that API a dream takes an existing memory store and between 1 and 100 past sessions, can be steered with instructions, and writes a new memory store, leaving its inputs unchanged so that the result can be reviewed and discarded. Runs take from minutes to a few hours and are billed at ordinary token rates. Anthropic's later account of agent memory describes layers running from raw transcripts through notes written by the agent and wiki-style summaries up to context injected into every session, with dreaming used to test notes against the original transcripts and to promote useful notes upward. Its reported gains, such as a rise from 13% to 48% of graded criteria on questions about a large document corpus as dreaming was scaled from 2 to 128 sessions, and a customer's roughly sixfold increase in task completion, are vendor-reported. Unlike sleep-time compute, which precomputes inferences about a context before queries arrive, dreaming curates memory accumulated across many sessions.

## Broader terms

- [Agent Memory](https://protologue.com/t/agent-memory/)

## Related terms

- [Sleep-time Compute](https://protologue.com/t/sleep-time-compute/)
- [Context Compaction](https://protologue.com/t/context-compaction/)
- [Context Engineering](https://protologue.com/t/context-engineering/)
- [Reflexion](https://protologue.com/t/reflexion/)

## Comparisons

- [Dreaming vs Sleep-time Compute](https://protologue.com/compare/dreaming-vs-sleep-time-compute/)

## Sources

- Anthropic (2026). Dreams. https://platform.claude.com/docs/en/managed-agents/dreams
- Anthropic (2026). New in Claude Managed Agents: dreaming, outcomes, and multiagent orchestration. https://claude.com/blog/new-in-claude-managed-agents
- Martin (Anthropic) (2026). The components of agent memory. https://www.anthropic.com/research/components-of-agent-memory

## Cite this entry

Protologue. (2026). Dreaming. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.7.0, PTL-0247). https://protologue.com/t/dreaming/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
