Migrating from E2B

LumiCloud serves the E2B API: the same SDKs and the same code, with another domain and key.

Change two environment variables

shexport E2B_DOMAIN=lumicloud.dev
export E2B_API_KEY=<your LumiCloud key>

Or pass them in code:

pythonSandbox.create("base", domain="lumicloud.dev", api_key="<your LumiCloud key>")

What to do again in LumiCloud

  • Templates of your own: build them again with the same definition on Pro (see Templates). Their names are your account's.
  • Public templates: base, code-interpreter-v1, browser, browser-2g, desktop, desktop-2g are there for every account.
  • API keys: create them in the LumiCloud console; E2B keys do not work here.
  • Agent frameworks that use E2B (CrewAI, OpenAI Agents SDK, Mastra and others) need the same two variables; see Agent frameworks.

Differences

  • One region, Singapore.
  • Billing in US dollars from a prepaid balance.
  • Limits differ: see Limits and billing.
  • Outbound mail ports and UDP other than DNS are blocked.
NextAgent frameworks →