E2B is now supported in the OpenAI Agents SDK
Blog post from E2B
E2B is now a sandbox provider for the OpenAI Agents SDK, allowing agents built with this SDK to operate in custom, isolated environments without needing infrastructure setup. These sandboxes enable agents to edit files, run shell commands, maintain temporary workspace states, and produce live preview outputs, facilitating the creation of applications like landing pages with minimal code. Users can run multiple sandboxes simultaneously to handle concurrent workloads, and the integration process is streamlined with just a few lines of code. A demonstration illustrates the workflow of creating a landing page, showcasing features such as generating HTML/CSS, deploying in the sandbox, and iterating with diffs for rapid updates. The sandboxes allow for parallel operations, generating multiple variants of a landing page, each accessible via unique URLs, making visual comparisons straightforward. Interested users need an E2B and an OpenAI API account to get started, with sandboxing currently supported in the Python Agents SDK, and TypeScript support anticipated.