✴️ 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
- E2B AI Analyst - analyze your data & create interactive charts
- E2B Fragments - prompt different LLMS to generate apps with UI
Hello World guide
- TypeScript
- Python
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
- Python
- JavaScript/TypeScript
- Llama 3.1 405B, 70B or 8B with code interpreter & Fireworks
- Python
- Llama 3 with code interpreter
- Python
- JavaScript/TypeScript
- Llama 3.1 405B, 70B or 8B with code interpreter & Together AI
- OpenAI
- o1 with data analysis and visualization of a csv file
- Python
- JavaScript/TypeScript
- GPT-4o with code interpreter and reasoning on image data
- Python
- JavaScript/TypeScript
- o1 and GPT-4 with code interpreter performing machine learning on dataset
- Python
- JavaScript/TypeScript
- o1 with data analysis and visualization of a csv file
- Anthropic
- Claude 3 Opus with code interpreter
- Python
- JavaScript/TypeScript
- Anthropic’s Artifacts UI with AI Code Execution - JavaScript/TypeScript
- Anthropic models with Firecrawl
- Visualize website topics - Python
- Scrape Airbnb and analyze data - JavaScript/TypeScript
- Claude 3 Opus with code interpreter
- Mistral
- Codestral with code interpreter
- Python
- JavaScript/TypeScript
- Codestral with code interpreter
- Groq
- Llama 3 hosted on Groq + function calling + E2B Code interpreter
- Python
- Llama 3 hosted on Groq + function calling + E2B Code interpreter
- Fireworks AI
- Firefunction-v2 with code interpreter - Python
- 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)
- Python
- JavaScript/TypeScript
- 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)
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
- Vercel AI SDK’s Next.js + AI SDK + Code Interpreter - JavaScript/TypeScript
- Anthropic’s Artifacts UI with Vercel AI SDK - JavaScript/TypeScript
E2B Cookbook
Project Details
- lawrenciumLr103/e2b-cookbook
- Last Updated: 1/29/2025
Recomended MCP Servers
An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL)...
A MCP Server used to collect MCP Servers over the internet.
MCP Server for AI Summarization
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support,...
An MCP server that provides safe access to your iMessage database through Model Context Protocol (MCP). This server...
MCP Server for Cutter
ClickUp MCP Server - Integrate ClickUp task management with AI through Model Context Protocol





