NVIDIA OpenShell

Run agents inside NVIDIA OpenShell: current OS support, first-agent setup, file and network policies, and the limits to check before production.

Published

NVIDIA OpenShell

You can give a coding agent a workspace and approved service access without giving it the run of your machine. NVIDIA OpenShell puts enforceable boundaries around an existing agent: which files it can touch, which network requests it can send, and where credentials may be used. The practical payoff is a repeatable permission setup your platform team can review before agents start work.

What NVIDIA OpenShell Actually Does

OpenShell is an open-source runtime, the environment that runs an agent and controls its access. It sits underneath your agent rather than replacing the agent's reasoning or tools.

Think of a contractor working inside a building. You give them a workshop, access to particular rooms and permission to call particular suppliers. You do not hand over the master key because the job description says “be careful.” OpenShell supplies those boundaries for software agents.

Its runtime overview describes filesystem restrictions, network controls, process restrictions and protected provider credentials. Landlock is the Linux kernel mechanism that limits file access; seccomp restricts system calls, the low-level requests a program makes to the operating system. Enforcement lives outside the agent's reasoning.

The gateway manages sandboxes and access. A supervisor outside the sandbox checks outbound requests against policy and supplies credentials where permitted. The policy prover checks modeled permissions against defined boundaries. These are controls over what an agent may do, not a guarantee that its permitted work is correct.

An agent workshop connects through separate checkpoints to files, network access and scoped credentials.
A conceptual view of access boundaries: each route needs permission. The rooms illustrate controls, not literal software components.

NVIDIA lists paths for Claude Code, Codex, GitHub Copilot CLI, Hermes, LangChain Deep Agents, OpenClaw and OpenCode, alongside custom agents and images. “Supported” does not mean every tool comes preinstalled: the current default workload is a minimal Ubuntu image without agent CLIs, the command-line programs you use to launch agents.

The business change is permission reuse. Without a reusable boundary, each new agent workflow can trigger another round of deciding what files, secrets and services to expose. With one, the team can package those decisions with the workload and review changes. Measure the effect in engineer hours spent on access setup and interruptions; there is no verified universal time-saving figure to borrow.

Where It Runs Now

Use the current support matrix to choose a host. This walkthrough follows the documentation labeled v0.1.7, checked on November 8, 2026.

HostCurrent documented status
Debian/Ubuntu Linux, x86_64 or ARM64Supported
macOS on Apple Silicon, with Docker DesktopSupported
Windows x86_64, using WSL 2 and Docker DesktopExperimental
Native Windows x64 or ARM64 using MXCDevelopment on the windows branch; not production-qualified

WSL 2 runs a Linux environment on Windows. MXC is a separate native Windows isolation path. Do not treat “Windows support” as one interchangeable installation route.

The Windows collaboration announcement describes bringing OpenShell to Windows through MXC. That platform direction does not make the native path a normal stable installer today. The current installation docs explicitly say the standard release channels do not supply native Windows binaries.

For a first evaluation, choose a supported Linux or Apple Silicon setup. The support matrix also specifies kernel and runtime requirements: Linux 6.2 introduced the required Landlock ABI, but kernel version alone is insufficient. The runtime must pass the required checks. On the macOS Docker Desktop path, those Linux facilities run inside its Linux virtual machine. NVIDIA Vera CPUs are not required.

Install the CLI and Run Your First Agent

Start with NVIDIA's documented OpenCode example. It makes the three ingredients visible: a provider for service access, an image containing the agent, and a sandbox to run it. These are documentation-based steps, not a claim of a local test.

1. Prepare the host and install OpenShell. For the Docker route, have Docker Desktop running or Docker Engine 28.0 or later. On supported Linux or macOS, the installation guide uses curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh. Review the installer before executing it. It installs the CLI, policy prover and local gateway. Run openshell status to confirm the CLI reaches the gateway.

2. Configure the model service. The example uses OpenRouter. Set your OPENROUTER_API_KEY in the host environment before creating the provider. A provider profile describes allowed service endpoints and executable paths; the provider stores the credentials. NVIDIA's example profile permits /usr/local/bin/opencode to reach openrouter.ai.

3. Import the profile, create the provider and launch the image. Run these commands on the host, in order:

Shell
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 supplies OpenCode; the command after -- starts it as the main process. The first-agent walkthrough uses this free model without requiring OpenRouter credits. That is the example's model choice, not a promise that arbitrary model usage costs nothing.

4. Review access requests from the host. When an agent tries an unapproved destination, OpenShell denies the request and drafts a narrow rule proposal. Run openshell rule get my-agent --status pending. If a proposal matches the job's intended access, approve that specific proposal with openshell rule approve my-agent --chunk-id <chunk-id>, replacing the placeholder with its actual ID. The rule reloads and the agent can retry.

5. Inspect the permissions you actually granted. Run openshell policy get my-agent --base, then openshell policy get my-agent --full. The first shows the base policy; the second includes provider-contributed rules. Review the effective permissions before adding a real project or sensitive service.

