NVIDIA OpenShell vs Docker: agent sandbox setup
Learn how OpenShell restricts agent access through a GitHub API demo, plus Mac setup requirements for Landlock and Docker Desktop host networking.
Player not loading? Watch on YouTube
NVIDIA OpenShell adds access policies around an AI agent's sandbox. The presenter describes it as open source software under Apache 2.0, written in Rust, and demonstrates it on a Mac without an NVIDIA GPU. It works with containers rather than replacing them.
The demo tests file restrictions and default-deny networking. An attempted write outside approved paths fails, as does an initial GitHub API request. After a policy update, curl can read from GitHub, but a POST request to create an issue remains blocked. The presenter explains that network permissions attach to a specific binary and can change without restarting the sandbox. Filesystem and process restrictions stay fixed after startup.
The supervisor handles DNS and injects credentials into approved outgoing requests so the agent does not receive the real keys. The walkthrough also describes Z3 checks on policy changes and compares OpenShell with simpler sandbox options for a coding assistant.
Mac setup has caveats: the Linux sandbox runs inside Docker Desktop's virtual machine, which needs Landlock support and host networking enabled. Telemetry is on by default, with an environment variable to disable it. The presenter cites version 0.1.5 and NVIDIA's reported sandbox creation failures as reasons to test carefully. These controls limit access; they do not guarantee security.