WhoBuilt

Decoupling the Brain from the Hands: Claude Managed Agents

Oct 12, 2026· 18 min· 15K views·Watch on YouTube

Speakers

Priyanka, a member of technical staff leading the Claude Managed Agents engineering team at Anthropic, and Gabe Semach, a member of technical staff on that team, discuss the system’s architecture and lead a hands-on workshop at an AI Engineer event.

What an agent needs

Priyanka describes an agent as a model using tools in a loop, with a harness managing that loop, context, and gaps in the model’s abilities. She gives context anxiety in Sonnet 4.5 as an example of a model-specific limitation a harness might address, while noting that Opus 4.5 did not share it. Agents also need a sandbox or computer to run code, and production tasks should use isolated containers to limit their blast radius.

Why the first architecture became a pet

Anthropic’s early design placed the session log, harness, and sandbox together in one container. It was easy to edit, but difficult to debug: dropped network packets and dead containers looked similar, and customer data on containers made investigation hard. Supporting MCP servers inside a customer’s VPC also meant network peering or shipping the harness to run there.

Separate the session, brain, and hands

The redesigned system separates an append-only session log, the harness and Claude, and on-demand tools such as sandboxes and MCP calls. If a sandbox or harness fails, it can be replaced; a new harness can resume by reading the event log. Credentials stay out of sandboxes and go through a proxy that injects tokens for external requests. The change cut time to first token by about 90% because inference could start before a sandbox was needed.

Build a first agent with the APIs

Priyanka introduces a three-step workflow: create an environment with networking and package settings, create an agent with a name, model, system prompt, and tools, then create a session as the unit of work. The example agent, Joke Teller, uses the basic read, write, and grep tool set. Sessions exchange user messages and agent events; custom tool calls, results, errors, idle status, and interrupts can appear in the event stream.

Takeaways

  • Keep the durable session log separate from replaceable harness and execution components so work can recover after failures.
  • Treat harness behavior as model-specific assumptions that can become outdated; design interfaces to allow the harness or compaction strategy to change.
  • Run agent-written code in isolated sandboxes, and route credentialed requests through a proxy so tokens stay out of the model’s environment.
  • Starting inference before provisioning a sandbox can reduce time to first token; Anthropic reports about a 90% reduction from this design.
  • Define networking and installed packages in an environment, then pair it with an agent configuration and a session for each unit of work.

Mentioned in this talk

Search inside this talk

What was claimed 10

Show all 10 facts

Related talks