# TencentCloud/CubeSandbox

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

Repository: https://github.com/TencentCloud/CubeSandbox
Canonical: https://ross.abutalabs.com/products/cubesandbox
Homepage: https://cubesandbox.com
Language: Go
License: NOASSERTION
License Family: other
Topics: agents, container, sandbox
Last push: 2026-08-26T14:33:48+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 98, longevity 10
- inputs: {"age_days": 145, "days_push": 7, "days_rel": 13, "gap_med": 8, "n_releases_24m": 14}
- flags: young, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11354, forks 1064 (observed 2026-08-28T04:10:46.822208+00:00)

## What it is
CubeSandbox is a high-performance sandbox service for AI agents built on RustVMM and KVM, creating hardware-isolated MicroVM sandboxes in under 60ms with ~5MB memory overhead. It is E2B SDK-compatible, supports snapshots/rollback, eBPF-based network isolation, and scales from single nodes to multi-node clusters.

## Use cases
- run untrusted AI agent code in isolated sandboxes
- self-host an E2B-compatible code execution sandbox
- give LLM agents a secure environment to execute Python
- spin up thousands of lightweight microVMs per server
- snapshot and roll back agent execution state
- deploy a sandbox cluster for AI workloads
- replace E2B Cloud with a self-hosted alternative

## When to choose
- you need hardware-level isolation for AI agent code execution
- you want E2B compatibility without cloud dependency
- you need very fast sandbox startup and high-density deployment
- you require snapshot, rollback, or forking of running sandboxes

## When to avoid
- you only need simple process-level isolation without kernel separation
- you cannot run on Linux hosts with KVM access
- you need a fully managed cloud service without self-hosting
- your host lacks glibc >= 2.31 or XFS support

## Facets
- artifact type: service
- maturity: active
- function: security, container-runtime, microservices, deployment, agent-framework, networking
- domain: security, cloud-computing, infrastructure-as-code, self-hosted, developer-tools
- platform: go, rust, self-hosted, cloud
- tags: microvm, sandbox, firecracker-alternative, e2b-compatible, kvm, rustvmm, ai-agent-infrastructure, snapshot-rollback, ebpf, code-execution, ai-agents, linux, docker, kubernetes, gpu

## Member repositories
- TencentCloud/CubeSandbox (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.822208+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:15:42.508075+00:00, confidence not recorded.
  - readme: https://github.com/TencentCloud/CubeSandbox (fetched 2026-08-28T04:10:46.822208+00:00, sha 9a0ee7190ec6)
  - homepage: https://cubesandbox.com (fetched 2026-08-29T08:14:31.622121+00:00, sha d0f9c52765ec)
  - site_page: https://cubesandbox.com/about-us.html (fetched 2026-08-29T08:14:31.627588+00:00, sha 57e3725fc961)
  - site_page: https://cubesandbox.com/guide/quickstart.html (fetched 2026-08-29T08:14:31.630095+00:00, sha 01ee2fdcf9fd)
  - site_page: https://cubesandbox.com/changelog (fetched 2026-08-29T08:14:31.624906+00:00, sha 97be3529b233)
- Data as of 2026-08-30T08:39:29.467469+00:00.
