cd /news/ai-agents/hermitbox-sandboxes-for-your-agents-… · home › topics › ai-agents › article
[ARTICLE · art-182781] src=hermitbox.dev ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Hermitbox: Sandboxes for your agents, on your machines

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.

key 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.

read4 min views15 publishedDec 6, 2026

Give 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.

$curl -fsSL https://hbx.sh | sh Install Hermitbox and set it up for me

Everything a computer does #

The box your agent works in is a box you can step into: open its shell, its preview URL or its desktop.

Coding agents

Run Codex or another coding agent inside a box instead of on your laptop. It takes the strongest isolation the host offers.

hermitbox create codex

Code interpreter

A Python kernel that stays warm between calls: 1+1 in 5 ms, a chart in 156 ms.

box.python()

Browser and desktop

A browser your agent drives over CDP, or a full desktop you can watch.

hb.sandbox({ template: 'desktop' })

Dev environment from any repo

Point 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.

hermitbox template from <repo>

Previews

Publish a port and get a URL for it, to share an app while you’re building it.

box.expose(port)

Code you didn’t write

A pull request, a customer’s script, an agent’s output: run it in a box isolated up to a VM with its own kernel.

--isolation vm Plus streaming output, files, Git, SSH, bucket mounts, signed webhooks and idle policy, all from the SDK.

Made for agents that come and go #

Agents work in bursts. Hermitbox isolates each one, sleeps it between bursts and copies it when you want to try again.

Choose the isolation

A 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.

Sleeps when idle, wakes on demand

A 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.

Snapshot, fork, try again

Save a box at a good point, then fork independent copies from it: one per attempt, per test run or per branch.

Your first box #

Install

Run curl -fsSL https://hbx.sh | sh as your own user. It asks no questions and needs no root.

Ask for a box

From TypeScript (npm install hermitbox), Python ( pip install hermitbox) or Rust, the CLI, the HTTP API, or your agent over MCP.

Run, fork, throw away

Write files, run code, fork a snapshot and delete the box when you’re done.

import { Hermitbox } from 'hermitbox'

const hb = new Hermitbox()
const box = await hb.sandbox()

await box.write('solve.py', 'print(sum(range(101)))')
const { stdout } = await box.run('python3 ./solve.py')
console.log(stdout.trim()) // 5050

const snapshot = await box.snapshot()
const copy = await snapshot.fork()

await copy.delete()
await box.delete()
python
from hermitbox import Hermitbox

with Hermitbox() as hb:
    box = hb.sandbox()

    box.write('solve.py', 'print(sum(range(101)))')
    result = box.run('python3 ./solve.py')
    print(result.stdout.strip())  # 5050

    snapshot = box.snapshot()
    copy = snapshot.fork()

    copy.delete()
    box.delete()

Every box in one window #

For Linux, macOS and Windows. Watch every sandbox live, start new ones, open a shell or a preview, and connect your agent.

Download it from dl.hbx.sh, with each file’s SHA-512. On a server, follow the docs.

Your laptop today, a fleet tomorrow #

Start 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.

Open source. The server is AGPL-3.0-only; the SDKs and integrations your code links are Apache-2.0. Code on GitHub, newest release v0.3.2.

Six verbs, one box #

Every state change is one SDK call. Click a verb to watch it.

  • start() Start it.
  • stop() Stop it, keep its files.
  • sleep() it while it’s idle, keep its files.
  • wake() Pick up where it left off.
  • rest() Archive it and free the machine.
  • snapshot() Save a point to fork from.

Give your agent a computer #

Paste one line yourself, or hand the prompt to your agent and it installs and connects itself.

$curl -fsSL https://hbx.sh | sh Install Hermitbox and set it up for me

── more in #ai-agents 4 stories · sorted by recency
── more on @hermitbox 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/hermitbox-sandboxes-…] indexed:0 read:4min 2026-12-06 · —