e2b-cookbook

e2b-cookbook

Examples of using E2B

Stars: 617

Visit
 screenshot

E2B Cookbook provides example code and guides for building with E2B. E2B is a platform that allows developers to build custom code interpreters in their AI apps. It provides a dedicated SDK for building custom code interpreters, as well as a core SDK that can be used to build on top of E2B. E2B also provides documentation at e2b.dev/docs.

README:

✴️ 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

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

  • 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.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for e2b-cookbook

Similar Open Source Tools

For similar tasks

For similar jobs