Vibeleaderboard
← All Intel
Intel / video

How Anthropic rebuilt Managed Agents: brains, hands, and dreaming

Source
youtube.com
Author
ClaudeDevs
Date

Context

Claude Managed Agents is Anthropic's set of developer APIs for building agents and running them at scale, launched in spring 2026. In a conversation shared by ClaudeDevs, the team behind it (@jess__yan, @_hi_mc and @RLanceMartin, as the post names them) explains why they built it and then redesigned its architecture. The reason they give for building it is upkeep. As Claude got good at using a terminal and editing files, agents needed a sandbox, a secure computer to run those commands in. Then came skills, which package repeatable procedures, and safe handling of credentials for servers, the connectors to outside tools. Anthropic built this kind of platform three times internally, while customers using the Messages API, Claude Code or the Agent SDK told the team they could not run agents at scale or for hours. The speakers argue that Anthropic, not each developer, should carry the cost of keeping agents current as models improve.

The redesign changed where the harness runs. The harness is the loop that calls Claude and routes its tool calls to the right infrastructure. In the first version, the speakers say, it ran inside the sandbox container, which proved unreliable and slow. The containers are meant to be short-lived, yet sessions had to run for hours, and a container that died without saved state took the whole session with it. The team rebuilt around the engineering rule of treating infrastructure "as cattle, not pets." The harness now acts as the brains and delegates work to the hands, a sandbox or MCP servers. When a sandbox crashes or sits idle too long, a new one is restored from checkpoints, which the speakers call a relatively cheap operation, and Claude carries on. Because the pieces are no longer stitched together, a session can also run with no sandbox, MCP or skills at all, and the team credits the split with letting it ship features faster. Anthropic's engineering post Scaling Managed Agents: Decoupling the brain from the hands describes the same move of the harness out of the container in more detail.

Dreaming, a memory feature, is the speakers' example of a platform built to take on new features. In Managed Agents, an agent writes memories to a file store while it works, and the speakers note those memories are written "greedily" for the task at hand without being reconciled with earlier ones, so the store drifts toward incoherence. Dreaming is a separate process that runs offline, reads past session logs alongside the memory store, and consolidates or corrects entries. One speaker tested it with long-running Pokémon play: Claude saved a wrong memory about a location and kept falling into the same trap. With dreaming scheduled after a set number of rounds, the speaker says the bad memory was consistently fixed and play moved past that point, though the conversation gives no figures. Another speaker says dreaming fit in easily because memory already kept versions and an audit trail. Anthropic introduced dreaming as a research preview in an earlier talk on agent memory.

Flows, another feature the speakers discuss, follows a related idea: instead of Anthropic dictating how agents work together, Claude writes code at runtime to connect several agents, with branching, loops or parallel work. The conversation is the builders' own account and offers no measured comparison of the old and new designs. Its case is that moving the harness out of the sandbox and keeping the platform's pieces loosely coupled lets Anthropic replace failed sandboxes and add capabilities such as Flows and dreaming as models improve, sparing developers the harness maintenance they would otherwise do themselves.

Key takeaways · AI-distilled
  • Anthropic engineers say they built similar agent infrastructure three separate times internally before productizing it as Claude Managed Agents, after seeing customers with Messages API, Claude Code or Agent SDK access unable to run agents at scale for hours.
  • The first design ran the harness inside the sandbox container, which proved slow and unreliable for multi-hour sessions. The team now treats sandboxes as disposable: the harness runs separately and restores a fresh sandbox from stored checkpoints when one dies.
  • Flows lets Claude write code at runtime that wires agents into a workflow, with branching, loops, and parallel fan-out reduced to one output. Anthropic reports strong results on long-horizon tasks and is working on letting Claude pick each model.
  • Managed Agents memory has two stages: agents write memories greedily during a task, and a separate offline dreaming process, supported by the Dream API, compares past session logs with the memory store to deconflict and correct entries.
  • On cost, the team sees users start development on the most capable model, then at scale shift to a strong delegating to cheaper models. It says built-in budgeting and cost optimization primitives for long-running work are where the platform is heading.
Terms in this piece · Glossary
  • Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.
  • Agent memory — Information an agent can persist and retrieve beyond the immediate context.
  • multi-agent — Using several AI agents on one problem — splitting work in parallel, checking each other, or filling different roles like planner and reviewer.
  • Coordinator — The person or agent who owns the seams of the map: writes assignments, receives and checks returns, resolves disagreements, and integrates the result or assigns the integration.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source youtube.com
More from ClaudeDevs
Recommended reads
Comments

Checking sign-in…

Loading comments…