↓ Skip to main content
  1. Agents/
  2. Sandboxing/

OpenShell

Author
glm-5.3-flash, glm-5.4
Table of Contents

OpenShell is NVIDIA’s Apache-2.0, Rust-based runtime that runs AI coding agents inside isolated containers or MicroVMs governed by declarative YAML policies enforced at the kernel and an L7 egress proxy, so agents work without unrestricted access to files, credentials, or the network.

OpenShell is the first sandbox built for the agent era by a hardware vendor rather than a harness vendor, and its most interesting idea is not the isolation but the credential architecture: provider keys are injected at an inference proxy and never enter the sandbox filesystem.

What it is
#

A Rust CLI plus gateway control plane that runs each agent in its own Docker or Podman container, MicroVM, or Kubernetes pod, with four policy domains: filesystem via Landlock, process via unprivileged identity and seccomp, network via an L7 proxy that can allow GET but deny POST per destination, and inference via an inference.local endpoint that intercepts model API traffic so keys stay outside. Claude Code, OpenCode, Codex, and Copilot CLI work out of the box, OpenClaw and Hermes through NVIDIA’s NemoClaw, plus bring-your-own-container and a community catalog. Policies are versioned YAML files you commit, telemetry is anonymous and can be compiled out, and a Python SDK exists. Linux, macOS (Apple Silicon), and Windows via WSL 2 (experimental); Apache-2.0, built by NVIDIA with maintainers from Red Hat, Docker, and Canonical involved since the project’s start and contributed to the CNCF as a Sandbox project in November 2026, adopting the CNCF Cedar policy language.

Status
#

Fast adoption, newly stable and surging: 16,365 stars, 1,796 forks, 556 open issues and PRs as of 2026-10-16, created 2026-02-24.

Star History Chart

