dothedev-sandbox
A deep agents sandbox backend for agents
deployed on the DoTheDev Agent Platform. The platform runs each sandbox in a locked-down container (no
secrets, no network unless the template allows it) and gives deployed agents DOTHEDEV_SANDBOX_URL and
DOTHEDEV_SANDBOX_TOKEN. The token stays in the agent server; only commands and files reach the sandbox.
pip install dothedev-sandbox
from deepagents import create_deep_agent
from dothedev_sandbox import ThreadSandbox
# One sandbox per conversation, kept across turns
agent = create_deep_agent(
model="openai:gpt-4o-mini",
backend=ThreadSandbox(),
)
ThreadSandbox sends each command and file call to the sandbox of the run's configurable.thread_id,
created on first use. Pass template= to pick one of the templates the platform offers.
A sandbox shared by every thread instead:
from dothedev_sandbox import SandboxClient
shared = SandboxClient().get_or_create("shared:research")
agent = create_deep_agent(model=..., backend=shared)
Locally, point it at a platform API and a deployment's token:
export DOTHEDEV_SANDBOX_URL=http://localhost:8100
export DOTHEDEV_SANDBOX_TOKEN=sbx_...
License
MIT
Metadata
Release files for dothedev-sandbox 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dothedev_sandbox-0.1.0.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dothedev_sandbox-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / dothedev_sandbox-0.1.0.tar.gz
| Download URL | dothedev_sandbox-0.1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e32dfec4bb437397c63e6fcca5b3b9072a2e81ed821f6ca51e432217b70c4632
|
|
BLAKE2b-256 checksum How to use checksums |
33527bcd3971de6dd5d1e700c8627591116cc51885a70924ddc7f318da78fef6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.6
|
Release files / dothedev_sandbox-0.1.0-py3-none-any.whl
| Download URL | dothedev_sandbox-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4541463c2b726b553be75052df2f4f2902ebbf0fe44da894379ac2db593b184a
|
|
BLAKE2b-256 checksum How to use checksums |
6706ab6734c7186d5b63281b982a9c6f0cb228c458d013a9282849038e65e6c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.6
|