Example code and guides for building with E2B SDK.
Read more about E2B on the E2B website and the official E2B documentation.
Hello World guide
Open-source apps
- E2B AI Analyst - analyze your data & create interactive charts
- E2B Fragments - prompt different LLMS to generate apps with UI
- E2B Surf - computer use AI agent powered by OpenAI
LLM providers
Provider | Model(s) | Example | Python | TypeScript |
---|---|---|---|---|
OpenAI | o1, o3-mini | Data analysis and visualization of a CSV | Python | TypeScript |
GPT-4o | Code interpreter and reasoning on image data | Python | TypeScript | |
o1, o3-mini, GPT-4 | Code interpreter for ML on dataset | Python | TypeScript | |
Anthropic | Claude 3 Opus | Code interpreter | Python | TypeScript |
Mistral | Codestral | Code interpreter | Python | TypeScript |
Groq | Llama 3 | Code interpreter via function calling | Python | - |
Fireworks AI | Qwen2.5-Coder-32B-Instruct | Code interpreter | Python | - |
Llama 3.1 405B, 70B, 8B | Code interpreter | Python | - | |
Together AI | Llama 3.1, Qwen 2, Code Llama, DeepSeek Coder | Code interpreter | Python | TypeScript |
WatsonX AI | IBM Graphite, Llama, Mistral | Code interpreter | Python | TypeScript |
AI frameworks integrations
Framework | Description | Python | TypeScript |
---|---|---|---|
🦜⛓️ LangChain | LangChain with Code Interpreter | Python | - |
🦜🕸️ LangGraph | LangGraph with code interpreter | Python | - |
Autogen | Autogen with secure sandboxed for code interpreting | Python | - |
▲ Vercel AI SDK | Next.js + AI SDK + Code Interpreter | - | TypeScript |
AgentKit | AgentKit Coding Agent | - | TypeScript |
Example use cases
- Upload dataset and analyze it with Llama 3 - Python
- Scrape Airbnb and analyze data with Claude 3 Opus and Firecrawl - TypeScript
- Visualize website topics with Claude 3.5 Sonnet and Firecrawl - Python
- Next.js app with LLM + Code Interpreter and streaming - TypeScript
- How to run a Docker container in E2B - Python/TypeScript