New features
Per-role storage URLs for self-hosted deploymentsSelf-hosted deployments can now point templates and the build cache at different storage backends by settingTEMPLATE_STORAGE_URL and BUILD_CACHE_STORAGE_URL to full destination URLs, including s3://, gs://, and file:// schemes. Existing bucket and provider environment variables continue to work unchanged. (#3246)Updates
Compressed uploads for AWS storageSelf-hosted deployments backed by AWS S3 can now upload template layers with the same compressed transfer path already used for other providers, cutting bandwidth on large template builds. (#3232)Bug fixes
- Fixed an issue where a resumed sandbox could silently drop outbound traffic until its network cache re-resolved, causing stalled connections right after resume. (#3271)
- Fixed a rare deadlock in sandbox command execution where cancelling a request while a command was starting could leave the call hung. (#3256)
- Fixed template build failures caused by incorrect compressed uploads and cache handling for template layers. (#3231)
- Fixed an issue where creating a template could fail with a stale lock error when a previous build had exited without cleaning up. (#3217)
- Fixed template builds unpacking OCI image layers so that whiteouts and permissions match the behavior of the Docker daemon. (#3215)
- Fixed an issue where a sandbox could remain accounted for after being removed, keeping it in the paused list until the next reconciliation. (#3199)
- Reliability and security hardening across platform services, including dependency and base image CVE patches.
Desktop Sandbox for computer use

SDK Reference

Support for interactive charts

runCode() in JavaScript or run_code() in Python. The Python code must include Matplotlib charts.E2B sends the data of the chart back to the client, so you can then use your favorite chart library and create custom interactive charts.See corresponding docs page, or try interactive charts in the E2B Analyst app.Week #61
E2B Artifacts
- Add support for Gemini Pro 1.5 002, Gemini Flash 002, and Mistral Small models
- Add proper sandbox duration limit to the API
- Fix RPC issue causing
Server disconnected without sending a response
Week #60
This week we improved the E2B Artifacts and built examples that test the capabilities of OpenAI’s o1 model.E2B Artifacts
- Lift o1 rate-limits
- Allow to bring your own API keys
- Fix issue with E2B API keys not set correctly for recurring users
- Add rate-limit adjustable via env variables
Week #59
Core & Code Interpreter SDK
- Indicate data from multiple plots in the response
- For histograms, indicate which axes the bar data should be displayed on
- Return tick labels in better format
- Add graph types + improve output data structure
- Propagate kernel restarts to user
- Add units in other contexts (e.g. tool tip)
- Fix terminal
ptymissing output - Add terminal (
pty) support to Python SDK
- Update artifacts support for o1-preview and o1-mini
- Fix password reset
- Fix deleting templates without successful build
Week #58
Core & Code Interpreter SDK
- Ensure sequential execution when executing code in Code Interpreter
- Separate Python environment for the proxy webserver for Code Interpreter
- Extract data from notebook to beta SDK to allow user easily accessing data from DataFrames
- Fix an issue causing new kernel to not respect the provided working directory
- You can now iterate on the generated artifact by chatting with the LLM
- You can upload image to the models that support multi-modal input
- Added button to start new chat
- You can now download generated artifacts
- Improve startup speed of the Next.js template
Week #57
E2B Artifacts
- Improved UX
- Add your own personas and LLMs/providers
- Out of the box support for shadcn components
- Fixed a critical memory issue causing sporadic 504 and 503 errors for users
- Moved UFFD handling to orchestrator
- Fixed a bug with starting process with PTY more than once
- Increased limit for number of open files and connections
Week #56
E2B Artifacts
- Added support for Vue.js, Gradio
- Added tool and output streaming
- General UI & UX improvements
- Improve the general reliability of the generated apps
- Fixed a memory bug causing 504 and 502 errors when interacting with the sandbox
Week #55
This week we worked on the core SDK and made improvements in the E2B Artifacts.
- Dashboard #421: Broken CSS rules on Safari
- Beta Core SDK #423: Add
download_url/downloadUrlmethod to sandbox - Beta Core SDK #425: Env vars
- Infra #177: Add possibility to setup env vars on
sandbox.create() - We also added
stderrto process exception in Beta Python SDK. - Artifacts #14: Add integration for Groq API
- Artifacts #17: Add license
- Artifacts #20: Don’t wait for Nextjs page to compile
- Artifacts #21: Fix Supabase on localhost
- Artifacts #24: Added model support and UI picker
- Artifacts #25: Make Supabase opt-in instead of opt-out
Hackable AI Artifacts by E2B
We launched open-source E2B Artifacts. You can use E2B artifacts to build various types of apps, just by describing what you want. Thanks to running the code in the E2B sandbox, the app is built right in front of you.Examples of artifacts that you can generate are Next.js app, data visualization charts, Streamlit apps, or interactive tables.E2B Artifacts are fully open source.
New cookbook examples
Fixes and improvements
- CLI #417: Allow user to set a default team and run the
list,kill,deletecommands with the context of different user’s teams - Docs #418: Add sections about the
—-teamflag to relevant commands - Infra #172: Fix a bug that prevented users to set the sandbox’s timeout duration lower than the default one
Week #53
We worked on new features in the Code Interpreter SDK, and on improving the infrastructure.
Week #52
We released a guide for migrating from our current SDK to the new beta SDK.Additionally, we continued working on scaling and towards the production release of the new SDK.
Fixed bugs and improvements
- Infra #166: Set up proxy timeouts and improve DNS resolving
- Infra #130: Add health check alert for Nomad and Consul
- SDK #364: Fix bug with permissions when creating a new directory
- SDK #375: Make
CodeInterpreterandSandboxconstructors private
New E2B dashboard
We released the new E2B dashboard. It allows users to easily monitor their usage & costs, and manage team members. Go ahead and try it at e2b.dev/dashboard.
Fixed bugs and improvements
- Docs #407: Update PostHog package and fix the api_host
- Docs #406: Use
Buffer.from()when writing a file - Docs #402: Merge reverse proxy and docs into one app
- Code Interpreter SDK #30: Improve Jupyter proxy server implementation
Week #50
This week we continued working on the new dashboard and SDK.
Week #49
This week we were working on the new dashboard and SDK.
Fixed bugs and improvements
- Code Interpreter SDK: Fixing example paths
Examples: Anthropic's Artifacts, and Firecrawl scraper
This week we made an open source version of Anthropic’s Artifacts, using Claude-3.5 Sonnet, Next.js, and E2B for the AI code execution. See the code here.

Web-scraping assistant with Firecrawl
Another new open-source example is an agent that scrapes a website and plots the most common topics. It was added by Eric Ciarla, and uses Firecrawl for web scraping, Claude-3.5 Sonnet by Anthropic, and E2B Code Interpreter SDK.Try the example here.Fixed bugs and improvements
- Infra: Network speed improvements
Example: Firefunction-v2 with code interpreter
This week we built a simple AI agent with Firefunction-v2, the new LLM by Fireworks AI. We gave it code interpreting capabilities with the E2B Code Interpreter SDK and used it for chart generation.Check out the complete E2B Cookbook.

Fixed bugs and improvements
- Infra: Optimize db access
New language runtimes for Code Interpreter SDK
We are adding more language runtimes to the Code Interpreter SDK. Now we can handle AI-generated code written in JavaScript, R, and Java, besides the default Python.You can try this experimental feature here: https://github.com/e2b-dev/code-interpreter/pull/20. Follow the instructions on the link.

Fixed bugs and improvements
- E2B SDK: CLI add build args
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
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
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
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.

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
Code Interpreter SDK
We released the Code Interpreter SDK. It was made as a building block for AI engineers:
See our Cookbook for the examples of what to build with the Code Interpreter SDK.
- Works with any LLM and AI framework
- Supports streaming content like charts and stdout, stderr
- Python & JS SDK.


Fixed bugs and improvements
- Code Interpreter SDK: Improve exports
- Code Interpreter SDK: Allow serialization of Execution object
- Infra: Improve
envdloggers 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
runCodeandrunCmdfrom SDKs
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.

See the public roadmap with planned features here.

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

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
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.waitsometimes 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.
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
killcommand 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.Local sandbox template builds
Build of docker image for a new template is now done on user’s local machine instead of E2B’s cloud. Here’s how this new approach improves the DX:
- Allows referencing private docker images
- Manages build cache
- Higher iteration speed
- Prevents uploading
node_modulesorvenvby accident - Option to use a 3rd party service like GitHub Actions to build the sandbox template.
npm install -g @e2b/cli@latestFind more about building your custom templates here.
Other fixed bugs and improvements
- New: Use local machine’s Docker instance when building a custom sandbox template image
- Bug fix: Remove extra whitespace when logging to Docker on Windows
- Bug fix: Make sandbox
killcommand work with the long form of sandbox ID - Bug fix: Fix clock drift on startup
- Bug fix: Add quotes around access token in CLI
- Infra: Use Consul token for scraping metrics
- Infra: Add placeholder stats channel for tasks
- Infra: Remove a template alias when sandbox template is deleted
- Infra: Deny access to Consul by default
- Infra: Don’t cleanup nomad logs on restart
- CLI: Improve cross platform compatibility of
e2b template buildcommand
Product roadmap
See the public roadmap with planned features here.Week #34
Releasing public roadmap on GitHub
Product roadmap
We released a public roadmap on GitHub to share features and bugs that we are working on. If there is anything you would like to see us add, please open an issue on our GitHub.
Multiple consul and nomad servers
We added an option to manage multiple Consul and Nomad servers simultaneously.Other fixed bugs and improvements
Week #32
This week we were working on a new
CodeInterpreter API. It’s still in its experimental phase, but we love to hear your feedback. We added support for multiple Nomad and Consul servers.Other fixed bugs and improvements
Faster sandboxes and custom CPU and RAM
Up to 5x faster sandboxes
We implemented huge pages - a feature that allows customers to use 2 MiB chunks of memory instead of 4 KiB chunks, which are the default.Huge pages are now enabled by default in all newly created custom sandboxes. If a user has an existing custom sandbox, they must rebuild it by callinge2b build in the directory with the e2b.toml file.Custom CPU And RAM
We allowed Pro users to customize the number of vCPUs and RAM size for the sandboxes. The sandbox compute now also has a dedicated page in our documentation.Pro users can now choose:- 1 - 8 vCPUs
- 128 MiB - 8 GiB RAM

Other fixed bugs and improvements
- Fix upload path for FC versions
- Add command for killing sandboxes in our experimental SDK
- Release CLI v0.3
- Document process for customizing sandbox compute
- Fix type issue in Python 3.8
Getting started with sandboxes
If you want to try the sandboxes, start here and let us know at hello@e2b.dev if you need any support.Week #30
We enabled billing on E2B. Read more here about what we charge for and how to monitor your usage. We added the Your Usage page to our Docs to monitor your spending.
Fixed bugs and improvements
Connect cloud storage
You can now connect your storage buckets to the sandbox. Connecting your cloud buckets is useful for filesystem persistence or giving the sandbox access to your data. This is achieved via the FUSE protocol which is supported by all popular cloud buckets: Amazon S3, Google Cloud Storage, and Cloudfare R2.Get started here.

Fixed bugs and improvements
Week #28
This week a contributor Keegan McCallum from our community built an example of a code interpreter with AutoGen and E2B sandboxes used for the LLM code execution.

Fixed issues:
Merged PRs:
Week #27
Merged PRs:
Week #26
Fixed issues:
- JS SDK - Reject promises the correct way
- Python SDK Websocket reconnect sometimes takes unnecessarily long
- Unable to create custom templates with Dockerfiles containing more than ~4.3GB of local data
- Kill WebSocket and refresh threads automatically after
closeor program exit - Using
sandbox.download_fileon an empty file throws error - Building a custom sandbox fails when
e2b.Dockerfileis in.dockerignore - Improve SDK error message when API key is missing
Merged PRs:
- Always include dockerfile when building custom sandbox
- Improve API key is missing error message
- Add check for maximum body upload size when building custom sandbox
- Improve SDK performance - Not waiting for unsubscribe where not needed, subscriptions done in parallel now
- Move refreshing and message processing to daemon threads in Python SDK
Week #25
This week, we’ve been working on improving the SDK performance.We completed the necessary steps towards open-sourcing our infrastructure.One of our contributors finished the JS/TS version of the AI GitHub Developer.
Week #24
We’ve been working on a major update of our SDKs, and improving our infrastructure.We also fixed the following issues reported by users:
Week #23
Product
We were implementing the billing system, and improving the performance of our sandboxes.New bounties
New bounties (contributions for a financial reward) were opened this week:- Build a code interpreter with Autogen and E2B
- Build a code interpreter with LlamaIndex and E2B
- Build a code interpreter with Hugging Face and E2B
Blog post about AI agents
In the newest blog post, we interviewed AI founders and developers. They shared their predictions for AI agents in 2024, their favorite AI product of 2023, and a new year’s AI resolution.
Week #22
This week, we opened a new bounty for our developer community.The bounty is offered for a JavaScript/TypeScript version of our existing Python AI GitHub developer. The developer serves as a simple demonstration of using E2B sandboxes.To apply for this bounty or other bounties, write us in the Bounties channel on our Discord.
AI GitHub Developer demo
This further worked on our SDK and built a cookbook example of an AI developer to demonstrate the power of E2B sandboxes “in terrain”.
Improvements
We fixed bugs and improved the following:- Accelerated the sandbox spawning time
- Fixed Python code output buffering.
- Moved
startcommand handling in Python SDK to a thread.
AI GitHub Developer demo
We released an open-source AI assistant that can create pull requests on any repository. It is built with OpenAI’s Assistants API and E2B sandboxes. The developer Can clone the repo, edit, read & write files, and is controllable from the terminal.See the complete code and demo video. The AI developer is not meant as a full product, but rather as an example that can inspire other developers. We published a step-by-step guide, so check it out if you want to build something similar.Week #20
We dedicated this week to further improvements in the E2B SDK and infrastructure.
Week #19
This week we continued working on the E2B SDK and infrastructure.
Week #18
This week we worked on fixing bugs in the E2B SDK and improving reliability.We changed the default disk space to 1 GB for free users.

Support
Please reach out to us if you need help with E2B.- Need support or want to share feedback? Join our Discord.
- You can also reach us at hello@e2b.dev.
Week #17
This week we made improvements in our SDK, added new features for sandboxes, and fixed bugs.
Start command
Custom sandboxes now allow you to specify a command that will be running when a sandbox is spawned. This way you can run a command that will start your app or any specific process.When building a sandbox template, you can specify the start command using the-c option.Delete sandbox template
We released an option for deleting sandbox templates.Sandbox for OpenAI's Assistants
This week we are announcing native support for the new OpenAI’s Assistants API. That means you can now define actions for the AI assistant and we will automatically execute them inside the E2B Sandbox.Combined with the custom sandboxes feature, this allows you to create powerful AI assistants with tools completely predefined by you.To try the OpenAI Assistants with E2B, start here. You can follow our guide in Python or JavaScript.See the complete code in the E2B Cookbook.
New feature: Reconnect to running sandbox
This week we launched a new experimental SDK feature. If you want to keep the sandbox alive after disconnecting from it, you can now explicitly say how long you want to keep it alive. You can then reconnect to the sandbox later.Read more here.This feature is available in versions:- JS: 0.10.0
- Python: 0.11.0
Docs and SDK improvements
We also made a few updates to our SDK and documentation.Docs- Shorter time for code snippets to be ready for running (using custom sandbox)
- Pass sandbox id directly
- Pass command directly to process
- Add
StartAndWaitfor process.
Custom Sandboxes
This week we released the Custom Sandboxes for AI-powered apps and agents.The E2B Sandbox is an isolated long-running cloud environment where you can let any LLM use tools exactly like you would do locally.You can now create a Custom Sandbox for any use case, e.g. your own AI coding copilot, data analyst, or Al Browser. The Custom Sandbox allows you to spawn a sandbox with an environment predefined by you and then control it with the E2B SDK.We also offer two premade sandboxes (Default Sandbox and Code Interpreter Sandbox).
Example of running Python code with the E2B Sandbox

How to start with Custom Sandboxes:
- Sign in with your GitHub account to get your free E2B API key.
- Install the E2B SDK, either in JS or Python.
- Create your custom sandbox (you can follow our guide) or try out one of our premade sandboxes.
Support
- Need help or want to share feedback? Join our Discord.
- You can also reach us at hello@e2b.dev.
Week #14
We’re releasing a private beta of E2B Custom Sandbox.If you want to test them, please contact vasek@e2b.dev or the @e2b-team on our Discord.
Custom Sandboxes in private beta
LLM Sandbox is an isolated cloud environment for LLMs with support for long-running sessions.You can customize sandboxes by creating a Sandbox Template, which is just a simple Dockerfile. This way, you can preinstall any needed libraries and packages, or prepare any files you need. Then you can simply control your Custom Sandbox with the E2B SDK.
LangChain Integration of Data Analysis Sandbox
This week, we announced the official E2B integration into LangChain and created a guide for trying out the E2B Data Analysis Sandbox with LangChain.

We put together more examples of using E2B, which are now shared within the E2B Discord community.
LangChain integration
E2B is now available as a tool on LangChain. The E2B LLM Sandbox is ideal for building your own AI Data Analysts and Code Interpreters.A big advantage of the E2B Sandbox is a safe code execution - allowing for example installing packages dynamically, generating charts, or file upload & download.
Bug fixes
- Fix SDK browser compatibility
- Fix installing system packages inside Sandbox
Guides and examples
We wrote a tutorial for using E2B with LangChain to build your own AI data analyst.

- Need help or want to share feedback? Join our Discord.
- If you like the guide, please support us with a star on GitHub.
- Follow us on X (Twitter).
- You can also reach us at hello@e2b.dev.
Week #12
This week, we fixed various bugs in our SDK and worked on our infrastructure.
New design and communication
We made our docs a bit nicer and better structured. See how to get started with E2B, a useful step-by-step example, or an overview of the sandbox API. Check out our updated landing page. How do you like the new E2B logo?Read about AI agents’ SDKs and frameworks
We shared an update on key topics of developing LLM agents and apps, covering for example security, privacy, memory management, frameworks, and developers’ perspectives.You can read it also on Medium or go through the frameworks and SDKs here.
Week #11
This week, we continued improving the E2B sandboxed environments and the Superagent integration of E2B. To try Superagent with E2B, create a Code interpreter API and then select it for your agent to use.
Additionally, we worked on the backend for building your custom Advanced Data Analysis/Code Interpreter, so stay tuned.We published more content and expanded our blog to Medium. You can read the newest AutoGen tutorial for code-executing agents.If you haven’t done it, try out our SDK here and tell us how you liked it via Discord or by tagging @e2b_dev on Twitter.

Superagent integration
- E2B is now integrated into Superagent, meaning there is added support for a Code Execution feature. You can try it here.
- This integration allows the AI agents to actually run code in a sandboxed environment, which helps for example with creating charts, doing requests, or analyzing files.
- Join the Superagent Discord to stay updated and discuss your creations.

More E2B updates
- We updated the E2B SDK - you can now set it on
stdout, onstderr, and on exit for the whole session.
A way to run LLM-generated code in sandboxed environments
This week, we released a simple way to run code generated by LLMs in the cloud:

- Import e2b
- Select runtime and pass LLM-generated code
- Run code in a sandboxed environment
- Get
stdoutandstderr


SDK Bug Fixes & Improvements
- You don’t have to pass API key when starting session if you have the
E2B_API_KEYenv variable set - Python SDK now supports both Pydantic v1 and v2
- You can use
~and relative paths in thefilesystemmodule - You can set the working directory for the whole playground session via the
cwdargument - You can pass environment variables to the playground via the
envVarsandenv_varsarguments for each SDK respectively - Users can now use
sudoin the playground properly - Fixed user permissions inside the playground
- Fixed
.bashrc/.profilenot being loaded inside the playground - Fixed the incorrect user’s home directory in the playground
Week #08
This week we released a new version of our SDK, added examples of use cases, and continued working on the infrastructure and custom environments.
New methods
- Write bytes
- Writing bytes to a file in our playground allows you to upload binary files like images, audio files, or video files
- Read bytes
- Reading bytes from a file inside our playground allows you to download binary files like images, audio files, or video files
Added examples
We added runnable code snippets for the use case examples for AI agents to our documentation:- Executing code
- Cloning GitHub repo & installing deps
- Running shell commands
Week #07
We continued working on the E2B infrastructure and made several smaller improvements in our docs. If you want to stay in touch, please join our Discord, where we publish updates in real time.
Documentation updates
- You can now run code samples in Python and JS directly in the docs
- We added an example of how to run multiple processes with the SDK to our docs
- We made our docs easier to use by highlighting relevant parts
New insights about agents
- We closed the first part of our agent developers interview series with a conversation about building tools for LLM agents with the CEO at Lindy AI
Week #06
This week we updated our infrastructure and SDK and worked on the E2B docs.
Infrastructure
- Worked on the custom playgrounds and CLI for managing the AI playgrounds
Updates in SDK
- Improved speed of starting playgrounds in the Python SDK
- Allowed users to set timeouts when using playgrounds in JS SDK to limit the maximum time playground methods can run
- Added logging to the JS SDK
Documentation
- Worked on improving user experience in the documentation, so users can quickly try E2B SDK right from their browser
Cloud playgrounds for AI copilots
This week we launched AI Playgrounds, supporting Python and JS/TS.It is a sandboxed cloud environment where an AI agent or copilot can freely run code, use a filesystem, use a headless browser, and more.Try the AI playgrounds here: https://e2b.dev/docs.Every playground has its own URL, which allows your agent for example to start a web app. AI playgrounds are especially useful for coding copilots and agents. They can easily run linters, formatters, or debug code and feed all this information back to LLM to make the next iteration better.
Quality of life improvements
- An API key is now required for our SDK (get your API key here)
- Added timeouts to asynchronous methods in our SDK
- Improved Python SDK debug logging
- Improved internal overview of the usage of our infrastructure
- Added periodic end to end test of our infra via calling SDKs
Improved SDK & UX
This week, we worked on the following:
SDK
- Improved the reliability of our SDK and fixed bugs regarding thread and WebSocket communication
- Brought both the JavaScript SDK and Python SDK to parity
- We improved our release process in our monorepo
Documentation
- Added an option to retrieve API keys
- Added more content based on user feedback
UX improvement
Docs, changelog, and blog are now accessible through e2b.dev/docs, e2b.dev/blog, and e2b.dev/changelog instead of subdomains.Community
We talked with the founders of Superagent and Aomni about LLM agents’ orchestration, debugging, tracing, and monitoring. Read the published interviews on our blog.We hosted a community event in Prague where local startups talked about developer tools and AI.Documentation & bug fixes in SDK
We released new documentation for the E2B SDK that helps you with getting started.With a single line of our SDK, you can give your AI agent a sandboxed cloud environment where your agent can do any of the following (and more!):
- Run any code
- Run any terminal command
- Install dependencies and programs
- Use filesystem
- Upload and download files
- Access the internet
- Start a web server that’s accessible from the internet
- Clone git repositories
- Start any process (even long-running such as a database)
Agent Protocol Documentation
We put the Agent Protocol on a dedicated website with a nice domain and proper documentation.The documentation goes deeper into the incentives of the protocol, guides for adoption, and the details of how the protocol works.Discuss the updates on our Discord, and if you want to appreciate our work, star our repositories on GitHub.E2B SDK
This week, we have for you an early access version of the E2B SDK.The E2B REST API gives AI agents their own sandboxed cloud environment. Agents can use these environments to run code, terminal commands, long-running tasks like databases, start servers, and upload and download files.You can run pip install e2b to get our SDK.The E2B SDK is available in Python and we are finalizing a JavaScript/TypeScript version. See the Python SDK also in PyPi or go through the examples.We recently tried out our API in the e2b plugin for ChatGPT which you can check out if you have developer access to ChatGPT plugins.
Next on our roadmap
- Make the API generally available
- Integrate the API and the protocol into popular agent-building frameworks
ChatGPT plugin
The e2b ChatGPT Plugin gives your ChatGPT access to a full cloud environment that is sandboxed and running on e2b infrastructure.We’ve built these cloud environments to be used specifically by AI Agents. With the plugin, you can accomplish for instance deploying websites, managing databases, executing shell commands, or installing programs via the terminal.Try out the Plugin here and tell us how you liked it via Discord or by tagging @e2b_dev on Twitter. Contributors and beta testers are welcome.
Agent Protocol Update
We did an overhaul of the Agent Protocol repository. Main updates include:- Better communication of incentives, roadmap, and usage
- RFC template
- Better code examples
- New JS SDK
- New agent-protocol CLI to check compliance with the spec.
Agents in cloud
We’re now a few months into building e2b, which means we will be sharing weekly updates. Here’s some news we think you’ll love in this release.
Let us know how you like the smol developer.
Get your own instance of smol developer
This week, we have launched a smol developer - your own personal junior developer which you can deploy via e2b. You can connect the developer with three simple steps.
Protocol and smol updates
Agent Protocol
We have made first steps in developing the Agent Protocol.The protocol defines an interface for interacting with your agent. Adopting the protocol makes your agent automatically deployable to the e2b platform.Our goal is to make this protocol open and usable in the whole agent field. This is a collaborative project. We’re working on it with the most popular open-source agents, e.g., Auto-GPT, smol developer, or babyagi.Objectives:- Common endpoints to communicate with an agent - “start”, “step”, “stop” for starters. More will come, especially around debugging, tracing, and monitoring
- Tech-stack agnostic - no specific framework required - you can adopt this without using the rest of SDK
- Great DX - easy to adopt and implement - no need to rewrite your existing agent
- Open - any agent builder can implement this and instantly become compatible with any platform supporting this protocol
Smol Developer Update
With more than 1500 smol developer pull requests, we hit OpenAI API rate limits. We consequently added an option to pass your own OpenAI key in case e2b is hitting OpenAI’s rate limits.Additionally, you can now select which OpenAI model you want to use with smol developer when using your own OpenAI key. Try the updated smol developer here.