OpenShell
NVIDIA's open-source policy-enforcing runtime that runs each agent in a sandbox with Landlock, seccomp and a supervisor that mediates every outbound connection and credential. The right choice when the question is "what can this agent reach" rather than "how fast can I boot a VM".
Overview
OpenShell is NVIDIA's open-source runtime for autonomous agents; its README describes it as a sandbox that enforces a policy you declare per agent. A gateway (control plane) manages sandbox lifecycles and policy, a supervisor on the trusted side of the boundary makes every policy decision and holds credentials, and the sandbox itself runs the agent as a non-root identity with no Linux capabilities, confined by Landlock for files and seccomp for process and network operations. Every outbound TCP open and DNS query is intercepted and forwarded to the supervisor, which checks it against policy and adds credentials only for approved endpoints, so the agent never sees a real key. Runtimes are Docker or Podman containers with networking disabled, Kubernetes pods with NetworkPolicy, or a VM guest with no network device over vsock.
Policy is declarative YAML covering filesystem, process and network rules; agent-proposed network changes pass through a formal policy prover and anything that adds risky reach is held for human review. You create sandboxes with the CLI (openshell sandbox create --name demo) or SDKs for Python, TypeScript, Go and Rust; the default image is minimal Ubuntu with no agent installed, and the docs name Claude Code, OpenCode, Codex and GitHub Copilot CLI as supported agents. The 0.1.x line (v0.1.7 at the time of verification) is described as having a stable release cadence. OpenShell qualifies as a sandbox because it provisions and confines the environment the agent runs in; its distinguishing feature is the policy and credential layer rather than a new isolation primitive, and it supports pluggable isolation backends including microVMs.
Notable
- Apache-2.0 with roughly 21k GitHub stars; documentation covers v0.1.7 and describes the 0.1.x line as a stable release cadence
- Agents never receive real credentials: the supervisor injects them only into requests bound for policy-approved endpoints
- Proposed policy changes are checked by a formal policy prover (
openshell-prover) before auto-approval
OpenShell specifications
| Attribute | Details |
|---|---|
| Isolation | Workload runs as a non-root identity with no Linux capabilities, confined by Landlock (filesystem) and seccomp (process and network interception), inside a Docker or Podman container with networking off, a Kubernetes pod with a NetworkPolicy, or a VM guest with no network device |
| Deployment | Open-source project · Self-hostable |
| Open source | Yes (Apache-2.0) |
| SDKs and interfaces | Python, JavaScript/TypeScript, Go, Rust, CLI |
| Cold start (vendor claim) | Not documented |
| Max session length | Not documented |
| Persistence | Filesystem and process policy are fixed at sandbox creation and changing them requires recreating the sandbox; no snapshot or pause feature is documented |
| GPU | Not documented |
| Networking | Deny-all outer fence; the sandbox intercepts TCP opens and DNS queries with seccomp and forwards them to the supervisor, which allows only policy-approved destinations and injects credentials only for approved endpoints; network policy is hot-reloadable |
| Pricing | Free to self-host (Apache-2.0) |
| Free tier | Free to self-host |
| Compliance | Not documented |
| Regions | Self-hosted: local installer on Linux and macOS (Apple Silicon), Windows via WSL 2 (experimental), Kubernetes via Helm, or a Brev Launchable in the cloud |
Facts from OpenShell’s public documentation, verified November 9, 2026. Performance numbers are vendor claims.
Strengths and trade-offs
Strengths
- You want coding agents to run with least-privilege file, process and network access that is enforced in the kernel
- You need credentials kept out of the agent's reach while it still calls approved APIs
- You run on Linux or Apple Silicon locally and on Kubernetes in production, with the same policy model
- You want policy as version-controlled YAML for audit and compliance
Trade-offs
- Default runtime is a container; VM-level isolation depends on the VM or microVM backend
- No snapshots, pause/resume or persistence features; sandboxes are recreated to change filesystem or process policy
- Windows support is experimental via WSL 2
- Primarily a policy and runtime layer for agents, not a sandbox API for arbitrary code execution from your application
Good fit for: Running coding agents such as Claude Code, Codex and OpenCode under an auditable, version-controlled policy for files, processes, network and credentials.
How OpenShell compares
| Sandbox | Isolation | Open source | Self-host / BYOC | Cold start (vendor) | Max session | Snapshots / pause | GPU | SDKs |
|---|---|---|---|---|---|---|---|---|
| OpenShell | Landlock/seccomp in container or VM | Yes | Yes / No | Not documented | Not documented | No / No | Not documented | Python, JavaScript/TypeScript, Go, Rust, CLI |
| Anthropic Sandbox Runtime | OS-level (Seatbelt / bubblewrap) | Yes | Yes / Not documented | Process start | Not documented | No / No | Not documented | CLI (srt), TypeScript (npm) |
| Docker Sandboxes | MicroVM | No | Yes / No | Not documented | Until removed (local) | Yes / Yes | Yes | sbx CLI, TypeScript (cloud), REST API (cloud) |
| nono | Landlock / Seatbelt | Yes | No / No | Not documented | Not documented | Yes / Not documented | Not documented | CLI, Rust, Python, JavaScript/TypeScript, Go |
| bubblewrap | Linux namespaces | Yes | Yes / No | Not documented | Not documented | No / No | Not documented | CLI |
| OpenSandbox | Containers or Firecracker | Yes | Yes / No | 64 ms P50 (claimed) | Not documented | Not documented / Yes | Not documented | Python, JavaScript/TypeScript, Java, Kotlin, Go, C#, CLI, MCP server, REST API |
| Gemini CLI sandboxing | Seatbelt or container | Yes | No / No | Not documented | Not documented | No / Not documented | Not documented | CLI |
Frequently asked questions
What is OpenShell?
How does OpenShell isolate code?
Is OpenShell open source?
How much does OpenShell cost?
What are the alternatives to OpenShell?
Sources
Cite this page
Agent Sandboxes. (2026). OpenShell. agentsandboxes.org. Last reviewed November 9, 2026. https://agentsandboxes.org/sandboxes/nvidia-openshell/
Found an error or a missing sandbox? Submit a correction — every entry links to the sources it relies on.