Skip to content
docs
type to search↑↓ move↵ openesc close
v0.3.2github

Capabilities

5 min readv0.3.2this page as markdown

What a Hermitbox sandbox can do, one capability per row, each linked to the code or the page that implements it. Use it to check whether a feature exists before you build on it. Measurements are in speed, and tiers states each tier’s limits. The browser, desktop, SSH and mount tools need the prepared images and host policy in native tools.

Hermitbox is open source under AGPL-3.0-only. The parts you embed or copy into your own project (the SDKs, the integrations, the GitHub Action and the stack templates) are Apache-2.0.

Capability Hermitbox
Create from image yes, container and vm tiers
Create from snapshot yes
Create from warm template yes
Templates from code yes, builder
Run command yes, run
Stream output yes, stream
Background process yes, spawn
Process stdin yes, stdin
Signals yes, signals
PTY yes, PTY
Persistent shell sessions yes, shell
waitForPort yes, process readiness
Read files yes
Write files yes
List files yes
Watch files yes
Upload files yes
Download files yes
Find files yes, bounded native search
Grep file contents yes, bounded native search
Directory sync yes, incremental
Git yes, native command wrapper
Ports and preview URLs yes, token-protected agent previews
Raw tunnels yes, edge TCP/TLS fronts
Egress allowlist including DNS yes, container host policy; process sandboxes in the kernel where the host grants it
Internet off yes, tier-specific enforcement
Sleep with memory yes, suspension by tier
Sleep (disk kept) yes
Auto-resume on request yes, edge hold and wake
Snapshot yes
Fork yes, snapshot forks
Move between owned hosts yes, fenced transfer
TTL yes
Idle timeout yes
Keep alive yes
Labels yes
Metadata yes
Lookup by name or metadata yes
Metrics yes, bounded retained samples
Lifecycle events yes
Webhooks yes, signed and retried
Code interpreter with charts yes on containers and processes
Desktop and computer use containers and namespace-capable processes, X11/noVNC
SSH containers and namespace-capable processes, raw or HTTP edge wake
Object-store bucket mounts yes, real FUSE with host opt-in
Browser and CDP yes on containers and processes
Per-sandbox MCP server yes
GitHub Action yes, repo action
CLI yes
TypeScript SDK yes
Python SDK yes, sync and async
Rust SDK yes, Tokio async
Self-hosted deployment yes, owned Linux hosts
Runs without root Process and Wasm tiers; containers on a rootless engine that maps the data owner, such as Podman with keep-id (rootless engines); vm where the user can open /dev/kvm
Projects and quotas yes
Machine providers and autoscale yes, owned-node adapters
Source availability and licence AGPL-3.0-only; SDKs, integrations, GitHub Action and stack templates Apache-2.0

Guarantees by tier

Every sandbox reports the guarantees its tier gives on its host, and a create can require any of them. A guarantee the node doesn’t announce reads false. Where each one can be true:

  • own-kernel: vm only.
  • memory-limit: container when the engine enforces it, and vm (the guest’s RAM).
  • cpu-limit: container when the engine enforces it, and vm (whole vCPUs).
  • private-network: container and vm.
  • private-pids: container and vm.
  • separate-users: process as root, when the credential-drop probe passes.
  • host-firewall: container, on a rootful engine with the host firewall loaded, and process where kernel-network-policy is on and the sandbox’s own programs are attached (bpf.md).
  • memory-sleep: process, container on a rootful engine with memory limits, and an ordinary user’s vm once its start test has restored a guest on that host.
  • browser-sandbox: container with the native-tools seccomp profile and user namespaces, and process when its browser probe passes.

The vm tier runs only where KVM works: as an ordinary user, or as root through its separate worker service, which the server preset installs. Virtual machines covers its guarantees, network policy, limits and what is tested; tiers.md has its thirty-sample measurements.

How this is tested

CI’s unit, Docker or end-to-end suites exercise every implementation in the table. The process tier’s desktop and HTTP SSH are tested as an ordinary user on the signed installation, through both SDKs and the installed CLI. Startup measurements give thirty samples per tool, and show how the resource guarantees of containers and processes differ.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
Linux (x86_64 or aarch64), no root, no Docker. Agents can read every page: llms.txt · llms-full.txt
the floor · nothing below this line