Write once. Run in any sandbox.
sbox is the unified TypeScript SDK for every code sandbox. Point your agents at E2B, Vercel, Modal, or Cloudflare — and switch between them without rewriting a thing.
Runs on the sandboxes you already use
Why sbox
The freedom to run anywhere.
No lock-in, ever
Swap providers with a one-line import change. The agent code you wrote on E2B runs untouched on Vercel, Modal, or Fly.
One API, every sandbox
Run commands, manage files, stream output, expose ports — the same way, everywhere. Learn it once, use it on any provider.
Built for agents
Turn any sandbox into typed tools your LLM can call, shaped for your framework, with an approval policy you control.
15
providers, one API
25
capabilities, typed
1
line to swap
MIT
open source
For AI agents
Give your agent a computer.
sbox turns any sandbox into tools your model can call — run code, read and write files, expose ports — typed for your framework and gated by a policy you control.
Start building in one line.
Install the SDK, pick a provider, and ship. Switch providers whenever you want — your code stays exactly the same.