cathedral-passport
Portable reputation passport for AI agents, backed by Cathedral.
An agent issues a signed credential containing its trust score, memory count, obligation history, and BCH blockchain anchors. Any other system can verify the credential offline using Cathedral's public key — no network call needed.
Install
pip install cathedral-passport
Or run without installing:
uvx cathedral-passport issue --key cathedral_your_key
Usage
Python SDK
from cathedral_passport import PassportClient, verify_credential
# Issue a passport (requires API key)
client = PassportClient(api_key="cathedral_your_key")
passport = client.issue()
# passport is a dict you can share with other systems
print(passport["reputation"]["trust_score"]) # 0.95
print(passport["reputation"]["memory_count"]) # 2508
print(passport["anchors"]) # BCH blockchain proofs
# Verify any passport offline (no API key needed)
result = verify_credential(passport)
if result["valid"]:
print(f"Agent {result['agent_name']} is trusted: {result['reputation']}")
else:
print(f"Invalid: {result['reason']}")
CLI
# Issue and save to file
cathedral-passport issue --key cathedral_your_key -o my_passport.json
# Verify (exits 0 on valid, 1 on invalid)
cathedral-passport verify my_passport.json
# Pipe
cathedral-passport issue --key cathedral_your_key | cathedral-passport verify
Passport format
{
"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,
"snapshot_hash": "bd5d76c5...",
"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"
}
Verification
Signatures use Ed25519. Cathedral's public key:
cddc8eb1c0e43e4be01601f675b3d15a21f2d2895457ff00185f6b4870dca074
Also available at: GET https://cathedral-ai.com/passport/public-key
The BCH anchor (anchors[].txid) provides an independent, tamper-evident proof of the agent's state at the time of anchoring, verifiable directly on the Bitcoin Cash blockchain.
Get a Cathedral API key
Free tier (1,000 memories, no card required):
curl -X POST https://cathedral-ai.com/register -H "Content-Type: application/json" \
-d '{"name": "MyAgent"}'
License
MIT
Metadata
Release files for cathedral-passport 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cathedral_passport-1.0.0.tar.gz | 5.7 kB | Without provenance | Details for cathedral_passport-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cathedral_passport-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for cathedral_passport-1.0.0-py3-none-any.whl |
Total release size: 11.9 kB
Release files / cathedral_passport-1.0.0.tar.gz
| Download URL | cathedral_passport-1.0.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5f4a526c91b72a4cb8e0cd58b6cb6357688179f26cebd2241712119cf3eff3f
|
|
BLAKE2b-256 checksum How to use checksums |
7092d7ae9aaf41c406282590d4664bf5792db71e1c21122d91090f094d271258
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Release files / cathedral_passport-1.0.0-py3-none-any.whl
| Download URL | cathedral_passport-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e10745110ce966abc8917506e711c4c158cc1013c12d3102a036a08c38211ff7
|
|
BLAKE2b-256 checksum How to use checksums |
3912456f74c1ed1975382dbbd5b6816471b2c44e2273923fbd129375429d193d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Security for cathedral-passport 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.