03 Sandbox Backend#
Script: example/03_sandbox_backend.py.
This example treats session.to(backend, spec=...) as OpenRath’s device placement operation. The same agent code can run against local or opensandbox.
python example/03_sandbox_backend.py
python example/03_sandbox_backend.py opensandbox
Placement |
Meaning |
|---|---|
|
Ephemeral workspace. |
|
Bind the repository directory as the sandbox workspace. |
|
Checks local availability before running. |
The OpenSandbox variant also needs a running OpenSandbox stack and host bind permissions.