When finished with a disposable evaluation, delete it with openshell sandbox delete my-agent.

Which Policies Change Live?

Network access can change during a task. Filesystem and process boundaries require a newly created sandbox.

ControlHow a change takes effect
Filesystem paths and Landlock behaviorSet at startup; recreate the sandbox to change effective access
Process user and groupSet at creation; recreate to change
Network destinations and request rulesReload while the sandbox runs
Network middleware, extra traffic inspection or transformationReload live for built-ins and already-registered external services
Provider attachment, credential rotation or revocationUpdate at runtime; new environment variables require a new process

“Live” still has consequences. New network rules close connections opened under the previous rules, so clients must reconnect. Registering a new external middleware service needs gateway configuration and a gateway restart. Adding a filesystem path to saved policy does not grant it to the already-running workload; removing paths or changing startup settings is rejected after startup. The policy management guide spells out these differences.

Fixed rooms for filesystem and process settings contrast with sliding gates for live network rules and middleware.
Plan file and process permissions before launch. Network rules and eligible middleware can change during the task.

One more trap: no policy file does not mean no access. A policy may come from the image, an environment setting or a gateway-wide policy. Attached providers can add network rules. The policy selection rules also make clear that a global policy replaces the sandbox's own policy; it is not simply an extra restrictive layer.

A Coding-Agent Policy You Can Reason About

Give a bug-fixing agent a writable project directory and read-only API access before giving it permission to publish changes.

Here is an illustrative policy for a prepared coding image with the project at /workspace and curl installed at /usr/bin/curl. Save it as policy.yaml and pass --policy ./policy.yaml when creating a new sandbox. This is a template for that image layout, not a drop-in replacement for every agent image:

YAML
version: 1
filesystem_policy:
  include_workdir: false
  read_only: [/usr, /lib, /etc]
  read_write: [/workspace, /tmp]
landlock:
  compatibility: hard_requirement
network_policies:
  github_readonly:
    endpoints:
      - host: api.github.com
        port: 443
        protocol: rest
        enforcement: enforce
        access: read-only
    binaries:
      - path: /usr/bin/curl

The agent can edit the project and temporary files. The network rule permits the named executable to make GET, HEAD and OPTIONS requests to the GitHub API. It does not grant arbitrary programs internet access, authorize package downloads or provide Git push access. The model provider is configured separately.

Prepare any writable agent state directories the image needs and add them deliberately. These paths refer to the sandbox's filesystem. Do not infer that a similarly named host directory is automatically available. Also, baseline filesystem paths are added for network-capable workloads, so the short YAML is not a claim that only its listed paths exist in the effective boundary.

Two settings deserve attention. hard_requirement stops startup if the user filesystem rules cannot be enforced, though individual missing or inaccessible paths can still be skipped. enforcement: enforce blocks disallowed inspected requests; the schema's default audit mode logs violations and allows those requests. See the policy schema reference before adapting the template.

Test both permission and refusal. NVIDIA's network-policy tutorial checks that curl -s https://api.github.com/zen succeeds under the read-only rule, then verifies that a POST is denied. Inspect openshell logs my-agent --since 5m --source sandbox from the host. For your project, also test an intended file write and an out-of-scope file access. A successful agent launch is not the acceptance test for a security policy.

Five Workflows Worth Trying First

The best early uses have a clear job boundary and a human who can judge the output. Ranked by likely operational value:

WhoWorkflow a team could runWhy it could pay
Platform team rolling out coding agentsPackage a project workspace, approved model provider and reviewed network rules into a repeatable environmentReduce repeated access setup and make exceptions visible
Maintainer triaging unfamiliar repositoriesLet an agent inspect code and draft a patch in a disposable workspace with narrow outbound accessContain the investigation while a maintainer reviews the patch
Operations team investigating incidentsSupply selected diagnostic files and read-only API access; ask for a proposed remediationSeparate diagnosis from permission to change production
Engineering team using private model servicesConfigure the approved provider endpoint and limit which agent executables can reach itMake the model-access decision part of infrastructure policy
Internal developer-tools team testing agent releasesRun the same task and permission checks against each prepared imageCatch changed access requirements before rolling out the image

None of these makes generated code correct or an incident diagnosis reliable. The value is narrowing what can happen while the agent works. For broader tool selection, use Best AI Sandbox Security Tools 2026; for execution-platform choices, use Best AI Agent Code Sandboxes 2026.

Two Things Worth Building Around It

The strongest opportunity is a team coding-agent onboarding kit. The buyer is a platform lead who wants developers productive inside an approved environment. DataForSEO estimates 1,300 monthly searches for “claude code sandbox” in the market returned by this run's query. That is evidence of setup interest, not 1,300 prospective customers, and some searchers want the agent's own sandbox rather than OpenShell.

The smallest sellable version could support one agent and one approved host configuration: a prepared image, a reviewed policy, a provider setup checklist and repeatable allow/deny tests. Sell a working team rollout, with clear ownership of updates. The catch is maintenance: image paths, agent behavior and experimental interfaces can change. Interview platform leads about that maintenance burden before building a hosted product.

