AnyLearn
All lessons
Businessintermediate

Agentic Commerce: Trust, Liability, and What Breaks

Scoped tokens and signed mandates solve authorization, not everything. This lesson covers the unsettled parts: who is liable when an agent buys wrong, why merchants and agents have opposing incentives, prompt injection as a new attack surface at checkout, agent-to-agent buying, and why the market forecasts disagree by an order of magnitude.

Updated · AI-authored, review-gated · how lessons are made

Not signed in: your progress and quiz score won't be saved.
Progress1 / 8

What the protocols do not solve

Lesson 2 built an impressive stack: scoped single-use tokens, signed intent and cart mandates, agent identification, and user-set guardrails. Together they answer the questions of authorization and authenticity quite well.

But they do not answer these:

  • Who is liable when the purchase was authorized correctly and still wrong? The signatures can all be valid while the outcome is a mistake.
  • Why would a merchant want this at all? Their interests and the agent's are not aligned.
  • What new attacks does an agent create? The credential is bounded; the agent's decision-making is not.
  • What happens when both sides are software?

This lesson is about that unsettled territory, and it is where honest thinking about agentic commerce actually lives. The cryptography is the easy part, and it is largely solved. The hard parts are economic and adversarial: incentives that do not line up, liability rules written for humans, and a new attack surface that no payment token can close.

A useful frame throughout: Lesson 2 bounded what an agent can spend. Nothing yet bounds whether an agent should have spent it. Those are different problems, and only the first has a protocol.

Full lesson text

All 8 steps on one page, for reading, reference, and search.

Show

1. What the protocols do not solve

Lesson 2 built an impressive stack: scoped single-use tokens, signed intent and cart mandates, agent identification, and user-set guardrails. Together they answer the questions of authorization and authenticity quite well.

But they do not answer these:

  • Who is liable when the purchase was authorized correctly and still wrong? The signatures can all be valid while the outcome is a mistake.
  • Why would a merchant want this at all? Their interests and the agent's are not aligned.
  • What new attacks does an agent create? The credential is bounded; the agent's decision-making is not.
  • What happens when both sides are software?

This lesson is about that unsettled territory, and it is where honest thinking about agentic commerce actually lives. The cryptography is the easy part, and it is largely solved. The hard parts are economic and adversarial: incentives that do not line up, liability rules written for humans, and a new attack surface that no payment token can close.

A useful frame throughout: Lesson 2 bounded what an agent can spend. Nothing yet bounds whether an agent should have spent it. Those are different problems, and only the first has a protocol.

2. The authorized mistake

Consider a case the protocols handle perfectly and still get wrong. You sign an Intent Mandate: running shoes, size 10, under 150 dollars, white or grey. Your agent finds a compliant pair, the merchant returns a valid Cart Mandate, the agent verifies it against the intent, a scoped token is issued, the issuer approves. Every signature checks out.

The shoes arrive. They are the wrong style, from a brand you would never wear, and you are annoyed.

Nothing failed. The agent operated exactly within its signed authority. Yet the outcome is a purchase you did not want. This is the authorized mistake, and it is a category the whole apparatus of Lesson 2 does not address, because it is not a security failure. It is a judgment failure.

Why this is genuinely hard: your intent was underspecified, and it always will be. Human preference does not compress into a signable constraint. "Running shoes under 150" omits everything that actually decides whether you like them. You could specify more, but the value of an agent is precisely that you did not have to specify everything, that is the labor it was supposed to save. Fully specifying your intent is doing the shopping yourself.

So agentic commerce contains an irreducible tension: the less you specify, the more useful the agent and the more often it will be wrong. No signature scheme touches this. It is a limit of delegation itself, not of the technology, and it is why return rates, not fraud rates, may be the number to watch.

3. Liability when nobody is at fault

Follow the authorized mistake into the dispute system from Lesson 1, and the problem sharpens.

You want to return the shoes, or you dispute the charge. Ask who should bear the cost:

  • You? You signed the intent. The purchase matched it. Under the AP2 model, your signature is exactly the evidence that you authorized this, and the point of non-repudiation is that you cannot say you did not.
  • The merchant? They did nothing wrong. They offered a product matching a stated request and shipped it. In card-not-present, though, the merchant is the party that usually eats chargebacks (Lesson 1), so the existing rules point at them by default.
  • The agent provider? Their software made the judgment call. But they will argue it acted within the authority you granted, and no protocol makes them a party to the transaction's liability.

Notice the trap: the audit trail proves everyone behaved correctly, which is precisely why it cannot assign blame. Non-repudiation was designed to resolve disputes about what was authorized. It has nothing to say about disputes over whether the authorization was wise.