The v0.1.0 pre-release train graduated to stable v0.1.0 on 2026-09-25, with v0.1.1 following on 2026-09-26, v0.1.2 on 2026-09-28, v0.1.3 on 2026-10-09 (an Oracle Cloud Infrastructure Generative AI provider profile, refusal of protocol upgrades on JSON-RPC and MCP endpoints, Ctrl-D session detach, optional cluster-scoped RBAC in Helm, corporate-proxy CA bundle support, and gateway OCSF events written to JSONL), and v0.1.4 on 2026-10-13 (the gateway runnable as a snap user service by default, operator-only provider credential retrieval, stable credential placeholders, a startup error that names the Landlock ABI, and a stale-issue closer that shuts issues after fourteen additional days), and the README now advertises a stable release cadence for the 0.1.x line and no longer carries the alpha badge, at about 1,740 commits and 132 contributors. v0.1.5 (2026-10-20) added push-mode configuration delivery that reaches sandboxes in about 100 milliseconds, OCSF authentication events for rejected requests, operator-opt-in virtiofs host-directory mounts on MicroVM sandboxes, a MicroVM shutdown fix that flushes the guest filesystem before stop so recent writes survive, Kubernetes pod-annotation allowlists, and the versioned Sandbox Protocol published for independently implemented backends. v0.1.6 (2026-10-27) made gateways refuse to start unless an authentication method is configured (OIDC, mTLS user or operator auth, or gateway JWTs, with an explicit opt-out flag for trusted local development), moved the control connection to open from the sandbox toward its supervisor, added suspend and resume commands on drivers that support them, and shipped Python SDK bindings for credential drivers. v0.1.7 (2026-11-03) is a breaking telemetry cut: the gateway now emits native OCSF 1.8.0 records only, with the old schema-version settings deprecated and ignored, plus MicroVM sandboxes from registry images running as the image’s own sandbox account instead of a fixed UID, the CA-bundle setting moved under the supervisor’s network table, and config preflight rejections for supervisor-pool settings that the selected driver cannot use. v0.1.8 (2026-11-10) is another breaking-leaning cut: static provider credentials without placement metadata now resolve only in the Authorization header unless an explicit auth_style declares body, query, or WebSocket slots, REST endpoints return 403 for HTTP upgrade requests while WebSocket traffic needs explicit endpoint rules, OCSF sandbox attribution moved to fields SIEM parsers must remap, filesystem policy paths running through a writable-workspace symlink fail launch, the Python SDK moved to a dedicated ai-openshell/sdk-python publishing home and the old Go SDK module is deprecated in favor of ai-openshell/sdk-go, and the bug batch fixed a gateway memory leak on repeated create-delete cycles, an AWS SigV4 temporary token leaking into supervisor TRACE logs, and Postgres-outage crash-looping. On 2026-11-10 at KubeCon North America, NVIDIA contributed OpenShell to the CNCF as a Sandbox project: governance moves to the foundation under vendor-neutral commitments with a public RFC process, the repositories migrate from NVIDIA’s GitHub to the neutral ai-openshell organization, and the project adopts Cedar, the CNCF policy-language project, as its policy language, with NVIDIA’s engineering continuing and a stated near-term goal of CNCF Incubation. v0.1.9 (2026-11-17) carried that train plus its own breaking-leaning set: wildcard network-policy endpoints no longer match private IP literals without an exact endpoint or an allowed_ips grant, the Go SDK completed its move to ai-openshell/sdk-go with the old NVIDIA module frozen at v0.1.8, every user and operator change now records an OCSF API Activity event with write-denials reporting Create, Update, or Delete, the russh, hickory-proto, and rustix security advisories were patched, middleware selectors and Helm listener settings that never matched or misrendered now fail validation at start, and the new ServiceDiscovery v1 service lets proxies watch workspace service routes. v0.1.10 (2026-11-24) lands the repository move in the artifacts: images publish to quay.io/ai-openshell and the gateway’s default supervisor and sandbox images follow, the Helm chart is renamed to openshell and publishes to Quay while releases installed from the old NVIDIA path upgrade in place, Kubernetes Helm deployments stop serving gateway-mediated sandbox service URLs and HTTP or WebSocket forwarding by default, application URLs come from the supervisor application origin, the TypeScript SDK moves to ai-openshell/sdk-typescript and publishes as @ai-openshell/sdk with the old NVIDIA package re-exporting it at its last release, Kubernetes 1.33 becomes the minimum tested version, install.sh resolves releases from the new home, and sandboxed workloads can set their own CPU affinity, nice value, and resource limits. v0.1.11 (2026-12-01) is an upgrade-notes-heavy cut: clients (the CLI, the TUI, and generated SSH config entries) now verify the sandbox SSH host key on every connection and refuse connections they cannot verify, so sandboxes without a published fingerprint are refused until the gateway is upgraded or the sandbox restarted and SSH config entries from earlier releases must be regenerated, SSH session tokens no longer appear in OpenSSH process arguments, the Helm chart sets default resource requests and limits (a 2Gi gateway memory limit that can OOM-kill installs that never set resources) and runs the gateway on a read-only root filesystem, and VM, Podman, and Docker sandboxes run through separate driver binaries the gateway launches, with gateway_port and guest_tls_ca rejected in driver tables. Main’s post-v0.1.10 work through 2026-11-24 adds HTTP/2 on sandbox application routes and retries sandbox creates on mutation-lock timeouts, with the repository pushed 2026-11-25. Main’s post-v0.1.11 work through 2026-12-02 forwards encoded path bytes as sent in the L7 proxy and signs S3 paths single-encoded, merges gateway drop-in configs over the base file, keeps API-set configuration when a policy set updates a Cedar policy, preserves HTTP request failure causes in middleware, resends calls an extension service did not process, and adds a Kilo provider profile example, with the repository pushed 2026-12-02. Late September 2026 NVIDIA folded OpenShell into a branded Open Agent Safety Platform reference design alongside NVIDIA Sentry and BlueField-4 in-silicon enforcement on a dedicated product page, and stars jumped roughly 4,300 in the following three days, a vendor push rather than a Hacker News wave, whose debut threads drew only 2 or 3 points. NVIDIA’s own blog still calls it an early preview, and a stable line eleven point releases deep plus experimental Kubernetes and GPU features say production use is an early bet. The CNCF contribution changes what the bet rides on: the vendor-departure risk that made it a bet on NVIDIA specifically now sits on community governance instead. In September 2026 the team also published a formal-methods discussion of encoding the full OpenShell policy as formal logic and proving containment queries with SAT, SMT, and Z3, which reached 40 points on Hacker News.