A policy-review workbench is the second opportunity. Security teams could use it to see what an effective policy permits, compare changes and record approvals. DataForSEO estimates 480 monthly searches for “ai agent security”, with 70 for “ai agent security tools.” Those separate queries are broad demand signals; do not add them together as unique buyers.

An MVP could import base and effective policies, highlight added destinations and request permissions, and attach test results to a review record. The catch is differentiation: OpenShell already has policy analysis, proposals and logs. The product needs to improve the team's review process, rather than wrap existing commands in a dashboard. Start with the onboarding kit because its buyer and deliverable are easier to define.

What It Does Not Solve

OpenShell limits access; it does not decide whether an allowed action is a good business decision. An agent allowed to write project files can still write a bad patch. An approved external destination can still receive data your policy permits it to receive. File access and endpoint approval must reflect what you actually intend to expose.

It also does not replace identity systems, secret stores, monitoring or governance. NVIDIA's runtime-controls announcement positions enforcement outside the agent workload. Treat that as one part of the surrounding system, not a reason to discard the rest.

The project now has stable releases intended for production within its support matrix, so calling all of OpenShell an experimental demo would be misleading. The limits are more specific: experimental interfaces can change in patch releases, native Windows remains under development, and NVIDIA says its current qualification profile does not cover the entire release-qualification policy. Pin what you deploy and validate the exact workload and host combination.

Can I run Claude Code in an OpenShell sandbox on Windows?

The documented Linux-on-Windows route is WSL 2 plus Docker Desktop on x86_64, marked experimental. Native Windows through MXC is a separate development path, not production-qualified. Your sandbox image must contain the agent and its tools.

Does OpenShell guarantee a coding agent cannot escape its sandbox?

No absolute guarantee follows from these controls. OpenShell enforces file, process and network restrictions outside the agent's reasoning, but that does not prove the absence of vulnerabilities or make an overly broad policy safe. Validate the actual environment and permissions.

How does Docker fit into an OpenShell setup for Claude Code?

Docker is one supported runtime beneath OpenShell. OpenShell adds agent-specific policy enforcement, provider credential handling, gateway coordination and supervision. Choose an image containing Claude Code and configure its services; the default Ubuntu workload does not bundle the agent.

Monday move: have your platform lead pick one non-sensitive repository and one agent. Install on a supported host, prepare the image, define file and network access, then test an allowed operation and a blocked one. Record setup time and engineer hours spent handling interruptions across the first week. Expand only after the team can explain every granted permission.

If you want this built into your team's workflow, we can help put the production controls in place.

Published
Category
Build
Related Articles
Qwen 3.8 27B: Can Your Machine Run It?

Qwen 3.8 27B: Can Your Machine Run It?

Choose a Qwen 3.8 27B download for a 16 GB or 24 GB GPU or a 32 GB Mac, then start a local chat with Ollama or LM Studio.Nov 28, 2026Build
Grok Build: What It Is, What It Costs, and How to Start

Grok Build: What It Is, What It Costs, and How to Start

Install Grok Build, sign in, and ask your first question about a project. See the commands for macOS, Linux, WSL, and Windows and the model it uses.Nov 27, 2026Build
Claude Dreaming: How Dreams Rebuild an Agent's Memory Between Sessions

Claude Dreaming: How Dreams Rebuild an Agent's Memory Between Sessions

Claude dreaming in Managed Agents: what a dream reads, the new memory store it writes, the request line by line, how to review it, and what it costs.Nov 27, 2026Build
Vercel Workflow SDK 5.8: Which Steps Are Safe to Run Early?

Vercel Workflow SDK 5.8: Which Steps Are Safe to Run Early?

Vercel cut step-to-step overhead from 85 ms to 7 ms. See how speculative execution works, which steps need a retry policy, and how to roll out the upgrade.Nov 27, 2026Build
Claude Agent Teams: Setup, Use Cases and Limits

Claude Agent Teams: Setup, Use Cases and Limits

Enable Claude Code agent teams, split a review across sessions, and choose when peer discussion earns the extra usage. Includes setup and recovery steps.Nov 27, 2026Build
Odysseus AI: The Official Repository, What It Does, and How to Start

Odysseus AI: The Official Repository, What It Does, and How to Start

Find PewDiePie’s official Odysseus repository and demo, see how local and external models connect, and start the workspace with its Docker commands.Nov 27, 2026Build
Boris Cherny and How He Uses Claude Code

Boris Cherny and How He Uses Claude Code

How Boris Cherny created Claude Code, why he changed his mind about Plan Mode, and what developers can learn from his talks and interviews.Nov 27, 2026Build
Claude Code /ship

Claude Code /ship

Use /ship on your first branch, ask Claude to show its findings before it pushes fixes, and use /steward to watch checks and comments on an open PR.Nov 27, 2026Build
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.