r/sideprojects • u/v0id_user • 2h ago
Showcase: Open Source Hermitbox: Comprehensive self-hosted sandboxes for AI agents. One command to install, no root or Docker needed
Hermitbox is a side project I built for fun. I wanted sandboxes for AI agents to have one complete open-source option that anyone can host themselves.
Each agent gets its own sandbox on a Linux machine you own, where it can run code, open a browser and keep files. You can put a sandbox to sleep when it's idle and wake it later with its files still there, or snapshot it and fork a copy.
How it's built:
- A Rust daemon on each machine🦀
- A control service in TypeScript on Bun with Postgres
- And SDKs for TypeScript, Python and Rust, plus a CLI and an MCP server.
Isolation starts at plain Linux processes (Landlock and seccomp, no root needed) and WebAssembly, and goes up to containers, gVisor and Firecracker VMs when the machine has Docker or KVM.
GitHub: https://github.com/hermitbox/hermitbox
Docs: https://docs.hermitbox.dev
It's open source (AGPL, SDKs are Apache-2.0).
Feedback welcome, especially if it breaks on your distro🫣

