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.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
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.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
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.
Discovers and invokes tools and merchant capabilities.
The protocols overlap in one transaction without serving the same purpose.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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 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.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
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.
The customer agent receives the shopping request.
Cart creation, payment readiness, and authorization are separate steps. The AP2 mandate supplies bounded authority before completion.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
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.
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.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Resources
From the talk
The recording’s official reading page, with chapters, corrected transcript, summary, and timestamp navigation.
Prio’s verified GitHub profile, which lists the agentic-commerce project among his pinned repositories.
Further reading
- AI EngineerReference
Conference site containing the talk catalog and related material on agents, protocols, commerce, and evaluations.
Related talks
- A2A & MCP: Automating Business Processes with LLMs
A deeper practical treatment of the two connectivity layers Prio assigns to tool access and agent-to-agent communication.
- Building safe Payment Infrastructure for the autonomous economy
Extends the payment discussion with spending controls, shared payment tokens, deterministic payment infrastructure, and paid HTTP requests.
- Building Multi-agent Systems with Finite State Machines
Complements the checkout-state demonstration with a Best Buy perspective on predictable state, observability, and recovery in multi-agent systems.
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]