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
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.
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.
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
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
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.
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
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.
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
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
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.
Resources
Related talks
- How to Secure Agents using OAuth
Extends the medium-stakes portion into the mechanics of delegated OAuth access, short-lived tokens, consent, scopes, and transactional authorization.
- Full Workshop: Agent Auth Protocol — Paola Estefanía de Campos, Better Auth
Provides a practical companion on distinct agent identities, narrowly scoped capabilities, approvals, revocation, and auditability.
- Building safe Payment Infrastructure for the autonomous economy
Offers a complementary payment-infrastructure view that separates nondeterministic agent discovery from deterministic credentials, checkout, spending controls, and payment execution.
Transcript & slides
Loading transcript and slides…