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.
Decoupling the Brain from the Hands: Claude Managed Agents
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.
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.
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.
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
- works atGabe Cemaj works at
Anthropic
member of the technical staff“I’m a member of the technical staff, building Claude Managed Agents.”
YouTube Verified3 sources· Talk, Web· archived
- built
“the engineering team that built Claude Managed Agents.”
YouTube Verified6 sources· Talk, Web, Job posting· archived
- built
“I lead the engineering team that built Claude Managed Agents.”
YouTube Unverified1 source· Talk
- works atPriyanka Phatak works at
Anthropic
member of technical staff“I’m a member of technical staff at Anthropic.”
YouTube Unverified2 sources· Talk
- built
“building Claude Managed Agents on Priyanka’s team.”
YouTube Unverified1 source· Talk
- integrates with
Claude Managed Agents integrates with MCP
“which specific MCP servers it can access”
2:12inBuild a Research Agent with Claude Managed AgentsYouTube Verified3 sources· Talk
- feature
Claude Managed Agents: Separates the session log, harness, and execution tools into independently replaceable components.
“The agent became three separate interfaces.”
YouTube Unverified1 source· Talk
- feature
Claude Managed Agents: Keeps credentials out of sandboxes by routing protected requests through a proxy that injects tokens.
“the request went through a proxy that injected your token”
YouTube Unverified1 source· Talk












