effect-uai-sandbox-basics
Installation
SKILL.md
effect-uai sandbox-basics
@effect-uai/core/Sandbox exposes a SandboxService for booting
short-lived microVMs, running commands inside them, and tearing them
down. Two adapter packages implement it today:
| Package | Where the VM runs | Best for |
|---|---|---|
@effect-uai/microsandbox |
Local Firecracker microVM (microsandbox daemon) |
Local dev, integration tests, self-hosted |
@effect-uai/deno |
Hosted Firecracker microVM on Deno Deploy | Production, on-demand, no infra to run |
Both implement the same SandboxService apart from the create
request shape (provider-specific knobs); everything else — exec,
execStream, volumes, snapshots, ports, secrets — is interchangeable
behind a Layer swap.
Reach for this when the user says any of: