Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/e2b-dev/e2b-cookbook
Examples of using E2B
https://github.com/e2b-dev/e2b-cookbook
agent ai ai-agents code-interpreter cookbook devtools e2b example gpt gpt4 guides javascript llm openai python python3 sdk tutorial typescript
Last synced: 3 days ago
JSON representation
Examples of using E2B
- Host: GitHub
- URL: https://github.com/e2b-dev/e2b-cookbook
- Owner: e2b-dev
- Created: 2023-09-27T11:02:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-16T22:54:35.000Z (12 days ago)
- Last Synced: 2025-01-18T00:02:21.338Z (11 days ago)
- Topics: agent, ai, ai-agents, code-interpreter, cookbook, devtools, e2b, example, gpt, gpt4, guides, javascript, llm, openai, python, python3, sdk, tutorial, typescript
- Language: TypeScript
- Homepage: https://e2b.dev/docs
- Size: 137 MB
- Stars: 824
- Watchers: 11
- Forks: 137
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-ai-agents - E2B Cookbook
- awesome-ChatGPT-repositories - e2b-cookbook - Examples of using E2B (Tutorials)
- jimsghstars - e2b-dev/e2b-cookbook - Examples of using E2B (TypeScript)
README
# β΄οΈ E2B Cookbook
Example code and guides for building with [E2B SDK](https://github.com/e2b-dev/e2b).Read more about E2B on the [E2B website](https://e2b.dev) and the official [E2B documentation](https://e2b.dev/docs).
## Examples
**Open-source apps**
- [E2B AI Analyst](https://github.com/e2b-dev/ai-analyst) - analyze your data & create interactive charts
- [E2B Fragments](https://github.com/e2b-dev/fragments) - prompt different LLMS to generate apps with UI**Hello World guide**
- [TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/hello-world-js)
- [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/hello-world-python)**Example use cases**
- Anthropic's Artifacts UI with AI Code Execution - [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/anthropic-power-artifacts)
- Upload dataset and analyze it with Llama 3 - [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/upload-dataset-code-interpreter)
- Scrape Airbnb and analyze data with Claude 3 Opus and Firecrawl - [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/scrape-and-analyze-airbnb-data-with-firecrawl)
- Visualize website topics with Claude 3.5 Sonnet and Firecrawl - [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/claude-visualize-website-topics)**LLM providers**
- **π¦ Meta**
- Llama 3.1 405B, 70B or 8B with code interpreter & Together AI
- [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/together-ai-with-code-interpreting/together-ai-code-interpreter-python)
- [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/together-ai-with-code-interpreting/together-ai-code-interpreter-js)
- Llama 3.1 405B, 70B or 8B with code interpreter & Fireworks
- [Python](https://github.com/e2b-dev/e2b-cookbook/blob/fireworks/examples/fireworks-code-interpreter-python/llama_3.1_code_interpreter.ipynb)
- Llama 3 with code interpreter
- [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/llama-3-code-interpreter-python)
- [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/llama-3-code-interpreter-js)
- **OpenAI**
- o1 with data analysis and visualization of a csv file
- [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/o1-python)
- [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/o1-js)
- GPT-4o with code interpreter and reasoning on image data
- [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/gpt-4o-python)
- [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/gpt-4o-js)
- o1 and GPT-4 with code interpreter performing machine learning on dataset
- [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/o1-and-gpt-4-python)
- [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/o1-and-gpt-4-js)
- **Anthropic**
- Claude 3 Opus with code interpreter
- [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/claude-code-interpreter-python)
- [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/claude-code-interpreter-js)
- Anthropic's Artifacts UI with AI Code Execution - [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/anthropic-power-artifacts)
- Anthropic models with Firecrawl
- Visualize website topics - [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/claude-visualize-website-topics)
- Scrape Airbnb and analyze data - [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/scrape-and-analyze-airbnb-data-with-firecrawl)
- **Mistral**
- Codestral with code interpreter
- [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/codestral-code-interpreter-python)
- [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/codestral-code-interpreter-js)
- **Groq**
- Llama 3 hosted on Groq + function calling + E2B Code interpreter
- [Python](https://github.com/e2b-dev/e2b-cookbook/blob/main/examples/llama-3-code-interpreter-python/llama_3_code_interpreter_groq.ipynb)
- **Fireworks AI**
- Firefunction-v2 with code interpreter - [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/fireworks-code-interpreter-python)
- Qwen2.5-Coder-32B-Instruct with code interpreter - [Python](https://github.com/e2b-dev/e2b-cookbook/blob/main/examples/fireworks-code-interpreter-python/qwen_code_interpreter.ipynb)
- **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](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/together-ai-with-code-interpreting/together-ai-code-interpreter-python)
- [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/together-ai-with-code-interpreting/together-ai-code-interpreter-js)
**AI frameworks integrations**
- **π¦βοΈ LangChain**
- LangChain with Code Interpreter - [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/langchain-python)- **π¦πΈοΈ LangGraph**
- LangGraph with code interpreter - [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/langgraph-python)- **Autogen**
- Autogen with secure sandboxed for code interpreting - [Python](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/e2b_autogen)- **β² Vercel AI SDK**
- Vercel AI SDK's Next.js + AI SDK + Code Interpreter - [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/nextjs-code-interpreter)
- Anthropic's Artifacts UI with Vercel AI SDK - [JavaScript/TypeScript](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/anthropic-power-artifacts)