{"slug": "hermitbox-sandboxes-for-your-agents-on-your-machines", "title": "Hermitbox: Sandboxes for your agents, on your machines", "summary": "Hermitbox launched an open-source sandbox platform that gives each AI agent its own isolated computer, installed with the single command `curl -fsSL https://hbx.sh | sh` and running on a user's laptop, server or fleet. Hermitbox offers process-level confinement or a Firecracker VM with its own kernel, idle boxes that sleep and wake in 220 ms with memory intact, snapshot-and-fork for parallel attempts, and a warm Python kernel that returns 1+1 in 5 ms and renders a chart in 156 ms. The server is licensed AGPL-3.0-only and the SDKs and integrations are Apache-2.0, with TypeScript, Python and Rust clients plus an MCP interface for agents.", "body_md": "# Sandboxes for your agents, on **your** machines\n\nGive every agent its own computer to run code, open a browser and keep files in. Hermitbox runs them on your laptop, your server or a fleet, installed with one command.\n\n`$curl -fsSL https://hbx.sh | sh`\nInstall Hermitbox and set it up for me\n\n## Everything a **computer** does\n\nThe box your agent works in is a box you can step into: open its shell, its preview URL or its desktop.\n\n### Coding agents\n\nRun Codex or another coding agent inside a box instead of on your laptop. It takes the strongest isolation the host offers.\n\n`hermitbox create codex`\n### Code interpreter\n\nA Python kernel that stays warm between calls: 1+1 in 5 ms, a chart in 156 ms.\n\n`box.python()`\n### Browser and desktop\n\nA browser your agent drives over CDP, or a full desktop you can watch.\n\n`hb.sandbox({ template: 'desktop' })`\n### Dev environment from any repo\n\nPoint it at a Git repository and get a box with its stack ready: Node, Python, Go, Ruby, PHP, Rust, Java, .NET, a devcontainer or a Dockerfile.\n\n`hermitbox template from <repo>`\n### Previews\n\nPublish a port and get a URL for it, to share an app while you’re building it.\n\n`box.expose(port)`\n### Code you didn’t write\n\nA pull request, a customer’s script, an agent’s output: run it in a box isolated up to a VM with its own kernel.\n\n`--isolation vm`\nPlus streaming output, files, Git, SSH, bucket mounts, signed webhooks and idle policy, all from the SDK.\n\n## Made for agents that **come and go**\n\nAgents work in bursts. Hermitbox isolates each one, sleeps it between bursts and copies it when you want to try again.\n\n### Choose the isolation\n\nA confined process when you want speed, a Firecracker VM with its own kernel when you want a wall. Same call either way. If the host can’t give what you asked for, Hermitbox refuses and says what’s missing.\n\n### Sleeps when idle, wakes on demand\n\nA quiet box sleeps and keeps its files. The next command, connection or API call wakes it. A VM can keep its memory too: the same process carries on, back in 220 ms.\n\n### Snapshot, fork, try again\n\nSave a box at a good point, then fork independent copies from it: one per attempt, per test run or per branch.\n\n## Your first **box**\n\n### Install\n\nRun `curl -fsSL https://hbx.sh | sh` as your own user. It asks no questions and needs no root.\n\n### Ask for a box\n\nFrom TypeScript (`npm install hermitbox`), Python (` pip install hermitbox`) or Rust, the CLI, the HTTP API, or your agent over MCP.\n\n### Run, fork, throw away\n\nWrite files, run code, fork a snapshot and delete the box when you’re done.\n\n``` js\nimport { Hermitbox } from 'hermitbox'\n\nconst hb = new Hermitbox()\nconst box = await hb.sandbox()\n\nawait box.write('solve.py', 'print(sum(range(101)))')\nconst { stdout } = await box.run('python3 ./solve.py')\nconsole.log(stdout.trim()) // 5050\n\nconst snapshot = await box.snapshot()\nconst copy = await snapshot.fork()\n\nawait copy.delete()\nawait box.delete()\npython\nfrom hermitbox import Hermitbox\n\nwith Hermitbox() as hb:\n    box = hb.sandbox()\n\n    box.write('solve.py', 'print(sum(range(101)))')\n    result = box.run('python3 ./solve.py')\n    print(result.stdout.strip())  # 5050\n\n    snapshot = box.snapshot()\n    copy = snapshot.fork()\n\n    copy.delete()\n    box.delete()\n```\n\n## Every box in one window\n\nFor Linux, macOS and Windows. Watch every sandbox live, start new ones, open a shell or a preview, and connect your agent.\n\nDownload it from [dl.hbx.sh](https://dl.hbx.sh), with each file’s SHA-512. On a server, follow [the docs](https://docs.hermitbox.dev/).\n\n## Your laptop today, a fleet tomorrow\n\nStart on the machine in front of you: one command, as your own user. Give it Docker or Podman and it adds containers; give it KVM and it adds virtual machines. Add more machines and they join as one fleet. `hermitbox doctor` shows what’s on and what would turn the rest on.\n\nOpen source. The server is AGPL-3.0-only; the SDKs and integrations your code links are Apache-2.0. [Code on GitHub](https://github.com/hermitbox/hermitbox), newest release [v0.3.2](https://github.com/hermitbox/hermitbox/releases/tag/v0.3.2).\n\n## Six verbs, **one box**\n\nEvery state change is one SDK call. Click a verb to watch it.\n\n- `start()` Start it.\n- `stop()` Stop it, keep its files.\n- `sleep()` Pause it while it’s idle, keep its files.\n- `wake()` Pick up where it left off.\n- `rest()` Archive it and free the machine.\n- `snapshot()` Save a point to fork from.\n\n## Give your agent **a computer**\n\nPaste one line yourself, or hand the prompt to your agent and it installs and connects itself.\n\n`$curl -fsSL https://hbx.sh | sh`\nInstall Hermitbox and set it up for me", "url": "https://wpnews.pro/news/hermitbox-sandboxes-for-your-agents-on-your-machines", "canonical_source": "https://hermitbox.dev/", "published_at": "2026-12-06 07:49:47+00:00", "updated_at": "2026-12-06 08:15:08.487469+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-infrastructure"], "entities": ["Hermitbox", "Firecracker", "Codex", "Docker", "Podman", "KVM", "GitHub"], "also_reported_by": [], "takeaway": "Hermitbox lets each agent run in a process or a Firecracker VM via the same call, with idle boxes waking in 220 ms and snapshots forkable per attempt.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/hermitbox-sandboxes-for-your-agents-on-your-machines", "markdown": "https://wpnews.pro/news/hermitbox-sandboxes-for-your-agents-on-your-machines.md", "text": "https://wpnews.pro/news/hermitbox-sandboxes-for-your-agents-on-your-machines.txt", "jsonld": "https://wpnews.pro/news/hermitbox-sandboxes-for-your-agents-on-your-machines.jsonld"}}