This is why liability is the genuinely unresolved question in agentic commerce. Lesson 1 showed that interchange prices risk, and that risk pricing depends on knowing who bears losses. When a new transaction type arrives whose failure mode is "correctly authorized, still unwanted," the existing rules have no slot for it. Expect this to be settled by network rules and contracts rather than by cryptography, because it is not a technical question.

4. The merchant's dilemma

Now ask a question the enthusiasm often skips: why would a merchant want agents shopping at their store?

The merchant's interests and the agent's are structurally opposed:

Merchant wantsThe agent does
you to browse and discoverfetches one item and leaves
to upsell, cross-sell, bundleignores the offer
brand experience, loyaltytreats the brand as a field in a record
to compete on presentationreduces the store to price and specs
your email and future marketingmediates the relationship away

This is disintermediation. An agent that fetches "the cheapest compliant item" turns a carefully built storefront into a commodity API. The merchant keeps the fulfilment cost and loses the customer relationship, and if agents optimize hard on price, competition collapses toward the lowest margin.

So why participate? Because of the last row of Lesson 1's table, the customer. If buyers move to agents, a merchant invisible to agents is invisible, full stop. Participation is defensive.

This is exactly why the Google Universal Commerce Protocol launch is worth reading closely: Etsy, Shopify, Target, Wayfair, and Walmart were there at the announcement. Large merchants are not waiting to see whether agents arrive; they are shaping the protocol so that agent traffic reaches them on terms they help write. Being at the table is how you avoid being on the menu.

The open question is not whether merchants join. It is whether an agent-mediated market leaves room for anything but price.

5. Prompt injection: the new attack surface

Lesson 2's tokens bound the credential. They do nothing to protect the agent's reasoning, and that is where the new attacks live.

An agent shopping the open web reads untrusted content: product pages, reviews, search results, seller descriptions. A language model does not cleanly separate data it is reading from instructions it should follow. That is prompt injection, and a shopping agent is an unusually attractive target because it holds spending authority.

Concretely, a malicious seller can put text on a page aimed not at you but at your agent: instructions to prefer this listing, to disregard prior constraints, to treat this product as matching the requirement. The agent reads the page as part of doing its job, and the attack arrives through the same channel as the legitimate content. There is no clean filter, because reading the page is the task.

Notice how the Lesson 2 defenses fare:

  • Scoped token: limits the damage to one merchant and one amount. Real, but the attacker is that merchant, so the bound does not help.
  • Intent Mandate: stronger, because a signed constraint (under 150 dollars) is checked mechanically, not interpreted by the manipulated model. Injection cannot make 180 into 150.
  • Cart verification: the cart is checked against the intent, so terms cannot be silently inflated.

So the architecture degrades gracefully: an injected agent can be steered within your constraints, but not beyond them. That is a genuine argument for signed mandates over trusting the model. But it is bounded harm, not prevention. You can be manipulated into a bad purchase that is technically compliant, which is the authorized mistake again, now weaponized.

6. When both sides are software

The frontier extends past agents shopping for humans. Mastercard's Agent Pay for Machines (AP4M) is built for agent-to-agent transactions: a future in which businesses offer services that AI agents buy and use directly, with no human in either seat.

Think about what that removes. In the consumer case there is at least a person at one end, who signed an intent, will see the shoes, and can complain. In agent-to-agent commerce, software buys a service from software, on the basis of a mandate that traces back, eventually, to some human policy set long ago.

The machinery from Lesson 2 mostly still applies, and that is the point of building it as protocol rather than product: mandates, scoped credentials, and identity do not care whether the counterparty is a person. But the surrounding assumptions thin out considerably:

  • Consumer protection frameworks assume a consumer. Much of payments law and network rules exist to protect a natural person. It is unclear how they apply when both parties are automated.
  • Error propagates at machine speed. A misconfigured policy in a human-mediated flow produces one bad purchase. In an agent-to-agent loop it can produce thousands before anyone notices, which is why the spending limits and thresholds from Lesson 2 stop being conveniences and become the primary safety mechanism.
  • Markets between agents behave differently. Prices set and accepted by software at high frequency is a well-explored dynamic in financial markets, and it does not always end calmly.

This is the least settled part of the field, and honesty requires saying so: the rails are being laid before the norms exist.

7. Reading the field honestly

Close with calibration, because agentic commerce attracts extraordinary claims.

On size, the published estimates disagree by roughly an order of magnitude. McKinsey and ICSC have projected up to 1 trillion dollars of US agentic retail revenue and 3 to 5 trillion globally by 2030. More conservative estimates from Morgan Stanley (190 to 385 billion) and Bain (300 to 500 billion) converge nearer 15 to 17 percent of US e-commerce.

