Changelog
Codestral example in JavaScript
We added a JavaScript & TypeScript version of AI data analyst with Mistral's Codestral. It plots a chart based on a CSV file, using the E2B Code Interpreter SDK as the code execution layer.
Fixed bugs and improvements
- E2B SDK: Add max retries to websocket reconnect in Python SDK
- Code Interpreter SDK: Move start cmd to envd
- Infra: Refactor new user triggers
- Infra: Manage start command in envd
See the public roadmap with planned features here.
Example: Codestral with code interpreter
We created a new example with AI data analyst that uses Codestral and has full code interpreter capabilities given by the E2B Code Interpreter SDK. The analyst is working with a CSV file and generating a chart based on the data.
See the complete code in our Cookbook and if you have an idea for your own project with E2B, please open an issue.
Fixed bugs and improvements
- Infra: Don't log internal logs in logs collector
- Infra: Allow specifying sandbox timeout when creating the sandbox and modifying it later
See the public roadmap with planned features here.
Week #43
This week we worked on improvements to our infrastructure, for example:
See the public roadmap with planned features here.
New cookbook examples
GPT-4o with code interpreter
We created two examples with GPT-4o, one in JS/TS and one in Python. We gave the newest OpenAI model full code interpreter capabilities, using the E2B Code Interpreter SDK.
See the complete code in our Cookbook and if you have an idea for your own project with E2B, please open an issue.
Code interpreter analyzing uploaded dataset
We also added a Python example that shows how to upload a dataset and analyze it with the E2B code interpreter and Llama3.
Fixed bugs and improvements
- Code Interpreter SDK: RPC error on 0.0.5, unable to rollback to 0.0.3 or 0.0.4
- Code Interpreter SDK: Fixed problem with running multiple code interpreters in Python
- Infra: Client instance unexpectedly restarts
See the public roadmap with planned features here.
Week #41
New example: Anthropic code interpreter in JS/TS
We gave Claude a full code interpreter capabilities with just a few lines of code, using our Code Interpreter SDK. Features:
- Streaming
- Internet access
- Python & JS SDK.
See the complete code in our Cookbook and if you have an idea for your own project with E2B, please open an issue.
Fixed bugs and improvements
- E2B SDK: Enforce calling create method in JS SDK
- Infra: Add start command handling to the API and env-build-driver
See the public roadmap with planned features here.
Code Interpreter SDK
We released the Code Interpreter SDK. It was made as a building block for AI engineers:
- Works with any LLM and AI framework
- Supports streaming content like charts and stdout, stderr
- Python & JS SDK.
The SDK is 100% open source.
See our Cookbook for the examples of what to build with the Code Interpreter SDK.
Fixed bugs and improvements
- Code Interpreter SDK: Improve exports
- Code Interpreter SDK: Allow serialization of Execution object
- Infra: Improve
envd
loggers so sandbox logs can be easily filtered - Infra: Create public status page
- E2B SDK: Add CLI command for printing logs from sandbox
- E2B SDK: Remove
runCode
andrunCmd
from SDKs
See the public roadmap with planned features here.
Hello world examples
We added "Hello World" guides to our documentation showing how to add code interpreting to LLMs using our Code Interpreter SDK.
You can find the complete list of examples in our Cookbook.
Fixed bugs and improvements
- SDK: Update metadata.py to not use deprecated Sandbox.create() method
- Docs: Add documentation for code interpreter SDK
- Infra: Add logs and metrics from proxies
- Infra: Add swap and adjust OOM handling in sandbox
- Infra: Fix UFFD and Firecracker killing in orchestrator
- Infra: Don't track sandbox id for monitoring in not prod environment
- Infra: Create public status page
See the public roadmap with planned features here.
OpenDevin integration
We integrated E2B to OpenDevin. This open-source AI software engineer now supports the E2B sandboxes as an alternative to a Docker container for code execution.
Fixed bugs and improvements
- SDK: Add domain parameter to SDK
- SDK: Add endpoint for status page
- Docs: Add missing parentheses in
sandbox.close()
call - Infra: Set limits for orchestrator based on the machine
- Infra: Enable monitoring on instance groups + collect logs for Consul and Nomad
- Infra: Decrease max unavailable servers to 1
- Infra: Add default consul agent token
- Infra: Change nomad connection and scraping limits
- Infra: Remove unnecessary cleanup method and fix cleanup order
- Infra: Update and simplify Nomad jobs
- Infra: Set file descriptors' limits
- Infra: Refactor custom driver for templates into a system job
- Infra: gRPC logging
- Infra: Improve huge pages handling in client start script
See the public roadmap with planned features here.
Week #37
Fixed bugs and improvements
- New: Dedicated SDK for Code Interpreter
- Infra: Add API endpoint for retrieving sandbox logs
- Bug fix: Fix missing MMDS in some sandboxes
- Bug fix: Fix process output scan buffer initialization and resizing
- Bug fix:
process.wait
sometimes times out - Code Interpreter SDK: Move dev dependencies to
devDependencies
Product roadmap
See the public roadmap with planned features here.
Anthropic tool calling with code interpreter
New example: Anthropic tool calling with code interpreter 💻
We gave the new Anthropic tool calling support a full code interpreter capabilities. We created a Python notebook showing how to use E2B to give Claude model a code interpreter with just a few lines of code. Features:
- Code runs in Jupyter notebook
- Streaming
- Customize libraries
- Internet access
- Python & JS SDK.
See the complete code in our Cookbook and if you have an idea for your own project with E2B, please e-mail us at hello@e2b.dev.
Other fixed bugs and improvements
- New: API server communicates with Nomad via streaming (better performance)
- Bug fix: Remove an old alias if the template already has some
- CLI Bug fix: Make sandbox
kill
command work with the long form of sandbox ID - Infra: Fix Consul bug preventing bootstrapping
- Infra: Modify networking setup to stop exposing Nomad metrics and delete whitelisted IP address
Product roadmap
See the public roadmap with planned features here.