E2B icon

E2B

AI Infrastructure

Open-source, secure AI sandboxes for running code, building agents, and executing LLM-generated workflows in isolated environments.

At a Glance

Pricing

Free tier available

Free tier with one-time $100 of usage credits

Pro: $150/mo
Ultimate Enterprise: Custom/contact

Engagement

Available On

Linux
Web
API
SDK

About E2B

E2B provides open-source, secure cloud sandboxes designed for AI agents, LLM training, and Model Context Protocol (MCP) integrations. The platform enables developers to execute AI-generated code in isolated environments powered by Firecracker microVMs, ensuring enterprise-grade security for untrusted workflows. E2B sandboxes support deep research agents, coding agents, data analysis, reinforcement learning, and computer use scenarios, with sessions lasting up to 24 hours.

  • Secure Isolated Execution - Each sandbox runs in a Firecracker microVM, providing full isolation for safely executing untrusted AI-generated code without risking your infrastructure.
  • LLM-Agnostic Compatibility - Works seamlessly with OpenAI, Anthropic Claude, Mistral, Llama, and custom models, allowing integration with any AI provider or framework.
  • Sub-200ms Cold Starts - Sandboxes in the same region as the client start in less than 200 milliseconds, eliminating cold start delays for responsive agent workflows.
  • Multi-Language Support - Execute Python, JavaScript, Ruby, C++, and any code that runs on Linux, with support for popular frameworks and custom libraries.
  • Custom Sandbox Templates - Create customized environments by installing packages, system libraries, or building templates tailored to specific use cases.
  • Extended Session Duration - Run sandboxes for seconds or up to 24 hours on Pro plans, supporting long-running research and automation tasks.
  • Real-World Tool Access - Agents can use terminals, browsers, file systems, and internet access within sandboxes to complete complex tasks.
  • Flexible Deployment Options - Deploy on E2B cloud, bring your own cloud (AWS, GCP, Azure), on-premises, or self-hosted configurations.

To get started, install the SDK via npm (@e2b/code-interpreter) or pip (e2b-code-interpreter), create a sandbox instance, and execute code with just a few lines. The platform integrates with LangChain, LlamaIndex, Vercel AI SDK, and other popular AI frameworks. E2B is trusted by Fortune 100 companies including Perplexity, Hugging Face, Groq, and Manus for production AI workloads.

Demo Video

E2B Demo Video
Watch on YouTube

Community Discussions

Be the first to start a conversation about E2B

Share your experience with E2B, ask questions, or help others learn from your insights.

Pricing

FREE

Free Plan Available

Free tier with one-time $100 of usage credits

  • One-time $100 of usage in credits
  • Community support
  • Up to 1-hour sandbox session length
  • Up to 20 concurrently running sandboxes
  • 10 GiB storage

Pro

Professional tier with extended capabilities plus usage costs

$150
per month
  • Everything in the Hobby tier
  • Customize your Sandbox CPU & RAM
  • Up to 24-hour sandbox session length
  • Up to 100 concurrently running sandboxes
  • 20 GiB storage

Ultimate Enterprise

Custom enterprise solution with special pricing

Custom
contact sales
  • Custom solution
  • Special pricing
  • Enterprise support
View official pricing

Capabilities

Key Features

  • Secure isolated sandbox execution
  • Firecracker microVM isolation
  • Sub-200ms cold starts
  • Up to 24-hour sandbox sessions
  • Multi-language code execution
  • Custom sandbox templates
  • Terminal and browser access
  • File system operations
  • Internet access within sandboxes
  • LLM-agnostic compatibility
  • Desktop sandbox for computer use
  • Reinforcement learning support
  • BYOC and on-premises deployment
  • Python and JavaScript SDKs

Integrations

OpenAI
Anthropic Claude
Mistral
Llama
LangChain
LlamaIndex
Vercel AI SDK
Groq
Together AI
Fireworks AI
IBM WatsonX
Autogen
LangGraph
Firecrawl
Next.js
API Available
View Docs