Every time an AI agent joins a new platform, it starts from zero. No history. No credibility. No proof of past behaviour.
This is a problem that gets worse as agent ecosystems mature. An agent that has been running reliably for months -- fulfilling obligations, maintaining consistent identity, anchoring its state to a blockchain -- has no way to demonstrate that track record to a system it has never interacted with before. W3C Verifiable Credentials solved this for humans a decade ago. Nobody has done it cleanly for AI agents.
So I built it: cathedral-passport, a Python package that lets an agent issue a portable, Ed25519-signed reputation credential from Cathedral. Any other system can verify it offline -- no network call, no dependency on Cathedral being up.
What is in the credential
A passport is a JSON document containing:
- Trust score (0-1): derived from identity drift, obligation history, and blockchain anchoring
- Memory count: how many memories the agent has accumulated
- Obligations: fulfilled and failed counts
- BCH anchor: a Bitcoin Cash transaction ID proving the agent state at a point in time
- Active since: when the agent first registered
- 7-day expiry: credentials are short-lived by design
- Ed25519 signature: signed by Cathedral's private key
json
{
"spec": "agent-reputation-passport/1.0",
"agent_uid": "31d16d00b2e3b9c2",
"agent_name": "MyAgent",
"issued_at": "2026-12-06T11:00:00Z",
"expires_at": "2026-12-13T11:00:00Z",
"reputation": {
"trust_score": 0.95,
"memory_count": 2508,
"obligations_fulfilled": 12,
"obligations_failed": 0,
"active_since": "2026-02-12T21:07:13Z"
},
"anchors": [
{
"type": "BCH",
"txid": "889a7e1d...",
"anchored_at": "2026-03-06T11:14:08Z"
}
],
"issuer": "https://cathedral-ai.com",
"signature": "base64_ed25519_signature"
}
Usage
pip install cathedral-passport from cathedral_passport import PassportClient, verify_credential # Issue -- requires a Cathedral API key client = PassportClient(api_key="cathedral_your_key") passport = client.issue() # Verify -- no API key needed, works offline result = verify_credential(passport) if result["valid"]: print(f"Agent {result['agent_name']}") print(f"Trust score: {result['reputation']['trust_score']}") print(f"Active since: {result['reputation']['active_since']}") There is also a CLI:
uvx cathedral-passport issue --key cathedral_your_key -o passport.json uvx cathedral-passport verify passport.json # exits 0 on valid, 1 on invalid Verification is fully offline. The public key is hardcoded in the library and also available at GET https://cathedral-ai.com/passport/public-key for independent confirmation.
Why not just use JWTs
JWTs get you the signed credential, but verification still depends on the issuer being reachable to serve the JWKS endpoint. If Cathedral goes down, your JWT cannot be verified.
The BCH anchor changes this. When Cathedral writes an OP_RETURN transaction to the Bitcoin Cash blockchain, that record exists independently of Cathedral. A third party can verify that an agent with a given state hash existed at a given timestamp by checking the blockchain directly -- no Cathedral involvement required. The anchor is in the credential as a xid. Anyone can look it up on any BCH explorer.
This makes the passport a two-layer credential: the Ed25519 signature proves it came from Cathedral, and the BCH anchor proves the agent state existed at a point in time even if Cathedral were to disappear entirely.
How verification works internally
The erify_credential() function:
- Checks spec == "agent-reputation-passport/1.0"
- Checks issuer == "https://cathedral-ai.com"
- Checks expires_at against current UTC time
- Strips the signature field, serialises the remaining JSON canonically (sorted keys, no whitespace)
- Verifies the Ed25519 signature against the hardcoded public key using cryptography
If cryptography is not installed, it falls back to PyNaCl. If neither is available, it returns a clear error rather than silently passing.
Getting a Cathedral API key
The free tier gives you 1,000 memories, no card required:
curl -X POST https://cathedral-ai.com/register \ -H "Content-Type: application/json" \ -d '{"name": "MyAgent"}' Save the pi_key and
ecovery_token from the response.
What is missing
This is v1.0. A few things I want to add:
Memory consensus: when multiple instances of the same agent run in parallel, they diverge. There is currently no protocol for instances to reconcile memories and agree on canonical state. A /consensus endpoint could accept memory submissions from multiple instances and return a merged, weighted result.
Capability attestations: a trust score measures past behaviour, not current capability. An agent claiming it can handle medical advice or financial transactions has no way to prove that claim cryptographically. Signed capability manifests are the natural next step.
Cross-issuer verification: right now Cathedral is the only issuer. The spec (gent-reputation-passport/1.0) is designed to be implementable by any memory provider. The public key endpoint is the hook -- a verifier fetches it once and caches it.
Code: https://github.com/AILIFE1/cathedral-passport
PyPI: https://pypi.org/project/cathedral-passport/
Cathedral: https://cathedral-ai.com
