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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Read the complete timestamped transcript
- 0:01
[music]
- 0:12
>> My name is Anup Priyo. I'm a senior
- 0:14
engineering manager at Best Buy. And me
- 0:16
and my team are
- 0:18
working together right now to figure out
- 0:20
what does Agentic Commerce mean and how
- 0:22
can we meet our customers where they're
- 0:24
at. And the newest place that they're at
- 0:27
is at Agentic Services.
- 0:29
I'm excited to give my talk today and
- 0:33
well, what's what's my credentials?
- 0:34
Where ever since I was a young boy, I
- 0:36
dreamed of high throughput inference,
- 0:38
harnessing my tools within a context
- 0:40
window, kept in check with evals.
- 0:43
Yeah, that's absolutely correct. In
- 0:45
2003, all those things definitely
- 0:47
existed.
- 0:48
I kid.
- 0:50
Uh
- 0:50
over the last 1 year, uh we have been
- 0:52
learning a lot. Shopping isn't new.
- 0:55
Shopping is probably one of the most fun
- 0:56
things one can do and one of the most
- 0:57
essential things that people need to do
- 0:59
ever since
- 1:00
uh the economy existed, but
- 1:04
I have been super excited by it. So, I'm
- 1:06
going to
- 1:07
talk about what are the things some of
- 1:09
the things that I've learned and
- 1:11
hopefully uh share the notes.
- 1:14
So, what is Agentic Commerce? I'm not
- 1:16
going to go over the broad definition
- 1:18
again,
- 1:19
but basically it's the idea that AI
- 1:21
assists will help you with your shopping
- 1:24
journey. Shopping has different facets
- 1:27
to it. For instance, there's a
- 1:29
discovery,
- 1:30
there's figuring out the aspects of do I
- 1:33
actually truly need it, understanding
- 1:35
and deciding, there's loyalty, there's
- 1:37
pricing, there's fulfillment, post
- 1:40
fulfillment. It's a lot. And believe it
- 1:43
or not, right now about 45% of all agent
- 1:47
sessions that happen within major
- 1:50
providers like chat.gbt.com and Google
- 1:53
Gemini are related to shopping.
- 1:55
Maybe it's a little biased uh that I
- 1:58
don't use it as much, but I'm an
- 1:59
engineer. But, the humans out there are
- 2:02
using AI and talking to them to help
- 2:04
with their shopping journey.
- 2:06
So, it's also not a binary,
- 2:09
you know.
- 2:10
Uh right now, we're at that state of
- 2:12
human in the loop. The ideal state would
- 2:14
be autonomous shopping. You tell what
- 2:17
you're excited about. Your agents goes
- 2:19
around, talks to different merchants. Uh
- 2:22
I'm originally from Bangladesh. We
- 2:24
haggle a lot with the merchants, too.
- 2:27
Maybe does that, negotiate, does the
- 2:29
payment. But, right now, we're in the
- 2:31
human in the loop.
- 2:32
And the talk today is going to talk
- 2:35
about the mental model of how that human
- 2:37
in the loop is working right now, while
- 2:38
also provide you with the architecture
- 2:40
if you choose to extend it, or show you
- 2:43
the vision of how autonomous shopping
- 2:44
might work.
- 2:46
So, this isn't our first the first
- 2:49
attempt. Uh even a year ago, there were
- 2:53
people trying to figure out how can we
- 2:54
automate this. Even now, you can go
- 2:57
probably download the Cloud Chrome
- 2:59
extension. Maybe you've used Atlas,
- 3:02
where you tell the AI you need
- 3:03
something, you need headphones, you need
- 3:06
uh that
- 3:08
that grocery list of items that you have
- 3:10
been meaning to buy, but never made the
- 3:13
actual effort to show up because, you
- 3:15
know, you didn't have the time. So, why
- 3:17
don't you take screenshots, read the
- 3:18
DOM, navigate to the merchant site, fill
- 3:21
forms for me, do loyalty.
- 3:24
Kind of just didn't work as expected. It
- 3:27
was really clunky and slow and brittle.
- 3:31
And if you are a merchant who's trying
- 3:32
to sell stuff, any engineering
- 3:34
department of that merchant will tell
- 3:36
you an AI impersonating or
- 3:39
your browser
- 3:41
is just firing up all the alarm bells.
- 3:45
So, a lot of times, you will probably be
- 3:47
even stuck on the payment flow because
- 3:49
we We want you to be using AI to put in
- 3:52
that order, or at least in that phase,
- 3:54
that's what was happening.
- 3:56
So, what did what did it actually work?
- 3:59
And is it actually working right now? It
- 4:02
is. Chat GPT shopping, Google AI mode is
- 4:06
doing just that.
- 4:09
Right now, agent tech shopping is
- 4:11
considered to be a $7 billion industry
- 4:14
and might go up to $65 billion industry
- 4:18
by 2030. And the majority of the
- 4:21
shoppers are using the mainstream
- 4:23
conversational AI assistants, which is
- 4:26
on the browser or in your app, Chat GPT
- 4:28
and Google Gemini. We're also seeing
- 4:30
that pop up in Instagram and Facebook.
- 4:33
Meta shop Meta wants to do meta commerce
- 4:35
now. I heard GoPuff and
- 4:38
Grok came together to make an app as
- 4:40
well. And also Microsoft Copilot just
- 4:42
yesterday announced in the UK that you
- 4:45
can buy Ray-Bans now inside Microsoft
- 4:47
Copilot.
- 4:49
So, to make that happen, Google and
- 4:53
OpenAI separately came up with their own
- 4:56
little primitives, ACP and UCP.
- 4:59
Which is basically talking about how you
- 5:02
would actually talk to us. For some of
- 5:04
you who are shopping on the other side
- 5:06
as the customer,
- 5:07
there is not much of a difference
- 5:09
between adding an item to cart, adding a
- 5:11
second quantity. But to us merchants,
- 5:13
that's a second line item, buddy. That's
- 5:15
not the same scale.
- 5:17
So, if we don't talk about the nuances
- 5:19
and the primitives of commerce and
- 5:21
standardize it,
- 5:22
things will just not work and will
- 5:24
remain to be clunky. So, ACP was Chat
- 5:27
GPT's attempt at it, and Universal
- 5:29
Commerce Protocol, UCP, was Google's
- 5:32
attempt at it.
- 5:33
So, now that I've already established
- 5:35
that this is happening,
- 5:37
I just wanted to say that it is
- 5:39
happening as easy as you go to the Chat
- 5:41
GPT Gemini, tell it to find me cat
- 5:44
cookies. More to it
- 5:47
why I chose cat cookies later uh in this
- 5:50
example. The AI surfaces the product.
- 5:52
Agent calls the merchant checkout API.
- 5:55
No browser. Payment flows via scope
- 5:57
payment mandate or a delegated payment
- 6:00
token. An order confirms and human kind
- 6:03
of didn't have to touch the cart.
- 6:06
So, to all of this that's happening for
- 6:08
the user, a lot is happening on the
- 6:10
other side. And it's kind of
- 6:12
overwhelming. One day we're talking
- 6:14
about MCPs, another day A2A, ACP, UCP,
- 6:18
AP2. It's like what is even real? Like
- 6:22
if someone came up to me tomorrow and
- 6:23
said, "I came up with HYPE." I would
- 6:26
probably think it's probably real.
- 6:28
So, I wanted to dissect this mental
- 6:30
model for you as I've learned about it
- 6:32
more. MCP is still the model context
- 6:34
protocol, the way that the AI agent
- 6:36
identifies the tool. So, maybe we can
- 6:38
figure out what does this AI agent uh
- 6:41
specifications are. To showcase what
- 6:43
products they have. To showcase the
- 6:45
details of a specific product. To
- 6:46
showcase loyalty. A2A is how agents talk
- 6:49
to each other. They're more of a spec.
- 6:52
ACP, UCP are the primitives and AP2 is
- 6:54
the agentic payment protocol scope
- 6:57
payment mandate that Google's open
- 6:59
specification came out. And we'll talk
- 7:02
all of them one by one.
- 7:03
How they actually relate to agentic
- 7:05
shopping. So, the MCP tool access
- 7:08
is very important because without
- 7:11
knowing the different capabilities and
- 7:14
hitting those different capabilities,
- 7:16
taking the time to bring it into
- 7:17
context, understanding the user's
- 7:19
memory, the the agent will never be able
- 7:21
to figure out what you're even trying to
- 7:23
do. And the only way to get access to
- 7:25
the specific capabilities is through MCP
- 7:27
tool calls. Uh
- 7:29
The next one is A2A. So, now
- 7:32
there are different ways to architect
- 7:34
this. Different capabilities I talked
- 7:36
about like payments. Uh let's say what
- 7:39
do you call it? Loyalty. You can make
- 7:41
agents about specific domains itself.
- 7:43
Sorry. Uh
- 7:45
Uh
- 7:46
right? And if you have specific domain
- 7:49
level agents, agents need to talk to
- 7:50
each other. We need to find a
- 7:52
standardized way to talk to each other.
- 7:53
So, A2A, the specifications
- 7:56
kind of fill in that gap. Uh also, if
- 7:59
your customer agent and your merchant
- 8:01
agent uh need to talk to each other,
- 8:03
maybe you could They're both agents.
- 8:05
Maybe we can use A2A.
- 8:07
So, now to the UCPMCP
- 8:10
primitives. So, the most important data
- 8:13
is that product data.
- 8:14
So, UCP allows for adding that product
- 8:18
data in a more
- 8:19
uh
- 8:20
more organized way, and ACP does the
- 8:22
same because we don't want to go through
- 8:25
your PDP and crawl and figure out every
- 8:28
specific attribute. Merchant, just tell
- 8:30
us.
- 8:31
And also, those pro- products change a
- 8:33
lot. So, maybe you can tell us when they
- 8:35
change as well to send this.
- 8:37
So, that kind of data is happening uh uh
- 8:40
uh that that kind of data flow is
- 8:41
happening in the product feed. Normally,
- 8:43
you would assume that this would be a
- 8:45
search catalog. However, both ACP and
- 8:48
UCP right now, so Gemini and ChatGPT
- 8:51
does not support that search catalog
- 8:53
call. They want you to send that feed to
- 8:55
them. And for those of you who are like,
- 8:57
"Why wouldn't you do that?" There's
- 8:59
reasons to it. Uh sponsored products,
- 9:01
retail media uh related things, ranking.
- 9:04
But, the most important technological
- 9:06
challenges if you have M number of
- 9:08
merchants and N number of products, now
- 9:10
it has to call that many.
- 9:12
While if you send the product feed ahead
- 9:14
of time, we can index that and be ready
- 9:16
offload to offload when you ask for
- 9:17
something.
- 9:19
The I've also put an example of Meta's
- 9:21
uh product feed. As you can see, they're
- 9:22
similar, but still different. Everyone
- 9:25
has an opinion. They think their opinion
- 9:26
is the best one, and that's what they're
- 9:28
rolling with. So, there's three
- 9:29
different specifications right here.
- 9:32
So, now that we talked about product
- 9:34
feed, talking to to other, calling
- 9:36
tools, let's talk about payments.
- 9:38
Uh right now, uh none of them are
- 9:41
supporting that more autonomous form of,
- 9:44
you know, X402 or some other kind of
- 9:47
payments. We're just not there yet.
- 9:49
We're just not confident yet. We want
- 9:51
more human in the loop, a merchant to be
- 9:54
uh talking to a payment processor who
- 9:56
will take the responsibility, or in this
- 9:58
case, liability, to actually initiate
- 10:01
the payments.
- 10:02
So, in chat GPT, payments only happen
- 10:04
through a shared payment token right
- 10:06
now, and Gemini UCP, the payments are
- 10:08
only being accepted through Google Pay.
- 10:12
So, the scope demands will tell you what
- 10:14
the products are. What I'm excited about
- 10:16
is more about AP2, which is an extension
- 10:19
of UCP, which it
- 10:21
You see what I'm talking about? There's
- 10:22
so many acronyms. Uh AP2 is more about,
- 10:26
"Hey, if we wanted to do autonomous, can
- 10:28
you tell me who authorized the agent,
- 10:30
what exactly can it buy, and what's the
- 10:32
max amount uh that should be able to
- 10:35
haggle with, maybe,
- 10:37
and then the revocation URL, and the
- 10:39
user concept proof?"
- 10:41
All right. Enough talking. I love
- 10:43
building stuff, so for the sake of this,
- 10:46
I have put together a little demo. For
- 10:48
those of you who have remembered that
- 10:50
cat cookie example,
- 10:52
it's because the demo is about my cat.
- 10:55
Ginny is my orange tabby,
- 10:57
and in this made-up example, Ginny has
- 11:00
been has transformed into a bakery
- 11:02
agent. She wants to earn her keep by
- 11:05
selling baked goods.
- 11:06
So, right now, the model that I'm using
- 11:09
is from Cerebras at 3,000 tokens per
- 11:12
second, so hopefully this will be
- 11:13
really, really fast,
- 11:15
and we can give you an example of the
- 11:17
entire flow. And just like Chrome
- 11:19
DevTools, I've kind of had a couple of
- 11:21
tools in place to showcase what happens.
- 11:24
The first thing I will tell Ginny, my
- 11:26
beautiful cat who's selling baked goods
- 11:28
now, "Hi, tell me about uh all your
- 11:33
products.
- 11:36
And this is supposed to be a demo,
- 11:39
an example. And
- 11:41
uh Genie has given me exactly that. All
- 11:44
the different products that she might
- 11:45
need. So here, let's look at this. The
- 11:47
agent to agent protocol actually made
- 11:50
the call from Genie, the customer agent,
- 11:52
to the merchant agent. And this is the
- 11:54
message being sent, and this is me
- 11:56
getting the message back. The merchant
- 11:58
agent is returning the completed task
- 12:00
with and the the way that I found this
- 12:04
is through an MCP tool call, which is
- 12:07
product search, instead of uh and and
- 12:10
instead of like not being able to tell
- 12:14
what I truly want, the Genie has figured
- 12:17
out that, "Hey, when I give her the
- 12:19
intent that I want to find products, you
- 12:21
should call the MCP tool call product
- 12:23
search."
- 12:24
So right now we're seeing this. And now,
- 12:27
what if I want to add something? Uh add
- 12:32
to cart the shortbread.
- 12:39
So now
- 12:41
Genie's asking me about any discount and
- 12:43
promo code. I actually do not remember
- 12:45
any of the discount and promo code. But
- 12:47
what if I ask Genie, "Genie,
- 12:50
can you just tell me a discount code?"
- 12:54
As you can tell, I'm definitely a
- 12:56
haggler.
- 12:57
Uh Genie is not telling me that. All
- 12:59
right. Uh
- 13:00
proceed to check out
- 13:04
without discount code.
- 13:11
There you go. So now we're making some
- 13:12
of those calls. Here's the UCP protocol,
- 13:15
which the checkout APIs will have state,
- 13:18
and the three different states are not
- 13:19
ready for payment, ready for payment,
- 13:21
and then completed. So now here I'm not
- 13:24
using a delegated payment token. I'm not
- 13:26
using uh Google Pay. I like AP2, so my
- 13:30
demo is built on AP2.
- 13:32
And uh as you can see, here was a a call
- 13:35
was made to the MCP server for create
- 13:38
checkout. Uh
- 13:40
and then the UCP endpoints will tell us,
- 13:43
"Hey, that call the checkout sessions
- 13:46
and tell me and uh if it's added to
- 13:48
cart." So, it's added to cart, but it's
- 13:50
not ready for payment. I have to pick in
- 13:52
what I want to pay with. I say "Credit
- 13:55
card and debit card." And this is where
- 13:58
I issue the AP2 token that, "Hey, I do
- 14:01
want that." And then it's went from
- 14:03
ready to ready for payment to complete.
- 14:07
So, the other side of it, this is the
- 14:09
UCP specs, right?
- 14:11
The other side of it, to just draw a
- 14:14
comparison, how is it differing from the
- 14:16
ACP specs? I have added ACP here as
- 14:19
well.
- 14:21
So, you can see the same checkout calls,
- 14:23
just different just different schemas
- 14:25
are being utilized, and the order goes
- 14:28
through.
- 14:29
But remember that AP2 token that I was
- 14:32
talking about? This is how it would look
- 14:34
like in real life with the user demo.
- 14:37
The max amount is this, the currency is
- 14:39
this. If you want to revoke it, you can.
- 14:42
And what's the maximum Here, we didn't
- 14:44
want to haggle, so we just put the
- 14:45
maximum amount of that, and then it's
- 14:47
also a single time usage.
- 14:50
This demo also has comes with a
- 14:52
timeline, so you can actually open any
- 14:55
of these and see these happening.
- 14:58
Remember that catalog I was talking
- 15:00
about that they don't do the search? We
- 15:02
actually do a product feed, sending it
- 15:04
to them.
- 15:06
Uh I have added that as well, and
- 15:10
the feeds, because they're so different,
- 15:13
there's a place to actually compare
- 15:15
them. So, here's the feed being called.
- 15:18
By the way, if you went to timeline,
- 15:20
every couple of seconds, we try to get
- 15:22
the catalog in sync for what is in
- 15:24
inventory, what's not.
- 15:26
This is the UCP one, and there's the
- 15:29
meta one.
- 15:31
So, I've shown you this, and you could
- 15:34
reuse this same demo or the same
- 15:36
concepts. What if I didn't want to do
- 15:38
external agentic commerce on Gemini or
- 15:41
ChatGPT? You could still build your own
- 15:44
custom implementation of a merchant
- 15:47
agent or Jenny on your website. Maybe I
- 15:50
start selling uh cat goods. I could
- 15:53
reuse some of this,
- 15:55
but I would advise maybe look into some
- 15:58
of these primitives and trying to use
- 15:59
them because they've been standardized
- 16:01
across merchants. So, they have been
- 16:03
well thought out, and also you could
- 16:05
probably reuse them to sell externally
- 16:07
as well on ChatGPT and Gemini.
- 16:11
So, remember I was talking about the
- 16:14
discount codes? There's a reason for
- 16:16
that. When we build out this demo and in
- 16:17
my time building agentic commerce at as
- 16:20
by, we've realized working with AI and
- 16:22
conversational experiences
- 16:25
without evals is playing whack-a-mole.
- 16:27
So, if you choose to use the same
- 16:29
architecture for a new customer base,
- 16:32
like jenny.com websites,
- 16:34
think very much about creating evals.
- 16:38
Uh one of the things that I could not uh
- 16:41
emphasize more about is you should test,
- 16:43
test, and test. If you go over here, I
- 16:46
can also run my scripts for run evals.
- 16:50
And
- 16:52
this evals folder has all this evals.
- 16:55
The reason
- 16:57
I'm also showcasing the code
- 16:59
is there's a template folder here,
- 17:02
and
- 17:05
we can go back to the slides.
- 17:08
And if you don't do evals, this is what
- 17:11
might happen what might happen. I love
- 17:13
Chipotle. I don't know if it's true or
- 17:14
not, but I found it really funny, so I'm
- 17:16
going to talk about this.
- 17:18
So, this popped up that when Chipotle
- 17:21
rolled out their agent, people were
- 17:24
using it to ask programming questions.
- 17:27
Right? If you don't tell your agent to
- 17:30
not allow for those kind of things,
- 17:32
people will use it. This is hands-down
- 17:34
one of the most creative way to get free
- 17:36
AI usage when you don't want to pay for
- 17:38
that cloud subscription.
- 17:40
And if we don't write our emails and
- 17:44
test intensely, those things will happen
- 17:47
in production.
- 17:48
Uh the discount code will be told, even
- 17:51
sometimes more uh
- 17:53
uh sensitive things like who else is
- 17:55
checking out this product. So, the kinds
- 17:57
of emails that I would highly recommend
- 17:59
you write is behavior emails, protocol
- 18:01
compliance, because when we're selling
- 18:03
it to like, let's say, GPT,
- 18:05
let's say chat.openai.com or Gemini, you
- 18:07
want to make sure that the feeds are
- 18:08
actually me
- 18:09
conforming, or else they will not
- 18:11
support it. You should also think about
- 18:13
latency benchmarks. Every second in
- 18:15
retail on the shopping journey where
- 18:17
you're actually not selling, there are
- 18:19
chances that the other website's going
- 18:21
to be faster, and people are just going
- 18:22
to move away, or they just don't feel
- 18:25
like it anymore.
- 18:26
Lastly, I also recommend using LLM as a
- 18:30
quality judge. Uh you don't have to use
- 18:32
something fancy. Talk to your product
- 18:34
friends and figure out what's the best
- 18:36
way to do it, and use a low like best
- 18:38
use cases and write them out.
- 18:41
And I would like to also talk about Now,
- 18:44
that I've discussed all of this, what's
- 18:46
actually stable today and what's still
- 18:48
forming? MCP is widely adopted, A2A is
- 18:51
widely is used, UCP ACP is out there.
- 18:55
Uh what's still forming though is AP2
- 18:57
and actual usage of it, ACP versus UCP
- 19:00
convergence, do we always have to do two
- 19:02
different specs, identity concept
- 19:04
standards, and multi-agent checkout
- 19:06
delegation.
- 19:08
So,
- 19:09
uh if you have to leave here uh today uh
- 19:12
with anything, I hope you leave today
- 19:14
with a good mental model of how an
- 19:15
agenda commerce works. I have nothing to
- 19:17
sell you, but I do have gifts for you. I
- 19:20
find agenda commerce really exciting.
- 19:22
So, you can find this entire
- 19:23
presentation on GitHub, and I came up
- 19:25
with a template. It's a three-service
- 19:28
starter. If you want to do custom agent
- 19:30
customer agent or you want to do the
- 19:31
merchant agent, you can do that. Because
- 19:33
I love e-vows and that saved my life. I
- 19:36
have some e-vow templates for you. And
- 19:39
you know, what if you want to send it to
- 19:40
all of your merchants, not just one? I
- 19:43
have a catalog sync process as well,
- 19:45
which will allow you to type into your
- 19:47
own product and then turn it into ACP or
- 19:50
UCP or meta, so you can sell there.
- 19:52
And lastly, but not the least, we all
- 19:55
know now these days we don't write code
- 19:57
like that. If I give you a template,
- 19:58
you'll be like, "Meh." So, I have agent
- 20:00
skills that specifically does a merchant
- 20:02
agent
- 20:04
customer agent and all these different
- 20:06
catalog syncs that we have talked about.
- 20:09
I hope you had an amazing time and
- 20:12
learned and had fun as much as I had
- 20:14
presenting this. Thank you. My name
- 20:16
My name is Priu, and I hope to see you
- 20:18
again soon.
- 20:34
>> [music]