Articles/Memory

Memory

Dreaming Everywhere: How Every Major AI Vendor Started Consolidating Agent Memory in 2026

Anthropic, OpenAI, Mem0 and Letta all shipped background memory consolidation this year, and memory itself turned into versioned files. What changed and what to watch.

Jose R. Gonzalez, CPA

Jose R. Gonzalez, CPA · Founder of ContxOS

Updated · 3 min read

In short

In 2026 agent memory settled on two patterns. Memory is stored as files with versions and audit history: Anthropic’s Managed Agents memory stores, Letta’s git-backed Context Repositories, Claude Code’s auto memory. A background "dreaming" pass then rewrites it: Anthropic’s Dreams, ChatGPT’s memory update and Mem0’s Dream. Consolidation makes memory smarter and adds a new risk, because a rewrite can quietly turn a bad input into a trusted memory. The mitigations are provenance, review and an explicit link from every replaced memory to its replacement.

Memory became files

Early in the year Letta moved agent memory into Context Repositories. Memory is a git-backed set of files, some loaded on every turn and the rest on demand, and every change is committed. In April Anthropic put Claude Managed Agents memory into public beta as workspace-scoped stores of text documents, mounted into the agent’s filesystem. Every change creates an immutable version, and an audit trail records which session wrote what. Claude Code turned on auto memory by default: a MEMORY.md index plus topic files, kept on the local machine.

The appeal is obvious. Models are good at reading and editing files, and files are easy to inspect, diff and export.

Then everyone started dreaming

  • Anthropic introduced Dreams for Managed Agents as a research preview in May 2026. A dream reads a memory store and up to 100 past sessions, then writes a new, reorganized store with duplicates merged and stale or contradicted entries replaced. The input store is never modified, so the result can be reviewed before it is used.
  • OpenAI shipped a memory architecture "built on top of dreaming" to ChatGPT Plus and Pro users in the US on June 4, 2026. It automatically revises time-sensitive memories.
  • Mem0 launched Dream on August 4, 2026. It runs weekly per project or user, merges, supersedes and synthesizes memories, deletes nothing, and records every change with a pointer to the newer memory.

Portability improved at the same time. Claude added memory import in March, Gemini added memory and chat-history import later that month, and Codex added an /import command in July that migrates project-scoped memories from other tools.

The new risk: consolidation launders mistakes

OWASP’s Top 10 for Agentic Applications lists memory and context poisoning (ASI06) and recommends validating memory writes, segmenting memory, tracking provenance and supporting rollback. Consolidation raises the stakes. A wrong fact that lands in raw memory can be rewritten into a clean, confident summary with its origin gone.

Three properties make consolidated memory safe to rely on: every consolidated item points back to what it was built from, every replaced item points forward to its replacement, and a person can review the change before it becomes authoritative.

What it means in practice

If you are choosing a memory layer, ask three questions. Can I see where a memory came from? When a memory is replaced, is the old one kept and linked, or silently overwritten? Does consolidation propose changes or apply them? ContxOS answers these by design. Its Dream pass links every pattern and principle to its source entries, supersession is an explicit link, and consolidation proposes changes rather than rewriting the record.

Sources

  1. Context repositories — Letta, February 12, 2026
  2. Memory for Claude Managed Agents — Anthropic, April 23, 2026
  3. Managed Agents memory — Claude Platform docs
  4. Dreams — Claude Platform docs
  5. New in Claude Managed Agents — Anthropic, May 19, 2026
  6. Claude Code memory — Claude Code docs
  7. ChatGPT’s memory feature is getting smarter — 9to5Mac, June 4, 2026
  8. Dream: background memory consolidation for AI agents — Mem0, August 4, 2026
  9. Import and export your memory from Claude — Claude Help Center
  10. Codex releases — OpenAI on GitHub
  11. OWASP Top 10 for Agentic Applications — OWASP GenAI Security Project, December 9, 2025

Frequently asked questions

Is dreaming the same as summarization?

It goes further. A dream merges duplicates, replaces stale or contradicted entries and surfaces new patterns across many sessions, then writes a reorganized memory rather than a summary of one conversation.

Should consolidation run automatically?

It can run on a schedule, but its output should be reviewable. Anthropic’s Dreams write a new store and leave the original untouched for exactly this reason.

Give your agent a memory that lasts

Connect ContxOS to Claude in about a minute. The free plan includes one project.

Product names belong to their owners. ContxOS is not affiliated with the companies named here.