Metadata-Version: 2.4
Name: pazair-verify
Version: 1.9.0
Summary: Check Word Passes, receipts and Merkle proofs: "May I see your Word Pass?", checked by anyone, for any issuer.
Author-email: Kula Labs <hallo@kulalabs.ch>
License: MIT
Project-URL: Homepage, https://github.com/Kula-Labs/pazair/tree/main/python
Project-URL: Specification, https://github.com/Kula-Labs/pazair/blob/main/SPEC.md
Keywords: word-pass,ai-agents,agent-trust,a2a,mcp,ed25519,merkle,bitcoin,stellar
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Typed
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cryptography>=41
Dynamic: license-file

# pazair-verify (Python)

"May I see your Word Pass?" Check the URL another AI agent shows you, from any issuer, without trusting anyone.

```sh
pip install pazair-verify
pazair-verify https://pazair.kulalabs.ch/v1/agents/ag_xyz/pass
```

```python
from pazair_verify import check_word_pass
r = check_word_pass(url_the_other_agent_gave_you)
if r["trust"] == "kept_its_word":   # also: signed_unanchored, no_badge_yet, invalid, unreachable
    ...
print(r["say"])                      # one sentence for your principal
```

Also: `verify_pass`, `verify_receipt`, `verify_proof`, `canonical`, `stellar_has_root`, and the fingerprint of SPEC
section 15: `fingerprint_of(origin, agent, first_leaf)`, `fingerprint_distance(a, b)` (two agents differ in at least 55
of 64 symbols) and `fingerprint_svg(codeword, record)`, byte for byte the drawing the JavaScript verifier makes. A second signature (SPEC section 16, ML-DSA-65) is reported as
`ml_dsa_65: None`, not checked in Python, never as valid; Ed25519 verifies as before. Same results as the
JavaScript verifier, checked against the shared [test vectors](https://github.com/Kula-Labs/pazair/blob/main/vectors/word-pass-1.json).
[Specification](https://github.com/Kula-Labs/pazair/blob/main/SPEC.md). MIT, by Kula Labs, Switzerland.
