microsandbox
local + cloud
e2b
managed agent sandboxes [1]
hosting model
local runtime · private beta. access is by request.
managed service · documented byoc and self-hosting [2][3]
isolation
microvm with its own kernel (libkrun)
microvm with its own kernel (firecracker) [6]
host platform
macOS · Linux · Windows (WHP, preview)
linux sandbox reached through an sdk or api [1]
runs offline
yes, fully local
byoc supports aws and gcp; self-hosting source is public [2][3]
daemon required
none, embeds as a library
managed service reached through an sdk or api [1]
image workflow
oci images from any registry, pulled at runtime
custom templates built into reusable sandbox snapshots [9]
state between runs
snapshots capture the disk state of a stopped sandbox.
pause preserves memory and filesystem state; current docs say resume takes about one second [5]
credentials
credentials are destination-bound. the sandbox works with a placeholder; the real value is substituted host-side into supported intercepted outbound requests, only for destinations on your allow-list. an approved destination still receives the real credential and could reflect or misuse it, so scope your allow-lists accordingly.
environment variables are visible inside the sandbox; public-beta per-host rules can inject headers through the egress proxy [7][8]
network policy
by default, sandboxes can reach the public internet. private, host-local, link-local, and metadata destinations are blocked. egress can be reduced to an allowlist or disabled entirely. in the cloud, the non-public block cannot be lifted, even by you.
internet on by default, with per-sandbox allow and deny lists, domain filtering, and public-beta per-host request transforms [8]
native sdks
rust · typescript · python · go · cli
python · javascript and typescript [1]
control plane
you run it, or we do in our cloud
e2b operates it; documented byoc retains e2b cloud for platform and cluster management [2]
pricing
free locally · private beta pricing is published
free hobby, paid pro, and enterprise plans plus usage costs [4]
license
local: apache 2.0 · private beta. access is by request.
apache-2.0 infrastructure repository · hosted service [3]