Skip to content
AI-Native PM

Delegation: check whose authority the agent carries

Chapter 4 of 8 in When Your Users Are Agents · 19 min

For a month, the integration has run without problems. The customer's operations team connected an assistant through your OAuth flow (the standard steps by which a customer signs in and approves an app's access to their account), and the assistant files supply orders inside your product. The account is one of your best. Then the customer disputes an order at several times their usual volume, saying it was never approved. You pull the records. The token (the credential the assistant presented) was valid, and it covered everything, because your integration offers a single scope, one level of permission for everything. Nothing recorded what the person asked the assistant to do, no limit on spending or volume was ever set, and the order was never confirmed. You cannot prove the order was authorized, the customer cannot prove it was not, and the card network sides with the cardholder. You have to absorb the refund, and you now also have to deal with doubts about every other order that assistant has filed.

In Identity: whose keys your AI holds, the question was what your own agent could reach with the credentials you gave it. This chapter turns that question around: an agent that someone else set up now works inside your product, and you are the one checking its keys. Whether you write off that disputed order as a small loss or lose the account over it depends on whose authority the agent carries and how much of that authority you can verify.

The delegation chain: verify every hop

Every operator, meaning an agent that takes actions inside your product, works at the end of a chain. A person grants the agent part of their authority, the agent presents that authority to your product, and your product checks what was presented before any action runs. Each handoff in the chain, from the person to the agent and from the agent to your product, is called a hop. Each hop is a separate claim, and your product either verifies it or assumes it.

In the delegation chain, the person grants authority, the agent presents it, and your product verifies it. At any hop you cannot verify, you have two bad options: block a paying customer, or let an agent act on their account with no proof that the customer allowed it.

In the diagram, titled DELEGATION CHAIN, a PERSON gives an AGENT a MANDATE, a signed slip that lists a SCOPE (which actions the agent may take), a CAP (a limit on how much it may spend or order), and an EXPIRY (when the grant ends). The agent presents the slip to YOUR PRODUCT, and, as the diagram says, EVERY HOP CHECKS THE SLIP BEFORE PASSING IT ON. When the check at your product fails, the request goes back to the person, marked CONFIRM?. The caption states the rule: "Check the mandate at every hop, or send the request back to the person."

If you refuse everything you cannot verify, you turn away your best customers' assistants and the work they were sent to do; if you accept anything that carries a valid token, you will eventually repeat the opening scene. The way out is a chain in which you keep evidence at every hop, and the rest of this chapter shows how to build one.

Offer scopes that name actions, not broad access

The first hop is the grant, the authority the person gives the agent. A grant that reads "full access" cannot be verified from the moment it is created, because it records nothing about what the person actually delegated. The scopes you offer agents (the permissions a grant can include) have to name actions the way your customers describe their work, not the way your database is organized.

  • Name actions, not areas. "Read order history", "create orders", and "issue refunds" are scopes your product can enforce and a customer can understand; "manage account" is neither.
  • Make reading, acting, and spending separate scopes. An assistant that reports on spending needs none of the authority of an assistant that spends money, so make the spending scope one that customers grant rarely and deliberately.
  • Give every grant an expiry and a way out the customer can see. The customer gets one page listing which agents hold grants on the account, what each grant allows, and a control that revokes any of them immediately.

Mandates: authorization you can prove later

Scopes limit what an agent may ever do, while a mandate records what its principal authorized this time. The agent-payment protocols that card networks and commerce platforms shipped over the past two years all use this kind of record. When a person delegates a purchase, the protocol captures the delegation as a signed record stating what may be bought, up to what amount, and until when. The agent presents the record at checkout, the merchant verifies it before charging and stores it, and if the purchase is disputed later, the merchant can prove exactly what the principal authorized. The people who designed these protocols started from the dispute and worked backward, and you should design in the same order.

Treat every consequential action (an action with real effects, such as spending money or changing data) the way the payment protocols treat a purchase: record what was authorized, by whom, within what limits, and until when, in a form you can prove later.

Purchases are not the only consequential actions. When a customer's agent deletes records, messages that customer's clients, or changes a production configuration, give the action the same treatment as a purchase: record the grant it acted under, the limits that applied, and the check your product ran, and keep all three where you can find them if there is a dispute. Individual protocols will keep changing, but the pattern will hold: a grant that is signed, that your product can check, and that you can store.

Human checkpoints: actions that go back to the person for approval

