algovoi-agent-passport-lite
The open, lite origination layer for AlgoVoi Agent Passport.
It content-addresses the public fields of an agent credential (agent_id, issuer, scope,
validity_window) into a deterministic, recomputable passport_ref.
This passport_ref is exactly the agent_ref that Spend Guardrail (lite) binds: pin the passport by hash, then the pre-payment decision is bound to that hash. Change any field and the reference diverges, so a decision made for one agent credential cannot be silently re-attributed to another. Additive over the frozen substrate (Apache-2.0):
passport_ref = "sha256:" + SHA-256(JCS({agent_id, issuer, scope, validity_window}))
Lite vs commercial
| Lite (this package) | Agent Passport | |
|---|---|---|
| Licence | Apache-2.0, open | Commercial OEM |
| Identity | content-addressed passport_ref |
Falcon-1024 PQC credential |
| Lifecycle | reference only | issue / verify / revoke, spend limits |
| Verifier | recompute offline | maintained verifier |
Pin lite, anchor a vector hash, carry the NOTICE → free v0 key.
Install & use
pip install algovoi-agent-passport-lite
from algovoi_agent_passport_lite import passport_ref, verify
ref = passport_ref("agent-001", "did:algo:issuer", "payments", "2026-06-21/2026-09-21")
verify(ref, "agent-001", "did:algo:issuer", "payments", "2026-06-21/2026-09-21") # True
verify(ref, "agent-002", "did:algo:issuer", "payments", "2026-06-21/2026-09-21") # False (agent tamper)
All four fields are byte-load-bearing; an empty or missing field is rejected, not hashed.
Conformance
conformance/agent_passport_lite_v1/: 3 positives, 4 field-tamper negatives (agent / issuer /
scope / window), 2 rejection negatives (empty field), 2 invariants. passport_1 and passport_2
equal the agent_1 / agent_2 references in spend_guardrail_lite_v1, so the decision chain
composes. Verifier imports only stdlib + rfc8785:
pip install rfc8785
python conformance/agent_passport_lite_v1/verify.py
Adopters
The 4-check gate is scripts/check_v0_adoption.py (dependency + canonical hash anchor + NOTICE +
version pin → ISSUE_V0_KEY). Apply: chopmob@gmail.com.
License
Apache-2.0. Copyright 2026 AlgoVoi. Preserve the NOTICE in any distribution.
Metadata
Release files for algovoi-agent-passport-lite 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| algovoi_agent_passport_lite-0.1.3-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 | Details |
Release files / algovoi_agent_passport_lite-0.1.3-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
| Download URL | algovoi_agent_passport_lite-0.1.3-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 136.4 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
e349799b8cb2c4112a48c8ca925f0e5021f72a6bfcf31868e1cd64d882db3d0a
|
|
BLAKE2b-256 checksum How to use checksums |
835931bd554c1f0c79324d82f1a87a684b2a4b0ac933fecfb2ec90e4af1e80d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|