Your Agent Just Authorized What?! — Jay Mok & Ben Coumes, Paypal

Read the talk

Your Agent Just Authorized What?!

Jay Mok and Ben Coumes of PayPal build an authorization ladder from reversible coding work to autonomous payments, showing how consent, scope, and evidence must strengthen as actions become harder to undo and counterparties become less familiar.

From a talk by Jay Mok and Ben Coumes

At a glance

Ideas worth remembering

  • Agent authorization must answer three separate questions: whether the human consented, whether the action remains inside its current scope, and whether that authorization can be proved later.

  • Use lightweight permissions and ordinary logs when actions are reversible and participants share a trusted boundary; stronger proof should earn its complexity by addressing higher consequences or unfamiliar counterparties.

  • A shared vault plus OAuth scopes can support machine payments inside a known ecosystem because the common operator enforces mandates and retains transaction history.

  • For autonomous transactions among unfamiliar parties, layered signatures and selective disclosure separate credentialing, human instructions, agent action, checkout verification, and payment verification.

  • PayPal’s approval-token example reverses the usual order: the human approves constrained instructions first, then the agent searches and transacts within the amount, expiry, and merchant limits.

  • The ladder extends beyond payments to any consequential, hard-to-reverse agent action, including medical orders, electronic signatures, and securities trading.

Three questions before an agent acts

The nightmare is smaller than Skynet and much easier to imagine: an agent gets access to your wallet, then buys crypto and Spanx. Jay Mok, a product manager in PayPal agentic payments, and Ben Coumes, a staff software engineer on PayPal Enterprise Payments, use that joke to introduce a serious design problem. Once an agent can act without a person approving each individual step, authorization must describe more than identity. It must say what the agent may do, under which conditions, and what evidence will remain if the action is challenged later. 0:42

Recording frame at 99 secondsOpen full source frame
Recording frame at 99 seconds

The framework begins with three questions:

  • Consent — did the human authorize this? In payments, a passkey or similar mechanism can connect the instruction to the person.
  • Authority — is it allowed right now, in this scope? A time-bound token can constrain the amount, merchant, product intent, or some combination of them.
  • Evidence — can we prove it later? If something goes wrong, the system needs enough history to resolve whether the human authorized the disputed transaction.

Those answers depend on two contextual variables: the stakes of the action and whether the parties already know one another. A familiar, closed ecosystem can borrow trust from a shared operator. An open ecosystem cannot assume that an unfamiliar merchant, agent, or processor has already been vetted. “Know Your Agent” is therefore only part of the problem; the topology of the relationship matters too. 2:49

The office-badge analogy makes that distinction tangible. After an employee badges into a building, they usually do not authenticate again at every room. People inside inherit some trust from the shared boundary. Meeting a stranger on the street is different: displaying an unfamiliar badge does not establish who issued it, what it permits, or whether it is still valid. Agent authorization gets more demanding as it moves from the building to the street. 3:19

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:12 · section reference included

Low stakes: permissions and reversible work

A coding agent supplies the first rung of the ladder. A person connects Claude Code to services such as GitHub, Jira, or Linear and authenticates during setup. That initial connection provides human consent for the agent to interact with those applications; tool permissions then narrow what it can do. 4:19

The permission choices are concrete: a tool can be allowed, denied, or configured to ask before use. This is lightweight delegated authority. The user authorizes a relationship once, while the runtime decides whether a particular tool call can proceed automatically, cannot proceed at all, or must return to the human for approval.

Ordinary system logs and version-control rollback can provide enough evidence here because the example assumes a relatively closed environment and reversible coding changes. Cryptographic proof would add machinery without addressing the dominant failure mode: an incorrect edit that can usually be inspected, reverted, or redone. Calling this “low stakes” is contextual rather than universal; it describes the reversible coding example, not every operation a coding agent might be allowed to perform. 5:19

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

4:19 · section reference included

Medium stakes: borrowing trust from a shared system

The second rung introduces money while retaining a shared system boundary. The example is a travel business with valuable occupancy data or reviews that buyer agents want to purchase through machine payments. PayPal describes partner Nevermind using Braintree or PayPal Enterprise infrastructure to connect buyer and seller agents in a more controlled ecosystem. 6:30

Two primitives divide storage from delegated access:

  • The vault stores payment credentials on behalf of buyer agents. Storage alone does not determine which seller may use those credentials or for what purpose.
  • OAuth access exposes those stored credentials to participating merchants under defined authorization, creating a known ecosystem around the vault.

Follow the travel example through one purchase. A business user shares a commercial card with a buyer or travel agent. The associated mandate carries scopes that limit the agent’s authority. A seller agent inside the same Nevermind environment accepts payment because both sides rely on the platform to enforce that mandate. The observable change is money moving between buyer and seller agents; the causal chain is human authorization, scoped delegated access, platform enforcement, and a transaction recorded by the shared system.

