TencentCloud /CubeSandbox

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

★ 13,147⑂ 1,197👁 56▤ 55
GoCreated 2026-04-10cubesandbox.com
+0
Daily
+0
Weekly
+251
Monthly
13,147
stars
1,197
forks
56
watchers
–
prs
–
issues
55
releases

README

CubeSandbox


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



  



  
  
  
  
  
  



  
  
  
  





  中文文档 ·
  Quick Start ·
  Documentation ·
  Changelog ·
  X(Twitter) ·
  Top Contributor Program ·
  Submit Use Case


---

Cube Sandbox is a high-performance, out-of-the-box secure sandbox service built on RustVMM and KVM. It supports both single-node deployment and easy scaling to multi-node clusters. It is compatible with the E2B SDK and can create a hardware-isolated, fully serviceable sandbox in under 60ms with less than 5MB of memory overhead.



  
  


 📰 News


  
    
      
        
      
    
    
      v0.7: Cross-node pause/resume, control plane & ops separation, faster sandbox networking
      Cross-node pause/resume — with an S3 backend, suspend a sandbox on one node and resume it on another, or create sandboxes from snapshots (preview)
      Control plane & operations separation — node management moves into CubeOps with multi-replica deployment and the new cubeopscli
      Changelog →
    
  
  
    
      
        
      
    
    
      v0.6: K8s deploy, Volume framework, template aliases
      K8s deploy — Deploy Cube control-plane components and compute nodes on Kubernetes
      Volume framework — E2B-compatible Volume framework that lets users plug in custom backend storage
      Template aliases — Set an alias when creating a template, and create sandboxes by specifying that alias.
      Changelog → ·
      K8s deploy → ·
      Volume plugin →
    
  
  
    
      
        
      
    
    
      v0.5: AutoPause, Terraform deployer, ARM64 & network policy hardening
      AutoPause/AutoResume — idle sandboxes auto-suspend and wake on the next request. Terraform one-click cluster deploy ARM64 native full-stack support network policy hardening — per-sandbox traffic tokens, policy-routing egress.
      Changelog → ·
      Terraform deploy →
    
  
  
    
      
        
      
    
    
      v0.4: Safer egress, easier ops
      Credential vault — Agents call external APIs as usual; keys never enter the sandbox. Dashboard — version matrix and template health checks; see at a glance whether templates need rebuilding after upgrades.
      Changelog → ·
      Security proxy guide → ·
      WebUI guide →
    
  
  
    
      
        
      
    
    
      Snapshot, Clone & Rollback at hundred-millisecond granularity
      CubeSandbox 0.3.0 introduces the CubeCoW Copy-on-Write snapshot engine, enabling event-level snapshots, instant cloning, and rollback to any saved state.
      Changelog →
    
  
  
    
      
        
      
    
    
      🎉 Initial open-source release
      Cube Sandbox is now open source! Millisecond boot, hardware-level isolation, E2B-compatible sandbox for AI Agents.
      Changelog →
    
  


 Product Highlights


  
    
      ⚡ Ultra-fast Startup
      Resource pooling and snapshot cloning skip all cold-start overhead. Average <60ms cold start

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON