Zeroboot: Sub-millisecond VM Sandboxes for AI Agents
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Zeroboot is an innovative open-source project that delivers sub-millisecond VM sandboxes, primarily designed for AI agents and other applications requiring extremely fast, isolated code execution environments. It leverages copy-on-write forking and Firecracker microVMs to achieve hardware-enforced isolation with minimal overhead. This approach enables rapid, secure code execution, ideal for high-performance AI applications.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Zeroboot is an innovative open-source project that delivers sub-millisecond VM sandboxes, primarily designed for AI agents and other applications requiring extremely fast, isolated code execution environments. Built with Rust and leveraging Firecracker microVMs and KVM, Zeroboot utilizes copy-on-write forking to achieve unparalleled speed and efficiency. Each sandbox operates as a real KVM virtual machine, providing robust hardware-enforced memory isolation with minimal overhead, typically around 265KB per sandbox.
Installation
You can interact with Zeroboot through its managed API or by self-hosting the solution on any Linux machine with KVM.
To quickly try the managed API, use the following curl command:
curl -X POST https://api.zeroboot.dev/v1/exec \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer zb_demo_hn2026' \
-d '{"code":"import numpy as np; print(np.random.rand(3))"}'
For self-hosting, refer to the official documentation for detailed deployment instructions.
Examples
Zeroboot offers SDKs for popular programming languages to simplify integration.
Python SDK:
from zeroboot import Sandbox
sb = Sandbox("zb_live_your_key")
result = sb.run("print(1 + 1)")
print(result.stdout)
TypeScript SDK:
import { Sandbox } from "@zeroboot/sdk";
const result = await new Sandbox("zb_live_your_key").run("console.log(1+1)");
console.log(result.stdout);
Why use Zeroboot
Zeroboot stands out for its exceptional performance and robust isolation capabilities:
- Ultra-low Latency: Achieve VM spawn latencies as low as 0.79ms (p50) and 1.74ms (p99), significantly faster than comparable solutions.
- Resource Efficiency: Each sandbox consumes approximately 265KB of memory, making it highly scalable for numerous concurrent environments.
- Hardware-Enforced Isolation: Benefit from the security and reliability of KVM virtual machines, ensuring strong memory isolation between sandboxes.
- Ideal for AI Agents: Perfectly suited for AI applications that need to execute code quickly and securely in isolated environments without significant startup delays.
Links
Related repositories
Similar repositories that may be relevant next.

goose: Your Native Open Source AI Agent for Code and Workflows
August 9, 2026
goose is an open source, extensible AI agent designed to run natively on your machine, offering capabilities beyond simple code suggestions. It supports installation, execution, editing, and testing with a wide range of Large Language Models. Built in Rust, goose provides a desktop app, CLI, and API, making it a versatile tool for various tasks from coding to data analysis.

Awesome AI Agents 2026: The Ultimate List of AI Tools and Frameworks
August 8, 2026
This repository, `awesome-ai-agents-2026`, is a comprehensive and frequently updated collection of over 340 AI agents, frameworks, and tools across more than 20 categories. It serves as an essential resource for developers and researchers looking to explore the rapidly evolving landscape of artificial intelligence in 2026, covering everything from coding agents to creative AI and governance.

Agent Sandbox: Managing Isolated, Stateful Workloads on Kubernetes
August 8, 2026
Agent Sandbox introduces a Sandbox Custom Resource Definition (CRD) and controller for Kubernetes, designed to simplify the management of isolated, stateful, singleton workloads. It provides a declarative API for use cases such as AI agent runtimes, development environments, and persistent single-container sessions. This project aims to offer a lightweight, single-container VM experience built on Kubernetes primitives.
awesome-ai: A Curated List of 400+ AI APIs, Tools, and Frameworks
August 7, 2026
The awesome-ai repository by edwardtay offers a comprehensive, curated list of over 400 AI APIs, tools, frameworks, and platforms. Spanning more than 40 categories, it serves as an invaluable resource for developers and researchers navigating the vast landscape of artificial intelligence. This list helps users discover solutions for LLMs, agents, image/video generation, MLOps, and more.
Source repository
Open the original repository on GitHub.
18 counted GitHub visits