Disputes in this model rely on existing transaction logs rather than cryptographic proof attached to every request. That is why the example sits in the middle of the ladder: money makes mistakes consequential, but the shared operator can identify participants, enforce the payment mandate, and reconstruct events. The parties are “borrowing trust” from the system they both use. 8:30

How a shared payment system lends trust

Business userbuyer — Authorizes a commercial payment credential for the buyer agent.
Shared vaultplatform — Stores payment credentials on behalf of buyer agents.
Buyer agentbuyer — Acts under the scoped payment mandate.
Seller agentseller — Accepts payment from another participant in the shared system.
Transaction logsplatform — Provide the evidence used for later dispute handling.
The vault stores credentials, OAuth scopes delegated access, and the shared operator supplies enforcement and transaction history for both agents.
Read the diagram as text
  • Business user. buyer — Authorizes a commercial payment credential for the buyer agent.
  • Shared vault. platform — Stores payment credentials on behalf of buyer agents.
  • Buyer agent. buyer — Acts under the scoped payment mandate.
  • Seller agent. seller — Accepts payment from another participant in the shared system.
  • Transaction logs. platform — Provide the evidence used for later dispute handling.
  • Business user → Shared vault: Authorizes stored credential.
  • Shared vault → Buyer agent: Delegates access through OAuth and scopes.
  • Buyer agent → Seller agent: Pays within shared ecosystem.
  • Seller agent → Transaction logs: Records transaction.
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:30 · section reference included

High stakes: proof between strangers

The top rung removes the shared boundary. A user gives an agent instructions, but neither the user nor the agent necessarily knows which counterparty will eventually fulfill them. PayPal’s proposed direction is FIDO verifiable intents and AP2 mandates, described here as a multilayer selective-disclosure JWT. The goal is to let each participant verify the authorization relevant to its role without requiring every participant to maintain a prior relationship with every other one. 10:43

Recording frame at 658 secondsOpen full source frame
Recording frame at 658 seconds

The layers carry different claims. A trustworthy credential provider creates the first layer. A second layer encapsulates the human’s instructions to the agent and is signed with the user’s private key. For an autonomous payment, the agent can sign a third layer representing its action under those instructions. Selective disclosure then lets a merchant verify the checkout while a payment processor verifies the payment mandate, without forcing either party to inspect everything in the authorization package.

What question does this layering answer? It shows how trust can cross an open ecosystem without collapsing all participants into one shared database or exposing every claim to everyone. Identity, human intent, and agent action remain distinguishable, while signatures connect them into evidence that unfamiliar parties can verify.

Layered authorization for an autonomous payment

Credential-provider layerauthorization — Established by a trustworthy credential provider.
User-instruction layerauthorization — Contains the human’s instructions and is signed with the user’s private key.
Agent layerauthorization — For autonomous payments, the agent signs the action taken under those instructions.
Merchant verificationverification — Checks the checkout information relevant to the sale.
Processor verificationverification — Checks the payment mandate relevant to moving money.
Each signed layer contributes a different part of the authorization story, and each participant verifies only the portion relevant to its role.
Read the diagram as text
  • Credential-provider layer. authorization — Established by a trustworthy credential provider.
  • User-instruction layer. authorization — Contains the human’s instructions and is signed with the user’s private key.
  • Agent layer. authorization — For autonomous payments, the agent signs the action taken under those instructions.
  • Merchant verification. verification — Checks the checkout information relevant to the sale.
  • Processor verification. verification — Checks the payment mandate relevant to moving money.
  • Credential-provider layer → User-instruction layer: Supports the user’s credentialed instruction.
  • User-instruction layer → Agent layer: Delegates bounded authority.
  • Agent layer → Merchant verification: Discloses checkout proof.
  • Agent layer → Processor verification: Discloses mandate proof.
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

10:43 · section reference included

The approval token inverts the order flow

The PayPal approval token turns the abstract ladder into a concrete order flow. A conventional PayPal purchase is synchronous: the user finds an item, enters checkout, opens PayPal, approves the order, and finishes. The approval token changes the sequence by allowing authorization to begin before the agent has found the final item and merchant. 11:43

The user starts with an agent and is redirected to PayPal to confirm the instructions being delegated. PayPal then returns a JSON payload carrying constraints such as the amount, expiry, and merchant. The agent can continue its search and transact only within those approved limits. Authorization becomes an input to discovery rather than a final click after discovery.

The token resembles a verifiable intent in purpose but not in implementation. Coumes describes it as an opaque string that only PayPal can approve, rather than the interoperable multilayer proof proposed for unknown parties. At the time of the recording, PayPal said the token was about to enter production for users selecting PayPal as a payment method in Gemini; that statement establishes the recorded plan, not its later deployment status. 12:43

