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.
canonical answer