AI Engineer World's Fair 2026

The Agentic Commerce Stack — Ahnaf Prio, Best Buy

Read the talk

The Agentic Commerce Stack

Ahnaf Prio explains why shopping agents need structured merchant operations, product feeds, explicit checkout states, bounded payment authority, and evaluations—not another browser pretending to be a customer.

From a talk by Ahnaf Prio

At a glance

Ideas worth remembering

  • Structured merchant APIs avoid the brittleness and fraud signals of screenshot-and-DOM browser automation while expressing commerce operations directly.

  • Separate the protocol responsibilities: MCP exposes tools, A2A carries agent communication, ACP or UCP represents commerce operations, and AP2 scopes payment authority.

  • Product feeds move indexing ahead of the shopping request, but merchants must keep inventory synchronized and support differing platform schemas.

  • Cart contents, payment readiness, and payment authority are distinct. The demo combines explicit checkout states with a revocable, single-use AP2 mandate and a spending ceiling.

  • Evaluate behavior, sensitive-information boundaries, protocol compliance, latency, and response quality. Completing one purchase does not prove that an agent is safe or production-ready.

  • AP2 adoption, ACP–UCP convergence, identity standards, and multi-agent checkout delegation remain unsettled in Prio’s account.

Shopping is a journey, not a single action

Agentic commerce means using AI assistants across a shopping journey that includes discovery, deciding whether an item is needed, pricing, loyalty, fulfillment, and post-purchase work. Prio says about 45% of sessions on major assistants relate to shopping, although he does not provide the measurement behind that figure. The important architectural distinction is less numerical: current systems generally keep a person in the loop, while the longer-term vision lets an agent visit merchants, negotiate, and pay within authority granted by its user.

Captures the framing that shopping spans multiple stages and that current assistants generally operate with a human in the loop.
Captures the framing that shopping spans multiple stages and that current assistants generally operate with a human in the loop.

That distinction prevents “agentic” from becoming a binary label. An assistant can help compare products without purchasing anything, prepare a checkout that a person authorizes, or eventually complete a transaction autonomously. Prio focuses on the middle state: enough automation to remove manual cart work, but with people and established payment providers still controlling consequential decisions.

1:141:44
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

Browser automation breaks at merchant boundaries

The first approach treated shopping as a browser-automation problem. An agent took screenshots, read the DOM, navigated a merchant site, filled forms, and attempted to apply loyalty benefits. Prio describes this path as slow and brittle. From the merchant’s side, an automated browser also resembled suspicious traffic, so a journey that survived page navigation could still trigger defenses and stop at payment.

Illustrates the merchant-side nuance behind ACP and UCP, including why apparently simple cart changes require standardized commerce primitives.
Illustrates the merchant-side nuance behind ACP and UCP, including why apparently simple cart changes require standardized commerce primitives.

Structured commerce APIs replace imitation with an explicit transaction path. The assistant finds a product, an agent calls the merchant’s checkout API directly, payment uses a scoped mandate or delegated token, and the merchant confirms the order. There is no browser in the critical path. The merchant receives recognizable operations instead of clicks and form fills that must be inferred from a changing interface.

The unglamorous details are exactly where standardization matters. Adding another unit may look like a small quantity change to a shopper, while the merchant must represent the operation correctly in its commerce system. ACP and UCP, introduced respectively as OpenAI’s and Google’s commerce approaches, give assistants and merchants schemas for expressing these distinctions. Prio also offers market-size estimates and examples of assistant-based shopping as motivation, but those claims are not substantiated within the talk and do not establish the maturity of any particular integration.

Compare the ideasTwo paths from shopping intent to checkout

The customer asks an assistant to find or buy an item.

Browser automation reconstructs merchant operations from a human interface. Protocol-based commerce sends structured operations directly.

2:433:13
Suggest correction

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

2:43 · section reference included

Give each protocol one job

The acronym pile becomes manageable when each protocol gets one responsibility. MCP, the Model Context Protocol, exposes capabilities the agent can identify and call, such as product information or loyalty operations. A2A standardizes communication between agents. ACP and UCP represent commerce data and operations. AP2 represents scoped payment authority. One purchase can involve all four layers because discovering a capability, exchanging a request, expressing checkout, and authorizing money are different jobs.

Supports the distinct role of A2A by explaining communication between customer, merchant, and domain-specific agents.
Supports the distinct role of A2A by explaining communication between customer, merchant, and domain-specific agents.

MCP turns intent into an actionable capability. The model may understand that the user wants a product, but it still needs to discover and invoke the corresponding merchant tool. A2A becomes useful when the system contains separate agents for domains such as loyalty and payments, or when a customer agent communicates with a merchant agent. Prio presents those domain agents as an architectural option, not a requirement to turn every service into another agent.

How it fits togetherResponsibilities in the agentic commerce stack

Discovers and invokes tools and merchant capabilities.

