When a store says it "has AI", it almost always means the same thing: a bubble in the bottom right corner that says hello when you arrive. It covers the buy button on mobile, gives generic answers, and most people close it without reading.
Useful AI in a store rarely looks like a chat. It lives in the search box, in how the results page is put together and in how the store's data is prepared for others. Here are four places where I have seen it work, with demos.
The previous post covered the store's microinteractions. This one is about the other half.
Searching by asking
A classic store search compares words. If you type "a gift for my dad who runs, under €50", it looks for products whose title contains "gift", "dad" or "runs". It finds nothing, or it finds the wrong thing.
A language model can read that sentence for what it is: an intent with filters. Gift, running, under €50. The store applies those filters to its own catalogue, just as if the person had ticked them by hand.
No product title contains those words.
Air running tee
Hydro vest
What matters is in the right pane: the AI does not invent products or write results. It turns the sentence into filters the store already understands, and shows them as chips you can remove. If the model gets "small" wrong, the person sees it and fixes it with one click.
import { generateText, Output } from "ai";
import { z } from "zod";
const Intent = z.object({
category: z.enum(["shoes", "apparel", "gear"]).optional(),
maxPrice: z.number().optional(),
occasion: z.enum(["gift", "self"]).optional(),
tags: z.array(z.string()).max(4),
});
const { output } = await generateText({
model: "anthropic/claude-haiku-5-5",
output: Output.object({ schema: Intent }),
prompt: `Turn this search into filters: ${query}`,
});
const products = await catalog.search(output);The model returns an object with a fixed shape, validated with Zod, and the catalogue does the rest. A small, fast model is enough for this.
Pages that compose from what you ask
The next step is a results page that adapts to the request. If you ask for "a coffee corner at home", you do not get a flat list: you get the brewer, the grinder and the cups grouped together, with the filters that make sense for that request.
I built it as a prototype in the lab: you type what you have in mind and the store composes the page from a skeleton.
This is called generative UI, and it has one rule I never break: the model picks from components that already exist; it does not write the interface. It decides which blocks to show and in what order, with which title and which filters. The cards, prices and buttons are the usual ones, with their states and their accessibility.
When is it not worth it? When people already know what they want. Someone searching "Soft Trail 2 size 42" needs the product page, not a composed page. Generative UI helps with open searches: gifts, problems to solve, "something for…".
When the customer is an agent
There is a change already under way: more and more purchases start in an AI assistant instead of on the store's site. Someone asks ChatGPT or Gemini for trail shoes, and the agent searches, compares and suggests.
Three protocols came out in 2025 and 2026 so that this purchase can be completed without the agent touching card details:
- Agentic Commerce Protocol (ACP), from OpenAI and Stripe, announced on September 29, 2025 together with Instant Checkout in ChatGPT (Stripe).
- Agent Payments Protocol (AP2), from Google, announced on September 16, 2025. It is built on mandates: signed records of what the person authorized (Google Cloud).
- Universal Commerce Protocol (UCP), from Google with Shopify, Etsy, Wayfair, Target and Walmart, announced in January 2026 and compatible with AP2 (Google Developers).
In all three, the store is still the seller: it accepts or declines the order and keeps the customer relationship.
For someone who designs stores, this changes who part of the work is for. An agent does not see your product photo or your typeface: it reads data. If the size, the stock or the returns policy only live in an image or a loose paragraph, for the agent they do not exist.
The first step needs no new protocol: schema.org structured data on every product page, complete and true.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Soft Trail 2 shoes",
"sku": "ST2-42",
"size": "42",
"offers": {
"@type": "Offer",
"price": "74.90",
"priceCurrency": "EUR",
"availability": "https://schema.org/InStock",
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"merchantReturnDays": 30
}
}
}
</script>An assistant that does not get in the way
None of this means there is no room for questions in a store. There is, but not in a bubble that covers the buy button. The questions on a product page are almost always the same: the size, the use, the return. And the answers are already in the store, spread across the size guide, the product details and the returns policy.
It works better like this:
- Questions sit next to what they are about, under the size and not in a separate window.
- Suggestions come from real questions: the most common ones in reviews, in customer support or in internal searches.
- Every answer says where it comes from. "From: Size guide" lets people check it, and forces the model to answer with what the store has written rather than with what sounds right.
- If it does not know, it says so and links to customer support. A made-up answer about returns is worse than none.
The AI you do not see
The four ideas have one thing in common: the AI works with what the store already has (the catalogue, the filters, the components, the policies) and makes it easier to use. It does not replace the interface or sit on top of it.
If a store wants to start somewhere, I would start from the end of the list: complete structured data and answers on the product page. They are the cheapest, they help both people and agents, and they need no change of platform.