Secure cloud sandboxes for executing AI-generated code. Two packages: e2b-code-interpreter (Jupyter/stateful code execution) and e2b (core sandbox SDK). v0.x is fully deprecated — all versions below 1.0 show deprecation warnings and the API is incompatible with v1.x.
Verified import paths — ran on the pinned version, not inferred.
CodeInterpreter class was the v0.x entry point. Removed in v1.0. All v0.x code using CodeInterpreter() breaks.
Use e2b.Sandbox for general-purpose sandboxes without Jupyter kernel. Use e2b_code_interpreter.Sandbox for stateful code execution with output capture.
Stateful code execution in a secure cloud sandbox. Requires E2B_API_KEY environment variable.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.