Mneme HQ + NVIDIA OpenShell
NVIDIA OpenShell runs an AI agent inside a sandbox and controls what the agent can reach: files, processes, network destinations. Mneme is an open-source tool that stores a team’s architectural decisions in the repository and checks code changes against them, either inside a coding agent before it writes a file or in CI on a pull request. A Mneme integration with OpenShell is planned: no adapter or install step exists today.
Status: planned
Two draft pull requests in Mneme’s open-source repository describe an optional reference setup. In it, OpenCode, an open-source terminal coding agent, runs inside an OpenShell sandbox, and Mneme checks what OpenCode’s write tool is about to write to a file. The first adds the setup to the roadmap. The second lists the tests a future implementation would have to pass. Both contain documentation only and neither is merged.
Planned, not built. No release of mneme-hq, Mneme’s Python package, includes OpenShell support, no implementation has been merged, and this page cites no test results. The planned scope covers OpenCode’s write tool only. Its other tools, shell commands and OpenShell’s own settings are outside it.
What OpenShell controls
On October 21, 2026, NVIDIA announced the OpenShell Reference Architecture. It pairs the open-source OpenShell runtime with NVIDIA hardware, including optional NVIDIA Sentry (not Sentry.io, the error-monitoring service). The runtime does not need that hardware. NVIDIA’s technical walkthrough describes four parts:
- Gateway: the control plane. It creates and removes sandboxes and holds their policies.
- Sandbox: isolates the agent and restricts which files and processes it can use.
- Supervisor: runs outside the sandbox, checks outbound requests against policy and mediates access to credentials.
- Policy prover: checks that a policy grants nothing beyond a boundary policy, an upper limit the organization writes.
A sandbox policy is a YAML file. In the v0.1.5 documentation, the default version on October 22, 2026, it sets readable and writable paths, the user that sandbox processes run as, which destinations each program may reach, and middleware for allowed traffic. The file and process settings are fixed when the sandbox starts; the network settings can change while it runs. Outbound traffic is denied unless a rule allows it.
The prover documentation says it uses a satisfiability modulo theories (SMT) solver, a tool that proves logical statements, and that a pass does not mean a policy is safe for a particular task or that a running sandbox enforces it.
What OpenShell does not decide
Say a sandbox lets the agent write under src/handlers/. Your team has decided that request handlers reach the database only through the approved storage adapter. The agent adds a handler that imports the database driver directly. Every OpenShell control passes: the path is writable and no network rule is involved. The violation is in the content of the file, and OpenShell’s policy model does not read file content.
| Question | What answers it |
|---|---|
| Can this process write to that path or reach that host? | OpenShell sandbox policy and supervisor |
| Does this policy grant more than our boundary allows? | OpenShell policy prover |
| Does this code change respect a decision the team made? | Mneme, where it can see the change: a hook in a coding agent that Mneme supports, or CI |
Mneme does not enforce infrastructure policy and is not a sandbox.
Where the two could connect
OpenShell documents several extension points. Each sees a different slice of what an agent does, and none sees every file write.
| Point | What it sees | Mneme status |
|---|---|---|
| The agent’s own file-write tool | The exact content about to be written. This is where the planned OpenCode write check sits. | Planned |
| Gateway interceptors | Changes to OpenShell itself, such as creating a sandbox or updating its configuration, and only those on an explicit allowlist. Before a change is saved, a validate call can allow or deny it and a modify_operation call can rewrite it. A post_commit call only observes. The documentation describes only these gateway operations, not the agent’s file writes. | Research: no adapter |
| Supervisor middleware | HTTP and WebSocket traffic that the network policy already allowed. It can inspect, change or deny it. | Research: no adapter |
| Security event logs | Sandbox events in the Open Cybersecurity Schema Framework (OCSF) v1.8.0 format, exportable as JSON to a security monitoring system. | Research: no mapping to Mneme evidence |
| CI on the pull request | The final diff, outside the sandbox. | Shipped, independent of OpenShell |
What you can use today
You can run the CI check today. It runs on the pull request, outside any sandbox, so it does not depend on where the agent ran. In strict mode, the default, a violation exits with code 2 and fails the job; in warn mode it is reported without failing.
Mneme also ships hooks for some coding agents, such as Claude Code and Codex CLI. A hook is a point where Mneme inspects a file write before it happens. Whether these hooks work inside an OpenShell sandbox has not been tested.
What would have to be proven
Before the status could move past planned, a fixed version of OpenShell and a fixed version of Mneme would have to show:
- a documented point where Mneme sees the exact content of a proposed change before it lands, for both new and existing files;
- compliant changes allowed and violating changes blocked, with each result recording which decision it came from;
- known gaps, such as shell commands, reported as not checked rather than passed;
- predictable behaviour when the check itself fails.
FAQ
Is there a Mneme connector for OpenShell I can install?
Does Mneme replace OpenShell policies?
Does OpenShell include NVIDIA Sentry?
Would an OpenShell integration also cover Open Policy Agent (OPA) or NVIDIA Sentry?
Related reading
- NVIDIA OpenShell Reference Architecture: agent access policy is not architecture governance: the full analysis behind this page.
- Runtime governance: controlling what agents do while they run, and where that control stops.
- Policy as code: rules written as version-controlled logic that a machine can evaluate.
- How enforcement works: where Mneme checks changes today, per agent.
Use what ships today
OpenShell support is planned. Mneme’s shipped checks run in supported coding agents and in CI.
Mneme also exposes its Decision Index through a standard MCP server for interoperable access from compatible tools.