E2B
Secure cloud sandboxes for running agent-generated code.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code, running code safely
Use cases
About E2B
E2B is listed in our sandboxes & code execution category and is aimed at builders. Secure cloud sandboxes for running agent-generated code. Pricing, as the maker states it: Open source + paid cloud. Maturity: Mature. We last checked the official link on 2026-10-14.
What is E2B?
E2B is open-source infrastructure for running AI-generated code in secure, isolated cloud sandboxes.
You start and control sandboxes with its JavaScript or Python SDK, using an API key.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: e2b.dev.
Who is E2B for?
Developers whose agents need to run generated code safely.
E2B at a glance
- Open source: Yes (Apache License 2.0)
- GitHub: e2b-dev/E2B · 14,484 stars (as of Oct 21, 2026)
Key features
- Isolated cloud sandboxes
- JavaScript and Python SDKs
- Code execution for agents
E2B pricing
- Hobby: Free · $100 one-time usage credit, sessions up to 1 hour
- Pro: $150/mo · plus usage
- Enterprise: $3,000/mo minimum
Sandbox compute is billed per second (from $0.000014/s per vCPU).
Source: official pricing page, checked Oct 18, 2026. Prices change; check the source before buying.
E2B FAQ
What is E2B?
E2B is open-source infrastructure for running AI-generated code in secure, isolated cloud sandboxes.
Who is E2B for?
Developers whose agents need to run generated code safely.
Is E2B free?
Yes. E2B has a free option (Hobby), according to its pricing page (checked Oct 18, 2026).
How much does E2B cost?
As of Oct 18, 2026, E2B's official pricing page lists: Hobby: Free; Pro: $150/mo; Enterprise: $3,000/mo minimum. Sandbox compute is billed per second (from $0.000014/s per vCPU).
Is E2B open source?
Yes. E2B is released under the Apache License 2.0, according to its GitHub repository.
What are alternatives to E2B?
Similar tools include OpenSandbox, Zeroboot, Cloudflare Sandbox SDK, Modal, Tensorlake and agentOS.
Compare
E2B ratings and reviews
Be the first to rate E2B: tap 1 to 5 stars below. A written review is optional.
E2B alternatives
Other sandboxes & code execution tools in our directory. See all sandboxes & code execution tools →
OpenSandbox
Secure, fast sandbox runtime for AI agents to run code.
Zeroboot
VM sandboxes for running agent code that start in under a millisecond by forking a warm snapshot with copy-on-write memory.
Cloudflare Sandbox SDK
SDK for running isolated code sandboxes on Cloudflare's network, so agents can execute commands and files safely from a Worker.
Modal
Serverless compute and sandboxes for AI workloads.
Tensorlake
Serverless runtime that gives agents MicroVM sandboxes and durable orchestration for long-running background jobs.
agentOS
A lightweight operating system for agents from Rivet that runs coding agents and their tools inside fast WebAssembly sandboxes with a file system, processes and networking, so you can spin up thousands cheaply.
Related lists
🧭 Task guides: Sandboxes and secure execution tools for coding agents
Badge for makers
Built E2B? Add this badge to your README or site. It links back to this page. About badges