Skip to content
HE

Hermitbox

BetaOpen SourceAGPL-3.0

AGPL-3.0 sandbox server for agents on Linux hosts you own: one rootless installer, five isolation tiers from Landlock and seccomp processes through containers and gVisor to Firecracker VMs, sleep and wake, snapshots, forks, templates, fleets, and a CLI, HTTP API, TypeScript and Python SDKs and MCP.

Visit website
CategoriesAI Agent SandboxSelf-hostedCode ExecutionTypeOpen-source toolContainmentHardware VMRating3.5 / 5
Built onFirecrackergVisorLandlock
DocsGitHub
Boot rank
#83 / 119
31% of published starts are slower
Idle billing
Zero cost while idle
347 listings stay free while idle
State kept on pause
Memory + processes retained
Resume: Sleep suspends the sandbox where its tier can keep memory and stops it otherwise. Vendor benchmarks put sleep then wake at about 0.9 s p50 on the process tier and 1.5 s on the Firecracker VM tier; cold create to running is about 0.8 s on process and 1.35 s on VM.

Overview

Hermitbox, published earlier as pryx and blocklyd, is a sandbox server you install on machines you already own. The install is one curl as an ordinary user, with no root and no Docker, and the result is a local API that agents reach through the CLI, the HTTP API, TypeScript and Python SDKs, or hermitbox mcp over stdio. The unusual part is the tier ladder: the same request shape can run as a confined process, a WebAssembly VM, a container, a gVisor container or a Firecracker VM, and the tier is fixed at creation and never silently downgraded. Root, Docker and KVM unlock the stronger tiers, and a tier or guarantee the host cannot provide is refused with the reason. Around that sit the lifecycle verbs agents need: sleep and wake with memory where the tier supports it, stop and start, rest to object-store snapshots, snapshots of files, forks, templates and multi-node fleets. The documentation is unusually candid about measurement, publishing p50 and p90 for every tier, including the cases that fail, such as rootless Docker's data-owner mapping being refused entirely and the Wasm tier's capacity refusal under load. The honest caveats are maturity and default strength: the project is at v0.2.x, days old, with no GitHub stars, and on a default rootless install the practical tiers are process and wasm, where security rests on Landlock, seccomp and optionally eBPF, not on a hypervisor. Treat it as a promising self-hosted control plane to evaluate, and read the tier guarantees before trusting hostile code to it.

Key capabilities

  • One-command rootless install on Linux x86_64 or aarch64
  • Five isolation tiers from Landlock processes to Firecracker VMs
  • A named tier is honored or refused, never downgraded
  • Sleep and wake keep files, and memory where the tier supports it
  • Snapshots of files, forks from a snapshot, and templates
  • Stop, start, rest and delete with clear state retention
  • CLI, HTTP API, TypeScript and Python SDKs, and MCP
  • Signed webhooks for lifecycle events
  • Browser with CDP and X11 desktops over noVNC
  • Multi-node fleets and host capability reporting
  • Published p50 and p90 measurements for every tier, failures included
  • Known limits: v0.2.x, default tiers are process and wasm, KVM tier x86_64 only

hermitbox-quickstart.ts

import { Hermitbox } from "hermitbox";

// The installer saved HERMITBOX_API_URL and HERMITBOX_API_KEY for this host.
const hb = new Hermitbox();

// Ask for a Firecracker VM; a host without KVM refuses instead of downgrading.
const box = await hb.sandbox({ isolation: "vm", image: "alpine:3.22" });
const result = await box.run(["uname", "-r"]);
console.log(result.stdout);

const snapshot = await box.snapshot();
const copy = await snapshot.fork();
await box.delete();
await copy.delete();

Similar alternatives

Technical specifications

Runtime architecture
Five isolation tiers: process, wasm, container, gvisor and vm, chosen per sandbox and never silently downgraded
Runtime notes
  • process: native commands under Landlock, seccomp and rlimits, with namespaces and a cgroup where the host allows
  • wasm: agentOS packages inside a shared unprivileged sidecar with a virtual kernel per sandbox
  • container and gvisor: images through Docker or Podman, the second under gVisor's runsc
  • vm: Firecracker microVMs with their own Linux kernel under KVM, on x86_64 hosts, run by a separate VM worker
  • A node serves every tier its measured host capabilities allow; a named unavailable tier is refused with the reason
Cold-start boot time
Cold create to running p50 is 0.63 s on the container tier, 0.80 s on the process tier and 1.35 s for a Firecracker VM in the vendor's one-box benchmarks; create to first output through the real edge is 2.95 s p50 for the default image and CLI.
Max vCPU
Per-sandbox CPU via resources.cpuMillis on the process and container tiers, enforced by a delegated cgroup where available; the VM tier gives whole host vCPUs. No published ceiling.
Max memory
resources.memoryMb becomes a hard cgroup limit with no swap where the controllers are delegated; the VM tier sizes memory per VM. No published ceiling.
Storage model
Each sandbox has a data directory that stop, sleep and snapshots keep, and rest archives it to an object store; snapshots and templates are stored by the node or the object store. No published quota.
Network isolation
The strength depends on the tier. The process tier confines each sandbox with Landlock, seccomp and rlimits, adds its own namespaces where user namespaces work, and enforces per-cgroup eBPF network policy on hosts where the server preset or CAP_BPF is available, with hostname egress and published-ports-only ingress; elsewhere process sandboxes share the host network. Container and gVisor tiers use a bridge firewall and refuse hostname egress in gVisor. The VM tier gives each sandbox its own kernel and network stack behind host-owned gateways and relays. Every tier can ask for network none; a tier or guarantee a host cannot provide is refused by name, never swapped.

Lifecycle & capabilities

Filesystem persistence
Supported
Memory / disk snapshot
Supported
Instant forking
Supported
GPU acceleration
Unknown
GUI desktop / VNC
Supported
Mobile / cloud phone
Not supported
Browser automation
Supported
Network egress control
Supported
Pause / auto-sleep
Supported
MCP protocol server
Supported
REST API & SDKs
Supported
Idle billing
Zero cost while idle
State kept on pause
Memory + processes retained
Resume latency
Sleep suspends the sandbox where its tier can keep memory and stops it otherwise. Vendor benchmarks put sleep then wake at about 0.9 s p50 on the process tier and 1.5 s on the Firecracker VM tier; cold create to running is about 0.8 s on process and 1.35 s on VM.
Session limit
No system-wide cap: a ttl sets an expiry, an idle timer sleeps a quiet sandbox, and autoDelete deletes it instead. Resting sandboxes keep only an object-store snapshot.
SDKs
TypeScript, Python

Pricing model

Official Verified

Rate read 30 Nov 2026.

Pricing tiers
Free TierOpen Source
Summary

AGPL-3.0-only for the server, with the SDKs, integrations and templates under Apache-2.0. There is no account, plan or hosted tier: `curl -fsSL https://hbx.sh | sh` installs the release on a Linux host you own, so sandboxes cost the hardware and electricity of that host. The project's own hosting guides deploy the same release image to Render, Railway, Fly.io, Koyeb, Coolify, DigitalOcean or a server with root, and each platform bills its own infrastructure. Hermitbox sells nothing, which the LICENSE and install documentation state directly.

Billing unityour own Linux host, or the platform you deploy it to
View official pricing page

Related architecture guides