Agents need a place to fail safely
Coding agents install packages, open network connections and edit files. That is the job. It is also why strategic SE guidance now treats agent sandboxing as a first-class trend — enterprises will not scale autonomy on laptops that share the same trust boundary as production credentials.
Vendors are publishing the same pattern: isolated runtimes, explicit mount and egress policy, and audit of what the agent was allowed to do. Prompt text is not a control plane.
If your agents still run with human SSO and full disk access, you already have the insider-risk problem — you just renamed it productivity. Related: unmanaged AI agents as insider risk.
Isolation is not a prompt
A sandbox gives the agent its own filesystem view, process space and often its own container or microVM. Host paths mount only when policy allows, preferably read-only for secrets and production configs.
Separate the agent’s Docker or package cache from the developer’s personal environment when you can. Cross-contamination is how a curious install becomes a host compromise.
Official coding-agent sandboxes document the same idea: the agent works inside a boundary the model cannot widen. Copy that posture even if you assemble the pieces yourself.
Network and mount policy as the real boundary
Default-deny egress. Allow only the registries, APIs and git hosts the task needs. Hostname allowlists are a start; path-aware rules matter when one host serves both safe and dangerous endpoints.
Filesystem mounts deserve the same scrutiny. An agent that can write your home .ssh or cloud credential store does not need a clever jailbreak — it already has one.
Organisation policy should win over local convenience. Developers can tighten further; they should not silently expand blast radius for the whole company.
MCP through a gateway, not every laptop
Tool bridges that reach trackers, databases and cloud consoles multiply what a sandbox must govern. Prefer a host-managed gateway with registration and invoke policies over each agent talking directly to every MCP server.
Default-deny tool registration. Require approval for mutating tools. Treat advisory “read-only” annotations as hints, not proof — verify with credentials that cannot write.
Allowlist servers like production dependencies. Kitchen-sink tool racks defeat the sandbox. See MCP servers as dependencies.
Audit that security can read
Record policy decisions and session metadata: who ran the agent, which mounts and destinations were allowed or denied, which tools were invoked. Prefer metadata over raw prompts when you stream to SIEM — you still need forensics without leaking customer content into a second store.
Denied actions are signal. Spikes in blocked egress often mean a new workflow needs an exception with an expiry — or a shadow tool that should stay blocked.
Review audit like CI logs: if nobody looks, policy decays into folklore.
Preprod first, then widen
Start agent autonomy in preproduction clones with synthetic or scrubbed data. Prove the harness and sandbox there before any path that can touch customer data or billable cloud.
Widen by job, not by slogan. Ticket-to-PR on a greenfield service is a different risk class than migrations on billing schemas.
Keep production break-glass human. Agents that can open a PR are useful; agents that can merge and deploy without review recreate the vibe-coding shutdown risk in a new costume.
Brief language for partners
Ask where agents execute, which host paths they may mount, which egress destinations exist, and how MCP or tool access is governed. “We use sandboxes” without those answers is marketing.
Require client-owned credentials and repos. Partner laptops with kitchen-sink agents are not your delivery model.
Tie sandbox expectations to onboarding: golden paths, CI identity and agent kits should agree. Divergence is how exceptions become permanent.
How ThreeIndex scopes agent sandboxes
Our DevOps and cloud work builds environments, identity and CI you own — including least-privilege paths for automation whether a human or an agent holds the role.
AI and ML delivery adds tool scopes, evaluation and human checkpoints so product and coding agents stay inside the same trust story.
Send a brief with the agents already running and the systems they can reach. We will propose isolation, allowlists and audit that match the blast radius you actually have.

