{"id":47473907,"url":"https://github.com/zerobootdev/zeroboot","last_synced_at":"2026-03-30T23:00:45.402Z","repository":{"id":344836998,"uuid":"1182712729","full_name":"zerobootdev/zeroboot","owner":"zerobootdev","description":"Sub-millisecond VM sandboxes for AI agents via copy-on-write forking","archived":false,"fork":false,"pushed_at":"2026-03-21T22:53:51.000Z","size":975,"stargazers_count":1714,"open_issues_count":6,"forks_count":77,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-03-22T11:30:17.241Z","etag":null,"topics":["ai-agents","code-execution","copy-on-write","firecracker","kvm","rust","sandbox","virtual-machine","vm"],"latest_commit_sha":null,"homepage":"https://tally.so/r/aQGkpb","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zerobootdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-15T21:49:32.000Z","updated_at":"2026-03-22T11:02:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zerobootdev/zeroboot","commit_stats":null,"previous_names":["adammiribyan/zeroboot","zerobootdev/zeroboot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zerobootdev/zeroboot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerobootdev%2Fzeroboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerobootdev%2Fzeroboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerobootdev%2Fzeroboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerobootdev%2Fzeroboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerobootdev","download_url":"https://codeload.github.com/zerobootdev/zeroboot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerobootdev%2Fzeroboot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31213707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-30T15:24:02.938Z","status":"ssl_error","status_checked_at":"2026-03-30T15:23:44.804Z","response_time":138,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","code-execution","copy-on-write","firecracker","kvm","rust","sandbox","virtual-machine","vm"],"created_at":"2026-03-25T11:00:24.926Z","updated_at":"2026-03-30T23:00:45.397Z","avatar_url":"https://github.com/zerobootdev.png","language":"Rust","readme":"\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"assets/logo-dark.svg\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"assets/logo-light.svg\"\u003e\n    \u003cimg alt=\"Zeroboot\" src=\"assets/logo-light.svg\" width=\"500\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eSub-millisecond VM sandboxes for AI agents via copy-on-write forking\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-Apache--2.0-blue\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.rust-lang.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/rust-2021_edition-orange\" alt=\"Rust\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://api.zeroboot.dev/v1/health\"\u003e\u003cimg src=\"https://img.shields.io/badge/api-live-brightgreen\" alt=\"API Status\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n![demo](demo/demo.gif)\n\n## Try it\n\n```bash\ncurl -X POST https://api.zeroboot.dev/v1/exec \\\n  -H 'Content-Type: application/json' \\\n  -H 'Authorization: Bearer zb_demo_hn2026' \\\n  -d '{\"code\":\"import numpy as np; print(np.random.rand(3))\"}'\n```\n\n## Benchmarks\n\n| Metric | Zeroboot | E2B | microsandbox | Daytona |\n|---|---|---|---|---|\n| Spawn latency p50 | **0.79ms** | ~150ms | ~200ms | ~27ms |\n| Spawn latency p99 | 1.74ms | ~300ms | ~400ms | ~90ms |\n| Memory per sandbox | ~265KB | ~128MB | ~50MB | ~50MB |\n| Fork + exec (Python) | **~8ms** | - | - | - |\n| 1000 concurrent forks | 815ms | - | - | - |\n\nEach sandbox is a real KVM virtual machine with hardware-enforced memory isolation.\n\n## How it works\n\n```\n  Firecracker snapshot ──► mmap(MAP_PRIVATE) ──► KVM VM + restored CPU state\n                              (copy-on-write)         (~0.8ms)\n```\n\n1. **Template** (one-time): Firecracker boots a VM, pre-loads your runtime, and snapshots memory + CPU state\n2. **Fork** (~0.8ms): Creates a new KVM VM, maps snapshot memory as CoW, restores all CPU state\n3. **Isolation**: Each fork is a separate KVM VM with hardware-enforced memory isolation\n\n## SDKs\n\n**Python** \u0026mdash; [sdk/python](sdk/python/)\n\n```python\nfrom zeroboot import Sandbox\nsb = Sandbox(\"zb_live_your_key\")\nresult = sb.run(\"print(1 + 1)\")\n```\n\n**TypeScript** \u0026mdash; [sdk/node](sdk/node/)\n\n```typescript\nimport { Sandbox } from \"@zeroboot/sdk\";\nconst result = await new Sandbox(\"zb_live_your_key\").run(\"console.log(1+1)\");\n```\n\n## Docs\n\n- [API Reference](docs/API.md)\n- [Deployment Guide](docs/DEPLOYMENT.md)\n- [Architecture](docs/ARCHITECTURE.md)\n\n## Status\n\nWorking prototype. The fork primitive, benchmarks, and API are real, but not production-hardened yet. [Open an issue](https://github.com/adammiribyan/zeroboot/issues) if you're interested.\n\n## Self-host or managed\n\nZeroboot is open source. Self-host it on any Linux box with KVM, or use the managed API:\n\n    curl -X POST https://api.zeroboot.dev/v1/exec \\\n      -H 'Content-Type: application/json' \\\n      -H 'Authorization: Bearer zb_demo_hn2026' \\\n      -d '{\"code\":\"import numpy as np; print(np.random.rand(3))\"}'\n\nBuilding the managed service for teams that don't want to run their own infra. Sign up for early access: https://tally.so/r/aQGkpb\n\n## Known limitations\n\n- Forks share CSPRNG state from the snapshot. Kernel entropy is reseeded via RNDADDENTROPY but userspace PRNGs (numpy, OpenSSL) need explicit reseeding per fork. See [Firecracker's guidance](https://github.com/firecracker-microvm/firecracker/blob/main/docs/snapshotting/random-for-clones.md).\n- Single vCPU per fork. Multi-vCPU is architecturally possible but not implemented.\n- No networking inside forks. Sandboxes communicate via serial I/O only.\n- Template updates require a full re-snapshot (~15s). No incremental patching.\n\n## License\n\n[Apache-2.0](LICENSE)\n","funding_links":[],"categories":["Rust","Sandboxing \u0026 Isolation"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerobootdev%2Fzeroboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerobootdev%2Fzeroboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerobootdev%2Fzeroboot/lists"}