← All AI Engineer talks

AI Engineer World's Fair 2026

The Agentic Commerce Stack — Ahnaf Prio, Best Buy

Read the talk

The Agentic Commerce Stack: From Shopping Intent to Authorized Checkout

Ahnaf Prio explains the merchant-facing protocols behind agentic shopping, demonstrates a bakery checkout, and shows why payment boundaries, catalog synchronization, and evaluations matter as much as conversation.

From a talk by Ahnaf Prio

At a glance

Ideas worth remembering

  • Agentic commerce needs explicit merchant operations: browser automation can be brittle and trigger security checks, while structured checkout APIs expose commerce semantics directly.

  • The stack separates tool access through MCP, agent communication through A2A, commerce representations through ACP or UCP, and scoped payment authority through AP2.

  • Product feeds move discovery work ahead of user requests, but require ongoing inventory synchronization and adaptation to distinct platform schemas.

  • Checkout readiness and payment authorization are distinct. The demo pairs explicit checkout states with an AP2 mandate that limits spending, supports revocation, and permits only one use.

  • Evaluate merchant behavior, sensitive-information boundaries, feed compliance, latency, and response quality. A working purchase demo does not resolve those concerns or establish mature autonomous delegation.

Shopping is a journey with several distinct decisions

Ahnaf Prio introduces the problem from his team's perspective at Best Buy: customers are moving into agentic services, and merchants need a way to meet them there. Agentic commerce means AI assistance throughout a shopping journey. That journey includes discovering products, deciding whether a purchase is necessary, comparing options, applying loyalty benefits, understanding prices, arranging fulfillment, and dealing with what happens after delivery.

Prio says about 45% of agent sessions at major providers relate to shopping, a figure he offers without supporting measurement in the talk. His architectural distinction is between assistance with a human in the loop and autonomous purchasing. The longer-term vision is an agent that visits merchants, negotiates, and pays on the customer's behalf. The working model he describes still involves human participation, with an architecture that could eventually support greater autonomy.

0:120:14
Suggest correction

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

0:01 · section reference included

Browser automation exposes the need for commerce primitives

The early approach treated shopping as a browser task. Given a request for headphones or groceries, an agent could take screenshots, read the DOM, navigate a merchant's website, fill forms, and attempt to apply loyalty benefits. Prio describes the result as slow and brittle. There was also a merchant-side obstacle: automated browser activity triggered security alarms, so an agent that navigated successfully could still stall during payment.

He points to ChatGPT shopping and Google AI mode as examples of a different integration path. He also describes activity across Meta's services, a reported GoPuff–Grok collaboration, and a Microsoft Copilot shopping announcement. His estimate of a $7 billion industry potentially reaching $65 billion by 2030 provides motivation, but remains a speaker-supplied estimate and forecast rather than evidence that a particular integration works.

The integration needs an explicit vocabulary for merchant operations. Prio illustrates this with adding another unit of a product: a shopper sees a small quantity change, while he describes the merchant representation as a second line item. Such distinctions require agreed commerce semantics. OpenAI's ACP and Google's Universal Commerce Protocol, UCP, are the two approaches he introduces for standardizing those primitives.

His example flow begins with a request for cat cookies. The assistant surfaces a product, an agent calls the merchant's checkout API directly, and payment proceeds through a scoped mandate or delegated payment token before order confirmation. This removes browser navigation from the transaction path and gives the merchant structured checkout requests to process.

2:462:49
Suggest correction

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

2:46 · section reference included

Give each protocol a distinct responsibility

Prio organizes the acronyms by responsibility. MCP, the Model Context Protocol, exposes tools an agent can identify and call. A2A supplies a specification for communication between agents. ACP and UCP describe commerce primitives. AP2 addresses scoped payment mandates. These roles explain why several protocols can appear in one shopping interaction: discovering a capability, communicating a request, representing checkout, and authorizing payment are separate concerns.

In his model, MCP provides access to capabilities such as product information and loyalty. The agent must bring those capabilities into context and interpret them alongside the user's intent and memory. Tool access is therefore part of making a request actionable: understanding that someone wants a product is useful only if the agent can invoke the corresponding merchant operation.

A2A becomes relevant when an implementation separates expertise into agents for domains such as payment or loyalty. Those agents need a standardized way to exchange requests and results. The same communication problem appears across organizational boundaries when a customer's agent talks to a merchant's agent. Prio presents this decomposition as an architectural option rather than a requirement that every capability become its own agent.

6:066:14
Suggest correction

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

6:06 · section reference included

Move product discovery work ahead of the shopping request

Product data is the foundation of discovery. Rather than requiring an assistant to crawl product detail pages and infer every attribute, the merchant supplies structured information and updates it when products change. Prio says the Gemini and ChatGPT integrations he describes expect product feeds instead of supporting a merchant catalog-search call at shopping time.

The technical reason is the amount of work spread across merchants and products. Prio frames the problem as M merchants and N products: discovering inventory through live calls would create a large request burden. Sending feeds in advance lets a platform index the data before a shopper asks a question. Ranking, sponsored products, and retail media also influence this design. The tradeoff is integration complexity at the feed boundary: he describes ACP, UCP, and Meta feeds as similar but distinct specifications.

8:078:10
Suggest correction

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

8:07 · section reference included

Payment needs a bounded grant of authority

