CubeSandbox 是 AI Skill Hub 本期精选Agent工作流之一。已获得 5.9k 颗 GitHub Star,综合评分 8.5 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
CubeSandbox 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
CubeSandbox 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:cargo install(推荐) cargo install cubesandbox # 方式二:从源码编译 git clone https://github.com/TencentCloud/CubeSandbox cd CubeSandbox cargo build --release # 二进制在 ./target/release/cubesandbox
# 查看帮助 cubesandbox --help # 基本运行 cubesandbox [options] <input> # 详细使用说明请查阅文档 # https://github.com/TencentCloud/CubeSandbox
# cubesandbox 配置说明 # 查看配置选项 cubesandbox --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export CUBESANDBOX_CONFIG="/path/to/config.yml"
<p align="center"> <img src="docs/assets/cube-sandbox-logo.png" alt="Cube Sandbox Logo" width="140" /> </p>
<p align="center"> <strong>Instant, Concurrent, Secure & Lightweight Sandbox Service for AI Agents</strong> </p>
<p align="center"> <a href="https://trendshift.io/repositories/26338?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-26338" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/26338" alt="TencentCloud/CubeSandbox | Trendshift" width="250" height="55" /></a> </p>
<p align="center"> <a href="https://github.com/tencentcloud/CubeSandbox/stargazers"><img src="https://img.shields.io/github/stars/tencentcloud/cubesandbox?style=social" alt="GitHub Stars" /></a> <a href="https://github.com/tencentcloud/CubeSandbox/issues"><img src="https://img.shields.io/github/issues/tencentcloud/cubesandbox" alt="GitHub Issues" /></a> <a href="./LICENSE"><img src="https://img.shields.io/badge/License-Apache_2.0-green" alt="Apache 2.0 License" /></a> <a href="./CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen" alt="PRs Welcome" /></a> <a href="https://pypi.org/project/cubesandbox/"><img src="https://img.shields.io/pypi/v/cubesandbox?color=blue" alt="PyPI Version" /></a> <a href="https://landscape.cncf.io/?landscape=observability-and-analysis&group=ai-native&item=ai-native-infra--workload-runtime--cubesandbox"><img src="https://img.shields.io/badge/CNCF-Landscape-0C66E4" alt="CNCF Landscape" /></a> </p>
<p align="center"> <img src="https://img.shields.io/badge/⚡_Startup-Tens_of_ms-blue" alt="Fast startup" /> <img src="https://img.shields.io/badge/🔒_Isolation-Hardware_Level-critical" alt="Hardware-level isolation" /> <img src="https://img.shields.io/badge/🔌_API-E2B_Compatible-blueviolet" alt="E2B compatible" /> <img src="https://img.shields.io/badge/📦_Deploy-High_Concurrency·High_Density-orange" alt="High concurrency & high density" /> </p>
<p align="center"> <a href="./README_zh.md"><strong>中文文档</strong></a> · <a href="./docs/guide/quickstart.md"><strong>Quick Start</strong></a> · <a href="./docs/index.md"><strong>Documentation</strong></a> · <a href="./docs/changelog/index.md"><strong>Changelog</strong></a> · <a href="https://x.com/CubeSandbox_AI"><strong>X(Twitter)</strong></a> · <a href="https://github.com/TencentCloud/CubeSandbox/issues/1040"><strong>Top Contributor Program</strong></a> · <a href="https://forms.gle/Wjy53fksUoc3y4388"><strong>Submit Use Case</strong></a> </p>
---
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.
<p align="center"> <img src="./docs/assets/readme_speed_en_1.png" width="400" /> <img src="./docs/assets/readme_overhead_en_1.png" width="400" /> </p>
|
⚡ Ultra-fast Startup Resource pooling and snapshot cloning skip all cold-start overhead. Average <60ms cold start — sandbox creation faster than a blink. Quick start → |
🔒 Hardware Isolation Every sandbox runs a dedicated OS kernel in its own MicroVM. Architecture → |
🔌 E2B SDK Compatible Compatible with E2B SDK interface. Switch from E2B Cloud seamlessly by changing one environment variable — zero client code changes. Examples → |
|
📦 High-density Deployment <5MB overhead per sandbox enables thousands of instances per server via kernel sharing and Copy-on-Write (CoW). Supports automatic sandbox pause and resume, further improving deployment density and cost optimization. Quick start → |
🛡️ Network Security eBPF-based inter-sandbox isolation and egress filtering at kernel level; built-in L7 security proxy enables per-domain/path/method policies with automatic credential injection — secrets never visible to sandbox code. Security proxy guide → |
📸 Flexible State Management High-frequency snapshot and rollback at hundred-millisecond granularity. Create checkpoints on running sandboxes, roll back to any saved state at any time, or fork from a specific state to explore in parallel. v0.3 changelog → |
|
💾 Volume Framework E2B-compatible Volume framework that lets users plug in custom backend storage solutions. Volumes have an independent lifecycle and can be shared across sandboxes. Volume plugin → |
🚀 Production Deployment Deploy production clusters on Tencent Cloud with one click using Terraform. Also supports deployment on standard Kubernetes clusters (preview). Terraform deploy → · K8s deploy → |
💪 ARM Architecture Support Full native ARM64 support across compilation, build, and deployment workflows. Bare-metal deploy → |
<p align="center"> <img src="docs/assets/webui-demo.gif" alt="WebUI console walkthrough" width="720" /> </p>
<p align="center"> <em>🖥️ Visual management — from overview to creating a sandbox and streaming logs, all in your browser.</em> </p>
After one-click deployment, open in your browser:
http://<control-node IP>:12088
Recommended three steps:
READY template under TemplatesREADY template, and view live logs on the detail page within secondsSee the full WebUI console guide.
</br>
<p align="center"> <img src="docs/assets/fast-start.gif" alt="Cube Sandbox fast start walkthrough" width="720" /> </p>
<p align="center"> <em>⚡ Millisecond-level startup — watch the fast-start flow above.</em> </p>
Cube Sandbox requires an x86_64 Linux environment with KVM support.
The guide walks you through everything in four steps — provisioning a server, installing Cube Sandbox, creating a sandbox template, and running your first agent code. No source build needed, up and running in minutes.
<p align="center"> <b>Choose your deployment path:</b> </p>
|
🖥 PVM · Cloud VM →
🏆 Recommended |
🏗 Bare Metal → |
💻 Dev-Env →
⚠️ Not recommended — poor performance |
| Installation & Demo | Performance Test | RL (SWE-Bench) | Snapshot · Clone · Rollback |
高性能、安全的AI沙盒解决方案
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,CubeSandbox 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | CubeSandbox |
| 原始描述 | 开源AI工作流:Instant, Concurrent, Secure & Lightweight Sandbox for AI Agents.。⭐5.9k · Rust |
| Topics | AI沙盒Rust工作流 |
| GitHub | https://github.com/TencentCloud/CubeSandbox |
| License | NOASSERTION |
| 语言 | Rust |
收录时间:2026-05-25 · 更新时间:2026-05-30 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端