# When "isolated" doesn't mean isolated: How to sandbox AI agents

DevFeed: [When "isolated" doesn't mean isolated: How to sandbox AI agents](<https://devfeed.tech/articles/when-isolated-doesn-t-mean-isolated-how-to-sandbox-ai-agents-102144.md>)

Original publisher: [Read original article](<https://thenewstack.io/how-to-sandbox-agents/>)

Author: Michael Levan

Published: 2026-10-27T13:00:00Z

Content type: article

Language: en

Sources: [The New Stack](<https://devfeed.tech/sources/the-new-stack.md>)

Topics: [AI Sandbox](<https://devfeed.tech/topics/ai-sandbox.md>), [Network Segmentation](<https://devfeed.tech/topics/network-segmentation.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>), [virtualization](<https://devfeed.tech/topics/virtualization.md>)

Tags: [agent-sandbox](<https://devfeed.tech/tags/agent-sandbox.md>), [agent-sandboxing](<https://devfeed.tech/tags/agent-sandboxing.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [cncf](<https://devfeed.tech/tags/cncf.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [containers](<https://devfeed.tech/tags/containers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [post-contributed](<https://devfeed.tech/tags/post-contributed.md>), [sandbox](<https://devfeed.tech/tags/sandbox.md>), [security](<https://devfeed.tech/tags/security.md>), [sponsor-cncf](<https://devfeed.tech/tags/sponsor-cncf.md>), [sponsored-post-contributed](<https://devfeed.tech/tags/sponsored-post-contributed.md>)

## AI overview

Containers alone do not guarantee agent isolation: they share the host kernel, default Docker bridge containers can communicate, and writable bind mounts expose host files to modification. The article argues that a sandbox must define and enforce what an agent can reach, including other agents, models, web search, MCP servers, tools, APIs, and network ingress and egress. It identifies four design factors: software versus hardware isolation, where agents run, what they can access, and which code or commands they can execute. Software isolation can be governed with policies; hardware isolation uses a guest VM such as a microVM. In either case, guardrails and access controls remain necessary, with an AI gateway presented as the communication point for policies and connectivity. The appropriate restrictions depend on the workload: sensitive government or healthcare data may call for tightly limited model access, while development work may allow more flexibility. The excerpt emphasizes choosing a runtime and framework that support the required isolation, governance, and memory handling.

## Source excerpt

Separation of workloads before AI wasn't easy, but it was far more straightforward. Servers sat in data centers, VLANs segregated The post When "isolated" doesn't mean isolated: How to sandbox AI agents appeared first on The New Stack.