- CollectionCode Execution
- Classificationagent-native
- MCPAvailable
- Agent SkillAvailable
- InterfacesAgent Skill · MCP · REST · SDK · API
What it does
E2B provides secure, isolated Linux cloud sandboxes that AI agents can spin up in ~150ms to execute generated code. Each agent session gets its own sandbox with a full Linux filesystem, internet connectivity, and stateful execution contexts. Agents can run Python, JavaScript, shell commands, and more — with stdout, stderr, charts, and files streamed back in real time.
Agent-facing interfaces
- Catalog protocols: Agent Skill, MCP, REST, SDK, API
- MCP: ✅ Available — and uniquely, E2B runs MCP servers inside sandboxes
- Agent Skill: ✅ Official and community skills available via ClawHub and LobeHub
- Onboarding type:
sdk
Protocol surface
| Interface | Detail |
|---|---|
| Python SDK | from e2b_code_interpreter import Sandbox |
| TypeScript SDK | import { Sandbox } from "@e2b/code-interpreter" |
| REST API | Sandbox lifecycle management and code execution |
| LangChain | Native tool integration |
| AutoGen | Compatible with AutoGen’s code execution model |
| CrewAI | Compatible with CrewAI tool definitions |