Sandbox providers
OpenHands supports multiple sandbox “providers”, with different tradeoffs:-
Docker sandbox (recommended)
- Runs the agent server inside a Docker container.
- Good isolation from your host machine.
-
Process sandbox (unsafe, but fast)
- Runs the agent server as a regular process on your machine.
- No container isolation.
-
Remote sandbox
- Runs the agent server in a remote environment.
- Used by managed deployments and some hosted setups.
Selecting a provider (current behavior)
In some deployments, the provider selection is still controlled via the legacyRUNTIME environment variable:
RUNTIME=docker(default)RUNTIME=process(aka legacyRUNTIME=local)-
RUNTIME=remote
The user-facing terminology in V1 is sandbox, but the configuration knob
may still be called
RUNTIME while the migration is in progress.
