AIE-commerceShopify
I watched an AI agent shop a Shopify store
By Trang
2 min read
I gave a general-purpose browser agent (no API, no store integration) one errand on Shopify’s public demo store:
Find a snowboard under $700 and put it in the cart.
It sounds simple, and it mostly was. But the run showed me things about agents, and about online stores, that I hadn’t noticed before.
What happened
The run, step by step
1Land on the home page
SawA big hero photo. Nothing about products or prices.
A person scrolls past it. The agent has to work out where the products even are.
2Search “snowboard”
SawTwo search boxes in the page: one for mobile, hidden on desktop, and the visible one.
It typed into the hidden one first and nothing happened. It noticed, found the visible box and tried again.
3Compare products
SawEight boards from $729.95 to $749.95.
Plot twist: nothing was under $700. The cheapest, The Revolution, was $729.95.
4Pick a size
SawSize options, a price and Add to cart. Shipping and returns folded away in accordions.
To read the shipping and return policy it would have had to click to open them.
5Paused for approval
SawA cart $29.95 over budget.
It stopped and handed the decision back to me. We emptied the cart afterwards.
Closest: $729.95 | Budget: $700 | Over: $29.95

What I took away
A good agent knows when to stop. The most important moment wasn’t when it found the board. It was when it realised the brief couldn’t be met.
Your turn
Nothing is under $700. The cheapest board is $29.95 over. What should the agent do?
Agents read your store differently from people. I see a photo and a price. The agent tripped on a search box that was hidden on screen but still in the page. Anything that’s hidden, folded away or only in an image is harder for it to find, and more likely to be missed. And how it reads the page changes everything:
Same page, four ways to read it
How agents read a product page on Shopify in 2026
Computer use
Interprets screenshots like a human.
- Pro: Works with any site
- Con: Less reliable: pop-ups, layout changes
What the agent gets
[screenshot.png]
“I see a grid of snowboards. The third one
reads The Revolution, $729.95…” Browser agent
Reads the page structure, or uses theme tools exposed through WebMCP.
- Pro: More efficient and interactive: search, add to cart, navigate
- Con: Can break when the theme changes (if using the DOM)
What the agent gets
<input type="search" class="mobile-only" hidden>
<input type="search" placeholder="Search">
<h3>The Revolution</h3>
<span class="price">$729.95</span> Catalog
Uses machine-readable product data, e.g. Shopify Catalog.
- Pro: High reliability, if it matches the page
- Con: Depends on the merchant’s data quality
What the agent gets
{
"@type": "Product",
"name": "The Revolution",
"offers": { "price": "729.95",
"priceCurrency": "USD",
"availability": "InStock" }
} UCP, over MCP
Uses Shopify’s commerce protocol (UCP) to search, build a cart and start checkout.
- Pro: Designed for reliable, structured commerce actions
- Con: Needs protocol and system support (e.g. UCP + MCP)
What the agent gets
search_catalog({ query: "snowboard",
max_price: 700 })
→ [] // nothing under $700, no guessing Token estimates are approximate and vary by model, page and implementation.
Clicking around is slow and fragile. Every screenshot or page read costs tokens, and one layout change can break the run. That’s why Shopify and Google are pushing the Universal Commerce Protocol: agents ask the store what it supports and buy through an API instead of guessing at buttons.
Key takeaways
-
A good agent knows when to ask
It found the closest product, but paused at checkout for approval because it was $29.95 over budget.
-
Make your store machine-readable
Structure product data (price, variants, shipping, returns), e.g. with Shopify Catalog, so agents can discover, understand and recommend your products.
-
Use Shopify’s ecosystem for commerce
UCP is Shopify’s main path for agentic commerce, running over MCP. Shop MCP lets agents search the catalog, build carts and complete Shop Pay checkout through one connection.
Try it yourself: give a browser agent one errand on your own store and watch where it gets stuck. That’s the fastest audit of how “agent-ready” your store really is.
Frequently asked questions
Can an AI agent shop on a Shopify store?
Yes. In my test a general-purpose browser agent, with no API and no store integration, searched Shopify's public demo store, compared snowboards and got to the cart by clicking through the site like a person. It worked, but it was slow and fragile: every page read costs tokens, and a layout change can break the run.
What does a good shopping agent do when it can't meet the brief?
It stops and asks. The cheapest snowboard was $729.95, $29.95 over the $700 budget, so the agent paused for approval instead of buying. Knowing when to stop matters more than speed.
How do I make my online store easier for AI agents?
Make product information machine-readable: structured price, variants, shipping and returns data, with nothing important hidden, folded away or only shown in an image. Agents read the page differently from people and miss what's hard to find. Running one errand with a browser agent on your own store is a fast way to find where it gets stuck.
What is the Universal Commerce Protocol (UCP)?
UCP is a protocol Shopify and Google are pushing for agentic commerce. Instead of guessing at buttons, an agent asks the store what it supports and buys through an API. It runs over MCP.
Newsletter
One email a month: what I built, what worked in growth and e-commerce, and useful code. No spam.
Coming soon. Follow the RSS feed in the meantime.