Nov 7, 2023
Code Interpreter Sandbox
We are E2B. We provide sandboxed cloud environments for AI-powered apps and agentic workflows. Try our Sandbox Runtime for LLMs.
We are open-source, so please check out our GitHub, and support us with a star. ✴️
LLM Sandboxes are cloud environments, general-purpose machines powered by Ubuntu. Sandboxes are an ideal fit for AI assistants like coding copilots, code interpreters, AI data analysts, AI browser assistants, and other AI-powered apps.
Read more about it here.
Features of the E2B Sandbox. Source
E2B Custom Sandboxes
While OpenAI announced major updates, E2B silently launched Custom Sandboxes today.
Follow our guide on how to create your own Custom Sandbox.
You can create your own Custom Sandboxes for different purposes, from data analysis through AI internet browsing to very popular code execution. You can use Template Files for building the Custom Sandboxes.
The Code Interpreter Sandbox is just one of the Custom Sandboxes, and it may seem similar to what was released by OpenAI at the DevDay conference.
How is the OpenAI Code Interpreter different from the E2B Code Interpreter Sandbox?
This is the question we have been asked a lot. The differences include:
1) The E2B Code Interpreter Sandbox is just a sandbox - without any LLM "connected" to it. Our Sandbox can be controlled with SDK (
create_file, etc) and gives you the freedom to connect it to (any) LLM.
On the other hand, you control the OpenAI Code Interpreter by talking to an AI assistant.
2) While the OpenAI CI API is a good fit if you want something working right out of the box, E2B Sandbox comes in handy if you want more granular control over what's and when is happening. We give you complete environment customization.
3) E2B is (partly) open-source and we are going full open-source soon.