Skip to main content

HandoffRail SDK

Python SDK for HandoffRail — session-continuity middleware for multi-agent AI workflows.

Install

pip install handoffrail-sdk

Quick Start

from handoffrail import Client

client = Client(base_url="http://localhost:8000", api_key="your-key")

# Create a handoff packet
packet = client.create_packet(
    source_agent="research-agent",
    target_agent="writing-agent",
    summary="Research complete on topic X",
)

# Claim and resolve
client.claim_packet(packet.id, agent_id="writing-agent")
client.resolve_packet(packet.id, outcome="Article drafted successfully")

Features

  • Sync and async clients
  • Pydantic v2 models
  • LangChain / CrewAI integrations (optional extras)
  • WebSocket support for real-time updates

License

MIT

Release files for handoffrail-sdk 0.3.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 handoffrail-sdk 0.3.0
File Size Uploaded
handoffrail_sdk-0.3.0.tar.gz 31.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for handoffrail-sdk 0.3.0
File Interpreter ABI Platform
handoffrail_sdk-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 71.7 kB

Release files / handoffrail_sdk-0.3.0.tar.gz

Download URL handoffrail_sdk-0.3.0.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8b15ca08f7e82677e27294fcae65b75f1afa1de9324c9f6b1d7fcafe95310e3c
BLAKE2b-256 checksum
How to use checksums
cdbd79b3064e57ef786d315f49b59b4ba3a3c519ac4978dba9504c987f22c787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 10, 2026.

Transparency log

Release files / handoffrail_sdk-0.3.0-py3-none-any.whl

Download URL handoffrail_sdk-0.3.0-py3-none-any.whl
Size 40.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
897980e5186803b40c28584a709b453e0c0b135c289b247e0753cbc11cf9425c
BLAKE2b-256 checksum
How to use checksums
725e0b66ad690fb14ebea2b76d8c2a85dbd5e4b0e820faae0d42313420e0d3eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

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