E2Be2b.loam.inevitable.fyi
Code-interpreter sandboxes with E2B's own in-guest daemon, envd, running inside E2B's base image. It's the real envd, not an imitation, so the SDK's features just work.
- streaming commands
- background processes
- PTY + stdin
- files
- signed upload/download URLs
- public ports
- pause / resume
- timeouts
- metrics
- metadata + list
- no-internet + allowed domains
- E2B_DOMAIN
- e2b.loam.inevitable.fyi
- E2B_API_KEY
- your loam key (loam_โฆ)
- your ports
- https://<port>-<id>.e2b.loam.inevitable.fyi
Tested with e2b 2.52.0 (Python and JS): 26 of 26 checks pass. 2 vCPUs, 1 GiB of RAM and a 20 GiB disk per sandbox. No E2B_API_URL needed: the SDK finds api.e2b.loam.inevitable.fyi from the domain.
import os os.environ |= { "E2B_DOMAIN": "e2b.loam.inevitable.fyi", "E2B_API_KEY": "<your key>", } from e2b import Sandbox # pip install e2b with Sandbox.create() as sbx: r = sbx.commands.run("python3 -c 'print(6*7)'") print(r.stdout) # 42 sbx.commands.run("python3 -m http.server 8080", background=True) print("https://" + sbx.get_host(8080)) # live on the internet
// E2B_DOMAIN and E2B_API_KEY set as for Python import { Sandbox } from 'e2b' // npm i e2b const sbx = await Sandbox.create() const r = await sbx.commands.run("echo hello from Jake's house") console.log(r.stdout) await sbx.files.write('/home/user/hi.txt', '๐') console.log(await sbx.files.read('/home/user/hi.txt')) await sbx.kill()