# All documentation

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

## Introduction

- [Hermitbox](https://docs.hermitbox.dev/v0.2.1/index.md): what Hermitbox is, who it is for and how these docs are organised.

## Get started

- [Quickstart](https://docs.hermitbox.dev/v0.2.1/get-started/quickstart.md): install, then create a sandbox, run `echo hello` and
  delete it from the CLI, TypeScript or Python.
- [Install](https://docs.hermitbox.dev/v0.2.1/get-started/install.md): the one-command installer and its presets for a user, a
  server, a container, an image platform and a fleet node.
- [Connect your agent](https://docs.hermitbox.dev/v0.2.1/get-started/agents.md): the agent prompt, and `hermitbox mcp` for Claude,
  Cursor, VS Code, Codex and any MCP client.
- [Choose a caller](https://docs.hermitbox.dev/v0.2.1/get-started/connect.md): every way to call Hermitbox, with its guide.
- [TypeScript](https://docs.hermitbox.dev/v0.2.1/get-started/typescript.md): create, run and delete from a Node or Bun backend.
- [Python](https://docs.hermitbox.dev/v0.2.1/get-started/python.md): create, run and delete from a Python application.
- [CLI](https://docs.hermitbox.dev/v0.2.1/get-started/cli.md): run a one-shot command in a sandbox from your shell.
- [HTTP](https://docs.hermitbox.dev/v0.2.1/get-started/http.md): call the API with `curl` and a project key.

## Concepts

- [Sandboxes](https://docs.hermitbox.dev/v0.2.1/concepts/sandboxes.md): an isolated place to run commands, keep files and serve
  ports.
- [Lifecycle](https://docs.hermitbox.dev/v0.2.1/concepts/lifecycle.md): how sandboxes start, sleep, wake, snapshot, fork and delete.
- [Isolation tiers](https://docs.hermitbox.dev/v0.2.1/concepts/isolation.md): each tier, from a confined process to a virtual
  machine.
- [Templates](https://docs.hermitbox.dev/v0.2.1/concepts/templates.md): starting every new sandbox in the same state.
- [Nodes and fleet](https://docs.hermitbox.dev/v0.2.1/concepts/fleet.md): one machine on its own, or many machines as nodes.
- [Security model](https://docs.hermitbox.dev/v0.2.1/concepts/security.md): what Hermitbox isolates, what it trusts, and what it
  never puts in a sandbox.

## Guides

- [Run code](https://docs.hermitbox.dev/v0.2.1/guides/code-interpreter.md): persistent Python and JavaScript contexts in a sandbox.
- [Browser and desktop](https://docs.hermitbox.dev/v0.2.1/guides/browser-and-desktop.md): headless browsers, X11 desktops, SSH and
  bucket mounts.
- [Virtual machines](https://docs.hermitbox.dev/v0.2.1/guides/virtual-machines.md): the `vm` tier, with a Linux kernel per sandbox.
- [Templates from code](https://docs.hermitbox.dev/v0.2.1/guides/templates-from-code.md): prepare a sandbox once and start others
  from it.
- [Webhooks](https://docs.hermitbox.dev/v0.2.1/guides/webhooks.md): receive signed sandbox lifecycle events at your HTTPS endpoint.
- [Docker clients](https://docs.hermitbox.dev/v0.2.1/guides/docker-clients.md): container engines and the Docker socket experiment.
- [Add machines](https://docs.hermitbox.dev/v0.2.1/guides/add-machines.md): machine providers that add and remove fleet hosts.
- [Operate a fleet](https://docs.hermitbox.dev/v0.2.1/guides/operate.md): nodes, placement, upgrades and the operator API.

## Integrations

### Agents

- [Claude](https://docs.hermitbox.dev/v0.2.1/integrations/claude.md): connect Claude Code to a remote install.
- [Cursor](https://docs.hermitbox.dev/v0.2.1/integrations/cursor.md): connect Cursor to a remote install.
- [VS Code](https://docs.hermitbox.dev/v0.2.1/integrations/vscode.md): connect VS Code and Copilot to a remote install.
- [Codex](https://docs.hermitbox.dev/v0.2.1/integrations/codex.md): connect Codex to a remote install.
- [ChatGPT](https://docs.hermitbox.dev/v0.2.1/integrations/chatgpt.md): what ChatGPT needs from an MCP server.
- [Any MCP client](https://docs.hermitbox.dev/v0.2.1/integrations/mcp.md): the stdio configuration for any agent.

### Frameworks

- [GitHub Actions](https://docs.hermitbox.dev/v0.2.1/integrations/github-actions.md): run a command in a sandbox from a workflow
  step.
- [Rivet](https://docs.hermitbox.dev/v0.2.1/integrations/rivet.md): the Rivet sandbox provider and OpenOrange.
- [Rivet agent harness](https://docs.hermitbox.dev/v0.2.1/integrations/rivet-harness.md): Hermitbox as a Rivet runner's sandbox
  provider.
- [agentOS](https://docs.hermitbox.dev/v0.2.1/integrations/agentos.md): how the `wasm` tier runs agentOS.

## Hosting

- [Choose where](https://docs.hermitbox.dev/v0.2.1/hosting.md): every place to host Hermitbox, and what each keeps.
- [Railway](https://docs.hermitbox.dev/v0.2.1/hosting/railway.md): one service with one state volume.
- [Render](https://docs.hermitbox.dev/v0.2.1/hosting/render.md): the repository Dockerfile, a state disk and managed Postgres.
- [Fly.io](https://docs.hermitbox.dev/v0.2.1/hosting/fly.md): one Machine with a persistent state volume.
- [Koyeb](https://docs.hermitbox.dev/v0.2.1/hosting/koyeb.md): one web service with a persistent volume.
- [Coolify](https://docs.hermitbox.dev/v0.2.1/hosting/coolify.md): a Docker Compose service on your Coolify host.
- [DigitalOcean](https://docs.hermitbox.dev/v0.2.1/hosting/digitalocean.md): a Droplet set up by cloud-init.
- [Your own machine](https://docs.hermitbox.dev/v0.2.1/hosting/own-machine.md): a Linux machine with a persistent disk, set up by
  cloud-init.
- [Server with root](https://docs.hermitbox.dev/v0.2.1/hosting/server.md): the server preset on a Linux systemd server.
- [Release image](https://docs.hermitbox.dev/v0.2.1/hosting/container.md): the all-in-one image on Docker or any container host.

## Reference

- [TypeScript SDK](https://docs.hermitbox.dev/v0.2.1/sdk/typescript.md): every TypeScript method.
- [Python SDK](https://docs.hermitbox.dev/v0.2.1/sdk/python.md): every Python method, sync and async.
- [CLI](https://docs.hermitbox.dev/v0.2.1/reference/cli.md): the `hermitbox` command and its subcommands.
- [HTTP API](https://docs.hermitbox.dev/v0.2.1/reference/api.md): the public API under `/v1`.
- [MCP tools](https://docs.hermitbox.dev/v0.2.1/reference/mcp.md): the MCP server's tools, resources and transports.
- [Tiers in depth](https://docs.hermitbox.dev/v0.2.1/reference/tiers.md): each tier's guarantees, needs and measurements.
- [Capabilities](https://docs.hermitbox.dev/v0.2.1/reference/capabilities.md): every capability and where it is implemented.
- [Host capabilities](https://docs.hermitbox.dev/v0.2.1/reference/host-capabilities.md): the guarantees a host enforces, and how to
  require them.

### Internals

- [Architecture](https://docs.hermitbox.dev/v0.2.1/reference/architecture.md): `hermitboxd`, control and the edge, and what each
  owns.
- [Threat model](https://docs.hermitbox.dev/v0.2.1/reference/threat-model.md): adversaries, trust boundaries and invariants.
- [Node protocol](https://docs.hermitbox.dev/v0.2.1/reference/protocol.md): how control talks to `hermitboxd` on each host.
- [Sandbox agent](https://docs.hermitbox.dev/v0.2.1/reference/sandbox-agent.md): `hermitbox-agent`, PID 1 in each sandbox.
- [Process tier](https://docs.hermitbox.dev/v0.2.1/reference/process-tier.md): how process sandboxes are confined.
- [Network policy](https://docs.hermitbox.dev/v0.2.1/reference/bpf.md): eBPF network policy for process sandboxes.
- [Store leases](https://docs.hermitbox.dev/v0.2.1/reference/store-lease.md): the object-store execution lease.
- [Speed](https://docs.hermitbox.dev/v0.2.1/reference/speed.md): interpreter and tool measurements.
- [Edge](https://docs.hermitbox.dev/v0.2.1/reference/edge.md): how long clients wait while the edge wakes a sandbox.
- [Decisions](https://docs.hermitbox.dev/v0.2.1/decisions.md): each choice Hermitbox has made, and why.
- [Upstream patches](https://docs.hermitbox.dev/v0.2.1/upstream/open-orange.md): the OpenOrange provider registration.