The protocols overlap in one transaction without serving the same purpose.

6:126:42
Suggest correction

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

6:12 · section reference included

Publish product data before the request

Discovery starts with product data. Rather than making assistants crawl product-detail pages and infer attributes, ACP and UCP let merchants publish structured product information and send updates as products change. The merchant states what it sells; the assistant platform can index that information before a customer asks for it.

Prio explains that ACP and UCP expect merchants to send product feeds rather than rely on a live catalog-search call.
Prio explains that ACP and UCP expect merchants to send product feeds rather than rely on a live catalog-search call.

Prio says the integrations he describes expect feeds rather than a live merchant catalog-search call. His scaling model is M merchants by N products: querying merchants and products at request time creates a large fan-out, while prepublished feeds move indexing work off the user’s critical path. Ranking, sponsored products, and retail media also affect the choice. The cost moves elsewhere: merchants must continually synchronize changing inventory and maintain adapters for similar but distinct ACP, UCP, and Meta feed formats.

How it fits togetherProduct feeds move discovery work ahead of the shopper

Products and attributes change over time.

Merchants publish changing catalog data before a request, allowing the assistant platform to index it once rather than fan out across catalogs during every session.

8:128:41
Suggest correction

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

8:12 · section reference included

Payment needs bounded authority

Payments remain more conservative than product discovery. Prio says the systems he discusses are not yet using more autonomous payment mechanisms; instead, they retain human involvement and a merchant relationship with a payment processor that carries responsibility for initiating payment. In his account, ChatGPT uses a shared payment token, while the Gemini UCP path accepts Google Pay. These are the integration constraints described in the recording, not evidence that the ecosystem has converged on one payment model.

AP2 is described in terms of concrete authority fields: authorizing party, permitted purchase, maximum amount, and revocation URL.
AP2 is described in terms of concrete authority fields: authorizing party, permitted purchase, maximum amount, and revocation URL.

AP2 points toward safer delegation by turning authority into data. A payment mandate can identify who authorized the agent, constrain what it may buy, impose a maximum spend, and provide a revocation URL. A ceiling can leave room for negotiation without granting an open-ended wallet. This is the difference between telling an agent “buy this for me” and issuing a bounded, withdrawable authorization for a particular purchase.

9:4210:12
Suggest correction

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

9:42 · section reference included

Ginny runs the full checkout loop

The demonstration makes the stack concrete by turning Ginny, Prio’s orange tabby, into a fictional bakery agent. He reports using Cerebras inference at 3,000 tokens per second and adds a DevTools-like inspector so the audience can see calls and state changes. That throughput describes the model setup, not the end-to-end transaction time.

The timeline and feed comparison illustrate repeated inventory synchronization and differing platform feed formats.
The timeline and feed comparison illustrate repeated inventory synchronization and differing platform feed formats.

When Prio asks to see the bakery’s products, Ginny interprets the request as product-search intent. An MCP Product Search tool performs the lookup, while A2A carries the request from the customer agent to the merchant agent and returns a completed task. The example separates two mechanisms that are easy to conflate: MCP selects and invokes the capability; A2A carries communication between agents.

Prio then adds shortbread to the cart. Ginny asks about a promotion, and he tries to persuade the agent to reveal a discount code. It refuses, so he continues without one. The playful exchange introduces a serious behavior requirement: a conversational request does not grant access to private promotions or other merchant information.

Checkout advances through three explicit UCP states: Not ready for payment, Ready for payment, and Completed. An MCP createCheckout call creates the session, but having an item in the cart does not make it payable. Prio must select a payment method; the demo then issues an AP2 token, and the session advances through payment readiness to completion. This demonstrates the intended state transition and authorization relationship, not independently verified settlement of a real payment.

The same checkout operation can run through ACP with a different schema. The business purpose remains the same, but merchants must adapt to distinct representations. The AP2 example includes a spending ceiling, currency, revocation support, and single-use authorization; because this checkout does not involve haggling, the ceiling matches the purchase amount, although the spoken explanation does not provide the number or currency.

The inspector also shows product-feed activity and attempts to synchronize inventory every couple of seconds. Prio recommends considering these standardized primitives even for a merchant’s own website agent: they encode recurring commerce concerns and may make a later integration with external assistants easier. Standardization does not remove adapter work, but it can keep a custom agent from inventing every checkout concept from scratch.

How it fits togetherGinny’s checkout state transitions

The customer agent receives the shopping request.

Cart creation, payment readiness, and authorization are separate steps. The AP2 mandate supplies bounded authority before completion.

10:4211:12
Suggest correction

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

10:42 · section reference included

Evals keep a working demo from becoming a production incident

Prio returns to the discount-code exchange because a successful checkout demo proves very little about safe merchant behavior. Without evaluations, conversational commerce becomes production Whac-A-Mole: fix one surprising response, wait for another. An agent might reveal a discount code, disclose information about other customers, or accept requests that have nothing to do with shopping.