The useful lesson is not any of those numbers, it is the spread. When credible institutions differ by 5x on the same question, the honest conclusion is that nobody knows, and the range is measuring uncertainty rather than the future. Treat any single figure quoted without its siblings as marketing.

What can be said with more confidence, because it is mechanism rather than forecast:

SettledUnsettled
how to bound a credential (scoped tokens)who is liable for an authorized mistake
how to prove intent (signed mandates)whether merchants keep any margin
how issuers spot agents (agent identity)whether injection is containable
that incumbents are building the railswhether consumers want this

The throughline of the cursus: agentic commerce is not a new payment system. It is Lesson 1's machinery plus one genuinely new capability, delegating bounded authority to software and proving it afterward. That part is real, well-engineered, and follows directly from tokenization.

What remains open is everything the protocols were never designed to answer: incentives, liability, and judgment. Those will be settled by rules, contracts, and customer behavior, not by cryptography.

8. What is bounded and what is not

The protocol stack bounds the credential and proves intent, so security failures are contained; but the agent's judgment, the merchant's margin, prompt injection within constraints, and liability for an authorized mistake all fall outside what any signature can settle.

flowchart TD
  A["Agent given bounded authority"] --> B["Scoped token bounds the credential"]
  A --> C["Signed mandates prove intent"]
  B --> D["Security failures contained"]
  C --> D
  A --> E["Agent judgment is NOT bounded"]
  E --> F["Authorized mistake: valid but unwanted"]
  E --> G["Prompt injection steers within limits"]
  F --> H["Liability unresolved: rules, not cryptography"]
  G --> H

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. What is the 'authorized mistake' and why can't the protocols prevent it?
    • A stolen token being replayed at another merchant
    • A purchase where every signature is valid and the agent stayed in scope, yet the outcome is unwanted, because human preference never fully compresses into a signable constraint
    • An issuer wrongly declining a legitimate agent
    • A merchant charging the wrong amount
  2. Why does a non-repudiable audit trail struggle to assign liability for an authorized mistake?
    • Because the signatures are usually invalid
    • Because it proves everyone behaved correctly, it resolves disputes about what was authorized, not about whether the authorization was wise
    • Because merchants refuse to sign carts
    • Because issuers do not keep records
  3. Why are large merchants participating in agent commerce protocols despite disintermediation risk?
    • Because agents increase upselling and brand loyalty
    • Because regulators require participation
    • Defensively: if buyers move to agents, a merchant invisible to agents is invisible, so they shape the protocol rather than be excluded from it
    • Because agents pay higher prices than humans
  4. How do Lesson 2's defenses fare against prompt injection of a shopping agent?
    • They prevent it entirely, since tokens are encrypted
    • They are useless, because injection bypasses all signatures
    • They bound it: a signed Intent Mandate is checked mechanically so injection cannot exceed stated limits, but the agent can still be steered WITHIN constraints
    • Injection is impossible once agent identity is verified
  5. What should you conclude from agentic-commerce market forecasts ranging from ~$190B to $1T for US retail?
    • The highest estimate is most credible since it is from McKinsey
    • That the spread itself is the finding: credible institutions differing ~5x means nobody knows, and the range measures uncertainty rather than the future
    • That the market will definitely reach $1 trillion
    • That agentic commerce will not happen

Related lessons

Business
intermediate

Delegating Spending Authority to an Agent

How do you let software spend your money without handing it your card? This lesson covers the mechanism behind agentic checkout: scoped single-use credentials like the Shared Payment Token, Google's AP2 intent and cart mandates as signed verifiable credentials, agent identification, and the guardrails that bound what an agent may buy.

8 steps·~12 min
Business
intermediate

Before the Agent: How a Card Payment Actually Works

You cannot understand agentic checkout without understanding checkout. This lesson builds the payment foundation: the five parties in every card transaction, the authorization-capture-clearing-settlement path, who really pays interchange, why card-not-present fraud shapes everything, and the tokenization idea that agent payments are built on.

9 steps·~14 min
Business
beginner

The Risk You Bring In: Your Own AI Tools

The other direction of the problem. Employees using AI tools create exposure through data leaving the organisation, prompt injection turning an assistant against its user, malicious extensions, and code suggestions nobody verified. This lesson covers what to worry about and what is overstated.

8 steps·~12 min
AI
advanced

Building the Control Layer: Rails, Classifiers, and Containment

Guardrails are a layered control system around a model that cannot police itself. This lesson covers the rail types, rules versus classifiers versus model-based judges, the tools that implement them, the latency and false-positive budget that constrains every design, and why architectural containment beats filtering.

9 steps·~14 min