Building Production Agent Infrastructure with Claude Managed Agents

anthropic_/_various · Tech · 2026 · source Agentic: yes · promotional bias: high · source-backed · extracted with prompt 0.5.5 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Production infrastructure for autonomous agent systems

Claude Managed Agents addresses the shift from simple prompt-plus-tool-use agents to long-running, outcome-oriented, production agents that need context management, memory, execution environments, credentials, security boundaries, observability, reliability, identity, and scalable sandbox infrastructure.

Constraints:

Architecture

Claude Managed Agents is presented as a composable platform built around four primitives: agent definitions, environments, sessions, and event streams. An agent definition bundles system prompt, model, skills, tools, permissions, and identity. An environment provides the sandboxed computer-like execution context with network allow lists and preinstalled packages. A session represents a unit of agent work with lifecycle and recovery state. The event stream exposes user, agent, session, and span events so applications can observe and interact with agents in real time. Advanced capabilities include multi-agent orchestration, outcome rubrics with iterative grading, persistent memory, dreaming over thousands of sessions, self-hosted sandboxes, and MCP tunnels for private tool access.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  agent-definition["Agent definition"] --> session-manager["Session manager"]
  agent-definition --> sandbox-environment["Sandbox environment"]
  sandbox-environment --> tool-execution["Tool execution"]
  tool-execution --> mcp-tunnels["MCP tunnels"]
  session-manager --> event-stream["Event stream"]
  user-events["User events"] --> event-stream
  agent-events["Agent events"] --> event-stream
  session-events["Session events"] --> event-stream
  span-events["Span events"] --> event-stream
  event-stream --> application-dashboard["Application dashboard"]
  event-stream --> optimization-loop["Optimization loop"]
  session-manager --> outcome-loop["Outcome loop"]
  session-manager --> memory-store["Memory store"]
  memory-store --> dreaming["Dreaming"]
  session-manager --> multi-agent-orchestrator["Multi-agent orchestrator"]
  sandbox-environment --> self-hosted-sandbox-fleet["Self-hosted sandbox fleet"]
  self-hosted-sandbox-fleet --> sandbox-partners["Sandbox partners"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Agent definition Configuration bundle containing system prompt, model, skills, tools, permissions, and identity. Session manager, Sandbox environment
Sandbox environment Computer-like execution environment with network allow list and preinstalled packages. Tool execution, Self-hosted sandbox fleet
Session manager Lifecycle abstraction for agent work, including status changes, recovery, interruptions, and outcomes. Event stream, Outcome loop, Memory store, Multi-agent orchestrator
Event stream Observable log of user, agent, session, and span events that applications consume in real time. Application dashboard, Optimization loop
User events User inputs, interruptions, custom tool results, confirmations, and outcome definitions sent to sessions. Event stream
Agent events Messages, tool executions, and multi-agent coordination emitted by Claude. Event stream
Session events Lifecycle, status, error recovery, and outcome-processing records. Event stream
Span events Timing and duration records for long responses and long-running tools. Event stream
Tool execution Server-side or client-side tool calls, including MCP tool configuration. MCP tunnels
Outcome loop Rubric/goal-driven loop where Claude grades outcomes and keeps iterating until satisfied. Session manager
Memory store Long-lived memory that sessions read and write so later sessions improve. Dreaming
Dreaming Research-preview reflection over thousands of sessions to produce or edit memories. Memory store
Multi-agent orchestrator Mechanism for Claude to spawn agent threads with independent context windows and delegate specialized work. Session manager
Self-hosted sandbox fleet Customer or partner compute environment that runs tools inside the customer's perimeter. Sandbox partners, Sandbox environment
Sandbox partners Cloudflare, Daytona, Modal, and Vercel sandboxing integrations with different compute and isolation strengths. Self-hosted sandbox fleet
MCP tunnels Secure tunnel for private MCP servers to speak with Claude Managed Agents without direct public exposure. Tool execution
Application dashboard Custom product surface that displays agent activity and receives results through APIs. Event stream
Optimization loop Claude reads session transcripts and suggests improvements such as runtime optimization. —

Data flow

A developer defines an agent, configures its environment, and starts a session. The agent receives user or outcome inputs, runs in a sandbox, invokes tools or MCP servers, emits event-stream records, and moves through session states such as idle, running, completed, and error recovery. Applications consume the API/event stream to display tool runs and agent actions. For enterprise deployments, Claude Managed Agents can signal a customer-controlled sandbox fleet to provision execution inside the customer's perimeter, while MCP tunnels connect private MCP servers without direct public exposure.

5 supporting quotes
“Cool, so that's a lot. How do you actually get started building with Claude managed agents? The first step is just to define an agent. This is essentially a bundle of configuration that identifies who your agent is and what it can do. It's a system prompt,”transcript, stated
“generally just the identity of the thing that's actually taking the action. Second, you need a you need an environment in which the agent will actually run. So, really helps to give Claude access to a computer. In this case, your agent needs a sandboxing environment where you”transcript, stated
“you can actually kick off the session. Ask your agent to go and complete some piece of work and then come back to you when it's ready to rock. And through it all, if you want to observe the agent as it's doing its thing cooking, you can just listen to the”transcript, stated
“you can just listen to the event stream and understand what the agent is doing, why it's doing it, and generally interact with it in whatever way you see fit. So, let's demystify what we mean when we're talking about this event stream. Every session that you”transcript, stated
“All we'll do is just send you a signal whenever we need to have a new sandbox be provisioned because Claude needs to do some some work in there. And the nice aspect of it is that you can either use your own sandboxing fleet or use one of the partners that we”transcript, stated

Why this architecture

Anthropic frames the platform as necessary because improved model intelligence moves the production bottleneck to infrastructure. Long-running agents need secure access to more systems, durable sessions, sandboxed compute, observability, event streams, memory, and outcome-based control. The composable primitive model lets developers pick the pieces they need rather than build all infrastructure themselves, while self-hosted sandboxes and MCP tunnels address enterprise security boundaries.

5 supporting quotes
“we're seeing that like the bottleneck towards increasing capabilities is really the infrastructure around these models”transcript, stated
“infrastructure concerns was another kind of like big sticking point. It was actually the number one thing that was cited as preventing people from being able to like skate the exponential and like really benefit from these improved model intelligences. Um”transcript, stated
“none of this really matters if you don't have observability into what these things are doing. Um if you can't tell whether or not your agent is succeeding uh or doing things successfully, uh it doesn't really matter. Like, how do you can how can you even”transcript, stated
“pick and choose the the composable primitives that we have um and and kind of like build your product on top of them”transcript, stated
“bring your own compute infrastructure to Claude if you want to run tools within your own VPC. Shout out to our partners at Cloudflare, Daytona, Modal, and Vercel, who we've been working with to support support this seamlessly out of the box. And second, we”transcript, stated

Models used: Claude 3 · Opus 4 · Opus 4.7 · Claude Code · Claude Managed Agents

Scale

Alternatives considered (roads not taken)

Prompt-plus-tool-use agent patterns.

Rejected because: Anthropic says agents working for hours need task-completion and infrastructure pipelines rather than only prompt/tool loops.

“with like a a swarm of agent teams. And when these agents work for like a couple of hours, things like prompt plus tool use are okay, but really where we start or we need to start getting going is towards like task completion and overall agent infrastructure”transcript, stated
“we need to start getting going is towards like task completion and overall agent infrastructure pipelines. >> But in order for your agents to be able to accomplish more, they need access to more. And that's where Claude Managed Agents is here to help you”transcript, stated

Anthropic-hosted sandboxes for all tool execution.

Rejected because: Enterprises may need execution inside their own VPC, with private files, packages, services, audit logs, network policy, and provisioning under their control.

3 supporting quotes
“bring your own compute infrastructure to Claude if you want to run tools within your own VPC. Shout out to our partners at Cloudflare, Daytona, Modal, and Vercel, who we've been working with to support support this seamlessly out of the box. And second, we”transcript, stated
“sandboxes work, you can bring your own kind of sandboxing infrastructure fleet where you can contain your own private files, your own services, packages. You get to kind of kind of control how these sandboxes are provisioned without using our kind of like native Anthropic”transcript, stated
“you can control things like network policies, your audit logs, when these sandboxes are spawned and idled. Um and and everything if there is kind of in your control without kind of having to cede that over to Claude managed agents. All we'll do is just send”transcript, stated

Expose private MCP servers directly over the public internet.

Rejected because: MCP tunnels provide a secure proxy/tunnel path for private MCPs without public exposure.

3 supporting quotes
“expose your private MCP servers directly to Claude via managed agents without ever having to expose anything over the public internet directly.”transcript, stated
“having to do any fancy network configuration on your side. Essentially, all you have to do is expose a fairly basic proxy layer uh to our to our uh MCP tunnels, enabling your network infrastructure to speak directly with Cloud via secure tunnel in the middle. Okay. So, in order to”transcript, stated
“basic proxy layer uh to our to our uh MCP tunnels, enabling your network infrastructure to speak directly with Cloud via secure tunnel in the middle. Okay. So, in order to get a little bit deeper about private sandboxes or uh self-hosted sandboxes, um I wanted to welcome”transcript, stated

Single sandboxing primitive for all workloads.

Rejected because: Partners describe different needs for full VMs, isolates, GPU sandboxes, persistent volumes, custom images, and customer-owned fleets.

3 supporting quotes
“all run uh companies or work at companies that run sandboxing fleets for Agent, but you've all built them slightly differently”transcript, stated
“Mike. >> Yeah. Um so Cloudflare, we're kind of uh one of our big bets is actually on like two different sandboxing primitives. So, we have the the micro VM which is, you know, if if your agent is acting like a developer, you give it everything a”transcript, stated
“we have GPUs. Uh, and GPU sandboxes are are actually a pretty big growing use case for us. >> Nice. Um, Yvan? >> Yeah, so for us, so Deta Una, we are a company that started out building sandboxes from scratch and so we had one definite principle that we were”transcript, stated

Synchronous, single-player agent work assumptions.

Rejected because: Vercel says agent traffic and resume-able tasks force teams to rethink synchronous collaboration and human-style work assumptions.

3 supporting quotes
“in the management chain and so one of the things I've been thinking about is this idea of everything that was asynchronous is now synchronous and vice versa, right? And that vice versa is like really important. So all of the synchronization that you used to have to do that you”transcript, stated
“the end user that's like emitting the traffic for you is is not a human but is instead like an agent. >> Yeah, I think there's like so many different avenues that you really have to like rethink when agents are doing the majority of like your compute your”transcript, stated
“harnesses that we have already for doing work um they're still that like very synchronous single player activity”transcript, stated

Patterns

tool-use-orchestration (agent_architecture)

Claude Managed Agents packages model, skills, tools, permissions, sandbox execution, custom tool results, and MCP configuration into managed agent sessions.

3 supporting quotes
“It's a system prompt, model, skills, tools, permissions, and generally just the identity of the thing that's actually taking the action.”transcript, stated
“tool results for custom tools that you implement and uh execute on your end”transcript, stated
“all of the MCP tool configuration that I was talking about earlier”transcript, stated

observability-tracing (operations)

The event stream emits user, agent, session, and span events so developers can observe agent work, timings, tool runs, and lifecycle changes.

3 supporting quotes
“Every session that you start in Claude managed agents is effectively a log of events”transcript, stated
“we kind of like split up the domains of events that we have within the platform”transcript, stated
“span events which make it really really easy to understand when certain things are starting and ending”transcript, stated

durable-execution (execution)

Sessions, sandbox lifecycle, pause/resume/fork needs, and resume-able task state make long-running agent work durable rather than a one-shot request.

3 supporting quotes
“starting an agent and then picking it up later on, maybe weeks or months in the future”transcript, stated
“status of the session changing from idle to running, error recovery”transcript, stated
“pausing, resuming, forking so that agents can try multiple outcomes”transcript, stated

multi-agent-orchestration (agent_architecture)

Claude can spawn other agent threads with independent context windows and exchange messages for delegated specialized work.

3 supporting quotes
“multi-agent orchestration. It allows Claude to spawn other agent threads with their own context windows”transcript, stated
“Claude can pass these messages back and forth through other Claudes”transcript, stated
“in order for them to do whatever specialized work they get to do”transcript, stated

agent-memory (memory)

Managed Agents includes long-lived memory stores plus dreaming to reflect across sessions and update memories.

3 supporting quotes
“Memory allows Claude to kind of get better over time by reading and writing from these long-lived memory stores”transcript, stated
“allows Claude to kind of get better over time by reading and writing from these long-lived memory stores, which makes every session kind of better than the last that it's had. And then finally, we have dreaming, which we announced in research preview, which allows Claude to kind of like reflect”transcript, stated
“which allows Claude to kind of like reflect and codify over like thousands of sessions all at once in order to produce new memories, edit existing ones, and really make sure that the memories that we're dealing with are are top-notch. >> And earlier this morning, you heard us announce two new”transcript, stated

eval-driven-development (evaluation)

Outcomes define rubrics or goals, trigger outcome grading, and let Claude iterate until satisfied.

3 supporting quotes
“outcomes allows you as an end user to define a rubric or a set of goals”transcript, stated
“it'll start triggering its outcome grading and will keep going like that in a loop”transcript, stated
“until it feels like it's satisfied with the outputs it's given you.”transcript, stated

human-in-the-loop-gate (control)

The event model includes confirmations for human-in-the-loop controls and interruptions when users need to steer an agent back on course.

“you can interrupt your agent if you see that it's going off course and you want to steer it back onto onto its tracks.”transcript, stated
“confirmations for human in the loop controls for any tools that are executed on Anthropic servers”transcript, stated

safety-policy-enforcement (security)

The platform and partners emphasize sandbox isolation, network allow lists, audit logs, egress filtering, identity assignment, and private MCP tunnels.

3 supporting quotes
“configure the network allow list and pre-installed packages within that environment.”transcript, stated
“network policies, your audit logs, when these sandboxes are spawned and idled”transcript, stated
“how do we properly filter egress? How do we properly uh you know, assign identities to agents?”transcript, stated

Tradeoffs

Expose composable primitives instead of a monolithic agent application.

Chose Agents, environments, sessions, and event streams over Single bundled end-to-end agent app.

Rationale: Developers can choose the primitives they need and build product-specific agent applications on top.

“pick and choose the primitives that we have available out of the box”transcript, stated
“pick and choose the the composable primitives that we have um and and kind of like build your product on top of them”transcript, stated

Represent long-running work as sessions.

Chose Session lifecycle with status, recovery, outcome processing, and event streams over Synchronous request/response interactions only.

Rationale: Agents may work for hours, be interrupted, resume later, or complete goals asynchronously.

3 supporting quotes
“starting an agent and then picking it up later on, maybe weeks or months in the future”transcript, stated
“status of the session changing from idle to running, error recovery”transcript, stated
“coming back to you only when they feel relatively confident that the entire activity is complete”transcript, stated

Use event streaming as the primary observability interface.

Chose Structured user, agent, session, and span event streams over Opaque agent execution with traditional logs only.

Rationale: Agent behavior is non-deterministic and long-running, so developers need real-time structured visibility into actions, status, errors, and timings.

3 supporting quotes
“Every session that you start in Claude managed agents is effectively a log of events”transcript, stated
“event stream and understand what the agent is doing, why it's doing it”transcript, stated
“span events which make it really really easy to understand when certain things are starting and ending”transcript, stated

Offer self-hosted sandboxes.

Chose Customer-controlled compute with Anthropic provisioning signals over Only Anthropic-hosted execution environments.

Rationale: Enterprises can keep execution within their own perimeter while still using Claude Managed Agents for orchestration.

3 supporting quotes
“>> And just diving a little bit deeper into how self-hosted sandboxes work, you can bring your own kind of sandboxing infrastructure fleet where you can contain your own private files, your own services, packages.”transcript, stated
“You get to kind of kind of control how these sandboxes are provisioned without using our kind of like native Anthropic Cloud sandboxes.”transcript, stated
“everything if there is kind of in your control without kind of having to cede that over to Claude managed agents.”transcript, stated

Partner across different sandbox implementations.

Chose Cloudflare, Daytona, Modal, and Vercel integrations over One universal sandbox architecture.

Rationale: Different customers need full VMs, isolates, GPUs, custom images, persistent volumes, low latency, or customer-specific infrastructure primitives.

3 supporting quotes
“Shout out to our partners at Cloudflare, Daytona, Modal, and Vercel”transcript, stated
“all run uh companies or work at companies that run sandboxing fleets for Agent, but you've all built them slightly differently”transcript, stated
“>> Oh, that's that's awesome. Wide variety of answers, too. Um I'm curious now that uh self-hosted sandboxes are kind of out and we partnered with all of you, um is there anything that you're like really excited to see people starting to build on your platforms with managed agents?”transcript, stated

Use outcome-oriented control for autonomous work.

Chose Rubrics/goals with iterative outcome grading over Step-by-step conversational steering only.

Rationale: As agents get more autonomous, users can specify success criteria and let the agent iterate until the goal is met.

3 supporting quotes
“But we're seeing more of a transition towards outcome-oriented agentic activity.”transcript, stated
“define a rubric or a set of goals for Claude to be able to iterate towards”transcript, stated
“will keep going like that in a loop until it feels like it's satisfied with the outputs”transcript, stated

Gotchas (what bit them)

Infrastructure becomes the bottleneck as model capability improves.

Root cause: Agents move from short tasks to long-running, system-accessing work that needs reliability, scalability, security, latency control, credentials, and identity.

Resolution: Provide managed primitives for agent definition, environments, sessions, event streams, and sandbox execution.

3 supporting quotes
“the bottleneck towards increasing capabilities is really the infrastructure around these models”transcript, stated
“infrastructure concerns was another kind of like big sticking point. It was actually the number one thing”transcript, stated
“you need things like reliability, scalability, security, um even latency starts mattering”transcript, stated

Bad context management and memory can destroy agent effectiveness.

Root cause: Agents depend on retained context and cross-session memory, but incorrect implementation can degrade the model's ability to work.

Resolution: Treat context management and memory as managed primitives rather than incidental prompt code.

3 supporting quotes
“So, the first of which was uh figuring out things like context management and memory. Um these things are things that work really, really well if they are working, but if you get it wrong, it can like completely destroy how well your agents are going to work.”transcript, stated
“these things are things that work really, really well if they are working”transcript, stated
“if you get it wrong, it can like completely destroy how well your agents are going to work.”transcript, stated

Agent observability is not optional in production.

Root cause: Without event-level visibility, teams cannot tell whether an agent is succeeding, why it acted, or where it is slow.

Resolution: Expose a categorized event stream and span timing so applications and operators can watch agent behavior in real time.

3 supporting quotes
“if you can't tell whether or not your agent is succeeding uh or doing things successfully, uh it doesn't really matter.”transcript, stated
“Jumping back to the console where we can see everything that the agent is doing in real time. We can see the list of events that are coming through the event stream, tool runs, agent events, generally understanding what's happening in real time.”transcript, stated
“the event stream, tool runs, agent events, generally understanding what's happening in real time.”transcript, stated

Enterprise agents need private execution and private tool access.

Root cause: Agents need private files, internal systems, repositories, and services that organizations cannot expose publicly or run on someone else's compute.

Resolution: Use self-hosted sandboxes and MCP tunnels so compute and private MCP access stay within controlled boundaries.

3 supporting quotes
“You can imagine that if you have an entire team running an M&A deal, they need access to secure credentials, internal systems. If you're making code changes, you need access to your private GitHub repositories and the credentials that allow that kind of access.”transcript, stated
“>> And just diving a little bit deeper into how self-hosted sandboxes work, you can bring your own kind of sandboxing infrastructure fleet where you can contain your own private files, your own services, packages.”transcript, stated
“private MCPs in your network exposed to Cloud Manager agents without having to do any fancy network configuration”transcript, stated

Agent identity and authorization do not map cleanly from human permissions.

Root cause: Agents may act on behalf of users, create other agents, and access multiple services, raising inheritance and chain-of-identity questions.

Resolution: Treat identity, permission propagation, service authentication, and egress filtering as platform-level design problems.

3 supporting quotes
“if I have permission to do something like should an agent have permission to do on behalf”transcript, stated
“if that agent then go creates another agent that goes and creates a site, like how do we properly assign identity all the way down the chain”transcript, stated
“how do you get every service behind something that understands that identity”transcript, stated

Agent traffic breaks human-user infrastructure assumptions.

Root cause: Agents generate compute and request patterns where the traffic source is autonomous software rather than a human.

Resolution: Rethink synchronization, resume-ability, multiplayer collaboration, storage, and sandbox lifecycle for agent-originated traffic.

3 supporting quotes
“what assumptions have been like breaking over at Vercel when like the end user that's like emitting the traffic for you is is not a human but is instead like an agent.”transcript, stated
“there's like so many different avenues that you really have to like rethink when agents are doing the majority of like your compute your requests.”transcript, stated
“that like resume-ability of tasks is just like something that everyone is still like really um working to solve”transcript, stated

Evaluation

The platform evaluates and observes agents through event streams, session state, span timing, outcome definitions and grading, and self-analysis of session transcripts. The Pascal demo shows Claude reading its own transcript to identify a script that took over 20 seconds and suggest runtime optimization.

Metrics: Session status transitions · Error recovery events · Outcome grading loop progress · Span durations for long responses and tool executions · Tool run/event stream visibility · Script runtime, including a demo script over 20 seconds · Memory quality through dreaming over thousands of sessions

5 supporting quotes
“the event stream, tool runs, agent events, generally understanding what's happening in real time.”transcript, stated
“status of the session changing from idle to running, error recovery”transcript, stated
“Um so, after it does its kind of first pass iteration of something, it'll start triggering its outcome grading and will keep going like that in a loop until it feels like it's satisfied with the outputs it's given you.”transcript, stated
“So, in this case, it's a little bit small, but on the right side, we'll see that a Python script ran for over 20 seconds.”transcript, stated
“Claude is actually reading the transcript of our session and is offering inputs for how we can optimize”transcript, stated

Outcomes

The talk projects agents moving from simple tests to whole features, merge-ready PRs, quarters of work in hours, and sessions resumed weeks or months later. Operational scale signals include dreaming over thousands of sessions, Modal spinning up hundreds of thousands of sandboxes within minutes across regions, Cloudflare isolates starting in milliseconds, and demo feedback on a script running over 20 seconds.

5 supporting quotes
“How do you actually get started building with Claude managed agents? The first step is just to define an agent. This is essentially a bundle of configuration that identifies who your agent is and what it can do.”transcript, stated
“all of this shown on our surface because all of this is exposed via an API”transcript, stated
“multi-agent orchestration. It allows Claude to spawn other agent threads”transcript, stated
“The first is self-hosted sandboxes, effectively giving you the option to bring your own compute infrastructure to Claude if you want to run tools within your own VPC.”transcript, stated
“MCP tunnels, which is basically a way for you to expose your private MCP servers directly to Claude”transcript, stated