Install NVIDIA OpenShell on Ubuntu 24.04 (Sandbox AI Agents)
This companion guide starts from the video Install NVIDIA OpenShell on Ubuntu 24.04 (Sandbox AI Agents) and adds grounded detail from the official installation docs, the support matrix, the Run Your First Agent tutorial, and the v0.1.5 release. Watch the video first for the full 150-second walkthrough, then use the sections below as the written reference. The video is a narrated install walkthrough rather than a filmed live terminal session, so every section keeps In the video claims apart from Added from the sources research, and anything not run here is marked untested. No Prag research folder exists for this video, so the transcript plus the official NVIDIA sources above are the entire basis.
What OpenShell is and why sandbox agents
In the video: OpenShell is the safe sandbox runtime for AI coding agents, giving them file, package, API, and credential access without unrestricted reach into your data.
Added from the sources: NVIDIA describes OpenShell as the safe, private runtime for fleets of autonomous AI agents, where you declare what each agent can touch in a policy and OpenShell enforces it, per the OpenShell repository, checked October 2026.
Added from the sources: enforcement works two ways, with kernel-level controls on every file access, system call, and network connection plus formal verification that flags risky policy changes for human review, per the OpenShell repository, checked October 2026.
Added from the sources: agents never see real credentials, since OpenShell attaches them only to requests bound for approved endpoints, per the OpenShell repository, checked October 2026.
Requirements before you install
In the video: you need Ubuntu 22.04 or newer on 64-bit, plus one container runtime, with Docker Engine 28 or newer, Podman 5, or KVM as the named options.
Added from the sources: the support matrix lists Debian/Ubuntu on x86_64 and arm64 as supported, requires Docker Engine or Desktop 28.0 or later, Podman 5.x with cgroups v2 and an active Podman user socket, or host virtualization (KVM on Linux) for MicroVM-backed sandboxes, checked October 2026.
In the video: your kernel must be 6.2 or newer for the Landlock sandboxing OpenShell depends on, and Ubuntu 24.04 ships a newer kernel so you are covered.
Added from the sources: the sandbox boundary requires Landlock ABI 3 or newer, introduced in Linux 6.2, with Landlock enabled, alongside seccomp, task-memory access, and socket device binding facilities, per the support matrix, checked October 2026.
Added from the sources: the packaged gateway needs glibc 2.28 or newer, which Ubuntu 24.04 satisfies, per the installation docs, checked October 2026.
Recreated terminal showing the Ubuntu 24.04, 64-bit, and kernel 7.0 prerequisite check with container runtime and Landlock notes (Still from the walkthrough video.)
Install pinned to version 0.1.5
In the video: version 0.1.5 is the current stable release from October 20th, and the install page gives you one script to run pinned to that version.
Added from the sources: v0.1.5 is the latest stable release, published October 20, 2026, per the v0.1.5 release page, checked October 2026.
Added from the sources: the official install command is curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh, and pinning a release uses OPENSHELL_VERSION, per the installation docs, checked October 2026.
Added from the sources: the pinned install command for this release is curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | OPENSHELL_VERSION=v0.1.5 sh, per the v0.1.5 release page, checked October 2026. Untested here.
In the video: the script downloads the Debian package and verifies the checksum, then installs three things, the OpenShell CLI, the policy prover, and a local gateway that runs as a systemd user service, prompting for your sudo password.
Added from the sources: on Debian and Ubuntu the script installs a Debian package (RPM on Fedora and RHEL), and the gateway runs as a systemd user service at https://127.0.0.1:17670, per the installation docs, checked October 2026. The checksum-verification detail is a video claim not confirmed in the install docs and is untested here.
Recreated terminal running the pinned v0.1.5 install script with checksum verification and the gateway enabled on port 17670 (Still from the walkthrough video.)
Verify the gateway is healthy
In the video: check the install with openshell version (expect 0.1.5) and openshell status, where a healthy gateway answers at 127.0.0.1 port 17670.
Added from the sources: the docs confirm openshell status as the connectivity check and the gateway endpoint as https://127.0.0.1:17670, per the installation docs, checked October 2026. The openshell version spelling is a video claim; use whatever version flag your installed CLI reports alongside openshell status.
In the video: if the service ever stops, restart it with the systemctl user restart command for the gateway.
Added from the sources: the exact unit name is openshell-gateway, so the restart command is systemctl --user restart openshell-gateway, with systemctl --user status openshell-gateway and journalctl --user -u openshell-gateway -f for inspection, per the installation docs, checked October 2026. Untested here.
Create your first sandbox
In the video: one command, openshell sandbox create, opens the first sandbox, and later you attach a provider profile holding your model API key.
Added from the sources: you need an active gateway before creating a sandbox, and the minimal create is openshell sandbox create, optionally with --name, --from <image>, and --detach, per the sandbox docs, checked October 2026. Untested here.
In the video: pick an image with your agent in it, the sandbox starts with a default-deny policy, and when the agent reaches something new OpenShell drafts a rule for you to approve.
Added from the sources: the default workload image is a minimal Ubuntu 24.04 userspace that bundles no agent CLIs, so a real agent needs an image containing it, per the support matrix, checked October 2026.
Added from the sources: when the agent reaches a destination policy does not allow, OpenShell denies it and drafts a rule, which you list with openshell rule get <sandbox> --status pending and approve with openshell rule approve <sandbox> --chunk-id <chunk-id>, with approved rules hot-reloading without a restart, per the Run Your First Agent tutorial, checked October 2026. Untested here.
Title card for the one-command first sandbox, showing the provider, image, and default-deny policy example (Still from the walkthrough video.)
Next steps the video names
In the video: with the gateway running, the CLI connected, and the first sandbox created, the next steps are configuring a provider and reading the policies page to scope what agents can touch.
Added from the sources: the documented provider path imports a profile such as the OpenRouter example and creates a provider that keeps the credential in the gateway, with OPENROUTER_API_KEY set before creation, per the Run Your First Agent tutorial, checked October 2026. Untested here.
Added from the sources: the full policy model, including the default policy and the advisor and prover flow, lives under the policies docs, and sandbox lifecycle detail under the sandbox docs, checked October 2026.
Added from the sources: the default sandbox image is minimal Ubuntu with no agent installed, so follow the tutorial to run a real agent such as OpenCode against a free OpenRouter model, per the OpenShell repository, checked October 2026.