Awesome
β΄οΈ E2B Cookbook
Example code and guides for building with E2B's Code Interpreter SDK.
Examples
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
- GPT-4o with code interpreter and reasoning on image data
- o1 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
- Visualize website topics - Python
- Scrape Airbnb and analyze data - JavaScript/TypeScript
- Mistral
- Codestral with code interpreter
- Fireworks AI
- Firefunction-v2 with code interpreter
- 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)
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
-
magentic
- Code Interpreter with magentic and GPT-4o - Python
Getting started with E2B
1. Get API key
Sign up and get your E2B API key.
2. Install code interpreter SDK
We have built a dedicated SDK for adding code interpreting to your AI apps.
3. Check out Hello World example
Check out the TypeScript and Python hello world examples.
4. Explore documentation
Visit our docs at e2b.dev/docs.