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

Hermitbox docs.

Sandboxes on Linux hosts 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

Hermitbox runs sandboxes for your agents and your code on Linux hosts you own. Create a sandbox, run commands in it, keep its files, put it to sleep, snapshot or fork it, and delete it, all through one API.

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

Who it is for

  • Agent builders. Give an AI agent a sandbox to run code, install packages and keep files in, isolated to the tier you ask for.
  • Product teams. Run code your users or your agents write, on hardware you control.
  • Operators. Start with one machine, then add more as nodes of one fleet.

What it solves

  • Your hosts, your data. Sandboxes run on Linux machines you own. Hermitbox needs no hosted service.
  • One command to install. The installer asks nothing, detects the host and takes the preset for it. Root, Docker and KVM turn on stronger tiers; none of them is needed to start.
  • State without idle compute. Sleep stops a sandbox’s compute and keeps its files. The next command, connection or API call wakes it.
  • The same start every time. Templates and snapshots start each new sandbox in a known state, and a fork copies one.
  • No silent downgrade. 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 and Python SDKs, the CLI or the HTTP API.

Building blocks

  • Sandboxes: an isolated place to run commands, keep files and serve ports.
  • Lifecycle: start, stop, sleep, wake, rest, 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 or Python.
  • Connect your agent: paste one prompt into your agent, or add hermitbox mcp to it yourself.
the floor · nothing below this line