Tencent Cloud open-sources Cube Sandbox, an AI-agent sandbox written in Rust under Apache 2.0

X AI KOLs Timeline Tools

Summary

Tencent Cloud’s Rust-based Cube Sandbox offers an E2B-compatible, isolated runtime for LLM-generated code.

Tencent Cloud has open-sourced Cube Sandbox, an AI-agent sandbox written in Rust and licensed under Apache 2.0. Agents that execute model-generated code need an isolated environment to prevent accidental file deletion or unauthorized host access. The de-facto API standard for such services is E2B, used by OpenAI Agents SDK, Manus, Perplexity, and Hugging Face. Cube is fully compatible with E2B, so agents already integrated with E2B can switch seamlessly.
Original Article
View Cached Full Text

Cached at: 04/21/26, 07:25 PM

Tencent Cloud open-sourced Cube Sandbox, an AI Agent sandbox written in Rust under the Apache 2.0 license.
Running model-generated code inside an Agent demands an isolated environment to prevent accidental file deletion or unauthorized host access. The de-facto API standard for this kind of service is E2B, already adopted by OpenAI Agents SDK, Manus, Perplexity, and Hugging Face.
Cube is fully compatible with E2B, so any Agent previously connected to E2B can switch to Cube without changing a line of code.

Similar Articles

TencentCloud/CubeSandbox

GitHub Trending (daily)

TencentCloud's CubeSandbox is an open-source, high-performance secure sandbox service for AI agents, built on RustVMM and KVM, offering hardware-level isolation, sub-60ms startup, and compatibility with the E2B SDK.

@nash_su: Last night I was chatting with @i5ting about how a sandbox is an indispensable part of any agent, and today Tencent open-sourced Cube Sandbox: 1. Blazing-fast boot (<60 ms) thanks to snapshot cloning and warm resource pools 2. Hardware-grade security via KVM micro-VMs + eBPF network isolation, battle-tested on Tencent Cloud 3. Ultra-high density—runs in <5 MB RAM, thousands per node 4. E2B-compatible

X AI KOLs Timeline

Tencent open-sources Cube Sandbox, a KVM-based micro-VM for agents that boots in <60 ms, runs in <5 MB RAM, and is E2B-compatible.

@seclink: Recently this open-source tool has been quite popular. It looks like an open-source version of DingTalk Wukong and ByteDance Aily. You can use it to implement your own agent and integrate it into the aforementioned instant messaging platforms. Some guys tweaked it and used it to demo to investors, obtaining a considerable valuation. What makes investors remember...

X AI KOLs Following

CowAgent is an open-source AI assistant framework based on large language models. It supports autonomous task planning, long-term memory, knowledge base, multi-model switching, and multi-channel access (WeChat, Feishu, DingTalk, etc.), enabling rapid construction and deployment of personalized AI agents.