| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
An external NVIDIA OpenShell compute driver that runs each agent in its own private E2B microVM. OpenShell confines the agent (network policy per program, HTTP-level rules, audit log); E2B provides the machines.
Status: working demo, not production. See Limits.
Recorded with VHS from media/demo.tape against a live E2B control plane (vhs media/demo.tape).
laptop E2B control box E2B agent box
(private) (private, per sandbox)
┌───────────────┐ tunnel 1 ┌──────────────────────────┐ ┌──────────────────────┐
│ openshell CLI │═════════►│ openshell-gateway │ │ netns: loopback only │
└───────────────┘ (mTLS) │ (NVIDIA) │ │ openshell-sandbox │
│ ↕ unix socket │ │ (NVIDIA, patched) │
│ openshell-driver-e2b │ │ uid 1500, 0 caps, │
│ (this repo) ─► E2B API │ tunnel 2 │ no_new_privs │
│ openshell-supervisor │═════════►│ └ the agent │
│ (NVIDIA, patched) │ └──────────────────────┘
│ policy + egress proxy │
│ ─► internet │
└──────────────────────────┘
Needs E2B_API_KEY in .env and Node 22+.
npm install
npm run setup # downloads the openshell CLI + wstunnel into .bin/
npm run connect -- --new # terminal 1: fresh control box + tunnel (~12 s); keep it running
npm run demo # terminal 2: create → isolation → policy → GET 200 / POST 403 → audit → deleteRebuild from source (only after changing the driver or the OpenShell version):
npm run template:builder # once: 8 vCPU Rust builder template
npm run build:binaries # patched NVIDIA binaries + driver → dist/v0.1.2/ (~5 min in E2B)
npm run template:workload # agent box template
npm run template:control # control box template| Path | What |
|---|---|
| driver/src/boundary.rs | Builds OpenShell's BoundaryConfig + SandboxRuntimeDescriptor and the outer-fence evidence |
| driver/src/lifecycle.rs | Create / delete: E2B box, fence check, papers, runtime, tunnel, supervisor |
| driver/src/service.rs | The ComputeDriver gRPC service |
| templates/launch-sandbox.sh | The fence: netns with only loopback, PID ns, uid 1500, zero caps, policy DNS |
| patches/landlock-abi2.patch | Demo-only patch, see below |
| scripts/connect.ts | One-command control plane + CLI tunnel |
| scripts/demo.sh | The demo |
| scripts/watch.ts | npm run watch: live, color-coded control-plane log (driver, gateway, supervisors) |
| media/demo.tape | VHS script for the recording |
Apache-2.0. Uses NVIDIA OpenShell (Apache-2.0) and wstunnel (BSD-3-Clause).
| Back | FazBrowse Home | New Git URL |