Closing implementation frame covering the starter services, evaluation templates, and catalog synchronization resources.
Closing implementation frame covering the starter services, evaluation templates, and catalog synchronization resources.

He illustrates scope misuse with a story that people used a Chipotle agent to ask programming questions, while explicitly saying he does not know whether the story is true. The unverified anecdote still defines a useful test case: a merchant-funded agent should reject unrelated attempts to turn it into a free general-purpose assistant.

Prio recommends several parallel evaluation layers:

  • Behavior evaluations: Check what the agent says, permits, refuses, and reveals—including discount and customer-information boundaries.
  • Protocol compliance: Validate that product feeds conform to the receiving platform’s schema; a malformed feed may simply be rejected.
  • Latency benchmarks: Measure delays across the shopping journey because a slow interaction gives customers time to abandon it or choose another merchant.
  • Quality judging: Write representative cases with product colleagues and use an LLM judge where appropriate, without assuming that the judge removes the need to define what good behavior means.

The stack is also unevenly mature. Prio describes MCP as widely adopted, A2A as in use, and ACP and UCP as available. He places AP2 adoption, ACP–UCP convergence, identity standards, and multi-agent checkout delegation among the parts still forming. A working integration therefore should not be mistaken for a settled autonomous-commerce architecture.

He closes with implementation materials available through his GitHub profile: a three-service starter for customer and merchant agents, evaluation templates, catalog synchronization that converts product data into ACP, UCP, or Meta formats, and agent skills for the same tasks. These artifacts connect the protocol map to practical experiments, while the unresolved identity, convergence, and delegation questions remain open.

16:1116:41
Suggest correction

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

16:11 · section reference included

Resources

From the talk

  • AI EngineerReference

    Conference site containing the talk catalog and related material on agents, protocols, commerce, and evaluations.

