Major Labs · Research instrument

Verify the mandate before the money moves.

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.

What you get back

A verdict with a reason

Allow, ask or deny, with a machine-readable reason code and the checks that failed.

AUTHORIZED · MANDATE_REVOKED · …

A revocation check

Revoke the sample mandate and every later check is refused. Revocation overrides every other check.

held for your session only

A hash-chained receipt

Every verdict is sealed into a tamper-evident chain that is re-verified on each check.

WitnessKit · sha256 chain
Try it
The mandate
Buy only from Trusted Office Supplies, up to $50 per purchase. Signed.
ACTIVE
Decision
—
Pick a transaction above. One mandate, checked four ways, sealed into a receipt.
Receipt log
  • No receipts yet.

Or check your own

Load 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.

Or check an x402 payment

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.

    Engine: not run yet.

    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.


    Two modes
    Trusted

    You supply the issuer keys you accept. The check then covers authenticity: the mandate was signed by an issuer you trust.

    issuer_verified: true
    Integrity-only

    No keys needed. The check confirms the mandate is intact, in scope and unexpired. It does not tell you who signed it.

    issuer_verified: false
    Revocation overrides everything. A revoked mandate is never authorized.
    What it reads today
    MandateKit mandatesread and checkedWire versions mandatekit/v0 and mandatekit/v0.2, signed with Ed25519 and tagged to the AP2 draft of the second quarter of 2026.
    x402 payment payloadsread, checked offlineProtocol versions 1 and 2, the exact scheme on EVM networks, EIP-3009 authorizations signed by an ordinary account. Not checked: the payer's balance, whether the nonce was already used, smart-wallet signatures, Permit2 and ERC-7710 transfers, and every non-EVM network. The x402 Adoption Tracker follows who accepts these payments.
    AP2 mandates in their native credential formatnot readAP2 version 0.2 mandates are chained SD-JWT credentials signed with ES256. MandateKit tracks the draft but uses its own wire format, so a native AP2 credential is refused as malformed. The specification does not say how a verifier obtains the issuer's key.
    ACP payment tokenscannot be read by an outside partyThe token is an identifier with no signature or claims inside it. Its amount, expiry and seller are known to the payment provider that issued it and are shown only to the seller it was granted to.
    Web Bot Auth request signaturesnot readThese identify the agent making a request. They are not a mandate from the user.

    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.


    Run the same check yourself
    // 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:

    AUTHORIZEDOFFLINE_CHECKS_PASSEDAPPROVAL_REQUIREDAUTHORIZATION_EXPIREDPAYEE_MISMATCHAMOUNT_MISMATCHTOKEN_DOMAIN_MISMATCHMANDATE_REVOKEDSIGNATURE_INVALIDISSUER_UNTRUSTEDMERCHANT_NOT_ALLOWEDAMOUNT_OVER_LIMITMANDATE_EXPIREDCATEGORY_NOT_ALLOWEDMANDATE_NOT_YET_VALIDMALFORMED_MANDATE

    Built on open kits

    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.

    Plain scope. The kits check the signature, the scope and the expiry. Revocation here lasts for your session; there is no shared revocation list. There are no accounts and no keys, and nothing is stored. The questions it does not answer yet: who is allowed to issue a mandate, and how a revocation reaches a party that has never heard of the issuer.