zerobootdev

zeroboot: Create Fast VM Sandboxes for AI Agents

Zeroboot uses copy-on-write forks of Firecracker VM snapshots to create isolated sandboxes quickly for code execution. It is aimed at teams running agent-generated code that need VM-level isolation and can accept a working-prototype maturity level.

View on GitHub Compare
Stars
2.5k
Forks
110
Stars, last 30 days
+15

Our take

Health score

16/100

How it is scored
Activity
19
Community
4
Issues
21
Pull requests
20

+15 stars in the last 30 days

  • Fewer contributors than 91% of the projects we track

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

2,478

Forks

107

Change since Nov 13, 2026: +2 stars·0 forks

Overview

Zeroboot is a Rust project for creating isolated virtual-machine sandboxes for code execution. It snapshots a prepared Firecracker VM, then forks new instances using copy-on-write memory mappings, avoiding a full boot for each execution.

It is intended for AI-agent and developer platforms that run untrusted or short-lived code and need stronger isolation than a process-based sandbox. Self-hosting requires a Linux machine with KVM; a managed API is also offered.

Key Features

  • Forks VM instances from snapshots using copy-on-write memory.
  • Uses KVM virtual machines for hardware-enforced memory isolation.
  • Runs code through an HTTP API and provides Python and TypeScript SDKs.
  • Supports self-hosting or use of the managed API.
  • Uses serial I/O for communication with sandboxes.
  • Includes a template-based workflow that preloads a runtime before taking a snapshot.

Use Cases

  • AI-agent platform teams executing generated Python or JavaScript code in isolated VMs.
  • Developer-tool builders who need to create many short-lived execution environments from a prepared template.
  • Infrastructure teams evaluating low-latency sandboxing, when Linux hosts with KVM are available.
  • Teams that want to experiment with a managed code-execution API before operating their own infrastructure.

Getting Started

Try the hosted API with the example request below, or see the README for SDK and self-hosting instructions:

curl -X POST https://api.zeroboot.dev/v1/exec \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer zb_demo_hn2026' \
  -d '{"code":"print(1 + 1)"}'

Alternatives

  • CubeSandbox: CubeSandbox uses RustVMM and KVM for scalable agent sandboxes, while zeroboot creates copy-on-write forks of Firecracker snapshots.
  • sandbox-sdk: sandbox-sdk runs isolated code environments on Cloudflare's edge, while zeroboot runs Firecracker-based VM sandboxes.
  • ClawLess: ClawLess sandboxes Node.js agents in browser-based WebContainers, while zeroboot provides VM-level isolation using Firecracker.
ProjectLanguageLicenseStarsStatus
zerobootRustApache-2.02.5kNot checked yet
CubeSandboxGoOther12.8kActive
sandbox-sdkTypeScript–1.2kActive
clawlessTypeScriptMIT535Quiet

Considerations

  • The README describes the project as a working prototype, not production-hardened.
  • Self-hosting requires Linux with KVM.
  • Forks use a single vCPU and have no networking; communication is through serial I/O.
  • Forked environments share snapshot CSPRNG state. Kernel entropy is reseeded, but userspace PRNGs such as NumPy and OpenSSL need explicit reseeding per fork.
  • Updating a template requires a full re-snapshot, reported as taking about 15 seconds, with no incremental patching.

Found this useful?

Share it with someone who would like zeroboot.

Comparisons