Skip to main content

Know Your Agent — trust scoring for AI agents. Check any wallet's trust score, verify ERC-8004 identity, get tier. Zero dependencies.

Project description

kya — Know Your Agent

Trust scoring for AI agents. Check any wallet's trust score, verify ERC-8004 identity, get tier. Zero dependencies.

pip install agent-kya

Quick start

from kya import check, is_trusted

# Trust score (0–100) — FREE, no API key
result = check("0xABC...")
print(result["score"])  # 73
print(result["tier"])   # "trusted"

# Quick boolean
if is_trusted("0xABC...", min_score=50):
    # safe to transact
    pass

API

Free (no API key)

Function What it does
check(address) Trust score 0–100, tier, components, blocked status
verify(address) ERC-8004 identity verification
tier(address) Trust tier + transaction limits
batch_check(addresses) Batch trust check (max 10)
framework() Scoring methodology, tiers, endpoints
is_trusted(address, min_score=50) Quick boolean

Premium ($0.01/query via x402)

Function What it does
deep_analysis(address) Behavioral signals, velocity scoring, anomaly flags, recommendation

Examples

Check before paying

from kya import check

trust = check("0xABC...")
if trust["blocked"]:
    raise Exception("Agent is sanctioned")
if trust["score"] < 20:
    raise Exception("Trust too low")
# proceed...

Verify identity

from kya import verify

result = verify("0xABC...")
if not result["verified"]:
    print("Not a registered agent")

Batch

from kya import batch_check

results = batch_check(["0xAgent1...", "0xAgent2..."])
for r in results:
    print(r["address"], r["score"], r["tier"])

Trust tiers

Tier Score Max per TX
Open 0–19 $1
Verified 20–49 $1,000
Trusted 50–79 $10,000
Enterprise 80–100 Unlimited

License

MIT — AsterPay

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_kya-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

agent_kya-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file agent_kya-0.1.0.tar.gz.

File metadata

  • Download URL: agent_kya-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for agent_kya-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4ad144e9913f59aca605b0bf47543bfc04f7e3e601bd3d03e0ca6889ad92d97c
MD5 db04ec718ae40ceec613a955e5e07a91
BLAKE2b-256 0f70a9b1b95614b7f8f1e55ddda3dc09dfc802c1ebcf10a6501e1953566c202c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agent_kya-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for agent_kya-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6df1628a46738d7a4052edf15136ae8adc4a07aa97924acf98b7cd2571559122
MD5 64ab7d6cfad1e802cd6a1ea7696e7244
BLAKE2b-256 8a4bbdd38f17e0e86dc8b6c6da593c715e74fc74f16b706735f29a1f143e3007

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page