E2B
Code execution sandbox for AI agents
🤖 Agent-friendly
Pricing
freemiumCategory
ExecutionAPI Available
✓ YesOpen Source
✓ YesDescription
为 AI Agent 提供安全的代码执行沙箱。Agent 可以运行 Python/JS 代码、操作文件、调用命令行,完全隔离,按秒计费。
💰 免费 100 小时/月沙箱时间
🤖 Quick Start for Agents
# Get tool info via AgentDex API
curl https://www.agentdex.top/api/tools/e2b# Execute Python code in sandbox
from e2b_code_interpreter import Sandbox
with Sandbox() as sandbox:
execution = sandbox.run_code("print('Hello!')")
print(execution.stdout)📚 Docs: https://github.com/e2b-dev/e2b
# Get this tool via AgentDex API
curl https://www.agentdex.top/api/tools/e2b