Skip to content
docs
type to search↑↓ move↵ openesc close
v0.3.2github
docs · v0.3.2

Hermitbox docs.

Sandboxes for your agents and your code, on Linux machines you own.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
Linux (x86_64 or aarch64), no root, no Docker. Agents can read every page: llms.txt · llms-full.txt

Sandboxes for your agents and your code, on Linux machines you own. Each sandbox is a real computer to work in, and one command installs Hermitbox, as your own user.

shell
curl -fsSL https://hbx.sh | sh

Linux (x86_64 or aarch64), no root, no Docker.

Then run your first command:

shell
~/.local/bin/hermitbox run -- echo hello

A box you can step into

Your agent gets a sandbox where it runs commands, installs packages, keeps files and publishes a port with a URL. You can open the same sandbox from your side: a terminal, an SSH session, that URL, or a desktop in your browser over noVNC. You can also run the agent itself inside one: hermitbox create codex opens Codex in a sandbox, and hermitbox connect reattaches later.

Who it is for

  • Agent builders. Give a coding agent, a code interpreter or a browser agent a sandbox of its own, isolated as strongly as you ask.
  • Developers running code they didn’t write. Run a pull request or a repository you just cloned in a box, open it on a URL, and delete the box when you’re done.
  • Operators. Start with one machine, then add more as one fleet.

What you get

  • Your machines, your data. Sandboxes run on Linux machines you own. Hermitbox needs no hosted service.
  • One command to install. The installer asks nothing and sets itself up for the host it finds. Root, Docker and KVM turn on stronger isolation where the host has them; none of them is needed to start.
  • Idle boxes keep their files. Sleep stops a sandbox’s compute and keeps its files. The next command, connection or API call wakes it; a suspended wake measured 27.56 ms at p50 in the budget checks. A virtual machine can also sleep with its memory, and the same process carries on after a wake of 220 ms at p50.
  • The same start every time. Templates and snapshots start each new sandbox in a known state, and a fork copies one. Hermitbox ships 54 starter projects, and hermitbox template from <repo> builds a template from a Git repository.
  • The isolation you asked for, or a clear refusal. Five tiers, from a confined process to a Firecracker virtual machine with its own kernel, run side by side wherever the host allows them. A request that names a tier gets it, or a refusal that says what the host is missing.
  • Every caller. Agents connect over MCP. Code calls the TypeScript, Python and Rust SDKs, the CLI or the HTTP API.
  • Open source. Hermitbox is AGPL-3.0-only; the SDKs and integrations your code links are Apache-2.0.

Building blocks

  • Sandboxes: an isolated place to run commands, keep files and serve ports.
  • Lifecycle: start, stop, sleep, wake, rest (archive), snapshot, fork and delete.
  • Isolation tiers: process, wasm, container, gvisor and vm, from a confined process to a virtual machine with its own kernel.
  • Templates: a reusable starting state for new sandboxes.
  • Nodes and fleet: one machine runs Hermitbox on its own, and more machines join it as nodes.

Documentation map

  • Get started: install Hermitbox, run a first sandbox, and connect your agent or your code.
  • Concepts: what a sandbox is, how it runs and sleeps, and how it is isolated.
  • Guides: run code, browsers, desktops and virtual machines, build templates, receive webhooks and add machines.
  • Integrations: agents over MCP, GitHub Actions and agent frameworks.
  • Hosting: where to run Hermitbox, from your own machine to a server or a platform that runs images.
  • Reference: the SDKs, the CLI, the HTTP API, the MCP tools and tiers in depth. All documentation lists every page.

Next steps

  • Quickstart: create a sandbox, run echo hello and delete it from the CLI, TypeScript, Python or Rust.
  • Connect your agent: paste one prompt into your agent, or add hermitbox mcp to it yourself.
the floor · nothing below this line