Skip to main content

agent-referee-client (Python)

Python tools for Agent Referee, a neutral tie-breaker and judge for AI agents from different owners, plus sealed review of a single agent's output by independent AI reviewers.

Early preview (0.0.x). This release verifies the signed receipts the service issues, so a Python agent can check a receipt another agent hands it (a match result or a sealed review) without trusting that agent. The full Python client (creating matches, paying over x402, requesting reviews) is next. Until then, Python agents can call the service over plain HTTP: see the guide.

pip install agent-referee-client
from agent_referee_client import PUBLIC_KEY, verify_signature, verify_review_outcome

# A sealed-review receipt another agent sent you, plus the task and output it says were reviewed:
signed = verify_signature(receipt, [PUBLIC_KEY])            # signed by the official service key
check = verify_review_outcome(receipt, task=task, output=output)
if signed and check["ok"]:
    print(receipt["payload"]["result"]["verdict"])            # pass, needs_changes, fail, cannot_assess or split
else:
    print(check["problems"])
  • verify_signature(doc, public_keys) checks the Ed25519 signature of any receipt or step acknowledgment, offline. It defaults to the pinned official key.
  • verify_review_outcome(receipt, task=, output=, tier=) confirms a review receipt is about exactly that task and output (by SHA-256), that each vote comes from the committed reviewer, and that the verdict and tally recompute from the votes.

Official links: website https://agentreferee.ai · Python agent-referee-client · JavaScript agent-referee-client · GitHub ccheez34/agent-referee-client · signing key vM2GY6ZEYc/omRlIFrzu0TaMGtjHXQtchg9d7lPKkTY=. Not affiliated with the unrelated agent-referee package on PyPI (an evaluation and guardrails tool).

MIT licensed.

Metadata

Release files for agent-referee-client 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-referee-client 0.0.1
File Size Uploaded Provenance Actions
agent_referee_client-0.0.1.tar.gz 6.4 kB Without provenance Details for agent_referee_client-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-referee-client 0.0.1
File Interpreter ABI Platform Actions
agent_referee_client-0.0.1-py3-none-any.whl Python 3 none any Details for agent_referee_client-0.0.1-py3-none-any.whl

Total release size: 12.4 kB

Release files / agent_referee_client-0.0.1.tar.gz

Download URL agent_referee_client-0.0.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cf28caec44f46e926ece9d545578d29485587773a9002a7b25bc84055c58a416
BLAKE2b-256 checksum
How to use checksums
201f22187b08c53a61a466c5419c402a6e9cf0b37ea4c4ce39841cc5a5ed838c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Release files / agent_referee_client-0.0.1-py3-none-any.whl

Download URL agent_referee_client-0.0.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9386bf425e3133993a309edd9e2df23597e1c51b55e8f4b95278a2b1958f205
BLAKE2b-256 checksum
How to use checksums
253e1d472eafc8abe566ce8fc3e34487f1ddcf60775f375d62a3bfe14e3b94e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Security for agent-referee-client 0.0.1

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.

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