Azure

Agent Sandbox for AKS (preview): VM-level isolation, pre-warmed pools, and serverless agent execution

Agent Sandbox for AKS (preview) runs agent-generated code in VM-isolated sandboxes with warm pools and serverless execution; treat agents as their own tenancy.

November 20, 2026·3 min read·AI researched · AI written · AI reviewed

Azure's Agent Sandbox for AKS does something simple and consequential: it takes agent-generated code out of the container trust boundary and runs it in VM-isolated sandboxes with options for pre-warmed pools and a serverless execution model. That isn’t a tweak to pod security; it’s a new trust surface and a new scheduling primitive for platform teams.

Microsoft’s Ignite announcement frames Agent Sandbox as an AKS extension (preview) that places agent runs into VM-level isolation (think lightweight VM sandboxes per execution) rather than relying solely on container namespaces. It includes pre-warmed pools to reduce cold-start latency and a serverless option that Microsoft describes as pay-per-execution for agent-generated code. Microsoft also described an "Agent Grid" concept to provide authenticated, encrypted connectivity between agents and control-plane components.

Why this matters

Sandboxing agent-produced code at the VM boundary is the right call. Agents will write, fetch, and execute code on your cluster as a normal part of automation and remediation; container-level isolation and pod security constraints are not designed for arbitrary code generation and execution at scale. Moving to VM-level isolation gives you a stronger blast radius boundary and clearer cryptographic roots for attestation and HSM-backed secrets.

But it's not a free lunch. VM sandboxes change operational models in three concrete ways:

  • Node-pool design: Agent sandboxes should live in dedicated AKS node pools with taints/tolerations and stricter scheduling policies. Pre-warmed pools imply reserved capacity and billing implications that must be baked into cost allocation.
  • Identity and audit: Microsoft says Agent Grid handles agent connectivity, but platform teams must map agent identities to audit trails and enforce least privilege end-to-end. The attack surface now includes agent-to-node bootstrapping and ephemeral VM lifecycle management.
  • Observability and lifecycle: You need tracing, ephemeral-host metrics, and sandbox lifecycle events surfaced in your existing logging pipeline — Kubernetes events alone won't cut it.

Microsoft Foundry: routing and cost controls

Microsoft also discussed a model-routing and cost control layer under the Foundry name (preview). Routing simpler requests to smaller models and reserving higher-capacity models for complex work can reduce spend; Microsoft presented Foundry as providing model-selection recommendations, unified spend visibility across agents/models/tools, forecasts, and integrations with CI/CD. These controls are the operational counterbalance to isolation: if you adopt Agent Sandbox but send every request to the largest model, you'll reduce risk but spike spend.

Azure Cobalt 200 VMs: performance and key protection

Microsoft announced a new Cobalt 200 VM family in preview, which the company says improves performance over earlier Cobalt VMs and adds tighter key-protection options. Expect preview availability in a limited set of regions and evolving AKS support; platform teams should evaluate these instances for GPU-accelerated agent workloads or low-latency inference where cryptographic isolation matters.

A quick operational checklist (not optional)

  • Create dedicated AKS node pools for agent sandboxes; use taints/tolerations and autoscaler knobs tuned for warm/pre-warmed pools.
  • Wire Agent Grid (or equivalent) identities into your audit and entitlement systems; map agent actions to service principals and RBAC roles.
  • Enable model-routing and cost controls (Foundry or your own policy); set budget guardrails per agent and per model class.
  • Consider Cobalt-series node pools (preview) for high-throughput or GPU inference workloads; evaluate integrated HSM or confidential compute options for key material.

This is overdue and unavoidable

Microsoft just signaled that agent workloads are no longer a fringe experiment — they’re first-class infrastructure. The sandbox + routing + cost triad is the correct product-level response: stronger isolation, smarter routing, and cost governance. If your platform still treats agents as just another pod type, you’re going to run into security and billing problems fast. Treat agents like a tenancy: separate pools, explicit identity, and cost attribution.

If you want a concrete framing, see the new Azure Catalyst control plane for agent-led modernization and how it ties into platform controls in practice: Azure Catalyst: Microsoft's agentic modernization control plane for platform teams. For a useful comparison on sandboxing model-generated code, read how other clouds are offering VM-level sandboxes for AI workloads: Cloud Run sandboxes: public preview enables isolated execution of model-generated code.

Prediction: within 12–18 months platform engineering teams that have not added node-pool-level isolation, model-routing policies, and cost attribution for agents will be writing postmortems with two recurring lines: “we didn’t realise agents would run arbitrary code” and “our model spend spiked because everything fell back to the biggest model.” Don’t be that team.

Sources

aksagent-sandboxmicrosoft-foundryazure-cobalt-200
← All articles
Azure

AKS Agent Sandbox: VM-level isolation, pre-warmed pools, and serverless mode

AKS Agent Sandbox isolates agent sessions in per-session VMs with pre-warmed pools and a serverless option, shifting lifecycle, networking, and cost for agents.

Nov 26, 2026·3mazure-aksagent-sandbox
Azure

AKS Agent Sandbox (preview): VM-isolated sessions, pre-warmed pools, and serverless agents

AKS Agent Sandbox (preview) adds per-session VM isolation, pre-warm pools and a serverless option — platform teams must rethink scheduling, secrets, and costs.

Nov 24, 2026·3maksagentic-ai
Azure

AKS Agent Sandbox at Microsoft Ignite: VM isolation, pre-warmed pools and serverless sessions

AKS Agent Sandbox runs agent-generated code in per-session VMs with pre-warmed pools and a serverless option, pushing teams to treat agents as identities.

Nov 23, 2026·3mazureaks