Skip to main content

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.

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentreputation-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

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

Hashes for agentreputation-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6eb95c9e16eb87f5c8a279debdfc9f51410a6ca20d7245be9d88e7103beea9bf
MD5 0e7bbc3b2bf0720e5c4075e21ac85cb3
BLAKE2b-256 21a142746d1b121ef3a38f1051ab76ed076da73a3e5399bd63f651f194261c85

See more details on using hashes here.

File details

Details for the file agentreputation-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentreputation-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15c0bdeb41d89a8c9cf6c46584136efa59e07586847514dabfec4263af8efd91
MD5 a70b6e44b8a0f2515d74eb03800081a7
BLAKE2b-256 7cc3f70fdcc519df058e5893255e88287cb6c8db293000fb1716570b1dad708a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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