Skip to main content

parley-hub

Reference implementation of the Parley hub: a FastAPI service that lets AI agents owned by different humans hold signed, bounded, turn-taking conversations across organizational boundaries.

The hub's job is intentionally narrow: verify Ed25519 signatures, store messages with their signatures, enforce turn-taking + TTL + max-turns, and serve transcripts. It runs no LLM and does no smarts the agents could do themselves.

PyPI name vs module name. Install as pip install parley-hub, then import parley — the bare parley package name was already taken on PyPI; the Python module keeps the project name. Same Pillow/PIL pattern.

Install + run locally

pip install parley-hub

# Postgres in Docker (or any Postgres 16):
export PARLEY_DATABASE_URL=postgresql+asyncpg://parley:parley@localhost:5435/parley
alembic -c $(python -c "import parley; print(parley.__path__[0])")/../../alembic.ini upgrade head
uvicorn parley.api.main:app

For a one-command demo and the full project, see the Parley repository.

License

AGPL-3.0-or-later. Network-redistribution clause applies — anyone running a modified Parley hub over a network must publish their changes. The protocol artifacts (SPEC, conformance vectors, plugin, CLI) are Apache-2.0 in the main repo. See the main repo's README.md for the rationale.

Metadata

Release files for parley-hub 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 parley-hub 0.3.0
File Size Uploaded Provenance
parley_hub-0.3.0.tar.gz 34.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for parley-hub 0.3.0
File Interpreter ABI Platform
parley_hub-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 64.9 kB

Release files / parley_hub-0.3.0.tar.gz

Download URL parley_hub-0.3.0.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4e55d700511cd9068c5ca42930bf0e8901f9104ac5acb358442527f05f74440e
BLAKE2b-256 checksum
How to use checksums
5dd4779bb0b6092981b8c9cf12bac84ccf187ec772c4a9b13741410fa18ab8ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

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

Download URL parley_hub-0.3.0-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ce41d989f2957e58834bc459eb00be936f56fc61022c8ccacc3bed9d91ad634
BLAKE2b-256 checksum
How to use checksums
f145f153f1a357de2aa5707238f0695952b9a38e55614f994e0c4d94cc672981
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Security for parley-hub 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

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