Microsoft has given AI agents a room of their own. The AKS Agent Sandbox, announced at Microsoft Ignite 2026, runs code written by agents inside isolated virtual machines on Azure Kubernetes Service, so a hallucinated shell command or a compromised tool call cannot reach the host cluster. Alongside it, a second feature called Agent Grid applies identity-based network policy to traffic between agents, models, tools, and services. Together, the pair turns two of the hardest problems in production agent deployments, code execution and agent-to-agent networking, into managed platform features.
Agents that only answer questions rarely need this kind of protection. Agents that write and run code do. As coding agents, data agents, and operations agents move from demos into production, the code they generate executes somewhere, and that somewhere has become a security boundary in its own right. Microsoft's answer is to make the boundary a first-class part of the Kubernetes platform.
What the AKS Agent Sandbox Actually Does
The AKS Agent Sandbox is a cluster extension for Azure Kubernetes Service that handles the creation, lifecycle, and teardown of sandboxes for agent-generated code. According to the AKS team's Ignite announcement, it is built on the open-source Kubernetes Agent Sandbox project and offers two runtime options. The first runs each session in a Kata microVM on the cluster's own nodes, giving agent-written code virtual-machine-level isolation from neighboring workloads. The second is a serverless runtime enabled by Azure Container Instances, which removes infrastructure management entirely for teams that prefer not to run the nodes themselves.
Isolation is scoped to the session. Each agent session runs in its own pod inside a lightweight virtual machine, keeping sessions isolated from one another as well as from the host. Pre-warmed pools reduce the cold-start penalty that would otherwise make per-session virtual machines impractical for interactive agent work, a detail that matters when an agent may spin up dozens of short-lived execution environments during a single task. The extension also manages the sandbox lifecycle, so stale environments do not linger as forgotten attack surface.
The feature arrives as part of a wider push to run Microsoft Foundry models and agents on customer-managed AKS clusters. AKS AI Manager for Foundry lets teams deploy open-weight models and Foundry-hosted agents onto clusters they already run, and the hosted-agent deployment option is targeted for public preview in early December. The message is consistent: the agent runtime is coming to the customer's infrastructure, and the sandbox is the guardrail that makes that move defensible.
Agent Grid: The Network Side of the Same Problem
If the AKS Agent Sandbox answers what agent-written code can touch on a host, Agent Grid answers who that code can talk to. Agent Grid brings identity-based Zero Trust network isolation and policy enforcement to AI agent communications, with micro-segmentation, inspection, and Layer 3 through Layer 7 policies between agents, MCP servers, models, and external services. Enforcement runs in Azure's network infrastructure, outside the agent's own trust boundary, without requiring changes to agent code.
According to coverage of the Ignite security announcements, Agent Grid is in public preview and covers three execution options: ACI Agent Groups, a new virtualization-based isolation option on Azure Container Instances; the AKS Agent Sandbox using Kata Containers; and native Kubernetes workloads on AKS. The design pairs a mutual TLS-authenticated communications fabric with short-lived execution credentials, so agent-to-agent traffic carries an identity that can be checked, logged, and revoked.
The pairing is deliberate. A sandbox without network policy still lets malicious code phone home or probe neighboring services. A network policy without a sandbox still lets malicious code read the host. Microsoft's framing puts the two controls side by side: one bounds execution, the other bounds communication, and central policy governs both.
Why Sandboxing Matters Now
The timing is not accidental. Agent deployments are crossing from assistants that draft text into systems that execute code, move data, and touch production infrastructure. Swiss authorities confirmed this week that AI-agent-assisted cyberattacks have already hit critical infrastructure, with five confirmed attacks and four compromised systems. As reported in Switzerland Confirms AI Agent Cyberattacks Hit Critical Infrastructure, the incidents show that agent capabilities are already part of the threat landscape, not a future concern.
At the same time, agents are taking on real economic work. Sber's A2A agents recently closed a first cross-border deal between companies, as covered in Sber A2A Agents Close First Cross-Border Deal, and security vendors are consolidating around agent protection, including the large CrowdStrike and Zscaler combination announced earlier this month. Every one of these deployments runs agent-generated code or agent-directed transactions somewhere. The question is no longer whether agents will execute code in production, but what contains that code when it goes wrong.
Sandboxing has been the standard answer in other parts of the industry for years. Browsers sandbox JavaScript, cloud functions sandbox customer code, and mobile operating systems sandbox apps. What is new is the application of the same discipline to agents that generate their own code at runtime, where the code under test was written seconds earlier by a model rather than reviewed by a human. The AKS Agent Sandbox applies that discipline at the Kubernetes layer, where many enterprise agent workloads already run.
What Is Still in Preview
Teams evaluating the features should note the status labels. The AKS Agent Sandbox extension is in preview, and Agent Grid is in public preview, which means behavior, APIs, and pricing may change before general availability. The Foundry hosted-agent deployment on AKS is targeted for public preview in early December, and a limited preview signup is available for teams that want early access.
Microsoft also announced related controls at Ignite, including three confidential-computing previews, managed GPU node pools reaching general availability, and Flex nodes that extend AKS clusters to servers outside Azure. The pattern across the announcements is consistent: agents are treated as production workloads with identities, policies, and isolation boundaries, rather than as chatbots with extra tools.
For teams running agents on Kubernetes today, the practical advice from the AKS team is straightforward: if agents execute code, start with the Agent Sandbox extension. The sandbox does not remove the need for careful agent design, least-privilege credentials, and human review of consequential actions. It does make the blast radius of a bad code generation bounded, observable, and disposable, which is the minimum a production agent platform should offer.
Microsoft framed Ignite 2026 around Copilot as an operating system for work, with autonomous agents woven through it. The AKS Agent Sandbox and Agent Grid are the infrastructure half of that pitch: the controls that let an enterprise say yes to agents that write and run code, because the code runs in a room with locked doors and a watched network.
Sources: InfoQ recap of Microsoft Ignite 2026, BetaBriefing Gateway Signal, November 27, 2026, The Wired Business guide to AI agent sandboxes, Azure Catalyst announcement coverage.
Comments 0
No comments yet. Be the first to share your thoughts!
Leave a comment
Share your thoughts. Your email will not be published.