# what sandbox backends does bernstein support

Canonical URL: https://bernstein.run/q/what-sandbox-backends-does-bernstein-support
Markdown URL: https://bernstein.run/q/what-sandbox-backends-does-bernstein-support.md
Tags: sandbox, isolation

the default backend is a local git worktree. swap it with bernstein run --sandbox <backend>: docker or podman (containerised), microvm, or the paid cloud backends e2b, modal, daytona, blaxel, runloop and vercel (these need --allow-paid). each is a plug-in implementing the sandboxbackend protocol in src/bernstein/core/sandbox/. install the matching extra (pip install "bernstein[e2b]", [modal], [docker]). the orchestrator and adapters are unchanged; only the place where the agent's filesystem and process live changes. useful when you want hard isolation, or when the agent needs a different os than the orchestrator host.

## Related

- https://bernstein.run/q/git-worktree-parallel-ai-agents
- https://bernstein.run/q/self-hosted-ai-coding-agent-orchestrator
