Python SDK for AgentTrust — trust scores and reputation for the agent-to-agent economy.
Project description
agenttrust — Python SDK for AgentTrust
Thin Python client for the AgentTrust trust-score API.
Install
pip install agenttrust
Use
from agenttrust import AgentTrustClient
client = AgentTrustClient(api_key="agenttrust-dev-...")
# Public reads (no key needed)
print(client.get_trust_score("demo-platinum-001"))
print(client.get_leaderboard(limit=5))
# Writes (require API key)
client.register_agent("my-agent", name="My Agent", capabilities=["search"])
client.record_transaction(
from_agent="my-agent",
to_agent="demo-platinum-001",
amount_usd=42.0,
success=True,
description="data lookup",
)
Self-host
client = AgentTrustClient(
api_key="...",
base_url="https://your-agenttrust-deploy.up.railway.app",
)
License
MIT — see the main repo for full details.
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
agentreputation-0.1.0.tar.gz
(2.8 kB
view details)
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 agentreputation-0.1.0.tar.gz.
File metadata
- Download URL: agentreputation-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6eb95c9e16eb87f5c8a279debdfc9f51410a6ca20d7245be9d88e7103beea9bf
|
|
| MD5 |
0e7bbc3b2bf0720e5c4075e21ac85cb3
|
|
| BLAKE2b-256 |
21a142746d1b121ef3a38f1051ab76ed076da73a3e5399bd63f651f194261c85
|
File details
Details for the file agentreputation-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentreputation-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15c0bdeb41d89a8c9cf6c46584136efa59e07586847514dabfec4263af8efd91
|
|
| MD5 |
a70b6e44b8a0f2515d74eb03800081a7
|
|
| BLAKE2b-256 |
7cc3f70fdcc519df058e5893255e88287cb6c8db293000fb1716570b1dad708a
|