Sub-millisecond hardware-isolated KVM sandboxes for running untrusted AI-generated code via copy-on-write forking.

CCM score
46 of 100
skills.sh installs
1.2K
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers forking a snapshotted template VM per execution, with Python and TypeScript SDKs plus a REST POST /v1/exec endpoint
  • Includes concurrent execution patterns, agent tool integration, and a /v1/health check, with self-hosting requirements for Linux, KVM, and Firecracker
  • Enforces hardware-level memory isolation through separate KVM VMs, with ZEROBOOT_API_KEY read from the environment rather than hardcoded
  • Designed for AI agent loops that need to execute LLM-generated code without the shared kernel of a container

Install

$ npx -y skills add reason-machines/trending-skills --skill zeroboot-vm-sandbox -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Zeroboot VM Sandbox

Skill by ara.so — Daily 2026 Skills collection.

Zeroboot provides sub-millisecond KVM virtual machine sandboxes for AI agents using copy-on-write forking. Each sandbox is a real hardware-isolated VM (via Firecracker + KVM), not a container. A template VM is snapshotted once, then forked in ~0.8ms per execution using mmap(MAP_PRIVATE) CoW semantics.

How It Works

Firecracker snapshot ──► mmap(MAP_PRIVATE) ──► KVM VM + restored CPU state
                           (copy-on-write)          (~0.8ms)
  1. Template: Firecracker boots once, pre-loads your runtime, snapshots memory + CPU state
  2. Fork (~0.8ms): New KVM VM maps snapshot memory as CoW, restores CPU state
  3. Isolation: Each fork is a separate KVM VM with hardware-enforced memory isolation

Installation

Python SDK

pip install zeroboot

Node/TypeScript SDK

npm install @zeroboot/sdk
# or
pnpm add @zeroboot/sdk

Authentication

Set your API key as an environment variable:

export ZEROBOOT_API_KEY="zb_live_your_key_here"

Never hardcode keys in source files.

Quick Start

REST API (cURL)

Details

Repository
github.com/reason-machines/trending-skills
Categories
AI Agents & LLM Apps, Security
First seen
Apr 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Zeroboot Vm Sandbox

More AI Agents & LLM Apps