Feb 19, 2024
Community Contribution: AutoGen Code Interpreter with E2B
Last week, our community contributor built an open-source cookbook example of a code interpreter using AutoGen agents.
The LLM-generated code in this example project is executed in the cloud, using E2B sandbox.
By default, AutoGen agents do the code execution locally via Docker which can be limiting for some use cases or possess some risks.
The E2B Sandbox
The E2B Sandbox is a secure way to run your AI app. It is a long-running cloud environment where you can let any LLM (GPTs, Claude, local LLMs, etc) use tools exactly like you would do locally. E2B is fully open sourced including the infrastructure layer. To try E2B sandboxes for free, start with documentation.
Credits
The author of this example is Keegan McCallum, the founder of Xler.ai. Xler is a general-purpose multi-agent platform built on top of AutoGen. It also provides production-grade services like evaluation, deployment, monitoring, and fine-tuning.
Want to show your example?
Write us at hello@e2b.dev or make a pull request to the E2B cookbook. We have a strong preference for accepting projects such as LLM-powered code interpreters or coding AI agents. The condition is that the app uses E2B sandboxes.
Check out other open-source community examples like the AI GitHub Developer.