Skip to content

Hermitbox

Run commands, keep files, sleep when idle, and snapshot or fork, from one API.

Install

On Linux (x86_64 or aarch64), as your own user. No root, no Docker.

Terminal window
curl -fsSL https://hbx.sh | sh

Then run your first command:

Terminal window
~/.local/bin/hermitbox run -- echo hello

Your first sandbox

Set HERMITBOX_API_URL and HERMITBOX_API_KEY to the values the installer printed.

import { Hermitbox } from 'hermitbox'
// Connect with the URL and key the installer printed.
const hb = new Hermitbox({
url: process.env.HERMITBOX_API_URL!,
key: process.env.HERMITBOX_API_KEY!,
})
// Create a sandbox on the host's default tier.
const box = await hb.sandbox()
// Run a command in it.
const result = await box.run('echo hello')
console.log(result.stdout) // hello
// Delete it when you're done.
await box.delete()

Where to go next

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
agents can read every page: llms.txt · llms-full.txt