Product

Product

Product

May 6, 2024

Tereza Tizkova

Tereza Tizkova

Tereza Tizkova


Launching the Code Interpreter SDK


Building a good product with underlying AI agents means overcoming the challenges of hallucinations, and unreliability, and navigating the agent to use the right tools. One way to solve these problems is to equip agents with code execution capabilities. We see more and more agents powered by a code interpreter.

Examples include Flint (AI tutoring assistant), Athena Intelligence (enterprise data analysis) or Maisa (knowledge processing unit).

The power of code interpreters is also shown with open-source AI software developers like OpenDevin.

Code Interpreter SDK

At E2B, we are giving AI agents their own computers. We are building the code interpreting layer for AI apps and agents, allowing them to run the LLM-generated actions in a secure and isolated cloud environment.

We just released the Code Interpreter SDK - open-source building block for AI developers. The SDK makes it easy to add code interpreting to AI apps. The Code Interpreter SDK is built on top of our open-source runtime for AI agents. Start with our docs.

Features

The Code Interpreter SDK, and also the core E2B SDK works with any LLM and any popular AI framework like LangChain, AutoGen, or CrewAI.

The SDK has Python or JS version, and supports streaming content like charts and stdout, stderr. It runs on serverless and edge functions and executes the AI-generated code in secure sandboxed environments. It is 100% open source (including infrastructure).

For inspiration, see our Cookbook with examples of using the Code Interpreter SDK with LangChain, Claude, Llama 3, Next.js, and more.

Built with the Code Interpreter SDK

We built the special SDK for code interpreting, becaue this is the main use-case we are observing among our customers. Examples of companies using the E2B code interpreting layer for their product are:

  • Cognosys - AI agent automating everyday tasks like summarizing emails or creating market reports

  • PGA - One of the world's largest sports organizations

  • Menza - Company transforming unstructured data into insights

  • Flint - AI tutoring for personalized learning

  • Athena Intelligence - Data analyst for enterprise-level companies

  • Maisa - AI system that improves reasoning of LLMs.

Cookbook examples

The SDK works with any LLM

And you can try it with popular AI frameworks

Contact us

Need help setting up E2B? We are happy to connect! Give us any feedback on your experience with E2B.

We are hiring!

Check out the open positions at E2B. We’re a pre-seed startup with a small team focused on shipping. We work in-person from our office in San Francisco.

We’re backed by founders like Guillermo Rauch (CEO of Vercel), Paul Copplestone (CEO of Supabase), Juraj Masar (CEO of Better Stack), Jakub Jurových (CEO of Deepnote) or Flo Crivello (CEO of Lindy), together with people from companies like Stripe, Retool, Figma, OpenAI, and Google.

E2B is building the cloud for AI agents.

A platform and infrastructure where AI agents can act autonomously and as the first class citizen.

©2024 FoundryLabs, Inc. All rights reserved.

E2B is building the cloud for AI agents.

A platform and infrastructure where AI agents can act autonomously and as the first class citizen.

©2023 FoundryLabs, Inc. All rights reserved.

E2B is building the cloud for AI agents.

A platform and infrastructure where AI agents can act autonomously and as the first class citizen.

©2023 FoundryLabs, Inc. All rights reserved.