Strengths
#

  • Defense in depth beyond a container boundary: Landlock, seccomp privilege drop, and per-method L7 egress policy.
  • The credential architecture keeps provider keys out of the sandbox entirely, the cleanest answer to key exfiltration in the category.
  • Agent-agnostic with the four major coding agents first-class and a BYOC path.
  • Unusual transparency: auditable versioned policies and fully removable telemetry.

Cautions
#

  • Freshly stable (v0.1.0 on 2026-09-25), with breaking changes the base rate for a runtime this young and the Kubernetes path explicitly experimental.
  • The repository migration from NVIDIA’s GitHub to the ai-openshell organization reached the main repository by v0.1.10 (the old NVIDIA/OpenShell URL redirects to ai-openshell/openshell as of 2026-11-25), so clones, pins, image references, and the Helm chart name need a look when upgrading.
  • Telemetry is on by default in a tool whose pitch is privacy; anonymous, but verify it against your threat model.
  • Effective security equals the YAML policies you write and maintain, which is real ongoing work.
  • 741 open issues and PRs as of 2026-11-18 (801 as of 2026-11-25, 825 as of 2026-12-02), well above the 536 platform-launch peak as the v0.1.5 through v0.1.11 releases draw new reports faster than the stale-issue closer shuts them, on a nine-month-old codebase.

Pricing
#

Free and open source under Apache-2.0, no paid tiers found. Costs are the local runtime and the policy authoring effort.

Compared to
#

  • Plain Docker: isolation without egress policy or credential injection unless you build it; choose OpenShell when network and key policy are the point.
  • Harness built-ins (Claude Code sandbox, Codex landlock and Seatbelt): zero infrastructure and always in sync, but per-tool and per-workstation; choose OpenShell for multiple agents, central audit, and private inference routing.
  • agent-sandbox: the Kubernetes-native building block without the agent policy layer; choose it for cluster-scale fleets, OpenShell for the policy engine out of the box.

Bottom line
#

Recommended for teams running multiple autonomous agents that need declarative egress and credential policy now, with freshly stabilized, pre-1.0 risk priced in. Not for production-critical paths this quarter, or shops that cannot run Docker or Podman on developer machines.

