feat(e2b): add dcode sandbox provider#4
Merged
Conversation
mdrxy
added a commit
to langchain-ai/docs
that referenced
this pull request
Jun 17, 2026
Following [e2b-dev/langchain-e2b#4](e2b-dev/langchain-e2b#4), which adds a Deep Agents Code sandbox provider entry point, this documents `dcode --sandbox e2b`. The E2B integration page gains a "Use with Deep Agents Code" section (install, credentials, `E2B_TEMPLATE` / `E2B_SANDBOX_TIMEOUT` overrides), and the remote sandboxes guide now references E2B as a concrete third-party provider example. Made by [Open SWE](https://openswe.vercel.app/agents/9fda946d-c2ab-def8-ac1a-e702d185b553) --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
5 tasks
npentrel
pushed a commit
to langchain-ai/docs
that referenced
this pull request
Jun 18, 2026
Following [e2b-dev/langchain-e2b#4](e2b-dev/langchain-e2b#4), which adds a Deep Agents Code sandbox provider entry point, this documents `dcode --sandbox e2b`. The E2B integration page gains a "Use with Deep Agents Code" section (install, credentials, `E2B_TEMPLATE` / `E2B_SANDBOX_TIMEOUT` overrides), and the remote sandboxes guide now references E2B as a concrete third-party provider example. Made by [Open SWE](https://openswe.vercel.app/agents/9fda946d-c2ab-def8-ac1a-e702d185b553) --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3
Adds a Deep Agents Code sandbox provider entry point so installing
langchain-e2bintodcodeexposesdcode --sandbox e2bwithout user config. The provider keeps SDK usage lightweight by leavingdeepagents-codeout of runtime dependencies; it uses the package install hint and resolves E2B credentials only during lifecycle operations so registry metadata discovery does not require secrets.The provider supports create, connect, and delete through the E2B SDK, wraps sandboxes in
E2BSandbox, maps missing sandboxes toSandboxNotFoundError, and honors prefixedDEEPAGENTS_CODE_env overrides for dcode-specific configuration.E2BProvideris intentionally not exported from top-levellangchain_e2b.__all__.Verified with
make test,make lint,make integration_tests(E2B network tests skipped withoutE2B_API_KEY), anduv build --no-sources.