OpenShell sandbox plugin for Hermes Agent
The openshell plugin runs one Hermes profile's backend inside an
NVIDIA OpenShell sandbox.
You turn the sandbox on and off per profile, from the desktop's Sandbox page or from a terminal.
While it is on, the profile's chats, tools and terminal run in the sandbox.
The sandbox reaches only the folders and websites you allowed.
Status
The plugin is in beta. Its limits and open problems are in Known issues.
The plugin supports Windows 11 and Linux, on x64 and arm64. macOS is not supported.
| Platform | Isolation |
|---|---|
| Windows 11 | Microsoft MXC process containers |
| Linux | Docker |
Requirements
- Windows: Windows 11 24H2 or newer with the September 2026 update. See
Set up Windows. - Linux: x86_64 or aarch64 with glibc, Linux 6.2 or newer, Docker and a systemd user session.
See Set up Linux. - Hermes: v0.23.6 or newer. See Install Hermes.
- A profile other than the default one, with a model whose context is at least 64K tokens.
Quickstart
-
Install Hermes and finish the setup for your system: Install.
-
Create a profile, install the plugin and OpenShell for it, and check the computer:
hermes profile create work --clone hermes -p work plugins install NousResearch/hermes-nvidia/openshell --enable hermes -p work sandbox runtime install hermes -p work sandbox check -
Turn the sandbox on, look at it, and turn it off:
hermes -p work sandbox on hermes -p work sandbox status hermes -p work sandbox off
The commands are the same in PowerShell and in a Linux shell.
For the desktop's Sandbox page, also
turn on the plugin in the desktop.
Then follow Use the sandbox.
How it works
flowchart LR
desktop["Hermes desktop or CLI"]
subgraph host["Your computer"]
launcher["Launcher and its proxy"]
gateway["Private OpenShell gateway"]
osproxy["OpenShell's proxy"]
subgraph sandbox["Sandbox (MXC on Windows, Docker on Linux)"]
backend["The profile's Hermes backend"]
end
end
sites["Allowed websites and model providers"]
desktop -->|"token"| launcher
launcher -->|"creates the sandbox through"| gateway
gateway -->|"runs"| backend
launcher -->|"forwards requests"| backend
backend --> osproxy
osproxy -->|"adds the real key"| sites
- A launcher (
hermes sandbox serve) runs on the host as a login service and starts the sandbox. - The desktop talks to the launcher's proxy on a loopback port. The proxy checks a token first.
- Keys and sign-in tokens stay on the host. The sandbox holds placeholders, and OpenShell's proxy
puts the real key into a request only when the request goes to the key's own address. - A folder or website you did not allow is refused. A refusal during a chat raises a card with
Allow, Always allow and Deny.
More in How it works.
Documentation
| Page | What it is for |
|---|---|
| Install | Install Hermes and the plugin, check, update, uninstall |
| Set up Windows | Windows version, MXC and the sandbox's shell |
| Set up Linux | Kernel, Docker and the systemd user session |
| Use the sandbox | Turn it on and off, add folders, allow websites |
| Approval cards | Answer the sandbox's questions in a chat |
| Review changes at switch-off | What the sandbox changed, Revert and Keep |
| API keys and providers | Which keys and providers work, what keeps the switch off |
| Provider sign-ins | How a signed-in provider works in the sandbox |
| Sign-in renewal | How sign-ins are renewed, and what happens when one ends |
| Programs inside the sandbox | What differs for curl, git, Python and the shell |
| Activity log | The Activity tab, its sources and the OCSF export |
| Command reference | Every hermes sandbox command, flag and exit status |
| How it works | Launcher, gateway, drivers, proxy and host-only state |
| Security | What the sandbox protects, what it does not, telemetry |
| Troubleshooting | Refusals, logs, reporting a problem |
| Known issues | Limits and open problems in this beta |
| Development | Code layout, tests, changing a pin |
Tests
Run the suite from the repository root with the Python environment of a Hermes checkout:
PYTHONPATH="<hermes checkout>:<this repository>" <hermes python> -m pytest openshell/tests -q -p no:cacheprovider
On Windows the path separator is ;. See Development.
License
MIT, as plugin.yaml declares.
README from the reviewed commit ffce667; it updates when the author re-pins.

NousResearch


