Skip to main content

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)

Source distribution for dothedev-sandbox 0.1.0
File Size Uploaded Provenance
dothedev_sandbox-0.1.0.tar.gz 9.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dothedev-sandbox 0.1.0
File Interpreter ABI Platform
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

Security for dothedev-sandbox 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page