Prio separates the payment integrations he describes as available from more autonomous possibilities such as x402. In his account, the deployed approach retains human involvement and a merchant relationship with a payment processor that takes responsibility for initiating payment. He says ChatGPT uses a shared payment token and Gemini's UCP integration accepts Google Pay. These are the platform constraints described in the talk, not a claim that every payment approach has reached the same maturity.

AP2 interests him because it makes the scope of delegated purchasing explicit. A mandate should establish who authorized the agent, what it may buy, and the maximum amount it may spend, potentially including room for negotiation. It also provides a revocation URL. These fields turn a general request to shop into bounded authority that can be withdrawn.

9:329:34
Suggest correction

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

9:32 · section reference included

Ginny turns conversational intent into tool calls

The demonstration casts Ginny, Prio's orange tabby, as a bakery agent selling baked goods. Prio reports using Cerebras at 3,000 tokens per second and includes inspection tools modeled on Chrome DevTools to expose the interaction. That throughput figure describes his stated inference setup; it does not establish the duration of the complete shopping transaction.

He first asks about the available products. The described trace shows an A2A exchange between a customer agent and a merchant agent, with the merchant returning a completed task. An MCP product-search tool supplies the product lookup. The mechanism is intent-driven tool selection: asking to see products leads the agent to choose product search, while A2A carries the communication between the two agents.

Next he asks to add shortbread to the cart. Ginny asks about a discount or promo code, prompting him to try obtaining a code directly from the agent. Ginny does not provide one, and he proceeds to checkout without a discount. This small exchange makes a merchant behavior boundary concrete: a conversational request for a discount does not automatically entitle the customer to one.

10:4110:43
Suggest correction

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

10:41 · section reference included

Checkout advances through explicit states

Prio describes three checkout states in the UCP demonstration: not ready for payment, ready for payment, and completed. An MCP call creates the checkout, and the UCP endpoints expose the checkout session. Having an item in the cart does not yet make the session payable; the customer still needs to select a payment method.

The demo deliberately uses AP2 rather than Google Pay or a delegated payment token. Prio selects the credit-card and debit-card option and issues an AP2 token expressing authorization. He then describes the checkout moving through ready for payment to complete. This demonstrates the intended relationship between authorization and checkout state; it does not independently establish a real payment settlement.

He then compares an ACP implementation of the same checkout flow. The calls serve the same shopping purpose but use different schemas. Returning to the AP2 token, he describes a maximum amount, a currency, revocation support, and single-use authorization. Because this purchase does not involve negotiation, the spending ceiling is set to the purchase amount. He does not state the numerical amount or currency in the spoken explanation.

13:1113:12
Suggest correction

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

13:11 · section reference included

Keep catalogs synchronized and reuse merchant primitives

The demo's timeline lets a developer inspect individual events, including product-feed activity. Prio describes a process that attempts to synchronize the catalog every couple of seconds so that availability reflects what is and is not in inventory. He also includes a comparison of the different feeds, mentioning UCP and Meta. Feed publication is therefore an ongoing synchronization task, not just an initial catalog upload.

These concepts also apply to a merchant's own website. A company could build a custom customer-facing agent without initially selling through Gemini or ChatGPT. Prio recommends considering the standardized commerce primitives even in that case: they encode concerns shared across merchants and can make later reuse in external assistant integrations easier.

14:5014:52
Suggest correction

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

14:50 · section reference included

Evaluate behavior, protocol compliance, and latency

Prio returns to the discount-code request to explain why evaluations are essential. Building conversational commerce without them becomes an exercise in repeatedly fixing unexpected behavior. The failures extend beyond giving away a discount: an agent could disclose sensitive information about other customers checking out a product. A successful purchase flow alone does not establish that the merchant agent respects its business and information boundaries.

He illustrates scope misuse with a story about people asking a Chipotle agent programming questions, explicitly saying he does not know whether the story is true. The hypothetical failure is still clear: a merchant-funded assistant can become a general-purpose AI service if it accepts unrelated requests. Evaluations should exercise those requests and check the intended boundary rather than assuming the assistant's retail setting will enforce it.

His testing recommendations cover several distinct properties. Behavioral evaluations check what the agent says and permits. Protocol-compliance checks verify that feeds conform to the receiving platform's requirements, because a nonconforming feed may not be supported. Latency benchmarks address a commercial constraint: delays give customers time to move to a faster site or abandon the purchase.

For response quality, he recommends using an LLM as a judge and working with product colleagues to write out useful cases. He also shows that the demo includes scripts and an evaluations folder. The emphasis is on making desired behavior concrete enough to test repeatedly; he does not prescribe a particular judging rubric or report evaluation scores.

16:1116:14
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

Separate usable building blocks from unresolved delegation

Prio closes by distinguishing established building blocks from unfinished parts of the ecosystem. He describes MCP as widely adopted, A2A as in use, and ACP and UCP as available. AP2's actual adoption remains in formation, as does convergence between ACP and UCP. Whether merchants will continue maintaining two commerce specifications is an open question. Identity-related standards and multi-agent checkout delegation also remain unresolved in his account.

To help developers implement the model, he offers the presentation and a three-service starter on GitHub, with support for custom customer or merchant agents and evaluation templates. A catalog-sync process converts a developer's product data into ACP, UCP, or Meta formats. He also describes agent skills for creating merchant agents, customer agents, and catalog synchronization. These closing resources connect the architecture to repeatable implementation work while leaving the emerging protocol questions open.

18:4118:44
Suggest correction

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

18:41 · section reference included

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]