Azure

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

AKS Agent Sandbox adds VM-level isolation, pre-warmed pools and a serverless mode for agentic workloads. Platform teams must adapt identity and networking.

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

Azure just shipped something platform teams should have demanded months ago: VM-level sandboxes for running model-generated code in AKS, complete with pre-warmed pools and a serverless execution mode. That combination — full VM isolation, warm pools to reduce cold starts, and an on-demand serverless path — reframes how you secure and operate agentic workloads.

The mechanics matter. The Agent Sandbox extension for AKS doesn’t try to paper over the problem with more CRDs or sidecar trickery. It runs agent-executed binaries and code in VM sandboxes attached to your node pool, so guest isolation, CPU scheduling, and kernel features are real, not namespaced illusions. Pre-warmed pools reduce the latency tax for agents that need rapid turnarounds, and the serverless option suggests ephemeral sandbox creation driven by a control plane lifecycle — a path to avoid sticky node capacity hacks without accepting long cold-starts.

This is the right call. Containers and sidecars were never designed for executing arbitrary model-generated code with unknown provenance. VM sandboxes give you a meaningful blast radius boundary, stronger attestation primitives, and host-level observability that security teams already trust.

Operational security depends on integration with Azure identity and networking primitives. In practice you should expect the sandbox to integrate with Azure Active Directory and Managed Identities for authentication, and with Azure networking constructs (Network Policies, NSGs, Azure Firewall) to enforce a default-deny posture. That default-deny behavior is critical: it prevents sandboxes from talking to storage or databases unless explicitly allowed, but it also means you must explicitly permit observability and telemetry egress.

There’s a tradeoff. Default-deny isolation will break assumptions baked into many service-mesh and sidecar-based architectures. Your platform will need an identity mapping for agents (principals for models, tools, and agent processes), new RBAC rules, and a rethink of how telemetry flows. Tracing and logging become harder if your observability stack isn’t allowed to receive data from sandboxes by default. Expect to redesign network policies and service accounts deliberately rather than applying band-aid exceptions.

Microsoft offers managed tooling that can abstract much of this plumbing (for example, Azure Machine Learning and Azure AI management features), but AKS + Agent Sandbox is the right path when you need control over GPU locality, custom kernels, or strict compliance boundaries. Platforms that treat a managed service as the only option will be surprised when they must squeeze latency or run specialized node pools for inference-heavy agents.

For modernization and remediation workflows, use Azure’s existing toolset — Azure Migrate, Microsoft Defender for Cloud, and GitHub Copilot–assisted remediation — to tie vulnerability prioritization and app modernization into a controlled migration. If your org intends to let models touch production systems, combine those tools with agent-aware CI/CD so remediation, testing, and deployment consider model interactions early.

One infrastructure note you can’t ignore: pick node pools that match the workload. Azure provides GPU- and accelerator-equipped VM families for inference and ML workloads; pair VM sandboxes with those node pools to retain locality and throughput. Avoid assuming a single instance type will fit all agent workloads — performance and latency depend on pairing sandbox isolation with appropriate hardware.

Operational checklist (short):

  • Treat agents as first-class runtime units: map identities, create default-deny network policies, and extend telemetry policies to allow observability into VM sandboxes.
  • Re-evaluate cost models: pre-warmed pools reduce latency but add standing capacity; serverless sandboxes trade complexity for per-invocation billing.
  • Decide managed vs. DIY: Microsoft’s managed tooling can accelerate adoption, but AKS + Sandboxes gives control for compliance, latency, and custom hardware.

This release isn’t just another feature toggle — it’s a signal. Microsoft is treating agents as runtime primitives the same way it treated VMs and containers a decade ago. Platform teams that incorporate VM-level sandboxes, identity-driven networks, and agent-aware CI/CD now will avoid the messy retrofit later. The alternative is predictable: ad-hoc credential injection, opaque network egress, and a postmortem where "the model did it" becomes a very expensive sentence.

Sources

azure-aksagentic-aivm-sandboxingazure-infrastructure
← 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