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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed2cae3c8a0fa7435e38dbbb922d19d9033379a8a4174a1bfd2209bb501c2835
|
|
| MD5 |
4b21e3151ced41c3113e18dc1020d506
|
|
| BLAKE2b-256 |
3430760a2962a534548bb62ddafa2a98ee4785e4b3369297e7d9bc9b4d3b2773
|
Provenance
The following attestation bundles were made for handoffrail_sdk-0.1.0.tar.gz:
Publisher:
ci.yml on MelaBuilt-AI/HandoffRail
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
handoffrail_sdk-0.1.0.tar.gz -
Subject digest:
ed2cae3c8a0fa7435e38dbbb922d19d9033379a8a4174a1bfd2209bb501c2835 - Sigstore transparency entry: 1971576780
- Sigstore integration time:
-
Permalink:
MelaBuilt-AI/HandoffRail@a83f2bb2bea599f9efc379123aff96912bb6d8d5 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/MelaBuilt-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@a83f2bb2bea599f9efc379123aff96912bb6d8d5 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8553f38e5472869b369880f6d219612218cc25c317802e2ce8f69625616aa94a
|
|
| MD5 |
487e1fe5ec486965279bc1dff45087f6
|
|
| BLAKE2b-256 |
158e124a99175e3126757f8063c482f993b478dc20fcb34cc456df1d92252452
|
Provenance
The following attestation bundles were made for handoffrail_sdk-0.1.0-py3-none-any.whl:
Publisher:
ci.yml on MelaBuilt-AI/HandoffRail
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
handoffrail_sdk-0.1.0-py3-none-any.whl -
Subject digest:
8553f38e5472869b369880f6d219612218cc25c317802e2ce8f69625616aa94a - Sigstore transparency entry: 1971576873
- Sigstore integration time:
-
Permalink:
MelaBuilt-AI/HandoffRail@a83f2bb2bea599f9efc379123aff96912bb6d8d5 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/MelaBuilt-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@a83f2bb2bea599f9efc379123aff96912bb6d8d5 -
Trigger Event:
push
-
Statement type: