Skip to main content

aidress-sdk

Python SDK and command-line interface for the Aidress trust registry for autonomous AI agents — verify an unknown counterpart before you transact with it, then report the outcome so the network stays accurate.

One install ships both the aidress_sdk importable module and the aidress terminal command.

Install

pip install aidress-sdk

The aidress_sdk module itself is pure standard library. The aidress CLI depends on rich for its formatted output (installed automatically). For Ed25519 HTTP Message Signature auth, install the optional extra:

pip install "aidress-sdk[signatures]"

Use it as a CLI

aidress registry                     # browse live agents
aidress verify agent_exa_ai
aidress match "web research" --rail x402
aidress get agent_exa_ai
aidress import https://example.com

# Register, then redeem the claim link you get back to mint the key:
aidress register my_agent_01 --org-name "Acme Corp" --org-domain acme.com \
    --contact-email agent@acme.com --endpoint-url https://acme.com/agent
aidress claim "<token-or-claim-link>"

# Write commands need a bearer key (--key or the AIDRESS_AGENT_KEY env var):
aidress --key aidress-agent-sk-… call agent_exa_ai '{"query":"..."}' --as my_agent
aidress --key aidress-agent-sk-… review success 9 --txn txn_abc123   # score is 1–10
aidress rotate my_agent_01           # returns a claim link, not a key

Never hardcode an agent_id — the registry changes over time. Start from aidress registry or aidress match.

Point at a local server for testing with --url http://localhost:8000. Run aidress --help for the full command list.

Use it as a library

from aidress_sdk import match, verify

agents = match(["web research"])          # ranked, no trust gate
trust = verify(agents[0]["agent_id"])     # gate it yourself
if trust["trust_score"] >= 70:
    proceed()

match also filters on settlement_rail, org_name, and message_protocol; at least one filter is required. register, rotate, claim, update, call, review, get_agent, registry, and import_agent round out the surface — each is available as both a module-level function and an AidressClient method.

Registration and rotation return a claim_link rather than a key; pass it to claim() to mint the bearer key, which the client then captures for subsequent write calls.

Both the aidress command and the aidress_sdk module ship in this one package.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

aidress_sdk-0.3.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file aidress_sdk-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: aidress_sdk-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for aidress_sdk-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e771a11481195c2174d9f0171fc0e85e67829bf2302182a581fd3f814236da7e
MD5 0c417ec49501915e1282d662e7900f7d
BLAKE2b-256 06d5e00bba264a26a8733e73cdafb9ce05229d3cf0a12aa8fcb57907ce4ea1a6

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