We built a <60ms, open-source alternative to E2B using RustVMM and KVM
Details
- External ID
- 47863430
- Source
- HN
- Company
- —
- Product
- We built a <60ms, open-source alternative to E2B using RustVMM and KVM
- Website domain
- github.com
- Launched
- April 22, 2026
- Cohort
- —
- Upvotes
- 7
- Upvotes percentile
- 0.38817480719794345
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Over the past few months, as we scaled our internal AI Agents, we hit a dead end: Running LLM-generated arbitrary code in Docker is basically running naked on security due to container escape risks. But using full traditional VMs takes minutes to boot and eats too much memory to support high-density concurrency. We loved the developer experience of SaaS sandboxes on the market, but they are closed-source, expensive, and have too high a barrier to entry for self-hosting.So, our team decided to build our own. After months of grinding, using RustVMM and KVM, we built a blazing-fast, ultra-lightweight secure sandbox service from the ground up: CubeSandbox. Today, we are officially open-sourcing it.To balance security and performance, we stripped the underlying OS to the absolute extreme. Here’s what it can do right now:1. <60ms blazing-fast cold start: End-to-end latency is under 60ms, making it 2.5x to 50x faster than traditional secure sandbox solutions.2. <5MB extreme memory footprint: Memory per instance is kept under 5MB. A single 96-vCPU physical machine can easily run 2,000+ sandboxes concurrently, reducing storage consumption by 90%.3. Massive concurrency scheduling: Capable of spinning up hundreds of thousands of instances in minutes.4. True kernel-level isolation: Every Agent gets its own dedicated Guest OS kernel.5. Native E2B SDK compatibility: Just swap a single URL environment variable. Zero code changes required for smooth migration and hosting.Also, a millisecond-level “snapshot rollback” feature is coming soon…Before opening the repo today, CubeSandbox has been running silently behind the scenes in Tencent Cloud, serving massive real-world AI Agent workloads in production. As we open-source it today, it is no longer a prototype, but battle-tested, production-ready infrastructure.Today, we hand it over to the community. Because we believe that high-performance agent infrastructure shouldn’t be exclusive to a few—it belongs to every developer worldwide who demands ultimate security and freedom.The project is still in its very early open-source stages, and we are really looking forward to your hardest critiques and architectural roasts. I’ll be hanging out here all day to answer your questions. The source code and deployment guides are all in the README. Come play with it! https://github.com/TencentCloud/CubeSandbox
Enrichment
- Theme
- lightweight and on-device AI runtimes
- Vertical
- Horizontal
- Function
- Model & infra
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- open-source sandbox alternative to e2b
- Manually corrected
- False
Could you build this?
No Building a custom microVM hypervisor alternative using RustVMM and Linux KVM to achieve sub-60ms boot times requires low-level kernel and virtualization systems programming.
What it would actually take: The system is built in Rust using the `kvm-ioctls` and `rust-vmm` crate ecosystem to interface directly with `/dev/kvm`. It requires writing custom virtual machine monitors (VMM), minimal guest Linux kernels with stripped drivers, pre-configured rootfs snapshots, and fast-path jailer/cgroup isolation to orchestrate microVM memory snapshots in tens of milliseconds. This demands deep systems programming expertise in Linux virtualization, MMIO devices, and operating system kernels.
Discussion
2 comments analyzed.
Competitors mentioned: existing execution environments (unspecified alternatives)
Concerns raised: massive memory overhead in existing solutions, slow boot times in existing solutions
Competitors
Other products that read as similar to this one — 522 launches clear the similarity bar, closest 8 shown.
Attention rank: #343 of 523 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 174 days after the earliest competitor.
- Tarit · hn · 2026-07-08 · 6 upvotes · similarity 0.52
- Numax · hn · 2026-06-16 · 6 upvotes · similarity 0.49
- Cygnus · hn · 2026-07-25 · 8 upvotes · similarity 0.49
- Superserve · hn · 2026-07-21 · 9 upvotes · similarity 0.49
- Boxes.dev: ditch localhost; run Claude Code and Codex in the cloud · hn · 2026-06-04 · 105 upvotes · similarity 0.49
- Clawbernetes · hn · 2026-02-20 · 5 upvotes · similarity 0.49
- Running AI agents across environments needs a proper solution · hn · 2026-03-24 · 8 upvotes · similarity 0.48
- CreateOS Sandbox · ph · 2026-07-21 · 153 upvotes · similarity 0.48
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a model & infra tool for Fintech yet.