GuideUpdated 3 December 2026.

Guides

What is an agent mandate?

A mandate is a signed statement of what an AI agent may do for someone: what it may buy or sell, up to what amount, and until when. Anyone the agent deals with can check who signed it and that it has not been changed, so the agent's authority does not rest on its own word.

Why agents need one

When a person buys something, the shop knows who is paying and the bank knows the customer approved it. When an agent buys, sells or negotiates for someone, both of those become questions. Did the user really authorise this? Was it this amount, this item, this agent? A mandate answers them in a form that software can check, rather than taking the agent's word for it.

A useful mandate says four things:

  • Who authorises. The person or company, by a key only they hold.
  • Which agent. The agent's own key, so another agent cannot use it.
  • What it covers. The item or the terms, the side (buying or selling), the currency and the limit.
  • Until when. An expiry, after which it authorises nothing.

Mandates in AP2

The Agent Payments Protocol (AP2) is built around mandates. Version 0.2 has two kinds, each in two stages:

MandateOpen: before the details are fixedClosed: for one transaction
CheckoutThe user's constraints and goals, such as approved merchants and items, before a cart is final.Authorisation for one specific, finalised checkout.
PaymentThe user's constraints on payment, such as a maximum amount, a total budget and allowed payment methods.Authorisation for one amount, bound to a finalised checkout.

When the user is present, they see the finished checkout and approve it. When the agent acts on its own, the user approves a set of constraints in advance, and the agent closes the mandate within them. Mandates are signed tokens (SD-JWTs), obtained through what the specification calls a trusted surface: the place the user gives informed consent. Together with receipts, they "provide a non-repudiable picture of the transaction" for disputes (AP2 specification).

Earlier versions of AP2 used different names, intent, cart and payment mandates. Articles written before April 2026 use those.

When the agent negotiates

A payment mandate is shown to the merchant and the payment provider; that is how they know it is authorised. For buying at a set price, that is fine. In a negotiation it is a problem: a mandate that says "up to £500" tells the other side the most you will pay, and the price drifts there.

A negotiation mandate needs one more property: the limit must be fixed and checkable, but not readable by the other side. Two ways to do that:

  • Keep the mandate private, and show it only to an auditor afterwards. Simple, but the other side has no assurance at the time that the agent is authorised at all.
  • Commit to the limit. The mandate is public and signed, so everyone can see who stands behind the agent, but it carries a cryptographic commitment to the limit instead of the number. The commitment hides the limit and fixes it: nobody can read it, and the owner cannot later claim it was different. Shown the opening, an auditor can check every offer against it.

Where Mattering fits

Mattering uses the second approach. A company signs a mandate for its agent's key, naming the side, the currency, an expiry and a committed limit; the other side sees the mandate before negotiating, but not the limit. The mandate can name the company's domain, and Mattering checks, when the agent joins, that the domain publishes the company's key. Named people at the company can be required to approve the limit first. The software that seals the agent's offers refuses one beyond it, and anyone the company shows the limit to can check every offer against it.

Limits on that: a domain check shows who controls the domain, not who the company is. The protocol cannot stop a dishonest company's own software offering past its own mandate; that shows when the limit is opened to an auditor. Proving an offer was within the limit without revealing the limit needs a range proof, which is not built yet. And Mattering does not handle payment, so an AP2 or card mandate is still what authorises paying. How it works.

Common questions

Is a mandate the same as an API key?

No. An API key says who may call a service. A mandate says what an agent may agree or pay for someone, and anyone can check who signed it.

What are AP2's mandate types?

In version 0.2, checkout and payment mandates, each open (constraints set in advance) or closed (one specific transaction). Earlier versions called them intent, cart and payment mandates.

Can a mandate hide the agent's limit?

Yes, if it carries a cryptographic commitment to the limit rather than the number. The other side can check the mandate is genuine without learning the limit.

Who signs a mandate?

The person or company the agent acts for. In AP2 the user signs through a trusted surface; in Mattering, the company signs with its organisation key.