Discover and explore top open-source AI tools and projects—updated daily.
zerobootdevSub-millisecond VM sandboxes for AI agents
New!
Top 45.1% on SourcePulse
Sub-millisecond virtual machine sandboxes for AI agents are provided by Zeroboot, utilizing copy-on-write forking. This offers developers extremely fast, hardware-isolated execution environments, significantly outperforming alternatives in spawn latency and memory footprint, making it ideal for dynamic AI agent workloads.
How It Works
The system employs Firecracker snapshots combined with mmap(MAP_PRIVATE) for copy-on-write memory mapping and KVM VMs to restore CPU state. This approach enables rapid VM forking (~0.8ms) while ensuring hardware-enforced memory isolation for each sandbox, providing robust security and performance.
Quick Start & Requirements
curl -X POST https://api.zeroboot.dev/v1/exec with a JSON payload containing the code. A demo token zb_demo_hn2026 is available.zeroboot.Sandbox) and TypeScript (@zeroboot/sdk).Highlighted Details
Maintenance & Community
The project is currently a "working prototype" and not yet production-hardened. Users interested in specific features or improvements are encouraged to open an issue. Early access to a managed service for teams is available via a Tally.so signup link.
Licensing & Compatibility
Licensed under the Apache-2.0 license. This permissive license generally allows for commercial use and integration into closed-source applications without significant restrictions.
Limitations & Caveats
Forks initially share the same CSPRNG state, necessitating explicit reseeding for userspace PRNGs like NumPy or OpenSSL. Each sandbox is limited to a single vCPU, and direct networking is not supported; communication occurs strictly via serial I/O. Updating sandbox templates requires a full re-snapshot, taking approximately 15 seconds, as incremental patching is not implemented. The system is explicitly noted as a prototype and not production-hardened.
1 day ago
Inactive
vercel-labs
alibaba