✴️ E2B Cookbook
Example code and guides for building with E2B SDK.
Read more about E2B on the E2B website and the official E2B documentation.
Examples
Open-source apps
Hello World guide
Example use cases
- Anthropic’s Artifacts UI with AI Code Execution - JavaScript/TypeScript
- Upload dataset and analyze it with Llama 3 - Python
- Scrape Airbnb and analyze data with Claude 3 Opus and Firecrawl - JavaScript/TypeScript
- Visualize website topics with Claude 3.5 Sonnet and Firecrawl - Python
LLM providers
- 🦙 Meta
- Llama 3.1 405B, 70B or 8B with code interpreter & Together AI
- Llama 3.1 405B, 70B or 8B with code interpreter & Fireworks
- Llama 3 with code interpreter
- OpenAI
- o1 (or o3-mini) with data analysis and visualization of a csv file
- GPT-4o with code interpreter and reasoning on image data
- o1 (or o3-mini) and GPT-4 with code interpreter performing machine learning on dataset
- Anthropic
- Claude 3 Opus with code interpreter
- Anthropic’s Artifacts UI with AI Code Execution - JavaScript/TypeScript
- Anthropic models with Firecrawl
- Mistral
- Codestral with code interpreter
- Groq
- Llama 3 hosted on Groq + function calling + E2B Code interpreter
- Fireworks AI
- Qwen2.5-Coder-32B-Instruct with code interpreter - Python
- Together AI
- Code interpreter usable with Meta Llama 3.1 Instruct Turbo (8B or 70B or 405B), Qwen 2 Instruct (72B), Code Llama Instruct (70B), or DeepSeek Coder Instruct (33B)
- WatsonX AI
- Code interpreter usable with IBM Graphite, Llama or Mistral
AI frameworks integrations
-
🦜⛓️ LangChain
- LangChain with Code Interpreter - Python
-
🦜🕸️ LangGraph
- LangGraph with code interpreter - Python
-
Autogen
- Autogen with secure sandboxed for code interpreting - Python
-
▲ Vercel AI SDK