# Hermitbox > Hermitbox runs sandboxes on Linux machines you own, installed with one command as an ordinary user. Each sandbox runs commands and keeps files; it can sleep when idle, wakes on the next command, connection or API call, and can be snapshotted and forked. Open source under AGPL-3.0-only; SDKs and integrations are Apache-2.0. Source: https://hermitbox.dev. Docs: https://docs.hermitbox.dev (their own llms.txt is https://docs.hermitbox.dev/llms.txt). ## Install ```sh curl -fsSL https://hbx.sh | sh ``` Run it as your own user on Linux (x86_64 or aarch64). No root, no Docker. It asks nothing, installs and starts Hermitbox, and prints its API URL and, on the first install, its key. The CLI lands in `~/.local/bin/hermitbox` (as root: `/usr/local/bin/hermitbox`). ## The prompt for your agent Any agent that can run commands on your machine can do the whole setup from this prompt: ```text Install Hermitbox on this machine and connect yourself to it. Run `curl -fsSL https://hbx.sh | sh` as my ordinary user, never with sudo. Then add `hermitbox mcp` to your MCP settings by its absolute path (~/.local/bin/hermitbox). It reads the credentials the installer saved, so never copy a key into a config file or this chat. For anything else, follow https://docs.hermitbox.dev/llms.txt. Prove it works: create a sandbox, run `echo hello` in it, show me the output, then delete it. ``` ## Use with your agent `hermitbox mcp` is an MCP server over stdio. It reads the credentials the installer saved, so no key goes in any agent's config. ### Claude Claude Code adds it with one command. 1. Install Hermitbox, if this machine doesn’t have it. ```sh curl -fsSL https://hbx.sh | sh ``` 2. Add the MCP server for your user: ```sh claude mcp add --transport stdio --scope user hermitbox -- ~/.local/bin/hermitbox mcp ``` 3. Check it: `claude mcp get hermitbox`. No Claude Desktop extension is published. In Claude Desktop, paste the prompt, or connect it from Hermitbox Desktop. ### Cursor Cursor opens its own install dialog from this link. 1. Install Hermitbox, if this machine doesn’t have it. ```sh curl -fsSL https://hbx.sh | sh ``` 2. Open the link and confirm in Cursor. [Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=hermitbox&config=eyJjb21tYW5kIjoiJHt1c2VySG9tZX0vLmxvY2FsL2Jpbi9oZXJtaXRib3giLCJhcmdzIjpbIm1jcCJdfQ==) 3. Or put this server in `~/.cursor/mcp.json` under `mcpServers.hermitbox`: ```json {"command":"${userHome}/.local/bin/hermitbox","args":["mcp"]} ``` ### VS Code VS Code adds it to your user profile with one command. 1. Install Hermitbox, if this machine doesn’t have it. ```sh curl -fsSL https://hbx.sh | sh ``` 2. Add the MCP server: ```sh code --add-mcp "{\"name\":\"hermitbox\",\"type\":\"stdio\",\"command\":\"$HOME/.local/bin/hermitbox\",\"args\":[\"mcp\"]}" ``` 3. Copilot’s agent mode lists the Hermitbox tools after a reload. ### Codex Codex adds it with one command. 1. Install Hermitbox, if this machine doesn’t have it. ```sh curl -fsSL https://hbx.sh | sh ``` 2. Add the MCP server: ```sh codex mcp add hermitbox -- ~/.local/bin/hermitbox mcp ``` 3. It lands in `~/.codex/config.toml` as `[mcp_servers.hermitbox]`. ### ChatGPT ChatGPT on the web connects to MCP servers at a public HTTPS address. Hermitbox’s MCP server runs only on your machine, so there is nothing for ChatGPT to add. 1. Give the prompt to an agent that runs on your machine, or use Codex. ## Hermitbox Desktop The desktop app installs and runs Hermitbox on your own computer, as your own user: natively on Linux, in a small Linux VM on macOS, and in its own WSL2 distribution on Windows. Its window shows every sandbox live, creates new ones, opens shells and previews, and connects your agent. Downloads come from dl.hbx.sh: https://dl.hbx.sh/desktop/downloads.json lists the current version and its files, and https://hermitbox.dev/download/ links them. Each published file is one of: - Linux: AppImage (x86_64), AppImage (arm64), .deb (x86_64), .rpm (x86_64) - macOS: .dmg (Apple silicon), .dmg (Intel) - Windows: Installer (.exe) (x64) Neither build is signed by Apple or Microsoft: the macOS build is signed ad hoc and not notarised, and the Windows build carries a self-signed certificate Windows doesn't trust. On macOS, open it once from System Settings, Privacy & Security, "Open Anyway". On Windows, SmartScreen's "More info", then "Run anyway". Each published file has a SHA-512 and an ML-DSA-65 statement signed with the desktop release key (https://github.com/hermitbox/desktop/blob/main/keys/desktop-release.pem; each version also carries a copy at https://dl.hbx.sh/desktop//desktop-release.pem). The statement names the release, its version, the file's id and its SHA-512. To check a file by hand: ```sh # Download the desktop release key. curl -fsSLO https://raw.githubusercontent.com/hermitbox/desktop/main/keys/desktop-release.pem # Check the statement's ML-DSA-65 signature with OpenSSL 3.5 or later. openssl pkeyutl \ -verify \ -pubin \ -inkey desktop-release.pem \ -rawin \ -in .statement \ -sigfile .statement.sig # Print the file's SHA-512. It must match the statement's last line. sha512sum ``` ## Licence Hermitbox is open source under AGPL-3.0-only. Its SDKs and integrations are Apache-2.0.