Some actions should not run under any standing grant (a grant that stays in force until it expires), so decide which ones before an agent ever requests them.

  • Irreversible actions. Anything that has no compensating action (an action that reverses it) goes back to the person, because a record of the mistake does not bring the data back.
  • Actions over the cap. A request that is inside the scope but over the cap, like an order at several times the usual volume, goes back to the person for confirmation; that checkpoint would have saved the account in the opening scene.
  • Out-of-scope requests. When the agent requests something no scope in its grant covers, your product should refuse and state which scope would cover it.

The design question is what your product returns at the checkpoint. A redirect to your web login page is a dead end, because the agent has no way to pass a login page on to its principal, so the task stops without any explanation and the customer concludes that your product failed. Instead, return a structured needs-confirmation response that states what the agent requested, why your product stopped the action, what an approval would allow, and how the approval gets back to your product. The assistant can then show the decision to its principal, who either approves, which extends the mandate to cover this action, or declines and ends the attempt. The payment protocols make the same distinction, between actions a person approves while present and actions that run under conditions the person signed in advance.

Keep a receipt for every consequential action

When a guest goes beyond what it was allowed to do, you settle the argument that follows with records, not with what people remember. For each consequential action, log the grant that was presented, the check your product ran, and the action that resulted, linked together as one entry. This is the ledger from Receipts and recovery: design for the failed run, where each line is the receipt for one action, used for agents that other people send you. The first time the customer, the company that runs the assistant, and you disagree about who authorized what, you can settle the question by looking up the entry instead of negotiating.

The screen a customer sees when they connect an assistant is now where they consent to everything the agent will ever do on their behalf. Treat it as product design, with an owner.

  • Scopes in plain language. Each scope is written as an action the customer recognizes, and the risky scopes look different from the safe ones.
  • Caps the customer sets. The customer enters or confirms the spending cap and the expiry; neither is a hidden default the customer never saw.
  • One place to look afterward. The customer can see what their agent did under each grant and can revoke the grant in one step.

A customer who can see what they delegated, check how it was used, and end it in one step will trust your product with an assistant sooner.

Try it now

This drill takes twenty to thirty minutes on paper and produces a verification map for one real action in your product.

Pick a protocol. Choose one published agent-payment or agent-checkout protocol and open its specification; the dated Interop Ledger, our reference page for agent-protocol facts that change often, lists the current ones.

Map the chain. Draw the hops from person to agent to merchant and label each one: who signs what, what the merchant can verify when the purchase runs, where the spending cap is recorded, and what record exists if the purchase is disputed. Scale it down: the spec's overview and its mandate or token definitions are enough, because you are mapping the chain, not implementing it.

Sketch your own chain. Choose one consequential action in your product that a customer's agent could plausibly take, such as placing an order, deleting a project, or messaging the customer's clients, and draw the same hops as they work today.

Mark the hops you cannot verify. Circle every hop where you could not prove what was granted: a scope that covers everything, a cap that does not exist, a confirmation the customer can give only in a browser session. Each circle is a backlog item; fix the ones closest to money first.

Chapter Summary

  • An operator works at the end of a delegation chain: a person grants authority limited by scopes, the agent presents it, and your product verifies each hop before the action runs.
  • A hop you cannot verify forces a bad choice: block a paying customer's assistant, or let an agent act on the account with no proof that the customer allowed it.
  • A valid token proves the agent may connect; it records nothing about what the person authorized.
  • Offer scopes that name actions, with reading, acting, and spending as separate scopes, and give every grant an expiry and a revocation control the customer can see and use.
  • The agent-payment protocols now available carry mandates, signed records of what the principal authorized, with limits and an expiry, so the merchant can prove authorization in a dispute.
  • Treat every consequential action like a purchase under a mandate: record what was authorized, by whom, within what limits, and until when, in a form you can prove later.
  • Send irreversible actions, actions over the cap, and out-of-scope requests to a human checkpoint, and return a structured needs-confirmation response the agent can pass on to its principal, never a login page.
  • Log the grant presented, the check run, and the action taken as one entry, because you settle disputes with records.
  • The grant screen a customer sees when connecting an assistant is your consent flow: scopes in plain language, caps the customer sets, and one place to see what the agent did and revoke its grants.
  • A verified chain handles the agents acting in good faith, and Guardrails for guests: rate limits, abuse, and the malicious agent covers the agents that are not.

Sources

  • Google (2025). Agent Payments Protocol announcement and specification, including intent and cart mandates (last verified July 2026).
  • OpenAI and Stripe (2025). Agentic Commerce Protocol specification and delegated payment documentation (last verified July 2026).
  • Visa (2025). Trusted Agent Protocol announcement and developer documentation (last verified July 2026).
  • Mastercard (2025). Agent Pay announcement and agentic token documentation (last verified July 2026).
  • Anthropic (2025). Model Context Protocol authorization specification, built on OAuth 2.1 (last verified July 2026).