SandboxConfig(
self,
provider: SandboxProvider = 'none',
template: str = 'deepagents-deploy',
image: | Name | Type |
|---|---|
| provider | SandboxProvider |
| template | str |
| image | str |
| scope | SandboxScope |
[sandbox] section — sandbox provider settings.
The whole section is optional. When omitted (or provider = "none")
the runtime falls back to an in-process StateBackend and tools
like execute become no-ops.
scope controls how the sandbox cache keys are built:
"thread" (default): one sandbox per thread. Different threads
get different sandboxes, same thread reuses across turns."assistant": one sandbox per assistant. All threads of the
same assistant share a single sandbox and its filesystem.