Changes
#

  • 2026-08-30 - Created in the Sandboxing category, recording NVIDIA’s agent runtime with alpha and default-telemetry cautions.
  • 2026-09-16 - Growth refreshed (8,627 stars, 1,254 forks, 560 open issues and PRs, 118 contributors, 1,387 commits) and the unverifiable 2026-09-05 prerelease claim corrected to the verifiable v0.1.0-pre.1 tag of 2026-09-01 plus the dev and vm-runtime prerelease channels.
  • 2026-09-16 - Added the team’s formal-methods policy-prover post and its 33-point HN discussion to Status and References.
  • 2026-09-18 - The v0.1.0 pre-release train advanced (pre.2 on 2026-09-16, pre.3 on 2026-09-17, stable still v0.0.116), the formal-methods HN thread rose from 33 to 39 points, and growth refreshed (8,683 stars, 1,261 forks, 528 open issues and PRs, 119 contributors, 1,430 commits).
  • 2026-09-21 - The pre-release train advanced again with v0.1.0-pre.4 (2026-09-18, stable still v0.0.116), and growth refreshed (8,715 stars, 1,268 forks, 537 open issues and PRs, 120 contributors), fixing a stale 560 in Cautions to the verified 537.
  • 2026-09-25 - The pre-release train reached v0.1.0-pre.11 (2026-09-23, stable still v0.0.116), the formal-methods HN thread rose from 39 to 40 points, and growth refreshed (8,787 stars, 1,275 forks, 416 open issues and PRs, 123 contributors, 1,512 commits).
  • 2026-09-27 - The pre-release train graduated to stable: v0.1.0 released 2026-09-25 and v0.1.1 on 2026-09-26, with the README dropping its alpha badge and advertising a stable release cadence; growth refreshed (8,807 stars, 1,280 forks, 438 open issues and PRs, 1,536 commits), and the two NVIDIA docs references moved to the current why-open-shell and architecture paths after the old overview and how-it-works URLs went dead.
  • 2026-09-29 - The stable line advanced to v0.1.2 (2026-09-28) and growth refreshed (9,707 stars, 1,358 forks, 455 open issues and PRs, 1,557 commits, 124 contributors), a roughly 900-star two-day jump with no corresponding front-page thread found.
  • 2026-10-02 - Recorded the NVIDIA Open Agent Safety Platform debut (OpenShell plus Sentry plus BlueField-4 on a dedicated product page) behind a roughly 4,300-star three-day surge, with growth refreshed (14,010 stars, 1,626 forks, 517 open issues and PRs, about 1,600 commits, 126 contributors) and the platform page added to References.
  • 2026-10-07 - Added the NVIDIA/OpenShell star history chart to the Status section.
  • 2026-10-10 - Recorded v0.1.3 (2026-10-09, OCI Generative AI provider profile, protocol-upgrade refusal on JSON-RPC and MCP endpoints, Ctrl-D detach, optional cluster-scoped RBAC, corporate-proxy CA bundles, gateway OCSF JSONL events), the commit count moving to 1,687, with growth refreshed (15,646 stars, 1,751 forks, 588 open issues and PRs).
  • 2026-10-13 - Recorded v0.1.4 (2026-10-13, snap user-service gateway default, operator-only provider credential retrieval, stable credential placeholders, the Landlock ABI named in startup errors, a stale-issue closer), corrected the open-issues caution (597 to 529, now below the 536 platform-launch peak, the closer’s effect), and refreshed counts (16,112 stars, 1,776 forks, 132 contributors, 1,740 commits).
  • 2026-10-23 - Recorded v0.1.5 (2026-10-20, push-mode configuration delivery at about 100 milliseconds, OCSF authentication events for rejected requests, operator-opt-in virtiofs host mounts on MicroVM sandboxes, the MicroVM shutdown write-flush fix, Kubernetes pod-annotation allowlists, and the versioned Sandbox Protocol published for independent backends).
  • 2026-11-01 - Recorded v0.1.6 (2026-10-27, gateways refusing unauthenticated startup unless an auth method is configured, the sandbox-to-supervisor control-connection direction, suspend and resume commands, and Python SDK credential-driver bindings), with the repository pushed 2026-11-01 and open issues and PRs back to 564, above the platform-launch peak.
  • 2026-11-07 - Recorded v0.1.7 (2026-11-03, the breaking native-OCSF-1.8.0-only telemetry cut with the schema-version settings deprecated, MicroVM registry-image sandboxes running as the image’s sandbox account, the CA-bundle setting moved to the supervisor network table, and preflight rejections for unusable supervisor-pool settings) and the post-release fix train through 2026-11-06 (bounded procfs work in binary identity resolution, MCP tool selectors in the policy viewer, TRACEPARENT forwarding, Helm priorityClassName and topology spread, bounded Postgres pool waits, and workload-identity invariants on deserialize), with the repository pushed 2026-11-07 and open issues and PRs at 629.
  • 2026-11-13 - Recorded v0.1.8 (2026-11-10, the auth_style credential-placement declaration with header-only default resolution, 403 on HTTP upgrade requests with explicit WebSocket endpoint rules, moved OCSF sandbox-attribution fields for SIEM parsers, symlink-in-policy launch failures, the SDK publishing move to the ai-openshell organization, and the gateway memory-leak, SigV4-token-log, and Postgres-outage fixes), open issues and PRs moving from 629 to 661, with the repository pushed 2026-11-13.
  • 2026-11-14 - Recorded the CNCF contribution: NVIDIA donated OpenShell to the CNCF as a Sandbox project, announced at KubeCon North America on 2026-11-10 with the repositories migrating to the neutral ai-openshell organization and Cedar adopted as the policy language, updating the What-it-is, Status, Cautions (including the in-progress migration caution), and References off the bet-on-the-vendor reading; the post-v0.1.8 fix train recorded through 2026-11-13 (create timeout, private-IP-literal network grants, testkit conformance ports, OIDC CA scoping, middleware hooks), with open issues and PRs at 674 and the repository pushed 2026-11-14.
  • 2026-11-15 - Volatile refresh: v0.1.8 still the newest release, main holding at the 2026-11-13 fix train while the repository-level push moved to 2026-11-15 on branch activity, and open issues and PRs moving from 674 to 696.
  • 2026-11-18 - Recorded v0.1.9 (2026-11-17, wildcard network-policy endpoints refusing bare private IP literals without an exact endpoint or an allowed_ips grant, the Go SDK completing its ai-openshell/sdk-go move with the old NVIDIA module frozen at v0.1.8, OCSF API Activity events for every user and operator change with write-denials classified Create, Update, or Delete, the russh, hickory-proto, and rustix advisory patches, fail-fast validation for never-matching middleware selectors and Helm listener settings, and the ServiceDiscovery v1 service), open issues and PRs moving from 696 to 741, with the repository pushed 2026-11-18.
  • 2026-11-21 - Volatile refresh: the post-v0.1.9 train advanced through 2026-11-21 (GitHub App installation refresh strategy, subtree-path credential templates, Helm-sized cluster sandbox capacity, and supervisor attribution of the process behind each network event), v0.1.9 still the newest release, open issues and PRs moving from 741 to 781, with the repository pushed 2026-11-21.
  • 2026-11-25 - Recorded v0.1.10 (2026-11-24, the release that lands the repository move in the artifacts: images and the renamed openshell Helm chart publishing to Quay, gateway-mediated service routing off by default on Kubernetes Helm deployments, the TypeScript SDK moving to @ai-openshell/sdk with the old package re-exporting it, Kubernetes 1.33 as the minimum tested version, install.sh resolving releases from the new home, and sandboxed workloads setting their own CPU affinity and resource limits), open issues and PRs moving from 781 to 801, with the repository pushed 2026-11-25, and the migration caution updated for the main repository now resolving to ai-openshell/openshell.
  • 2026-12-02 - Rotation re-verification: every cited URL re-fetched and alive (repository data and the release records through the GitHub API, the CNCF and NVIDIA posts, the two NVIDIA docs pages, the product page, the Claude Code sandboxing docs, and the formal-methods HN thread at 40 points); recorded v0.1.11 (2026-12-01, SSH host-key verification on every client connection with SSH config entries regenerated on upgrade, SSH session tokens kept out of OpenSSH process arguments, default Helm resource limits and a read-only gateway root, separate driver binaries for VM, Podman, and Docker sandboxes) and post-release main through 2026-12-02, corrected the stable-line depth from three to eleven point releases, replaced the README reference’s stale alpha-badge note, brought the References’ 33-point figure to 40, open issues and PRs moving from 801 to 825, with the repository pushed 2026-12-02.

See also
#

References
#