Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Deep Agents on Harakiri

An optional backend for the real Python deepagents framework. Developer preview 0.1.0rc1 targets Deep Agents 0.7.21 and Python SDK 0.1.0rc1 exactly, on Python 3.11 or newer. See the release record for publication status, exact artifacts and native qualification evidence.

Version-pinned PyPI installation, including the exact SDK and framework dependencies:

python -m pip install "h-sandbox-deepagents==0.1.0rc1"
from deepagents import create_deep_agent
from harakiri import HarakiriClient
from harakiri_deepagents import HarakiriSandboxBackend

with HarakiriClient.from_env() as client:
    with client.sandboxes.task(template="your-installed-template") as sandbox:
        backend = HarakiriSandboxBackend(sandbox)
        agent = create_deep_agent(model=model, backend=backend)
        result = agent.invoke({"messages": [{"role": "user", "content": prompt}]})

Configure model and prompt in your application; complete examples live in examples/python-first-task. The model and agent loop stay in the application. The sandbox runs shell and file tools. Neither model nor API credentials are forwarded into it. A backend always borrows the supplied sandbox.

Use AsyncHarakiriSandboxBackend with AsyncHarakiriClient and agent.ainvoke() for native async I/O. Use a borrowed sandbox, not a disposable task context, when the graph pauses for human approval. Checkpoints do not extend runtime TTL.

The complete integration guide covers model setup, installation, template utilities, partial transfers, truncation, observed command recovery and current qualification status. Standard output is bounded to 64 KiB by default; abnormal termination remains visible to the actual framework tools. No distributed exactly-once recovery is claimed.

Metadata

Release files for h-sandbox-deepagents 0.1.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for h-sandbox-deepagents 0.1.0rc1
File Size Uploaded
h_sandbox_deepagents-0.1.0rc1.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for h-sandbox-deepagents 0.1.0rc1
File Interpreter ABI Platform
h_sandbox_deepagents-0.1.0rc1-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / h_sandbox_deepagents-0.1.0rc1.tar.gz

Download URL h_sandbox_deepagents-0.1.0rc1.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
91cfc5e47937ffb42cbdf8035c448bdafa02cdb67aecc9452aea458dbf9931f0
BLAKE2b-256 checksum
How to use checksums
d326d99db8af7c54fd5c25b6eaaf2b5a40ef09d6046e3f176a595da4f7742eba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release files / h_sandbox_deepagents-0.1.0rc1-py3-none-any.whl

Download URL h_sandbox_deepagents-0.1.0rc1-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aed49c5c6befe7cf9c77126bcb022c0934cdbf6a8fe6c1e2c3d257c822f7dcd7
BLAKE2b-256 checksum
How to use checksums
018dd2625e3a385acf5608b3c2e82dc2eb9aa33e4787d43a0d33e4ee9dde7c2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0rc1 This release

2 release files

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