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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

handoffrail_sdk-0.3.0.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

handoffrail_sdk-0.3.0-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file handoffrail_sdk-0.3.0.tar.gz.

File metadata

  • Download URL: handoffrail_sdk-0.3.0.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for handoffrail_sdk-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8b15ca08f7e82677e27294fcae65b75f1afa1de9324c9f6b1d7fcafe95310e3c
MD5 d464f4125a3e32d29b86513078162108
BLAKE2b-256 cdbd79b3064e57ef786d315f49b59b4ba3a3c519ac4978dba9504c987f22c787

See more details on using hashes here.

Provenance

The following attestation bundles were made for handoffrail_sdk-0.3.0.tar.gz:

Publisher: ci.yml on MelaBuilt-AI/HandoffRail

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file handoffrail_sdk-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: handoffrail_sdk-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for handoffrail_sdk-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 897980e5186803b40c28584a709b453e0c0b135c289b247e0753cbc11cf9425c
MD5 90886a9de2f64d37c21e182d3cdffe3f
BLAKE2b-256 725e0b66ad690fb14ebea2b76d8c2a85dbd5e4b0e820faae0d42313420e0d3eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for handoffrail_sdk-0.3.0-py3-none-any.whl:

Publisher: ci.yml on MelaBuilt-AI/HandoffRail

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page