What is E2B?
E2B provides isolated sandboxes that let agents safely execute code, process data, and run tools. Our SDKs make it easy to start and manage these environments.E2B Building Blocks
A quick overview of the core building blocks youβll interact with when using E2B.- Sandbox β A fast, secure Linux VM created on demand for your agent
- Template β Defines what environment a sandbox starts with
How to use the docs
The documentation is split into three main sections:- Quickstart β Step-by-step tutorials that walk you through spinning up your first E2B sandboxes.
- Examples β In-depth tutorials focused on specific use cases. Pick the topics that match what youβre building.
- API/SDK Reference β A complete technical reference for every feature, component, and configuration option.
π Quickstart.
Running your first Sandbox
Learn how to start your first E2B Sandbox with our Python or JavaScript SDK.
Build your first template
Create a custom Sandbox template with pre-installed packages and dependencies.
Uploading & downloading files
A quick guide on how to upload and download files to and from the Sandbox.
Connecting LLMs to E2B
Connect your favorite LLM to E2B to run AI-generated code inside the Sandbox.
π§ Examples
AI Data Analysis & Visualization
Run data analysis and generate visualizations with AI in secure sandboxes.
Coding Agents
Build autonomous coding agents that write, test, and deploy code safely.
Vibe Coding
Create interactive coding experiences with real-time execution environments.
Reinforcement Learning
Train and test RL models in isolated, reproducible sandbox environments.
Computer Use
Enable AI models to interact with computers and execute tasks autonomously.