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

All documentation

4 min readv0.2.1this page as markdown

Every page of the Hermitbox documentation, grouped as in the sidebar.

Introduction

  • Hermitbox: what Hermitbox is, who it is for and how these docs are organised.

Get started

  • Quickstart: install, then create a sandbox, run echo hello and delete it from the CLI, TypeScript or Python.
  • Install: the one-command installer and its presets for a user, a server, a container, an image platform and a fleet node.
  • Connect your agent: the agent prompt, and hermitbox mcp for Claude, Cursor, VS Code, Codex and any MCP client.
  • Choose a caller: every way to call Hermitbox, with its guide.
  • TypeScript: create, run and delete from a Node or Bun backend.
  • Python: create, run and delete from a Python application.
  • CLI: run a one-shot command in a sandbox from your shell.
  • HTTP: call the API with curl and a project key.

Concepts

  • Sandboxes: an isolated place to run commands, keep files and serve ports.
  • Lifecycle: how sandboxes start, sleep, wake, snapshot, fork and delete.
  • Isolation tiers: each tier, from a confined process to a virtual machine.
  • Templates: starting every new sandbox in the same state.
  • Nodes and fleet: one machine on its own, or many machines as nodes.
  • Security model: what Hermitbox isolates, what it trusts, and what it never puts in a sandbox.

Guides

Integrations

Agents

  • Claude: connect Claude Code to a remote install.
  • Cursor: connect Cursor to a remote install.
  • VS Code: connect VS Code and Copilot to a remote install.
  • Codex: connect Codex to a remote install.
  • ChatGPT: what ChatGPT needs from an MCP server.
  • Any MCP client: the stdio configuration for any agent.

Frameworks

  • GitHub Actions: run a command in a sandbox from a workflow step.
  • Rivet: the Rivet sandbox provider and OpenOrange.
  • Rivet agent harness: Hermitbox as a Rivet runner’s sandbox provider.
  • agentOS: how the wasm tier runs agentOS.

Hosting

  • Choose where: every place to host Hermitbox, and what each keeps.
  • Railway: one service with one state volume.
  • Render: the repository Dockerfile, a state disk and managed Postgres.
  • Fly.io: one Machine with a persistent state volume.
  • Koyeb: one web service with a persistent volume.
  • Coolify: a Docker Compose service on your Coolify host.
  • DigitalOcean: a Droplet set up by cloud-init.
  • Your own machine: a Linux machine with a persistent disk, set up by cloud-init.
  • Server with root: the server preset on a Linux systemd server.
  • Release image: the all-in-one image on Docker or any container host.

Reference

  • TypeScript SDK: every TypeScript method.
  • Python SDK: every Python method, sync and async.
  • CLI: the hermitbox command and its subcommands.
  • HTTP API: the public API under /v1.
  • MCP tools: the MCP server’s tools, resources and transports.
  • Tiers in depth: each tier’s guarantees, needs and measurements.
  • Capabilities: every capability and where it is implemented.
  • Host capabilities: the guarantees a host enforces, and how to require them.

Internals

  • Architecture: hermitboxd, control and the edge, and what each owns.
  • Threat model: adversaries, trust boundaries and invariants.
  • Node protocol: how control talks to hermitboxd on each host.
  • Sandbox agent: hermitbox-agent, PID 1 in each sandbox.
  • Process tier: how process sandboxes are confined.
  • Network policy: eBPF network policy for process sandboxes.
  • Store leases: the object-store execution lease.
  • Speed: interpreter and tool measurements.
  • Edge: how long clients wait while the edge wakes a sandbox.
  • Decisions: each choice Hermitbox has made, and why.
  • Upstream patches: the OpenOrange provider registration.
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
the floor · nothing below this line