Skip to content

E2B 2.62.0 adds streaming file writes and optional output retention

Updated E2B

Summary

JavaScript and Python SDKs can stream byte chunks into files and stop retaining command output in memory.

Tool
E2B
Category
Agent infra
Date
Pricing
Not stated in the sources we cited.

E2B’s JavaScript and Python SDK releases share two substantive changes. They are covered together, with the code-interpreter Python dependency update, rather than as separate launches.

Stream files and command output

File writes accept iterable byte chunks. JavaScript supports async iterables and readable streams; Python supports the iterable form appropriate to its synchronous or asynchronous client.

Command run and connect operations gain retainOutput or retain_output. It defaults to true. Setting it to false stops buffering standard output and error while output callbacks continue receiving data. This is useful for applications that already consume or store the stream elsewhere; the notes do not provide a memory benchmark.

Check compatibility before upgrading

Streaming uploads require an octet-stream content type and envd 0.5.7 or newer. Unsupported JavaScript browser streaming requests now raise an argument error rather than silently buffering; a Blob is the alternative described in the notes. Invalid gzip-plus-multipart combinations also raise errors. Installing an SDK does not include free hosted sandbox capacity.

See the e2b hub.

More from E2B

View all

Questions

What is E2B?

The GitHub repository describes E2B as an open-source, secure environment with real-world tools for enterprise-grade agents. The documentation describes a sandbox as a Linux VM created on demand for your agent.

Is E2B open source?

The GitHub API reports the e2b-dev/E2B repository license as Apache-2.0. Pricing for hosted use is not stated in the cited sources.

What changed in e2b 2.56.0?

The release notes say it requires Node.js 22.19.0 or newer, uses undici 8 and removes the SDK-level in-flight request cap.

Filed on Agent Radar. Claims in this note are limited to the sources above.