hebel. today · 13 November 202637 / 80

Agentic Engineering · Context Engineering

Anthropic and agents use 'dreaming' to curate memory

Anthropic models consolidate agent memory through a background process called dreaming, which reviews work logs against existing notes to correct mistakes and prune stale information between sessions. This architecture moves beyond simple vector retrieval…

Anthropic models consolidate agent memory through a background process called dreaming, which reviews work logs against existing notes to correct mistakes and prune stale information between sessions (Confluence). This architecture moves beyond simple vector retrieval by organizing memory into a hierarchy of transcripts, selective notes, and knowledge wikis rather than a single searchable attic (Shilpa Mitra from WebAfterAI). When Claude played Pokémon Red, the agent accumulated 413 memory files across 225 folders, eventually stalling due to the overhead of reorganizing its own state; a dreaming pass corrected a single erroneous map note that had left the agent trapped in a mountain cave.

Developers can implement similar routines by directing agents to update project-specific files like CLAUDE.md or AGENTS.md based on recent conversations, effectively performing a manual dreaming pass. For more complex systems, researchers at UC Berkeley developed MemGPT, which treats memory as an operating system by providing agents with a small, always-visible 'main memory' and larger external storage for paging information (Technically). To maintain reliability in production, engineers should combine these fast compaction methods with immutable logs and policy rules that preserve source evidence for high-risk actions (Rosario Fortugno from Applying AI).

Try today · 20 min

Create a scheduled routine to update your agent's project instructions based on recent chat history.

Search your past logs for recurring errors or outdated project constraints to draft a new instruction block.

You need

  • Access to your agent's chat history
  • The current project instructions file (e.g., CLAUDE.md)

Steps

  1. Review your recent chat logs for one recurring error or stale preference.
  2. Ask the agent to summarize the correct instruction to prevent that error.
  3. Draft a new rule or instruction based on that summary.
  4. Append the rule to your project's primary instruction file.

One email instead of your newsletter pile.

Forward the newsletters you already get (a Gmail filter does it) and tell Hebel your goals. Every morning it reads them with 20,000 others and sends one short email, with one small thing to do today. Fewer emails, not more. Free during beta.

Start my paper →
LinkedIn X

Sources

  1. Rosario Fortugno, Applying AI on hebel. → ✎ Written by a personThis report details how SpecCompact uses smaller models to draft memory slots and larger models to verify them for faster compaction.

  2. Shilpa Mitra, WebAfterAI on hebel. → ✎ Written by a personThis breakdown explains the architecture of Anthropic's dreaming process, including the transition from transcripts to pruned knowledge wikis.

  3. Confluence on hebel. →This newsletter describes the practical challenge of curation in agent memory and how to manually trigger dreaming passes in standard tools.

  4. Technically on hebel. →This article outlines the evolution of agent memory from simple RAG to the tiered, operating-system-like architecture used by MemGPT.

More in Agentic Engineering

Build production agents or buy off-the-shelf tools

Production agents require evidence loops instead of green dashboards

Teams replace code review with automated intent verification

Autonomous agents require deterministic control and intent-based security

Sign in to Hebel first

Likes, your collection and done Hebel need an account. We email you a six digit code; no password.