Capsule Bash – Sandboxed Bash for Agents
Returns exact filesystem diffs per command, solving the silent-failure problem in agent loops.
Embedded bash sandbox for agents, inspired by gVisor
gVisor-inspired—2ms userspace sandbox beats containers for ephemeral agent tasks.
AI agents executing untrusted code; developers building safe CLI tools; LLM-powered automation platforms
gVisor · Docker · Kubernetes
bVisor boots a sandbox from user-space without special permissions, powered by seccomp user notifier. This allows us to intercept syscalls from guest processes and selectively virtualize them to block privilege escalation, isolate process visibility, and keep filesystem changes isolated per sandbox (copy-on-write). Sandboxes boot in 2ms, and can run arbitrary binaries at native speed (with minor overhead per syscall). This approach is heavily inspired by Google's gVisor.
As of today, bVisor supports most filesystem operations, basic file I/O, and can run complex binaries such as python interpreters. It is packaged as a Typescript SDK and installable via npm. There's much to still implement (such as outbound network access to support 'curl', shipping a python SDK, etc), but we wanted to share it here for feedback and anyone who'd be able to make use of the current featureset!
Returns exact filesystem diffs per command, solving the silent-failure problem in agent loops.
Manually converting PyTorch models to CoreML so you don't have to call cloud APIs.
AI daemon hot-patches crashes in 2 seconds—nobody's done self-healing OS like this.
2ms startup beats Lua, but 2x-5x slower at runtime—unfocused tradeoff.
Hardware-isolated VM sandbox for Claude, 2-second boot, no Docker complexity.
Sub-microsecond CAN frame detection with zero heap allocation in 122K lines of Rust.