Letter of Agency · loa/0.1 · Live demonstration
This is a real gate, not an animation. It verifies Letters of Agency the way loa/0.1 specifies — signatures, audience, expiry, replay, scope — and answers with a grant and a receipt, or a plain refusal. You can knock in about a minute.
An agent wants to check the tracking status of one parcel: order TBA336486904589 — a couch cushion support, delayed in transit in Liberty, Missouri. Read-only. No changes, no purchases.
This is the errand a real agent was once refused at a real store, because there was no way to present its owner's permission. “Why won't they let you in the door to check my package? Because you don't have a Letter of Agency.” This gate is the door, built.
This is the world today: an agent arrives with nothing verifiable to show.
The mint plays both signing roles with clearly labelled demo keys: you, the owner, sign the delegation; the agent's platform signs the Letter. A real Letter carries four verifiable claims:
The gate checks the signatures against the platform's published keys, then audience, expiry, replay, and scope — in that order. If all pass, it grants the errand and issues a receipt.
Each button mints a fresh Letter with exactly one thing wrong, and presents it. Every refusal is real, coded, and explained — never silent.
It proves a gate can verify a Letter with nothing central: fetch a key set, check two signatures, check audience and expiry. Any site can build this gate in its own hands, with pieces that already exist.
It doesn't prove production platform signing. This demo mints its own toy Letters with demo keys; a production gate would verify signatures from a real agent platform's published keys. The verification itself — the part a gate is responsible for — is entirely real.
Discovery document: /.well-known/letter-of-agency
Published demo keys: /loa/keys.php
# Mint a demo Letter
curl -s -X POST https://demo.letterofagency.agency/loa/mint.php \
-H 'Content-Type: application/json' -d '{"variant":"valid"}'
# Present it (put the returned Letter in the body as "letter")
curl -s -X POST https://demo.letterofagency.agency/loa/present.php \
-H 'Content-Type: application/json' \
-d '{"letter": { ... }, "action": "order_status"}'
The draft API is loa/0.1 — experimental, read-only scopes, no payments, no account changes, no messaging. Comments and breakage reports welcome; that is what a first try is for.