Choose a caller
Call Hermitbox from your code, your shell, your agent or your CI. Every caller needs your API URL
and key in its private environment as HERMITBOX_API_URL and HERMITBOX_API_KEY.
| Caller | Use it for | Guide |
|---|---|---|
| TypeScript | A Node or Bun backend, including serverless functions | TypeScript |
| Python | A Python application, sync or async | Python |
| CLI | Your shell and scripts | CLI |
| HTTP | Any language, with curl or your HTTP client |
HTTP |
| MCP | An AI agent, through hermitbox mcp |
Any MCP client |
| GitHub Actions | A command in a sandbox from a workflow step | GitHub Actions |
| Webhooks | Sandbox lifecycle events sent to your HTTPS endpoint | Webhooks |
On the machine where you installed Hermitbox, the CLI and hermitbox mcp read the saved
credentials, so they need no variables. To connect an agent there, see
Connect your agent.
Find the URL and key
The installer prints the API URL and key and saves them privately. hermitbox config key prints
the saved key again. A server or platform install also serves a welcome page with an example for
each caller and its default tier.
Keep the key on the server side: a browser bundle must never contain a project key.
Default tier
A request that names no tier runs on the host’s default tier. A container request needs an image
and an engine, and process and wasm refuse container images. See
Isolation tiers and Tiers in depth.
$curl -fsSL https://hbx.sh | shInstall Hermitbox and set it up for me