# I watched an AI agent shop a Shopify store

> One errand, five steps, one wrong search box and a budget it couldn't meet: what I learned watching a browser agent buy a snowboard.

By Trang · Published 4 Dec 2026
Canonical: https://builtbytrang.pages.dev/writing/watching-a-browser-agent-shop/

## In short

I gave a general-purpose browser agent one errand on Shopify's demo store: find a snowboard under $700 and put it in the cart. It tripped on a search box hidden on screen, found no board under budget (the cheapest was $729.95), and stopped to ask instead of overspending. Stores that machines can read are easier for agents to shop.

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

_[Interactive section — see https://builtbytrang.pages.dev/writing/watching-a-browser-agent-shop/]_
<figure>
  <img src="/writing/agent-shop-compare.jpg" alt="Snowboard search results on Shopify's Hydrogen demo store. The cheapest board, The Revolution, is $729.95." width="1058" height="529" loading="lazy" />
  <figcaption>Step 3, as the agent saw it: eight boards, none under $700. The cheapest, The Revolution, is $729.95.</figcaption>
</figure>

## 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.

_[Interactive section — see https://builtbytrang.pages.dev/writing/watching-a-browser-agent-shop/]_
**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:

_[Interactive section — see https://builtbytrang.pages.dev/writing/watching-a-browser-agent-shop/]_
**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](https://ucp.dev): agents ask the store what it supports and buy through an API instead of guessing at buttons.

_[Interactive section — see https://builtbytrang.pages.dev/writing/watching-a-browser-agent-shop/]_
**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.
