microsandbox
local + cloud
e2b
managed agent sandboxes [1]
hosting model
local runtime · microsandbox cloud (private beta, access by request) [20]
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/kvm for self-hosted runtime; remote clients on other hosts [3]
local execution
local runtime; offline after dependencies and images are provisioned [23]
Embed evaluation stack on a linux/kvm host [3]
daemon required
none, embeds as a library
hosted service or self-operated runtime services [3]
image workflow
oci images from any registry, pulled at runtime
custom templates built into reusable sandbox snapshots [9]
state between runs
local snapshots save disk state, or disk, memory, and running processes with --full. cloud currently supports disk snapshots from stopped persistent sandboxes and disk restore. [21]
pause and resume preserve memory and filesystem; filesystem-only mode is also available [5]
employee-device deployment
administrator settings deployed to employee devices with Jamf or Intune; supported CLI and SDK releases apply managed overrides [22]
enterprise byoc runs in your aws or gcp account; Embed targets linux/kvm [2][3]
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 request transforms 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 · ruby · cli
python · javascript and typescript [1]
control plane
no control plane needed locally · hosted microsandbox cloud [20]
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
apache 2.0
apache-2.0 infrastructure repository · hosted service [3]