Skip to content

Add external E2B sandbox runtime for Agent Backend - #452

Merged
BorisPolonsky merged 3 commits into
masterfrom
feat-e2b
Aug 28, 2026
Merged

BorisPolonsky merged 3 commits into
masterfrom
feat-e2b

Conversation

@BorisPolonsky

@BorisPolonsky BorisPolonsky commented Aug 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add externalE2bSandbox so Agent Backend can use E2B (DIFY_AGENT_RUNTIME_BACKEND=e2b, DIFY_AGENT_E2B_API_KEY) instead of in-cluster localSandbox. Workflow Code-node sandbox is unchanged.
  • Optional settings for E2B-compatible sandbox suppliers: E2B_API_URL, E2B_DOMAIN, DIFY_AGENT_E2B_TEMPLATE, and a custom CA mount (SSL_CERT_FILE).
  • When E2B is enabled, publish agentBackend /agent-stub on nginx and HTTPRoute (not /runs).

Let operators switch the Agent sandbox to E2B via externalE2bSandbox
without deploying local sandbox env or an in-cluster E2B workload.
@BorisPolonsky
BorisPolonsky marked this pull request as draft August 27, 2026 15:05
@BorisPolonsky
BorisPolonsky marked this pull request as ready for review August 28, 2026 10:36
@BorisPolonsky BorisPolonsky changed the title Add optional E2B Cloud runtime for Agent Backend Add external E2B sandbox runtime for Agent Backend Aug 28, 2026
@BorisPolonsky
BorisPolonsky merged commit 10be612 into master Aug 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant