Skip to content
yisusvii
Go back

NVIDIA OpenShell: The Secure Runtime for Autonomous AI Agents

Suggest Changes

By

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:

The Build page also states three operating properties:

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.

ComponentRole
GatewayControl plane. Authenticates operators, manages sandbox lifecycle, delivers policy and settings, attaches providers, and brokers access into sandboxes.
Compute driverProvisions the workload and a separate supervisor, builds the isolation boundary, and reports status. Docker, Podman, Kubernetes, and MicroVM are the supported drivers.
SupervisorTrusted. Checks requests against policy, injects credentials, resolves DNS, opens approved connections, and keeps the link to the gateway.
SandboxUntrusted side, with the agent. Owns the agent process tree, identifies the calling program, applies process controls, and forwards TCP and DNS to the supervisor.
PolicyDeclares files, processes, network destinations, API calls, and where provider credentials may go.
ProviderBinds a service name to a stored credential. The supervisor releases that credential only where the profile allows.
Policy proverFormal 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:

RuntimeSupervisor placementChannelDirect egress block
DockerOwn containerAuthenticated Unix socket on a driver-owned volumeWorkload networking off
PodmanOwn containerAuthenticated Unix socket on a driver-owned volumeWorkload networking off
KubernetesOwn podPrivate service, server-authenticated TLS, sandbox JWTNetworkPolicy allows only the supervisor service
MicroVMHost processAuthenticated vsockGuest 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

  1. The agent opens a TCP connection or makes a DNS lookup.
  2. The sandbox identifies the calling program from trusted process observations, not from a path the agent claims.
  3. The request crosses the OpenShell Sandbox Protocol to the supervisor.
  4. The supervisor checks policy and adds credentials only if policy allows them.
  5. 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:

ThreatControl
Data exfiltrationNetwork policy allows only approved destinations. Other outbound traffic is denied.
Credential theftLandlock confines filesystem access to declared paths.
Unauthorized model useProvider profiles and network policy restrict model traffic to approved endpoints and binaries.
Privilege escalationUnprivileged process identity and seccomp block sudo, setuid, and dangerous syscalls.

The layers do not all update the same way:

LayerWhen it applies
FilesystemLocked at sandbox creation.
ProcessLocked at sandbox creation.
NetworkHot-reloadable at runtime.
Provider credentialsAttach, 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:

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:

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.

RequirementDetail
HostLinux (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.
RuntimeDocker 28+, Podman 5.x, Kubernetes 1.29+ with Helm 3, or host virtualization for MicroVM (KVM on Linux, Hypervisor.framework on macOS).
KernelLandlock 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 imagenvcr.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:

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 needOpenShell control
RTL and design IP must not leave the workspaceFilesystem policy locked at sandbox create. No host secret mounts.
Only the EDA and agent binaries may call license servers, simulators, and model endpointsProvider binaries plus network rules. Other processes match nothing.
Nemotron or other model keys stay off the workloadOpaque placeholders. Supervisor injects the credential only at the profile’s endpoint.
A new tool host is a reviewed change, not a promptPolicy advisor drafts a rule. The prover flags new credentialed reach. A human approves.
One agent’s tool calls do not become another’s networkSeparate 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.

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

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.


Suggest Changes
Share this post on:


Previous Post
DevOps & SRE Weekly Digest — 2026-11-11
Next Post
Astryx: Meta's Open Source Design System Built for People and AI Agents