What changed visibly? The approval screen moved ahead of product selection. Causally, the human first confirms bounded instructions; PayPal encodes those instructions in a constrained token; the agent searches under that delegated authority; and a later transaction must satisfy the amount, expiry, and merchant restrictions. The system avoids asking for unrestricted wallet access while still letting the agent continue after the human leaves the loop.

Synchronous checkout versus approval before discovery

Find item and merchantConventional order — The user has already selected the transaction.
Approve in PayPalConventional order — Approval follows the completed checkout decision.
Complete orderConventional order — The synchronous flow finishes immediately after approval.
Give the agent instructionsApproval-token order — The final item may not yet be known.
Confirm bounded authorityApproval-token order — PayPal confirms amount, expiry, merchant, or related constraints.
Receive approval tokenApproval-token order — PayPal returns an opaque JSON-carried authorization primitive.
Agent finds and transactsApproval-token order — Later work must remain within the approved instructions.
The conventional flow authorizes a known order. The approval-token flow authorizes constrained instructions first, then lets the agent search within them.
Read the diagram as text
  • Find item and merchant. Conventional order — The user has already selected the transaction.
  • Approve in PayPal. Conventional order — Approval follows the completed checkout decision.
  • Complete order. Conventional order — The synchronous flow finishes immediately after approval.
  • Give the agent instructions. Approval-token order — The final item may not yet be known.
  • Confirm bounded authority. Approval-token order — PayPal confirms amount, expiry, merchant, or related constraints.
  • Receive approval token. Approval-token order — PayPal returns an opaque JSON-carried authorization primitive.
  • Agent finds and transacts. Approval-token order — Later work must remain within the approved instructions.
  • Find item and merchant → Approve in PayPal: Known order reaches checkout.
  • Approve in PayPal → Complete order: Approval completes purchase.
  • Give the agent instructions → Confirm bounded authority: Redirect user to PayPal.
  • Confirm bounded authority → Receive approval token: Encode confirmed constraints.
  • Receive approval token → Agent finds and transacts: Continue under delegated authority.
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

11:43 · section reference included

Match evidence to consequence and distance

The completed ladder connects four design choices: reversibility, financial consequence, counterparty familiarity, and strength of evidence. A reversible coding change inside a familiar toolchain can use connector consent, granular tool permissions, logs, and rollback. Money moving inside a shared platform needs a scoped mandate and transaction history. An irreversible autonomous action involving unknown parties needs portable, verifiable proof that the agent had permission to act. 13:02

Recording frame at 835 secondsOpen full source frame
Recording frame at 835 seconds

The highest rung remained prospective in the talk: Coumes says they had not yet seen fully autonomous transactions between unknown parties running in production. That limitation matters because the layered intent model is presented as the direction the industry should adopt, not as a demonstrated production result at scale.

Payments are only the motivating case. The same reasoning applies to medical orders, electronic signatures, securities trading, and other agent actions that are difficult to reverse. As consequences rise, “the model said so” and an ordinary activity log stop being sufficient. The system must bind human intent to a limited action and preserve evidence another party can verify later. 14:31

The badge analogy returns with a sharper conclusion. Inside the building, a shared boundary can make a familiar badge good enough. On the street, an unfamiliar badge is only a claim until its issuer, validity, and permitted scope can be checked. Preventing “Skynet from taking over your wallet” therefore does not require maximum cryptography for every agent action. It requires evidence proportionate to the damage, reversibility, and distance between the parties. 14:46

The authorization ladder

Low: reversible coding workKnown ecosystem — Connector consent; allow, ask, or deny; system logs and rollback.
Medium: money in a shared systemKnown ecosystem — Vaulted credential, OAuth access, scoped mandate, and transaction logs.
High: autonomous action with strangersOpen ecosystem — Signed, selectively disclosed proof of human intent and agent authority.
As actions become harder to reverse and counterparties less familiar, authority narrows and evidence becomes more portable and verifiable.
Read the diagram as text
  • Low: reversible coding work. Known ecosystem — Connector consent; allow, ask, or deny; system logs and rollback.
  • Medium: money in a shared system. Known ecosystem — Vaulted credential, OAuth access, scoped mandate, and transaction logs.
  • High: autonomous action with strangers. Open ecosystem — Signed, selectively disclosed proof of human intent and agent authority.
  • Low: reversible coding work → Medium: money in a shared system: Money raises the consequence.
  • Medium: money in a shared system → High: autonomous action with strangers: Unknown counterparties remove borrowed trust.
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

13:02 · section reference included

Resources

Transcript & slides

Loading transcript and slides…

Transcript download