Our take
- Activity
- 85
- Community
- 88
- Issues
- 66
- Pull requests
- 60
+297 stars in the last 30 days
- Releases more often than 87% of the projects we track
- Merges more pull requests than 86% of the projects we track
- More contributors than 77% of the projects we track
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
13,240Forks
1,218Change since Nov 13, 2026: +3 stars·+1 forks
Overview
CubeSandbox provides disposable execution environments for AI agents and other workloads that need to run code without sharing the host kernel. It uses KVM-based microVMs and is designed to start sandboxes quickly while keeping per-instance overhead low.
It is aimed at teams building agent platforms or code-execution services that need stronger isolation than ordinary containers. Choose it when you can operate Linux infrastructure with KVM and want a self-hosted service with E2B SDK-compatible interfaces; it may be more than needed for simple, trusted scripts.
Key Features
- Runs each sandbox in a microVM with a dedicated OS kernel.
- Provides REST APIs compatible with the E2B SDK interface.
- Supports single-node deployment and scaling to multi-node clusters.
- Offers snapshots, cloning, and rollback for sandbox state.
- Includes network isolation and egress controls, with optional credential injection through its security proxy.
- Supports automatic pause and resume for idle sandboxes.
- Provides a volume framework for pluggable storage backends.
- Includes Kubernetes deployment support, marked as preview in the README.
Use Cases
- AI-agent developers can run generated code in isolated environments instead of executing it on application servers.
- Platform teams can offer hosted or internal code-execution sandboxes with centralized scheduling and network policy.
- Agent researchers can snapshot, clone, and roll back environments when comparing runs or exploring alternative states.
- Teams migrating from E2B can evaluate a self-hosted option while retaining compatible SDK interfaces.
Getting Started
The README requires Linux with KVM support and links to deployment guides for cloud VMs, bare metal, and development environments. Follow the Quick Start guide for setup; the README describes the first deployment and sandbox workflow. Visit the repository for the full documentation.
Alternatives
- agent-sandbox: Provides a self-hosted Kubernetes service with REST and MCP interfaces, while CubeSandbox emphasizes microVM snapshots, network controls, and single- or multi-node deployment.
- n8n-sandbox-service: Offers REST-based command and file execution using containers or Firecracker microVMs, rather than CubeSandbox’s E2B-compatible service and deployment options.
- microsandbox: Focuses on local microVMs managed through a CLI and SDKs, rather than a self-hosted service with single- or multi-node deployment.
- zeroboot: Uses copy-on-write Firecracker snapshot forks for fast code-execution sandboxes, while CubeSandbox offers broader service features including E2B compatibility and network controls.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| CubeSandbox | Go | Other | 12.8k | Not checked yet |
| Agent-Sandbox | Go | Apache-2.0 | 222 | Active |
| n8n-sandbox-service | Go | – | 33 | Active |
| microsandbox | Rust | Apache-2.0 | 8.8k | Active |
| zeroboot | Rust | Apache-2.0 | 2.5k | Quiet |
Considerations
- Deployment requires Linux and KVM; the README identifies x86_64 Linux as the quick-start requirement, with ARM64 support also described.
- Running a sandbox service involves operating compute nodes and control-plane components, so it is intended for infrastructure teams rather than as a drop-in local library.
- Kubernetes deployment is identified as preview in the README. Some cross-node snapshot workflows are also described as preview.
- The input metadata reports the license as
NOASSERTION, while the README states Apache License 2.0. Verify the repository's license files and terms before adoption.
Found this useful?
Share it with someone who would like CubeSandbox.