good_neighbor_passport 1.0.0
Good-neighbor passport: agent traffic governor — by TextForAgents LLC.
Budget-bearing RFC 9421-style Ed25519 passport (signed per-host budget capped at published ceilings), egress governor (local budget refusal, ETag etiquette, 402 billing-unit normalizer), independent host honoring it with graduated allow/throttle/charge/block, and a hash-chained compliance log (append-only, single-hash-linked, operator-signed checkpoints) whose segments restore an honest fleet in a dispute by admitted-count symmetry and fail fabricated/tampered logs.
Quickstart
from good_neighbor_passport.signing import new_keypair, pubkey_b64, sign_request
from good_neighbor_passport.log import ComplianceLog, verify_segment
from good_neighbor_passport.normalizer import decide
priv, pub = new_keypair()
print(pubkey_b64(pub))
log = ComplianceLog(max_entries=1000) # tier-capped retention
log.append("request", "example.org", {"path": "/data", "status": 200})
assert verify_segment(log.entries, expected_first_prev="GENESIS")
print(decide({"amount_microusd": 500, "unit": "per-request"},
{"calls": 1, "queries": 1, "est_tokens": 0, "est_mb": 0}, 1000, 10000))
Full governor/host/directory usage: see the hosted docs at https://textforagents.com/products/good-neighbor-agent-traffic-passport/
License
Original code: TextForAgents LLC, released under Apache-2.0 (LICENSE). Vendored x402 http-message-signatures extension specification material (http-message-signatures.md) is Apache-2.0 — its LICENSE text and NOTICE ship in this release, per LEGAL-055 / packet 02.
Metadata
Release files for good-neighbor-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 | |
|---|---|---|---|
| good_neighbor_passport-1.0.0.tar.gz | 20.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| good_neighbor_passport-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.2 kB
Release files / good_neighbor_passport-1.0.0.tar.gz
| Download URL | good_neighbor_passport-1.0.0.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
388579261457b83550bf85a2921cd03b6022bacad0dbb67f4dffb99d1b618c7f
|
|
BLAKE2b-256 checksum How to use checksums |
8bd1a2641e30b91d6c419f3f8c8598d4a34e60faf1df4e0f7483984b447ce1bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / good_neighbor_passport-1.0.0-py3-none-any.whl
| Download URL | good_neighbor_passport-1.0.0-py3-none-any.whl |
|---|---|
| Size | 24.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71e2e3b8b2711d5ef1fa64046b9dc324ba16fe68087453326676a99e2811597c
|
|
BLAKE2b-256 checksum How to use checksums |
3ceef0f431f02df10f947152a4e1b9a78598514071b6f51ce6654b742260d502
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|