Table of Contents
Open Table of Contents
Why This Platform, Why Now
NVIDIA OpenShell on NVIDIA Build is the catalog entry for an open, secure runtime for AI agents. The page states the product job in one line: it governs agent execution, access, and where inference goes. Security is supposed to live in the environment, not in the model prompt and not in the agent application.
That split matters. A coding agent, research agent, or long-running operator is useful only when it can read files, install packages, call APIs, and use credentials. The same access is how source code leaves the machine, cloud keys get read, and prompts get sent to an unapproved model endpoint. Prompt instructions cannot close that gap. An agent that can be talked into ignoring a system prompt can also be talked into ignoring an in-process safety check.
OpenShell’s answer, documented in the project README and the overview, is to treat the agent workload as untrusted for the whole run. Nothing is permitted by default. Permissions are granted by declarative policy. Enforcement sits outside the agent process, where model output cannot prompt it away.
As of 9 November 2026, the NVIDIA/OpenShell repository is a Rust project under Apache-2.0, created 24 February 2026, with 21,317 stars and 2,086 forks. The current stable release is v0.1.7, published 3 November 2026. Those numbers are a snapshot, not a quality verdict. What is worth reading is the control model.
This post is about that runtime. It is not a replacement for the earlier NemoClaw install guide, which wraps specific agent stacks on top of OpenShell. OpenShell is the layer underneath.
What the Platform Actually Is
Per the Build page and the product page, OpenShell combines four ideas:
- Sandboxed execution. Each agent runs in an isolated workload with kernel controls on files, system calls, and network egress.
- Controlled resource access. Filesystem, process, and network rules are declared, not implied by whatever the agent binary can reach on the host.
- Credential protection. The agent sees opaque placeholders. Real credentials are attached only to requests bound for approved endpoints.
- Formal policy verification. A policy prover flags risky new access before a change is auto-approved, so a new credentialed host or a new API method waits for a human.
The Build page also states three operating properties:
- Agent-native infrastructure. Agent logic is separated from the interfaces that connect it to files, tools, and external systems. Every action passes through policy enforcement.
- Deployment flexibility. Open or closed models, and the operator’s choice of agent and harness, across supported local, cloud, hybrid, on-premises, and air-gapped environments.
- Deterministic governance. Deny by default. Grant only what the declared task needs. Enforcement is outside the agent process.
The open-source project implements that model as a gateway, a supervisor, a sandbox runtime, and a policy engine. Docs live at docs.nvidia.com/openshell. The 0.1.x line is the first stable release cadence: weekly tagged stables when qualification passes, security releases sooner, and N-1 patch support. See the support matrix and RFC 0014.
Architecture
The architecture doc splits the system into a trusted side and an untrusted side. The agent never sits on the trusted side.
| Component | Role |
|---|---|
| Gateway | Control plane. Authenticates operators, manages sandbox lifecycle, delivers policy and settings, attaches providers, and brokers access into sandboxes. |
| Compute driver | Provisions the workload and a separate supervisor, builds the isolation boundary, and reports status. Docker, Podman, Kubernetes, and MicroVM are the supported drivers. |
| Supervisor | Trusted. Checks requests against policy, injects credentials, resolves DNS, opens approved connections, and keeps the link to the gateway. |
| Sandbox | Untrusted side, with the agent. Owns the agent process tree, identifies the calling program, applies process controls, and forwards TCP and DNS to the supervisor. |
| Policy | Declares files, processes, network destinations, API calls, and where provider credentials may go. |
| Provider | Binds a service name to a stored credential. The supervisor releases that credential only where the profile allows. |
| Policy prover | Formal check, in the gateway and as the standalone openshell-prover CLI, for agent-proposed network rules. |
When a sandbox is created, the driver provisions the workload and the supervisor, establishes their protected channel, and builds the isolation boundary. The supervisor confirms that boundary before the agent starts, then connects back to the gateway for policy, credentials, logs, and interactive sessions.
The only egress path
The workload has no general network. An outer fence denies every egress path except the protected connection to the supervisor. Each runtime builds that fence with its own tools:
| Runtime | Supervisor placement | Channel | Direct egress block |
|---|---|---|---|
| Docker | Own container | Authenticated Unix socket on a driver-owned volume | Workload networking off |
| Podman | Own container | Authenticated Unix socket on a driver-owned volume | Workload networking off |
| Kubernetes | Own pod | Private service, server-authenticated TLS, sandbox JWT | NetworkPolicy allows only the supervisor service |
| MicroVM | Host process | Authenticated vsock | Guest has no network device |
The runtime builds and proves the boundary. It does not decide whether a request is allowed. That decision stays in the shared supervisor and policy engine, which is why the same policy is meant to behave the same way on every driver. On Kubernetes, the CNI must actually enforce NetworkPolicy. A cluster that ignores network policy does not have this fence.
How a request travels
- The agent opens a TCP connection or makes a DNS lookup.
- The sandbox identifies the calling program from trusted process observations, not from a path the agent claims.
- The request crosses the OpenShell Sandbox Protocol to the supervisor.
- The supervisor checks policy and adds credentials only if policy allows them.
- If allowed, the supervisor opens the real connection and relays traffic.
The Sandbox Protocol is one HTTP/2 connection, authenticated with TLS and a sandbox JWT, carrying many independent streams. A slow download cannot block DNS, exec, or process control. If the supervisor disconnects, the sandbox freezes the agent. Only the same supervisor process can reconnect and resume it. A new supervisor cannot take over a running sandbox, even with valid credentials.
On the current Linux backend, the workload uses one non-root identity and no Linux capabilities. Landlock limits filesystem access. Seccomp user notification stages network operations. The agent cannot start before those controls are confirmed.
What the agent cannot see
The sandbox holds nothing worth stealing from the control plane: no gateway signing key, no gateway JWT, and no provider credentials. The gateway signs a pair of JWTs per sandbox generation. User client certificates and private keys stay outside both the supervisor and the workload. Docker, Podman, and MicroVM deliver the first supervisor credential as private files. Kubernetes mounts a preissued bundle from a Secret, or delivers it over an authenticated assignment stream when supervisors are shared.
Policies, Credentials, and Inference
OpenShell’s overview maps common agent failures to controls:
| Threat | Control |
|---|---|
| Data exfiltration | Network policy allows only approved destinations. Other outbound traffic is denied. |
| Credential theft | Landlock confines filesystem access to declared paths. |
| Unauthorized model use | Provider profiles and network policy restrict model traffic to approved endpoints and binaries. |
| Privilege escalation | Unprivileged process identity and seccomp block sudo, setuid, and dangerous syscalls. |
The layers do not all update the same way:
| Layer | When it applies |
|---|---|
| Filesystem | Locked at sandbox creation. |
| Process | Locked at sandbox creation. |
| Network | Hot-reloadable at runtime. |
| Provider credentials | Attach, rotate, and revoke at runtime. New environment variables require a new process. |
Default is deny, with a narrow filesystem floor
If no global policy, saved sandbox policy, or image policy is present, the default policy applies. It is restrictive on the network and only partly restrictive on the filesystem:
- Working directory is read-write.
/bin,/usr,/lib,/proc,/dev/urandom,/etc, and/var/logare read-only./tmpand/dev/nullare read-write.- No network rules. All outbound access is denied unless a provider or an explicit rule adds some.
Creating a sandbox without --policy does not by itself select that default. An image policy or OPENSHELL_SANDBOX_POLICY can supply one. An invalid image policy blocks startup. It does not fall back to the default.
Once any network rule exists, including a provider-contributed rule, OpenShell adds baseline paths the process needs for libraries, DNS, and CA certificates. A mandatory Landlock baseline also protects /.openshell and requires Landlock ABI v3. User policy can narrow access. It cannot expose that directory. best_effort compatibility does not disable this baseline and does not allow a kernel without ABI v3.
Docker and Podman reject an image whose user is root unless the create-time policy sets a non-root run_as_user. GPU sandboxes on Docker and VM drivers receive extra device paths such as /dev/nvidiactl only when those nodes exist. Those grants are runtime-only. They are not written into the saved policy.
Providers keep credentials off the workload
A provider profile is the access contract for a service: credential, authorized hosts, ports, paths, and the binaries allowed to call them. A gateway starts with an empty profile catalog. Example profiles in providers/ are templates, not defaults. The current set covers NVIDIA, OpenAI, Anthropic, OpenRouter, GitHub, AWS, Google Cloud, Vertex AI, Bedrock, OCI, PyPI, and several coding-agent layouts (claude-code, codex, copilot, cursor).
Import a reviewed copy, then create a provider from stored credentials:
openshell profile import \
--url https://raw.githubusercontent.com/NVIDIA/OpenShell/main/providers/openrouter.yaml
openshell provider create \
--name openrouter \
--type openrouter \
--from-existing
The agent receives a placeholder. The supervisor substitutes the real secret only for an endpoint the profile names, and only for a binary the profile lists. Pointing an OpenAI-shaped client at a different host does not silently carry the OpenAI credential there. A profile bound to the public vendor endpoint treats a different base URL as endpointless. A self-hosted model needs its own profile that names that host.
Binary paths are part of the control. Several examples assume a reference image layout such as /sandbox/.venv or /usr/local/bin/opencode. Imported unchanged into a different image, the profile matches nothing: the catalog still lists it, the credential is never injected, and the traffic is denied. Copy the file, narrow binaries and endpoints to the image you actually run, lint, then import.
Inference stays on the native API
OpenShell does not rewrite model requests. The workload calls the provider’s native endpoint. The inference guide uses NVIDIA’s API as the worked example, with the client pointed at https://integrate.api.nvidia.com/v1 and NVIDIA_API_KEY supplied as a placeholder. Attachment selects access. It does not select or rewrite a model.
A credentialless local server, such as Ollama on the gateway host, is modeled the same way: a profile with credentials: [], an endpoint such as host.openshell.internal:11434, and an explicit binary list. The workload still cannot open that port itself. The supervisor does.
The advisor and the prover
When an agent hits a denied destination, OpenShell denies the request and can draft a narrow rule. The policy advisor groups recent denials by host, port, and calling program, then submits a proposal. The gateway runs the policy prover before a human reviews it. The prover flags changes such as new credentialed reach, a new HTTP method, or access to a cloud metadata endpoint. Any finding blocks auto-approval.
openshell rule get my-agent --status pending
openshell rule approve my-agent --chunk-id <chunk-id>
openshell rule reject my-agent --chunk-id <chunk-id> --reason "Not needed for this task."
Approved network rules hot-reload. openshell rule approve-all skips proposals that carry a security flag unless --include-security-flagged is set. The prover also ships as openshell-prover so a policy can be checked against a boundary in CI, not only at runtime.
Inspect what actually applied with openshell policy get <sandbox> --base and --full. Provider-derived rules show up in the effective policy. Some runtime-only paths, such as the supervisor CA under /run/openshell-supervisor-ca, do not.
Who It Is For
The product FAQ names three immediate users: developers building autonomous agents, platform teams enabling those developers, and security or IT teams that need a safer way to govern execution.
Documented use cases from the overview:
- Secure coding agents. Run Claude Code, OpenCode, Codex, or GitHub Copilot CLI with constrained file and network access.
- Private enterprise development. Give selected sandboxes a self-hosted or private model endpoint without handing the agent the host’s credential store.
- Compliance and audit. Treat policy YAML as a version-controlled control. v0.1.7 emits native OCSF 1.8.0 records. Allow and deny decisions are logged.
- Reusable environments. Start from the default Ubuntu workload or bring a container image that already contains the agent and its tools.
OpenShell is agent-agnostic inside the image. The harness can be OpenCode, a Python worker, or a custom binary. SDKs in Python, TypeScript, Go, and Rust connect an application to a gateway. They do not install the CLI. Match the SDK release to the gateway release.
Coding agents can also learn the CLI. The repository publishes skills that teach an agent to drive OpenShell, write policies, and debug gateway and inference routing:
npx skills add NVIDIA/OpenShell
Those skills do not require an OpenShell source checkout. They also do not replace policy review. An agent that can propose a rule is still an untrusted workload.
How to Install
The support matrix is the constraint, not the installer banner.
| Requirement | Detail |
|---|---|
| Host | Linux (Debian/Ubuntu) amd64 or arm64, or macOS on Apple Silicon with Docker Desktop. Windows with WSL 2 is experimental. Native Windows via MXC is a separate windows branch. |
| Runtime | Docker 28+, Podman 5.x, Kubernetes 1.29+ with Helm 3, or host virtualization for MicroVM (KVM on Linux, Hypervisor.framework on macOS). |
| Kernel | Landlock LSM ABI 3 or newer (Linux 6.2+), seccomp user notifications with SECCOMP_IOCTL_NOTIF_ADDFD, and same-UID task-memory reads for the broker. The sandbox probes these before admitting a workload. |
| Default image | nvcr.io/nvidia/base/ubuntu:24.04 for amd64 and arm64. Minimal Ubuntu Noble. No agent CLI bundled. |
Local CLI and gateway
Pin the release. The v0.1.7 notes document:
curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | OPENSHELL_VERSION=v0.1.7 sh
openshell sandbox create --name demo
The installer sets up the CLI and a local gateway. openshell sandbox create --name demo starts the minimal Ubuntu image with no agent. A shell prompt inside that sandbox is the install check. It is not an agent run.
Confirm the gateway before the next command:
openshell status
If the CLI is pointed at a gateway you already run, register it instead of starting another:
openshell gateway add http://127.0.0.1:18080 --local --name local
openshell gateway select local
Disable anonymous telemetry on that gateway with OPENSHELL_TELEMETRY_ENABLED=false, or server.telemetryEnabled=false on Helm. The project says telemetry is limited to operational categories and counts.
Kubernetes gateway
The chart is published at oci://ghcr.io/nvidia/openshell/helm-chart. The Helm README still marks the Kubernetes path experimental. Pin it to the same stable release as the CLI. Do not use the README’s illustrative 0.6.0 example. Current stable is 0.1.7.
# CNI must enforce NetworkPolicy. Agent Sandbox CRDs are a separate install.
kubectl apply -f https://github.com/kubernetes-sigs/agent-sandbox/releases/latest/download/sandbox.yaml
helm install openshell oci://ghcr.io/nvidia/openshell/helm-chart --version 0.1.7
The chart defaults to a StatefulSet for SQLite and can render a Deployment when an external database backs the gateway. A cluster that accepts NetworkPolicy objects but does not enforce them lets sandbox workloads bypass the supervisor. Verify the CNI before treating this install as a control.
To try the runtime without a local install, the README points at a Brev Launchable. NVIDIA Build also publishes a separate DGX Spark blueprint at build.nvidia.com/spark/openshell. That blueprint is a hardware lab path. It is not the same artifact as the GitHub release.
How to Use
Day-to-day use is a loop: import a reviewed provider profile, create a sandbox with an explicit image and command, watch denials, and approve only the rules you intend. The documented first agent, from Run Your First Agent, is OpenCode against a free OpenRouter model.
Set OPENROUTER_API_KEY in the environment first. OpenShell stores the value and sends it only to openrouter.ai.
openshell profile import \
--url https://raw.githubusercontent.com/NVIDIA/OpenShell/main/providers/openrouter.yaml
openshell provider create \
--name openrouter \
--type openrouter \
--from-existing
openshell sandbox create \
--name my-agent \
--from ghcr.io/anomalyco/opencode:latest \
--provider openrouter \
-- opencode -m openrouter/nvidia/nemotron-3.5-lightning:free
The image tag and the free model identifier are upstream examples. Pin both for anything past a local trial. The OpenRouter profile expects /usr/local/bin/opencode. A different image path will not match, the credential will not be injected, and the call will be denied.
After the sandbox exists, read the policy that actually applied, then watch what the agent tried:
openshell policy get my-agent --base
openshell policy get my-agent --full
openshell logs my-agent --since 5m
--full includes provider-derived network rules. --base does not. When the agent hits a destination the policy does not allow, list the drafted proposal and approve or reject it:
openshell rule get my-agent --status pending
openshell rule approve my-agent --chunk-id <chunk-id>
openshell rule reject my-agent \
--chunk-id <chunk-id> \
--reason "Not needed for this task."
Approved network rules hot-reload. The agent retries. It does not get a new filesystem grant this way. Filesystem and process policy still require a new sandbox.
Attach or remove a provider on a running sandbox without recreating it. A process that is already running does not see new environment variables. Start a new one after the attach completes:
openshell sandbox provider attach my-agent openrouter --wait
openshell sandbox provider list my-agent
openshell sandbox exec --name my-agent -- python app.py
openshell sandbox provider detach my-agent openrouter --wait
Flags that change how a workload lives:
--detachcreates without attaching. Some drivers reject foreground attachment and require this.--cpuand--memorytake Kubernetes-style quantities (500m,4Gi).--restart-policydefaults tonever.on-failureandalwaysreplace the runtime after exit. They do not restore process memory.--no-keepdeletes the sandbox after the command exits.- The trailing command allows at most 256 arguments, 32 KiB each, 256 KiB total. Put a long prompt in the image or upload it.
--uploadcannot yet be combined with a trailing main command.
For a self-hosted model, do not reuse the OpenAI or Anthropic example profile. Import a profile that names the real host, port, and client binaries, then pass that base URL into the sandbox. The inference guide uses host.openshell.internal for a gateway-local Ollama server. The workload still cannot open that port itself.
Enterprise Implementation: Cadence ChipStack
The published production example is Cadence, not a hypothetical platform team.
On 26 July 2026, Cadence’s post The Autonomous Chip-to-System Engineer Has Arrived described the ChipStack AI Super Agent, announced at Computex 2026, as a Level-5 verification agent secured by the NVIDIA OpenShell runtime and powered by NVIDIA Nemotron 3 Ultra models. Engineers direct agents that run hundreds of simulations at once on Cadence Xcelium Logic Simulation and Jasper Formal Verification, instead of driving each step by hand. Cadence’s published result: work that traditionally required five weeks can finish in less than a day, which they state as more than 40× faster RTL validation cycles. NVIDIA’s product page compresses the same partnership to “Cadence Cuts Chip Verification From Weeks to Hours With NVIDIA OpenShell.” Treat both as vendor claims. They are not an independent benchmark.
What OpenShell is doing in that stack, per Cadence and the coverage of the announcement, is the production boundary around the agent: governance, policy controls, isolation, and managed access to tools, infrastructure, and design data. Timothy Costa, NVIDIA VP and GM of Computational Engineering, described it as securing ChipStack with OpenShell so autonomy stays governed. Design databases are the asset. The agent is allowed to call signoff engines. It is not allowed to treat the host, the network, or the credential store as its own.
A later Cadence post, Trusted Autonomy with Cadence Super Agents and NVIDIA Open Agent Safety Platform (28 September 2026), widens the picture. OpenShell remains the runtime boundary. NVIDIA Sentry, running on BlueField-4, is the out-of-band watchdog that can quarantine an agent that leaves that boundary. Cadence’s production story is the full safety platform, not the laptop curl | sh install above.
Cadence has not published the policy YAML. The control pattern that matches the documented OpenShell model, and the job they describe, is:
| Cadence need | OpenShell control |
|---|---|
| RTL and design IP must not leave the workspace | Filesystem policy locked at sandbox create. No host secret mounts. |
| Only the EDA and agent binaries may call license servers, simulators, and model endpoints | Provider binaries plus network rules. Other processes match nothing. |
| Nemotron or other model keys stay off the workload | Opaque placeholders. Supervisor injects the credential only at the profile’s endpoint. |
| A new tool host is a reviewed change, not a prompt | Policy advisor drafts a rule. The prover flags new credentialed reach. A human approves. |
| One agent’s tool calls do not become another’s network | Separate sandbox, separate supervisor, deny-by-default egress. |
That table is the mapping from Cadence’s stated requirements to OpenShell’s controls. It is not Cadence’s configuration file. Copy the pattern. Do not invent their endpoints.
Where It Sits in NVIDIA’s Agent Safety Stack
The Build page is explicit: OpenShell is the secure runtime inside the NVIDIA Open Agent Safety Platform, an open reference design that also names NVIDIA Sentry and NVIDIA BlueField-4 for in-silicon enforcement. The product page describes the same split. OpenShell governs what the agent can see, do, and call. Sentry is the out-of-band monitoring and governance layer. BlueField is the hardware-isolated domain Sentry is meant to run in, independent of the host the agent is on.
Installing the Apache-2.0 repository does not deploy BlueField enforcement or Sentry. Those are separate products in the reference design. A laptop gateway with Docker is a real OpenShell deployment. It is not the full platform.
NVIDIA’s 21 October 2026 technical post, How NVIDIA OpenShell Reference Architecture Secures and Governs AI Agent Workloads at Scale, frames the same four software components — gateway, supervisor, sandbox, and policy prover — as the governance layer for agent fleets. Read that post for the reference-architecture argument. Read the support matrix before treating a demo gateway as a production control plane.
NemoClaw, covered in Installing NVIDIA NemoClaw Securely, is a reference stack that places specific agents on this runtime. If the goal is OpenClaw, Hermes, or a similar always-on assistant, start there. If the goal is to govern an agent you already ship, start with OpenShell itself.
Limits and Operational Caveats
Stable does not mean finished, and the project says so.
- Qualification is partial. The support matrix states that the current qualification profile covers part of RFC 0014. Passing it does not establish full release-qualification coverage. Use a stable tag for anything you intend to keep. Dev builds and
X.Y.Z-pre.Npre-releases are not that tag. - v0.1.7 has a real audit break. Native OCSF 1.8.0 is now the only record format. Deployments that parsed 1.1 or 1.3 records need to move. The old schema-version settings are deprecated and ignored.
- Default filesystem access is not a vault. The fallback policy still allows reads under
/usr,/etc, and/proc. Put secrets outside the workload. Do not bake them into the image and expect the default policy to hide them. - Network deny is the strong default. Filesystem and process rules are sticky. A bad filesystem grant waits for a new sandbox. Review it before create, not after the agent has run.
- Approve-all is an operator action. The prover can block auto-approval. It cannot stop an operator who passes
--include-security-flaggedor who edits policy by hand. - Example profiles are not safe to import blindly. Wrong binary paths fail closed, which is good. Over-broad binary paths fail open for every process that matches, which is the actual risk.
- Windows is not the Linux path. WSL 2 is experimental. Native MXC support lives on the
windowsbranch and has its own enforcement limits. - Telemetry is on unless disabled. The project says it collects anonymous operational categories and counts, not sandbox names, hostnames, paths, prompts, credentials, or model names. Disable it with
OPENSHELL_TELEMETRY_ENABLED=falseon the gateway, orserver.telemetryEnabled=falsein Helm. It can also be compiled out. See the telemetry docs. - The installer fetches remote material. The repository notice says retrieved materials are not part of the Apache-2.0 distribution and are governed by their own licenses. Pin versions. Review the image and the provider profile before attaching a production credential.
- An agent trace relay exists, and it is opt-in. v0.1.7 can forward OpenTelemetry from the sandbox to an operator collector without giving the agent an egress rule or the collector address. That is useful. It is also another path that should be enabled on purpose, not discovered later in a trace backend.
OpenShell does not make an agent correct. It makes the blast radius of an incorrect, compromised, or over-eager agent depend on a policy you can read, diff, and reject.
Where to Go Next
- Catalog entry: build.nvidia.com/openshell
- Product overview: nvidia.com/en-us/ai/openshell
- Docs home: docs.nvidia.com/openshell/latest
- Architecture: about/architecture
- Source and releases: github.com/NVIDIA/OpenShell
- Security reports: follow
SECURITY.mdin the repository. Do not file vulnerabilities as public issues.
Start with a pinned v0.1.7 gateway, an empty profile catalog, and one provider whose binaries match the image. Let the first denied request become a reviewed rule instead of a broader network allow. That is the workflow the platform is built around.