Key Features
Instant Sandboxes
Spin up isolated Linux environments in ~150ms. Each sandbox runs in its own microVM.
Code Interpreter SDK
Execute Python, JavaScript, R, Java, and more with output capture:
result = sandbox.run_code("""
import matplotlib.pyplot as plt
plt.plot([1,2,3], [4,5,6])
plt.savefig('chart.png')
""")
# result.artifacts contains the chart imageFilesystem & Networking
Full Linux filesystem, install packages, make HTTP requests, run servers inside the sandbox.
Custom Templates
Pre-configure sandboxes with specific languages, packages, and tools.
Security
Isolated microVMs — no access to host system. Auto-terminate after timeout.
FAQ
Q: What is E2B? A: Secure cloud sandboxes for AI code execution. Isolated Linux environments that spin up in 150ms. Used for AI chatbots, coding agents, and data analysis. 11.5K+ stars.
Q: Is E2B free? A: Free tier with 100 sandbox hours/month. Open-source self-hosting available.