Skip to the collection

agent-native · Code Execution · Verified 2026-10-20

CubeSandbox

Listed on The Agent-Native Index

Instant, Concurrent, Secure & Lightweight Sandbox Service for AI Agents

What it does

CubeSandbox is a self-hosted microVM sandbox service built on RustVMM and KVM. It boots a hardware-isolated, fully serviceable sandbox in under 60 ms with less than 5 MB of memory overhead, and is compatible with the E2B SDK — switch from E2B Cloud by changing E2B_API_URL.

The control plane (CubeAPI / CubeMaster / Cubelet / CubeProxy) plus CubeCoW snapshots, AutoPause, an eBPF virtual switch (CubeVS), and an L7 egress proxy (CubeEgress) are designed for high-concurrency AI-agent code execution, not a human IDE.

Distinct from catalog peers:

Peer Difference
E2B Hosted cloud sandboxes + E2B’s own control plane. CubeSandbox is the self-host E2B-compatible microVM service
OpenSandbox Sandbox runtime / K8s / MCP. Cube is RustVMM+KVM with an E2B wire-compatible API
Dormice Early-dev E2B-compat daemon; Cube is a production-oriented Tencent Cloud OSS cluster
forkd Firecracker CoW fork/BRANCH from a warmed parent. Cube cold-starts / pools microVMs; it is not fork-from-warm
SmolVM Local Firecracker/QEMU/libkrun SDK for disposable agent computers. Cube is a multi-node E2B-compatible service

Agent-facing interfaces

How agents onboard

Interaction pattern: CLI + E2B-compatible SDK

curl -sL https://github.com/tencentcloud/CubeSandbox/raw/master/deploy/one-click/online-install.sh | CUBE_PVM_ENABLE=1 bash

See the full onboarding section in the dossier.

Protocol surface

Interface Detail
E2B-compatible REST CubeAPI on :3000
E2B Python SDK pip install e2b-code-interpreter + E2B_API_URL
Native Python SDK pip install cubesandbox + CUBE_API_URL
CLI cubemastercli, cubeopscli
WebUI :12088 — optional operator console
License Apache-2.0 + third-party exceptions in LICENSE (GitHub NOASSERTION)

Verification

Last verified 2026-10-20.

Sources: