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.1.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.1.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: handoffrail_sdk-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 ed2cae3c8a0fa7435e38dbbb922d19d9033379a8a4174a1bfd2209bb501c2835
MD5 4b21e3151ced41c3113e18dc1020d506
BLAKE2b-256 3430760a2962a534548bb62ddafa2a98ee4785e4b3369297e7d9bc9b4d3b2773

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: handoffrail_sdk-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8553f38e5472869b369880f6d219612218cc25c317802e2ce8f69625616aa94a
MD5 487e1fe5ec486965279bc1dff45087f6
BLAKE2b-256 158e124a99175e3126757f8063c482f993b478dc20fcb34cc456df1d92252452

See more details on using hashes here.

Provenance

The following attestation bundles were made for handoffrail_sdk-0.1.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