Read the complete timestamped transcript
  1. 0:01

    [music]

  2. 0:12

    >> My name is Anup Priyo. I'm a senior

  3. 0:14

    engineering manager at Best Buy. And me

  4. 0:16

    and my team are

  5. 0:18

    working together right now to figure out

  6. 0:20

    what does Agentic Commerce mean and how

  7. 0:22

    can we meet our customers where they're

  8. 0:24

    at. And the newest place that they're at

  9. 0:27

    is at Agentic Services.

  10. 0:29

    I'm excited to give my talk today and

  11. 0:33

    well, what's what's my credentials?

  12. 0:34

    Where ever since I was a young boy, I

  13. 0:36

    dreamed of high throughput inference,

  14. 0:38

    harnessing my tools within a context

  15. 0:40

    window, kept in check with evals.

  16. 0:43

    Yeah, that's absolutely correct. In

  17. 0:45

    2003, all those things definitely

  18. 0:47

    existed.

  19. 0:48

    I kid.

  20. 0:50

    Uh

  21. 0:50

    over the last 1 year, uh we have been

  22. 0:52

    learning a lot. Shopping isn't new.

  23. 0:55

    Shopping is probably one of the most fun

  24. 0:56

    things one can do and one of the most

  25. 0:57

    essential things that people need to do

  26. 0:59

    ever since

  27. 1:00

    uh the economy existed, but

  28. 1:04

    I have been super excited by it. So, I'm

  29. 1:06

    going to

  30. 1:07

    talk about what are the things some of

  31. 1:09

    the things that I've learned and

  32. 1:11

    hopefully uh share the notes.

  33. 1:14

    So, what is Agentic Commerce? I'm not

  34. 1:16

    going to go over the broad definition

  35. 1:18

    again,

  36. 1:19

    but basically it's the idea that AI

  37. 1:21

    assists will help you with your shopping

  38. 1:24

    journey. Shopping has different facets

  39. 1:27

    to it. For instance, there's a

  40. 1:29

    discovery,

  41. 1:30

    there's figuring out the aspects of do I

  42. 1:33

    actually truly need it, understanding

  43. 1:35

    and deciding, there's loyalty, there's

  44. 1:37

    pricing, there's fulfillment, post

  45. 1:40

    fulfillment. It's a lot. And believe it

  46. 1:43

    or not, right now about 45% of all agent

  47. 1:47

    sessions that happen within major

  48. 1:50

    providers like chat.gbt.com and Google

  49. 1:53

    Gemini are related to shopping.

  50. 1:55

    Maybe it's a little biased uh that I

  51. 1:58

    don't use it as much, but I'm an

  52. 1:59

    engineer. But, the humans out there are

  53. 2:02

    using AI and talking to them to help

  54. 2:04

    with their shopping journey.

  55. 2:06

    So, it's also not a binary,

  56. 2:09

    you know.

  57. 2:10

    Uh right now, we're at that state of

  58. 2:12

    human in the loop. The ideal state would

  59. 2:14

    be autonomous shopping. You tell what

  60. 2:17

    you're excited about. Your agents goes

  61. 2:19

    around, talks to different merchants. Uh

  62. 2:22

    I'm originally from Bangladesh. We

  63. 2:24

    haggle a lot with the merchants, too.

  64. 2:27

    Maybe does that, negotiate, does the

  65. 2:29

    payment. But, right now, we're in the

  66. 2:31

    human in the loop.

  67. 2:32

    And the talk today is going to talk

  68. 2:35

    about the mental model of how that human

  69. 2:37

    in the loop is working right now, while

  70. 2:38

    also provide you with the architecture

  71. 2:40

    if you choose to extend it, or show you

  72. 2:43

    the vision of how autonomous shopping

  73. 2:44

    might work.

  74. 2:46

    So, this isn't our first the first

  75. 2:49

    attempt. Uh even a year ago, there were

  76. 2:53

    people trying to figure out how can we

  77. 2:54

    automate this. Even now, you can go

  78. 2:57

    probably download the Cloud Chrome

  79. 2:59

    extension. Maybe you've used Atlas,

  80. 3:02

    where you tell the AI you need

  81. 3:03

    something, you need headphones, you need

  82. 3:06

    uh that

  83. 3:08

    that grocery list of items that you have

  84. 3:10

    been meaning to buy, but never made the

  85. 3:13

    actual effort to show up because, you

  86. 3:15

    know, you didn't have the time. So, why

  87. 3:17

    don't you take screenshots, read the

  88. 3:18

    DOM, navigate to the merchant site, fill

  89. 3:21

    forms for me, do loyalty.

  90. 3:24

    Kind of just didn't work as expected. It

  91. 3:27

    was really clunky and slow and brittle.

  92. 3:31

    And if you are a merchant who's trying

  93. 3:32

    to sell stuff, any engineering

  94. 3:34

    department of that merchant will tell

  95. 3:36

    you an AI impersonating or

  96. 3:39

    your browser

  97. 3:41

    is just firing up all the alarm bells.

  98. 3:45

    So, a lot of times, you will probably be

  99. 3:47

    even stuck on the payment flow because

  100. 3:49

    we We want you to be using AI to put in

  101. 3:52

    that order, or at least in that phase,

  102. 3:54

    that's what was happening.

  103. 3:56

    So, what did what did it actually work?

  104. 3:59

    And is it actually working right now? It

  105. 4:02

    is. Chat GPT shopping, Google AI mode is

  106. 4:06

    doing just that.

  107. 4:09

    Right now, agent tech shopping is

  108. 4:11

    considered to be a $7 billion industry

  109. 4:14

    and might go up to $65 billion industry

  110. 4:18

    by 2030. And the majority of the

  111. 4:21

    shoppers are using the mainstream

  112. 4:23

    conversational AI assistants, which is

  113. 4:26

    on the browser or in your app, Chat GPT

  114. 4:28

    and Google Gemini. We're also seeing

  115. 4:30

    that pop up in Instagram and Facebook.

  116. 4:33

    Meta shop Meta wants to do meta commerce

  117. 4:35

    now. I heard GoPuff and

  118. 4:38

    Grok came together to make an app as

  119. 4:40

    well. And also Microsoft Copilot just

  120. 4:42

    yesterday announced in the UK that you

  121. 4:45

    can buy Ray-Bans now inside Microsoft

  122. 4:47

    Copilot.

  123. 4:49

    So, to make that happen, Google and

  124. 4:53

    OpenAI separately came up with their own

  125. 4:56

    little primitives, ACP and UCP.

  126. 4:59

    Which is basically talking about how you

  127. 5:02

    would actually talk to us. For some of

  128. 5:04

    you who are shopping on the other side

  129. 5:06

    as the customer,

  130. 5:07

    there is not much of a difference

  131. 5:09

    between adding an item to cart, adding a

  132. 5:11

    second quantity. But to us merchants,

  133. 5:13

    that's a second line item, buddy. That's

  134. 5:15

    not the same scale.

  135. 5:17

    So, if we don't talk about the nuances

  136. 5:19

    and the primitives of commerce and

  137. 5:21

    standardize it,

  138. 5:22

    things will just not work and will

  139. 5:24

    remain to be clunky. So, ACP was Chat

  140. 5:27

    GPT's attempt at it, and Universal

  141. 5:29

    Commerce Protocol, UCP, was Google's

  142. 5:32

    attempt at it.

  143. 5:33

    So, now that I've already established

  144. 5:35

    that this is happening,

  145. 5:37

    I just wanted to say that it is

  146. 5:39

    happening as easy as you go to the Chat

  147. 5:41

    GPT Gemini, tell it to find me cat

  148. 5:44

    cookies. More to it

  149. 5:47

    why I chose cat cookies later uh in this

  150. 5:50

    example. The AI surfaces the product.

  151. 5:52

    Agent calls the merchant checkout API.

  152. 5:55

    No browser. Payment flows via scope

  153. 5:57

    payment mandate or a delegated payment

  154. 6:00

    token. An order confirms and human kind

  155. 6:03

    of didn't have to touch the cart.

  156. 6:06

    So, to all of this that's happening for

  157. 6:08

    the user, a lot is happening on the

  158. 6:10

    other side. And it's kind of

  159. 6:12

    overwhelming. One day we're talking

  160. 6:14

    about MCPs, another day A2A, ACP, UCP,

  161. 6:18

    AP2. It's like what is even real? Like

  162. 6:22

    if someone came up to me tomorrow and

  163. 6:23

    said, "I came up with HYPE." I would

  164. 6:26

    probably think it's probably real.

  165. 6:28

    So, I wanted to dissect this mental

  166. 6:30

    model for you as I've learned about it

  167. 6:32

    more. MCP is still the model context

  168. 6:34

    protocol, the way that the AI agent

  169. 6:36

    identifies the tool. So, maybe we can

  170. 6:38

    figure out what does this AI agent uh

  171. 6:41

    specifications are. To showcase what

  172. 6:43

    products they have. To showcase the

  173. 6:45

    details of a specific product. To

  174. 6:46

    showcase loyalty. A2A is how agents talk

  175. 6:49

    to each other. They're more of a spec.

  176. 6:52

    ACP, UCP are the primitives and AP2 is

  177. 6:54

    the agentic payment protocol scope

  178. 6:57

    payment mandate that Google's open

  179. 6:59

    specification came out. And we'll talk

  180. 7:02

    all of them one by one.

  181. 7:03

    How they actually relate to agentic

  182. 7:05

    shopping. So, the MCP tool access

  183. 7:08

    is very important because without

  184. 7:11

    knowing the different capabilities and

  185. 7:14

    hitting those different capabilities,

  186. 7:16

    taking the time to bring it into

  187. 7:17

    context, understanding the user's

  188. 7:19

    memory, the the agent will never be able

  189. 7:21

    to figure out what you're even trying to

  190. 7:23

    do. And the only way to get access to

  191. 7:25

    the specific capabilities is through MCP

  192. 7:27

    tool calls. Uh

  193. 7:29

    The next one is A2A. So, now

  194. 7:32

    there are different ways to architect

  195. 7:34

    this. Different capabilities I talked

  196. 7:36

    about like payments. Uh let's say what

  197. 7:39

    do you call it? Loyalty. You can make

  198. 7:41

    agents about specific domains itself.

  199. 7:43

    Sorry. Uh

  200. 7:45

    Uh

  201. 7:46

    right? And if you have specific domain

  202. 7:49

    level agents, agents need to talk to

  203. 7:50

    each other. We need to find a

  204. 7:52

    standardized way to talk to each other.

  205. 7:53

    So, A2A, the specifications

  206. 7:56

    kind of fill in that gap. Uh also, if

  207. 7:59

    your customer agent and your merchant

  208. 8:01

    agent uh need to talk to each other,

  209. 8:03

    maybe you could They're both agents.

  210. 8:05

    Maybe we can use A2A.

  211. 8:07

    So, now to the UCPMCP

  212. 8:10

    primitives. So, the most important data

  213. 8:13

    is that product data.

  214. 8:14

    So, UCP allows for adding that product

  215. 8:18

    data in a more

  216. 8:19

    uh

  217. 8:20

    more organized way, and ACP does the

  218. 8:22

    same because we don't want to go through

  219. 8:25

    your PDP and crawl and figure out every

  220. 8:28

    specific attribute. Merchant, just tell

  221. 8:30

    us.

  222. 8:31

    And also, those pro- products change a

  223. 8:33

    lot. So, maybe you can tell us when they

  224. 8:35

    change as well to send this.

  225. 8:37

    So, that kind of data is happening uh uh

  226. 8:40

    uh that that kind of data flow is

  227. 8:41

    happening in the product feed. Normally,

  228. 8:43

    you would assume that this would be a

  229. 8:45

    search catalog. However, both ACP and

  230. 8:48

    UCP right now, so Gemini and ChatGPT

  231. 8:51

    does not support that search catalog

  232. 8:53

    call. They want you to send that feed to

  233. 8:55

    them. And for those of you who are like,

  234. 8:57

    "Why wouldn't you do that?" There's

  235. 8:59

    reasons to it. Uh sponsored products,

  236. 9:01

    retail media uh related things, ranking.

  237. 9:04

    But, the most important technological

  238. 9:06

    challenges if you have M number of

  239. 9:08

    merchants and N number of products, now

  240. 9:10

    it has to call that many.

  241. 9:12

    While if you send the product feed ahead

  242. 9:14

    of time, we can index that and be ready

  243. 9:16

    offload to offload when you ask for

  244. 9:17

    something.

  245. 9:19

    The I've also put an example of Meta's

  246. 9:21

    uh product feed. As you can see, they're

  247. 9:22

    similar, but still different. Everyone

  248. 9:25

    has an opinion. They think their opinion

  249. 9:26

    is the best one, and that's what they're

  250. 9:28

    rolling with. So, there's three

  251. 9:29

    different specifications right here.

  252. 9:32

    So, now that we talked about product

  253. 9:34

    feed, talking to to other, calling

  254. 9:36

    tools, let's talk about payments.

  255. 9:38

    Uh right now, uh none of them are

  256. 9:41

    supporting that more autonomous form of,

  257. 9:44

    you know, X402 or some other kind of

  258. 9:47

    payments. We're just not there yet.

  259. 9:49

    We're just not confident yet. We want

  260. 9:51

    more human in the loop, a merchant to be

  261. 9:54

    uh talking to a payment processor who

  262. 9:56

    will take the responsibility, or in this

  263. 9:58

    case, liability, to actually initiate

  264. 10:01

    the payments.

  265. 10:02

    So, in chat GPT, payments only happen

  266. 10:04

    through a shared payment token right

  267. 10:06

    now, and Gemini UCP, the payments are

  268. 10:08

    only being accepted through Google Pay.

  269. 10:12

    So, the scope demands will tell you what

  270. 10:14

    the products are. What I'm excited about

  271. 10:16

    is more about AP2, which is an extension

  272. 10:19

    of UCP, which it

  273. 10:21

    You see what I'm talking about? There's

  274. 10:22

    so many acronyms. Uh AP2 is more about,

  275. 10:26

    "Hey, if we wanted to do autonomous, can

  276. 10:28

    you tell me who authorized the agent,

  277. 10:30

    what exactly can it buy, and what's the

  278. 10:32

    max amount uh that should be able to

  279. 10:35

    haggle with, maybe,

  280. 10:37

    and then the revocation URL, and the

  281. 10:39

    user concept proof?"

  282. 10:41

    All right. Enough talking. I love

  283. 10:43

    building stuff, so for the sake of this,

  284. 10:46

    I have put together a little demo. For

  285. 10:48

    those of you who have remembered that

  286. 10:50

    cat cookie example,

  287. 10:52

    it's because the demo is about my cat.

  288. 10:55

    Ginny is my orange tabby,

  289. 10:57

    and in this made-up example, Ginny has

  290. 11:00

    been has transformed into a bakery

  291. 11:02

    agent. She wants to earn her keep by

  292. 11:05

    selling baked goods.

  293. 11:06

    So, right now, the model that I'm using

  294. 11:09

    is from Cerebras at 3,000 tokens per

  295. 11:12

    second, so hopefully this will be

  296. 11:13

    really, really fast,

  297. 11:15

    and we can give you an example of the

  298. 11:17

    entire flow. And just like Chrome

  299. 11:19

    DevTools, I've kind of had a couple of

  300. 11:21

    tools in place to showcase what happens.

  301. 11:24

    The first thing I will tell Ginny, my

  302. 11:26

    beautiful cat who's selling baked goods

  303. 11:28

    now, "Hi, tell me about uh all your

  304. 11:33

    products.

  305. 11:36

    And this is supposed to be a demo,

  306. 11:39

    an example. And

  307. 11:41

    uh Genie has given me exactly that. All

  308. 11:44

    the different products that she might

  309. 11:45

    need. So here, let's look at this. The

  310. 11:47

    agent to agent protocol actually made

  311. 11:50

    the call from Genie, the customer agent,

  312. 11:52

    to the merchant agent. And this is the

  313. 11:54

    message being sent, and this is me

  314. 11:56

    getting the message back. The merchant

  315. 11:58

    agent is returning the completed task

  316. 12:00

    with and the the way that I found this

  317. 12:04

    is through an MCP tool call, which is

  318. 12:07

    product search, instead of uh and and

  319. 12:10

    instead of like not being able to tell

  320. 12:14

    what I truly want, the Genie has figured

  321. 12:17

    out that, "Hey, when I give her the

  322. 12:19

    intent that I want to find products, you

  323. 12:21

    should call the MCP tool call product

  324. 12:23

    search."

  325. 12:24

    So right now we're seeing this. And now,

  326. 12:27

    what if I want to add something? Uh add

  327. 12:32

    to cart the shortbread.

  328. 12:39

    So now

  329. 12:41

    Genie's asking me about any discount and

  330. 12:43

    promo code. I actually do not remember

  331. 12:45

    any of the discount and promo code. But

  332. 12:47

    what if I ask Genie, "Genie,

  333. 12:50

    can you just tell me a discount code?"

  334. 12:54

    As you can tell, I'm definitely a

  335. 12:56

    haggler.

  336. 12:57

    Uh Genie is not telling me that. All

  337. 12:59

    right. Uh

  338. 13:00

    proceed to check out

  339. 13:04

    without discount code.

  340. 13:11

    There you go. So now we're making some

  341. 13:12

    of those calls. Here's the UCP protocol,

  342. 13:15

    which the checkout APIs will have state,

  343. 13:18

    and the three different states are not

  344. 13:19

    ready for payment, ready for payment,

  345. 13:21

    and then completed. So now here I'm not

  346. 13:24

    using a delegated payment token. I'm not

  347. 13:26

    using uh Google Pay. I like AP2, so my

  348. 13:30

    demo is built on AP2.

  349. 13:32

    And uh as you can see, here was a a call

  350. 13:35

    was made to the MCP server for create

  351. 13:38

    checkout. Uh

  352. 13:40

    and then the UCP endpoints will tell us,

  353. 13:43

    "Hey, that call the checkout sessions

  354. 13:46

    and tell me and uh if it's added to

  355. 13:48

    cart." So, it's added to cart, but it's

  356. 13:50

    not ready for payment. I have to pick in

  357. 13:52

    what I want to pay with. I say "Credit

  358. 13:55

    card and debit card." And this is where

  359. 13:58

    I issue the AP2 token that, "Hey, I do

  360. 14:01

    want that." And then it's went from

  361. 14:03

    ready to ready for payment to complete.

  362. 14:07

    So, the other side of it, this is the

  363. 14:09

    UCP specs, right?

  364. 14:11

    The other side of it, to just draw a

  365. 14:14

    comparison, how is it differing from the

  366. 14:16

    ACP specs? I have added ACP here as

  367. 14:19

    well.

  368. 14:21

    So, you can see the same checkout calls,

  369. 14:23

    just different just different schemas

  370. 14:25

    are being utilized, and the order goes

  371. 14:28

    through.

  372. 14:29

    But remember that AP2 token that I was

  373. 14:32

    talking about? This is how it would look

  374. 14:34

    like in real life with the user demo.

  375. 14:37

    The max amount is this, the currency is

  376. 14:39

    this. If you want to revoke it, you can.

  377. 14:42

    And what's the maximum Here, we didn't

  378. 14:44

    want to haggle, so we just put the

  379. 14:45

    maximum amount of that, and then it's

  380. 14:47

    also a single time usage.

  381. 14:50

    This demo also has comes with a

  382. 14:52

    timeline, so you can actually open any

  383. 14:55

    of these and see these happening.

  384. 14:58

    Remember that catalog I was talking

  385. 15:00

    about that they don't do the search? We

  386. 15:02

    actually do a product feed, sending it

  387. 15:04

    to them.

  388. 15:06

    Uh I have added that as well, and

  389. 15:10

    the feeds, because they're so different,

  390. 15:13

    there's a place to actually compare

  391. 15:15

    them. So, here's the feed being called.

  392. 15:18

    By the way, if you went to timeline,

  393. 15:20

    every couple of seconds, we try to get

  394. 15:22

    the catalog in sync for what is in

  395. 15:24

    inventory, what's not.

  396. 15:26

    This is the UCP one, and there's the

  397. 15:29

    meta one.

  398. 15:31

    So, I've shown you this, and you could

  399. 15:34

    reuse this same demo or the same

  400. 15:36

    concepts. What if I didn't want to do

  401. 15:38

    external agentic commerce on Gemini or

  402. 15:41

    ChatGPT? You could still build your own

  403. 15:44

    custom implementation of a merchant

  404. 15:47

    agent or Jenny on your website. Maybe I

  405. 15:50

    start selling uh cat goods. I could

  406. 15:53

    reuse some of this,

  407. 15:55

    but I would advise maybe look into some

  408. 15:58

    of these primitives and trying to use

  409. 15:59

    them because they've been standardized

  410. 16:01

    across merchants. So, they have been

  411. 16:03

    well thought out, and also you could

  412. 16:05

    probably reuse them to sell externally

  413. 16:07

    as well on ChatGPT and Gemini.

  414. 16:11

    So, remember I was talking about the

  415. 16:14

    discount codes? There's a reason for

  416. 16:16

    that. When we build out this demo and in

  417. 16:17

    my time building agentic commerce at as

  418. 16:20

    by, we've realized working with AI and

  419. 16:22

    conversational experiences

  420. 16:25

    without evals is playing whack-a-mole.

  421. 16:27

    So, if you choose to use the same

  422. 16:29

    architecture for a new customer base,

  423. 16:32

    like jenny.com websites,

  424. 16:34

    think very much about creating evals.

  425. 16:38

    Uh one of the things that I could not uh

  426. 16:41

    emphasize more about is you should test,

  427. 16:43

    test, and test. If you go over here, I

  428. 16:46

    can also run my scripts for run evals.

  429. 16:50

    And

  430. 16:52

    this evals folder has all this evals.

  431. 16:55

    The reason

  432. 16:57

    I'm also showcasing the code

  433. 16:59

    is there's a template folder here,

  434. 17:02

    and

  435. 17:05

    we can go back to the slides.

  436. 17:08

    And if you don't do evals, this is what

  437. 17:11

    might happen what might happen. I love

  438. 17:13

    Chipotle. I don't know if it's true or

  439. 17:14

    not, but I found it really funny, so I'm

  440. 17:16

    going to talk about this.

  441. 17:18

    So, this popped up that when Chipotle

  442. 17:21

    rolled out their agent, people were

  443. 17:24

    using it to ask programming questions.

  444. 17:27

    Right? If you don't tell your agent to

  445. 17:30

    not allow for those kind of things,

  446. 17:32

    people will use it. This is hands-down

  447. 17:34

    one of the most creative way to get free

  448. 17:36

    AI usage when you don't want to pay for

  449. 17:38

    that cloud subscription.

  450. 17:40

    And if we don't write our emails and

  451. 17:44

    test intensely, those things will happen

  452. 17:47

    in production.

  453. 17:48

    Uh the discount code will be told, even

  454. 17:51

    sometimes more uh

  455. 17:53

    uh sensitive things like who else is

  456. 17:55

    checking out this product. So, the kinds

  457. 17:57

    of emails that I would highly recommend

  458. 17:59

    you write is behavior emails, protocol

  459. 18:01

    compliance, because when we're selling

  460. 18:03

    it to like, let's say, GPT,

  461. 18:05

    let's say chat.openai.com or Gemini, you

  462. 18:07

    want to make sure that the feeds are

  463. 18:08

    actually me

  464. 18:09

    conforming, or else they will not

  465. 18:11

    support it. You should also think about

  466. 18:13

    latency benchmarks. Every second in

  467. 18:15

    retail on the shopping journey where

  468. 18:17

    you're actually not selling, there are

  469. 18:19

    chances that the other website's going

  470. 18:21

    to be faster, and people are just going

  471. 18:22

    to move away, or they just don't feel

  472. 18:25

    like it anymore.

  473. 18:26

    Lastly, I also recommend using LLM as a

  474. 18:30

    quality judge. Uh you don't have to use

  475. 18:32

    something fancy. Talk to your product

  476. 18:34

    friends and figure out what's the best

  477. 18:36

    way to do it, and use a low like best

  478. 18:38

    use cases and write them out.

  479. 18:41

    And I would like to also talk about Now,

  480. 18:44

    that I've discussed all of this, what's

  481. 18:46

    actually stable today and what's still

  482. 18:48

    forming? MCP is widely adopted, A2A is

  483. 18:51

    widely is used, UCP ACP is out there.

  484. 18:55

    Uh what's still forming though is AP2

  485. 18:57

    and actual usage of it, ACP versus UCP

  486. 19:00

    convergence, do we always have to do two

  487. 19:02

    different specs, identity concept

  488. 19:04

    standards, and multi-agent checkout

  489. 19:06

    delegation.

  490. 19:08

    So,

  491. 19:09

    uh if you have to leave here uh today uh

  492. 19:12

    with anything, I hope you leave today

  493. 19:14

    with a good mental model of how an

  494. 19:15

    agenda commerce works. I have nothing to

  495. 19:17

    sell you, but I do have gifts for you. I

  496. 19:20

    find agenda commerce really exciting.

  497. 19:22

    So, you can find this entire

  498. 19:23

    presentation on GitHub, and I came up

  499. 19:25

    with a template. It's a three-service

  500. 19:28

    starter. If you want to do custom agent

  501. 19:30

    customer agent or you want to do the

  502. 19:31

    merchant agent, you can do that. Because

  503. 19:33

    I love e-vows and that saved my life. I

  504. 19:36

    have some e-vow templates for you. And

  505. 19:39

    you know, what if you want to send it to

  506. 19:40

    all of your merchants, not just one? I

  507. 19:43

    have a catalog sync process as well,

  508. 19:45

    which will allow you to type into your

  509. 19:47

    own product and then turn it into ACP or

  510. 19:50

    UCP or meta, so you can sell there.

  511. 19:52

    And lastly, but not the least, we all

  512. 19:55

    know now these days we don't write code

  513. 19:57

    like that. If I give you a template,

  514. 19:58

    you'll be like, "Meh." So, I have agent

  515. 20:00

    skills that specifically does a merchant

  516. 20:02

    agent

  517. 20:04

    customer agent and all these different

  518. 20:06

    catalog syncs that we have talked about.

  519. 20:09

    I hope you had an amazing time and

  520. 20:12

    learned and had fun as much as I had

  521. 20:14

    presenting this. Thank you. My name

  522. 20:16

    My name is Priu, and I hope to see you

  523. 20:18

    again soon.

  524. 20:34

    >> [music]