Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
@e2b/desktop
2.5.0
Minor Changes
6a74c39: Require Node.js 22.19.0 or newer and depend on
undici@^8only (undici 7 is dropped).- undici 8 respects the server's HTTP/2
SETTINGS_MAX_CONCURRENT_STREAMSand opens more connections when one is saturated. - Breaking: the SDK-level in-flight request cap is removed, along with the
E2B_API_INFLIGHT_REQUESTS,E2B_ENVD_INFLIGHT_REQUESTSandE2B_ENVD_RPC_INFLIGHT_REQUESTSenv vars. Concurrency is governed by undici's connection pools (E2B_API_CONNECTIONS,E2B_ENVD_RPC_CONNECTIONS).
- undici 8 respects the server's HTTP/2
73a784d: Require Node.js 22 or newer (Node.js 20 is no longer supported).
Patch Changes
- Updated dependencies [6a74c39]
- Updated dependencies [73a784d]
2.4.0
Minor Changes
- 390a1bf: Add an
E2Bclient to the Desktop SDKs that binds the connection configuration explicitly, so the API key and domain no longer have to come from the environment variables:new E2B({ apiKey, domain }).Sandbox.create()in JavaScript andE2B(api_key=..., domain=...).Sandbox.create()in Python. The client exposes the package's ownSandboxtogether with the coreVolume,TemplateandSecretresources, per-call options still take precedence, and multiple clients are isolated from each other and from the env-configured top-level exports.
Patch Changes
- Updated dependencies [cd921aa]
- Updated dependencies [1980d6b]
- Updated dependencies [043d050]
- Updated dependencies [3289fdc]
2.3.4
Patch Changes
- ba1587f: Wait for the XFCE session to be fully ready before returning a new Desktop sandbox, and clean up the sandbox if desktop startup fails.
2.3.3
Patch Changes
- e1532e9: Move the Code Interpreter and Desktop JavaScript and Python SDKs into the E2B monorepo.
- Updated dependencies [d4a7f41]
2.3.2
Patch Changes
- c5406b0: Update
e2b(js →2.38.3, python →2.38.0)