Configs2026年5月25日·1 分钟阅读

CubeSandbox — Lightweight AI Agent Sandbox by Tencent

An instant, concurrent, and secure sandbox runtime for AI agents developed by Tencent Cloud. CubeSandbox provides lightweight container-based isolation for agent code execution with fast startup times.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
CubeSandbox Overview
直接安装命令
npx -y tokrepo@latest install 10c25319-57f2-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

CubeSandbox is an open-source sandbox runtime from Tencent Cloud designed for AI agent code execution. It provides instant-start, concurrent sandboxes where agents can safely run code, install packages, and interact with file systems without affecting the host environment.

What CubeSandbox Does

  • Creates lightweight sandboxed environments for AI agent code execution
  • Starts new sandbox instances in milliseconds for low-latency agent workflows
  • Supports concurrent sandbox sessions for parallel agent operations
  • Provides file system, network, and process isolation per sandbox
  • Exposes an HTTP API for programmatic sandbox management

Architecture Overview

CubeSandbox is built in Rust and uses lightweight container primitives for isolation. Each sandbox is a minimal environment with its own file system overlay and process namespace. The HTTP API allows creating, managing, and destroying sandboxes programmatically. A resource manager handles concurrent sandbox allocation and enforces limits on CPU, memory, and disk usage per instance.

Self-Hosting & Configuration

  • Build from source with the Rust toolchain on Linux
  • Start the sandbox server with a single command specifying the listen port
  • Configure resource limits per sandbox in the server configuration
  • Set up pre-built sandbox images with common runtimes (Python, Node.js, etc.)
  • Integrate with AI agents via the HTTP API for sandbox lifecycle management

Key Features

  • Millisecond sandbox startup for responsive agent workflows
  • Concurrent sandbox support for parallel code execution
  • Built in Rust for safety and performance
  • HTTP API for easy integration with any AI agent framework
  • Developed and backed by Tencent Cloud

Comparison with Similar Tools

  • E2B — cloud-hosted sandbox service; CubeSandbox runs on your own infrastructure
  • OpenShell (NVIDIA) — focuses on shell command isolation; CubeSandbox provides full sandbox environments
  • Docker — general container runtime; CubeSandbox is optimized for fast, ephemeral agent sandboxes
  • Daytona — cloud dev environments; CubeSandbox targets short-lived agent execution contexts

FAQ

Q: How fast do sandboxes start? A: Sandbox instances start in single-digit milliseconds using pre-prepared filesystem overlays.

Q: What programming languages can run inside a sandbox? A: Any language available in the sandbox image. Pre-built images include Python, Node.js, and shell environments.

Q: Can sandboxes access the internet? A: Network access is configurable per sandbox. It can be fully blocked, restricted to specific hosts, or open.

Q: Is it production-ready? A: CubeSandbox is under active development by Tencent Cloud. Check the repository for current stability status and known issues.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产