WhoBuilt

Teaching agents to pay

Sep 1, 2026· 19 min· 4.7K views·Watch on YouTube

Speaker

Anna Spysz of Stripe shows how she built an agent to shop for recording headphones, covering merchant readiness, agent behavior, and payment safeguards.

Why agents need a shared commerce language

After returning to music recording, Anna found her old headphones were no longer suitable and decided to build an agent to buy replacements. She explains that agents rely on structured data and technical signals rather than browsing storefronts as people do. The Universal Commerce Protocol gives agents and merchants a shared way to initiate, update, complete, and cancel purchases.

Making a local merchant ready for agents

Anna wants to buy from her Portland music shop, Rainy Day Music, but the agent cannot access its catalog. She describes a Merchant Capabilities Manifest in the website’s `.well-known` directory, which lists capabilities, payment methods, and API endpoints. Product data and store policies also need structured formats, and merchants should log the attribute matches behind agent recommendations.

Designing an agent people can trust

The shopping agent becomes pushy and rude, prompting Anna to inspect its configuration. She explains how the language model, tools, instructions, and system prompt shape an agent’s behavior, then switches from an aggressive salesperson persona to a patient recording gear mentor. Her practical safeguards include disclosing AI use and fees, honoring stop and cancel requests, respecting the user’s spending limit, avoiding urgency tactics, and logging decisions.

Using payment tokens to protect card details

Before checkout, Anna worries about giving her card details to an agent she built. In the demo, the payment provider returns a shared payment token rather than a card number; the agent passes it to the seller, which sends it to the provider for payment processing. The provider enforces limits such as token validity, amount, and currency, and rejects charges that violate them.

Takeaways

  • Expose products, policies, capabilities, and payment endpoints in structured formats agents can use.
  • Log the product attributes that inform recommendations so merchants can audit how decisions were made.
  • Treat the system prompt as a major part of the customer experience, and test how the agent responds when a buyer hesitates.
  • Set explicit guardrails for spending limits, cancellations, fee disclosure, and manipulative sales language.
  • Use payment flows that keep raw card details away from the agent and enforce transaction limits at the provider.

Mentioned in this talk

Search inside this talk

What was claimed 6

  • works at
    “I work at Stripe”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    Universal Commerce Protocol: Defines how agents initiate, update, complete, and cancel purchases
    “defines how agents initiate, update, complete, and cancel purchases”
    YouTube
    Unverified1 source· Talk
  • feature
    Universal Commerce Protocol: Designed to scale across multiple agents and merchants using a shared language
    “designed to scale across multiple agents and merchants, all speaking the same language”
    YouTube
    Unverified1 source· Talk
  • feature
    Rainy Day Music: Its catalog was not accessible to the agent before being prepared for agent commerce
    “the agent tells me its catalog isn’t accessible”
    YouTube
    Unverified1 source· Talk
  • feature
    Shared payment token: Can represent a card number or wallet and carry fraud signals or customer reputation data
    “represents a raw card number or a wallet”
    YouTube
    Unverified1 source· Talk
  • feature
    Stripe: As payment provider, enforces transaction limits and rejects charges that violate token guardrails
    “the payment provider enforces all of the limits”
    YouTube
    Unverified1 source· Talk

Related talks