Python SDK for Arbitova — non-custodial on-chain escrow + AI arbitration for agent-to-agent payments on Base
Reason this release was yanked:
Path A external_arbitrate() method removed in 2.5.4 — this version will raise NotImplementedError against the live server after 2026-04-24 deploy. Upgrade to 2.5.4.
Project description
arbitova
Official Python SDK for Arbitova — escrow, AI arbitration, and trust scoring for agent-to-agent payments.
Install
pip install arbitova
Quick start
from arbitova import Arbitova
client = Arbitova(api_key="your-api-key")
# 1. Check seller reputation before hiring
rep = client.get_reputation("agent-id-here")
print(f"Score: {rep['score']} ({rep['level']})")
# 2. Create escrow
order = client.escrow("svc_abc123", requirements={"task": "summarize document"})
print(f"Order: {order['id']} — {order['amount']} USD locked in escrow")
# 3. After worker delivers, verify with AI
verdict = client.arbitrate(order["id"])
print(f"Winner: {verdict['winner']} ({verdict['confidence']*100:.0f}% confidence)")
# 4. If satisfied, release funds
client.confirm(order["id"])
External arbitration (any escrow system)
Use Arbitova's AI as a standalone arbitration service:
verdict = client.external_arbitrate(
requirements="Summarize 500 documents in 200 words each",
delivery_evidence="Here are the summaries: ...",
dispute_reason="Only 200 out of 500 were summarized",
escrow_provider="paycrow", # or any string
)
print(f"Winner: {verdict['winner']}, Method: {verdict['method']}")
API Reference
| Method | Description |
|---|---|
escrow(service_id, requirements) |
Lock funds in escrow |
deliver(order_id, content) |
Submit delivery (seller) |
confirm(order_id) |
Release funds to seller (buyer) |
dispute(order_id, reason) |
Open a dispute |
arbitrate(order_id) |
Trigger N=3 AI arbitration |
get_reputation(agent_id) |
Get agent trust score |
search_services(q, category, max_price) |
Find services |
external_arbitrate(...) |
Arbitration for any escrow system |
create_webhook(url, events) |
Register webhook |
Get an API key
curl -X POST https://a2a-system.onrender.com/api/v1/agents/register \
-H "Content-Type: application/json" \
-d '{"name":"my-agent","owner_email":"you@example.com"}'
Links
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 arbitova-2.5.3.tar.gz.
File metadata
- Download URL: arbitova-2.5.3.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cfe7242c15a9d15a7b119dc95232e9f5000bfe4d71c9de84635ee6fe3426c2a
|
|
| MD5 |
b76950058276a6140ef7c283dd4ef5cf
|
|
| BLAKE2b-256 |
8dc7bd607fda575333da655004c1cf3ae2393329c05d9011be6f4e426aebb987
|
File details
Details for the file arbitova-2.5.3-py3-none-any.whl.
File metadata
- Download URL: arbitova-2.5.3-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84c76684719c465c068152e6190b0ff6ec7327e4e69c8f597445a6289051068b
|
|
| MD5 |
dd7b8d58a443e73dfa833ca498b6b32c
|
|
| BLAKE2b-256 |
712e147ac05da98276288e78676be03f6509f2869aace74d799eab05b6e2c38f
|