Skip to main content

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

Project description

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

Project details


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.2.0.tar.gz (24.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.2.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: handoffrail_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 24.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.2.0.tar.gz
Algorithm Hash digest
SHA256 d72214eefe706aa69b9cf278d556c4384116422436af6174947e6da22fbd5d78
MD5 44339e63040960f92b478d2e2084d659
BLAKE2b-256 31858182b78c3d9b099cb95d2635a4e7c28b918c641d2635f107e7aaec50beb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for handoffrail_sdk-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: handoffrail_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2161a75a42a9e6a86de90107baf394b23346c7c96714560aaf6ccf6aa9bde0a9
MD5 1bb1fc43d0f4f4248372dd136e0ec0cf
BLAKE2b-256 e79e544b1487e14ccd512f7b53694b2fc0b38fc2da78fd13ad036ecf8f218cd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for handoffrail_sdk-0.2.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 Pingdom Monitoring Sentry Error logging StatusPage Status page