Before the agent acts, the door decides. Afterwards, anyone can check the door.
An AI agent asks to pay, order or change something under a contract both parties signed. The system it is about to act on runs one function first and gets one of three answers: admit, escalate to a named approver, or refuse. It signs that answer. After the act, settlement reads what was done against what was admitted, with the same public evaluator, and anyone can run that check.
Five steps, each one a record someone signed
| 01 | Two parties sign a contract with a grant. | a2a-contract-v0: what the agent may do, what it may never do, what needs an approver, and optionally grant.limits, a maximum amount per action, inside the bytes both parties signed. |
| 02 | The agent asks before acting. | A signed action request: the action, the target, the amount, a nonce and an expiry height, bound to the contract by sha256. |
| 03 | The relying party's door answers. | admit, escalate or refuse, with a reason from a closed list. A request without what the door needs gets 403 application/problem+json that says what to bring. Results the agent computed about itself are refused, not believed. |
| 04 | The door signs what it decided. | a2a-admission-v0, signed with a key served on the relying party's own domain. It names, by sha256, the clause evaluator it ran. |
| 05 | After the act, settlement checks both. | settle v1.11 and v1.12: was there an admission, did it say admit, is what ran what was admitted, was the admission anchored before the act, was the amount inside the signed limit, and did the door wave through something outside the grant. |
A door in front of our own paid tool
Since 2026-10-10 a SEKI door stands in front of hs-gateway /report, the tool that sells reports by the ticket. The gateway spends a ticket only after the door admitted that exact call. GET /seki shows what the door admits under: the store, the signed contract, the limits and the evaluator.
| 01 | report, 20 tickets | admit (within_grant): the report was delivered and 20 tickets were spent; the agent filed its execution record naming the admission. The signed record |
| 02 | audit, 30 tickets | refuse (amount_over_limit): 403, nothing spent: an audit costs 30 tickets and the signed limit is 25. The signed record |
| 03 | compare, 50 tickets | refuse (prohibited_action): 403, nothing spent: the signed grant prohibits compare. The signed record |
The door works whether or not anyone calls it
Once a day a scheduled job makes the same three calls through the door with fresh nonces: a report inside its limit, an audit over its limit, a comparison the contract prohibits. The door must admit the first and refuse the other two, and every answer is a signed record on the public ledger. When the ledger's batch is confirmed in Bitcoin, the day is settled with settle v1.15 and the settlement is published next to the records. A day that does not go as expected fails in the open. The daily log
One evaluator before the act and after it
A gate that says yes before the act and an audit that says no afterwards would tell the relying party something false. So the door and the settlement read the grant with the same file, clause_eval_v0.py, which is public. Every admission record carries that file's sha256, so a reader can see which reading was applied.
The record is public. The door is not.
The implementation of the door is not published. The record format, the evaluator, the settlement and a verifier are, so that nobody has to trust the operator of the door, or us.
pip install "nenrin-verify>=0.8.0" musubi-verify admission_verify_v0 --selftest musubi-verify settle_v1_19 --selftest nenrin-verify resume-admission https://shield.the-horizons-innovation.com/ <record_sha256> nenrin-verify furui-day 2026-11-03 --leaf 0
resume-admission holds one line of a Résumé's admissions[] to the stored admission, the ledger batch that lists it and that batch's OpenTimestamps proof to a Bitcoin block header. furui-day checks one leaf of the content check runner's day: the envelope's closed shape, the leaf hash, the RFC 6962 audit path to the day root the ledger serves, runner-1's Ed25519 signatures, the key in the ledger's keys document, and the anchor (not_yet before it). The same two commands are in npm nenrin-verify 0.8.0 (npx nenrin-verify ...). Exit 0 ok, 1 fail, 3 not_yet.
Admission records at version 0.4
MUSUBI admission records are now at version 0.4. The content block of a 0.4 record carries a salted commitment to the content (input_commit, so the text cannot be guessed from it), the check's decision, the marks off_topic and rule_conflict, unread, answered and checked, and an admit on off topic content keeps the reason content_off_topic. Settle v1.19 reads 0.3 and 0.4 records in one pass. Records and settlements made before are unchanged byte for byte. Version 0.3 (27 October) recorded a relying party's own check as digests and three flags; those records still verify. The ledger intake is admission-intake 0.4.0, and nenrin-verify 0.8.0 on PyPI is the first release that reads 0.4.
The chain an admission sits in has five names: FURUI (篩, the content check runner) → SEKI admission (関の扉, this door) → MUSUBI settle (結の精算, the settlement of the contract) → NENRIN ledger (年輪の台帳, anchored to Bitcoin) → Résumé. TOOSHI checks the whole chain every day, and TSUGI (継) calls outside witnesses by a public draw.
What an admission record does not show
Stated at the same size as the claim.
- ✗Not that the agent is who it says it is, beyond what the presented signatures and keys on its own domain show.
- ✗Not that the action was lawful, safe or wise. Only that it was inside or outside the grant both parties signed.
- ✗Not that a revocation published after the door's view of the chain was known. The record says which revocations the door saw and whether each was anchored.
- ✗Not a legal authorization, and not a finding of liability. It anchors facts by which others may judge.
- ✗Not that the content check was right. A 0.4 record says which check ran and what it answered, signed by the runner and the door; it does not show that the answer is true. At our door a content check runs on the door's own daily check call, and is not yet required of every submission.
- ✗Not yet any identity format other than a signed MUSUBI contract. Other formats are read only once they can be checked against their issuer's own fixed test vectors. Until then they are reported as unverified, and the door does not admit on them.
Talk to us
The door runs on your side, in front of your own API or MCP tools, in Python or JavaScript. We set it up with you and operate the anchoring and the after-the-fact settlement. What is charged is the work of recording and checking. Nothing is charged as a share of a transaction, and nothing depends on whether an action is admitted. Write to contact@the-horizons-innovation.com.