A verdict with a reason
Allow, ask or deny, with a machine-readable reason code and the checks that failed.
AUTHORIZED · MANDATE_REVOKED · …Clearpoint is a public research instrument. Give it a signed agent mandate and a transaction, or an x402 payment, and it answers one question: did the user authorize this, and is that authorization still live?
A mandate is a signed instruction from a person to an agent. Clearpoint checks that it is genuine, in scope, unexpired and not revoked, then returns a reason and a receipt. It is experimental and unaudited, so do not rest a real payment decision on it.
Allow, ask or deny, with a machine-readable reason code and the checks that failed.
AUTHORIZED · MANDATE_REVOKED · …Revoke the sample mandate and every later check is refused. Revocation overrides every other check.
held for your session onlyEvery verdict is sealed into a tamper-evident chain that is re-verified on each check.
WitnessKit · sha256 chainLoad a freshly signed sample, then change anything: the transaction, the issuer key, or the mandate itself. Edit one character of the mandate and the signature stops matching. You can also paste a mandate you signed with MandateKit.
Paste the payment an agent would send to an x402 seller: the value of the PAYMENT-SIGNATURE or X-PAYMENT header, or the JSON inside it. The check is done without paying, settling or reading a chain: who signed, who gets paid, how much, on which network, and whether it is still inside its time window. The example is the one printed in the x402 specification, which expired in February 2025, so it comes back refused for that reason and nothing else.
The checks run on the server with the published MandateKit and WitnessKit packages; the versions appear under the panel after the first check. Nothing you paste is stored, and the receipt chain lives only in this browser tab. Every response is marked as a demo. If the server cannot be reached, the four preset buttons fall back to a simplified version in your browser and the panel says so.
You supply the issuer keys you accept. The check then covers authenticity: the mandate was signed by an issuer you trust.
No keys needed. The check confirms the mandate is intact, in scope and unexpired. It does not tell you who signed it.
Two formats out of five is the plain state of this instrument, and one of the five cannot be checked from outside at all. What each protocol is, who owns it and what has shipped is kept up to date in the Agent Payment Protocols tracker on Major Matters.
// npm install mandatekit import { verify } from "mandatekit"; const verdict = verify( signedMandate, { merchant: "Trusted Office Supplies", category: "office", amount: { value: 40, currency: "USD" }, }, { trustedKeys: [issuerPublicKey] }, );
// the verdict { "decision": "allow", "signature_valid": true, "scope_match_score": 1, "matched": [ … ], "failed": [], "rationale": "…", "mandate_id": "b6f7…ac87" }
There is no hosted endpoint to build on and no key to request. The page above calls the same verify() and adds a receipt. Without trustedKeys the kit refuses by default. The reason codes this page shows:
Clearpoint is a thin page over two open-source Major Labs kits: MandateKit signs and verifies the mandate, and WitnessKit keeps the hash-chained receipts. Both are on PyPI and npm, both are v0 and unaudited.