CubeSandbox

cubesandbox.com

Open-source, E2B-compatible sandbox for AI agents: hardware-isolated microVMs that start in under 60 ms.

GitHub stars
13,377
License
其他(见 LICENSE)
Language
Go
Pricing
Open source
Published
Nov 19, 2026

Next steps

What it does

CubeSandbox is a secure sandbox service from Tencent Cloud for running code produced by AI agents. It uses RustVMM and KVM for hardware-level isolation, starts a sandbox in under 60 ms with under 5 MB memory overhead, and is compatible with the E2B SDK. It runs on a single node or scales to a multi-node cluster (including Kubernetes deployment), with snapshots, cross-node pause/resume, volumes and Prometheus/Grafana observability. Apache-2.0.

Use cases

  • Give an AI coding or data agent an isolated place to run generated code without touching your servers
  • Self-host an E2B-compatible sandbox service and point existing E2B SDK code at it
  • Run many concurrent agent sandboxes on one node or a multi-node cluster with snapshots and pause/resume

Frequently asked questions

What is CubeSandbox?
CubeSandbox is Tencent Cloud's open-source sandbox service for AI agents. It is built on RustVMM and KVM and creates hardware-isolated sandboxes where agents can run code.
How fast is it?
The project states a sandbox can be created in under 60 ms with less than 5 MB of memory overhead, using resource pooling and snapshot cloning.
Does it work with the E2B SDK?
Yes. The README says it is compatible with the E2B SDK, including an E2B-compatible volume framework.
Is it free?
The code is released under the Apache License 2.0; you pay only for the hardware or cloud you run it on.
Log in to join the discussion