NeuralBridge
Sign in Download IDE
AI NewsClaude, agents

Anthropic added a “Dreaming” mode for Claude agents' memory

At the Code with Claude conference on 6 May 2026, Anthropic introduced Dreaming — background processing of past sessions that helps agents organize notes and find recurring errors. The feature is available in a research preview, and the Cookbook shows a separate implementation via a dynamic workflow.

Anthropic unveiled the Dreaming mode for Claude Managed Agents on 6 May 2026 at the Code with Claude conference in San Francisco. It lets agents analyze past sessions in the background and tidy up saved notes for use in subsequent tasks.

How Dreaming works

During operation the agent saves notes, but cannot always anticipate which will be useful later. Over time the memory accumulates duplicates, outdated information, and contradictions. Dreaming processes the session history separately from the current task: in a single run the system can study from one up to 100 transcripts.

Then it merges duplicate entries, identifies errors that the agent repeats, and highlights approaches that lead to the result. The original data remain untouched: for the Managed Agents feature a reorganized copy of the memory store is created rather than overwriting the original entries. The user can allow automatic application of updates or keep them for manual approval.

It is not about changing model weights. The conclusions are saved as regular text notes and structured instructions that can be viewed and edited. Access to Dreaming is currently limited to the research preview: organizations need to request it separately.

What the testing showed

In a trial with Harvey, a company developing AI for legal work, after applying Dreaming the task‑completion metric on realistic legal benchmarks reportedly increased sixfold. This is the result of a single partner and a single test type, so it does not guarantee the same improvement in other domains.

In the Claude Cookbook documentation, Anthropic also described an example of an autonomous workflow for memory preparation. In it, an analyzer agent parses individual transcripts and creates small linked files, while an organizer agent orders the storage. The memory in this example is formatted as a mini‑wiki with an index; a subsequent session attaches it read‑only.

This recipe differs from the Dreams function: its author selects the input data, models, and instructions themselves, and the workflow updates the storage in place. In the described test, 11 synthetic files were processed — 10 Managed Agents session transcripts and one Markdown file with command‑chat notes — totaling 283 KB. The work cost $0,36 at the list price and took about two and a half minutes. For more than 50 long transcripts, the Cookbook estimates around $8 and roughly ten minutes with economy settings.

What this means for developers

Dreaming can reduce the need to repeatedly search for important solutions in a long session history. For production agents, this means being able to retain proven commands, agreements, and lessons from past tasks in a form accessible to the next run.

At the same time, memory quality requires oversight: if the agent incorrectly generalizes experience, it may cement a faulty conclusion. Preserving the original data, human review of entries, and manual approval of updates help detect such issues. When implementing it yourself, it is also important to consider transcript handling: the Cookbook notes that Managed Agents sessions are unsuitable for zero‑data‑retention and HIPAA modes.

Sources

All postsAlso in "AI News"