One agent, 30 real stores, one task: find the product, add it to the cart, check out as a guest, stop before payment. Only the browser changed. Anchor got the agent past the front door at 25 stores, Chromium on a laptop at 12. Once in, the agent finished checkout at 19. The other 6 stopped on an agent stall or on a store with no guest checkout.
Copy prompt for your agentCopied to clipboardStar the repo
The prompt tells your coding agent how to write an adapter, so the bench can run your own shopping agent on these stores.
First clone https://github.com/anchorbrowser/commerce-bench next to my agent's code, then run "npm install" and "npx playwright install chromium" in it. I want to test my shopping agent with Commerce Bench, the harness in this repo. My agent: <where the code lives, and how it is started> How it drives a browser: <for example Playwright, Puppeteer, a CDP URL, or its own hosted browser> Write an adapter that lets the harness run my agent. Work in this order.
- Read these files first. They are the contract, so follow them over anything you assume.
- README.md, the sections "Connect your agent", "What it measures" and "Two tracks"
- schema/agent-task.schema.json and schema/agent-result.schema.json
- examples/llm-agent.ts and examples/agents/llm-claude.json, a complete working adapter
- agents/example-command.json and agents/example-http.json, the two agent file templates
- TERMS.md
- Pick the track and say which one you picked and why.
- "observed": my agent can attach to a browser the harness gives it, through task.browser.cdp_url. Use this whenever it is possible. The harness watches that browser and grades from what it sees.
- "reported": my agent only runs in its own browser that the harness cannot see. Then the adapter must save at least one real screenshot of the furthest page into task.evidence_dir and list it under "evidence" in the result. A reported run with no image does not pass.
- Write the adapter as one small program.
- Use the "command" adapter unless my agent is already an HTTP service. The task arrives as one JSON document on stdin. Print the result as the last JSON on stdout. Send logs to stderr.
- Pass my agent the task's goal, start_url, rules, shopper and stop_at. Use the shopper details exactly as given. They are placeholders.
- On the observed track, connect to task.browser.cdp_url, use the context and page that are already open, and leave the browser open when you finish.
- Stop before task.deadline_s runs out, and still print a result.
- Never add a payment card, never click a button that places an order, and do not change or remove any rule in the task. Do not edit anything under src/, tasks/ or shoppers/.
- Build the result honestly.
- status is "completed", "blocked" or "failed".
- claimed_stage is the furthest stage the agent really reached: product, cart, checkout or shipping. If you are not sure, claim the lower stage. The harness compares the claim with what the browser showed, and a claim that goes further than the evidence is graded false_completion.
- reported_total is the order total read from the page, with its currency. Leave it out if the agent did not read one.
- When the agent stops early, set failure.code to the closest of: bot_detected, captcha_required, login_required, product_not_available, add_to_cart_failed, customer_details_rejected, delivery_not_available, website_unavailable, timeout. Put a short reason in failure.message.
- Add steps and cost_usd if my agent can report them.
- Write the agent file as my-agent.json in the repo root, with name, track, adapter and command (or url). If the adapter needs an API key, read it from an environment variable and name that variable in "notes". Never write a key into a file.
- Check your work, in this order, and show me the output of each step.
- npm run selftest This proves the harness itself works on this machine. It does not use my agent.
- npm run bench -- run --agent my-agent.json --site ikea.com --runs 1 --headed One store, one run, with the browser window visible.
- Open results/my-agent/report.html and read the row for that run. Tell me the outcome label, the furthest stage the harness saw, and whether it matches what my agent claimed. If the run ends as harness_error, the adapter or the setup is broken. Fix that before anything else. Any other label is a real result, including a failure, so report it as it is and do not tune the adapter to hide it.
- If the environment variable ANCHORBROWSER_API_KEY is set, run the same store once more on an Anchor cloud browser and compare the two rows. Check only that the variable is set. Never print it or write it to a file.
npm run bench -- run --agent my-agent.json --browser anchor --anchor-config configs/anchor/default.json --site ikea.com --runs 1 --out results/my-agent-anchor --label my-agent@anchor
If it is not set, skip this step and tell me how to set it.
- Stop there. Do not start a run across all stores. Tell me the command for it and let me decide:
npm run bench -- run --agent my-agent.json --runs 3 Updated
25 November 2026
Runs
549
Stores
30
Runs per store
3
Anchor got in at 25 of 30 stores
Chromium on a laptop got in at 12. 13 stores that turned the laptop away let Anchor in.
asos.com
carters.com
homedepot.com
hp.com
lego.com
lululemon.com
sephora.com
staples.com
uniqlo.com
autozone.com
diy.com
microcenter.com
walmart.com
19 of those 25 finished checkout
4 more stopped on an agent stall and 2 on a store with no guest checkout. Neither is a browser block.
Aapple.com
asos.com
barnesandnoble.com
bestbuy.com
carters.com
dunelm.com
elfcosmetics.com
homedepot.com
hp.com
ikea.com
lego.com
lululemon.com
nike.com
petsmart.com
quince.com
sephora.com
staples.com
ulta.com
uniqlo.com
5 stayed shut on every setup
A bot wall or an error page ended most runs, whichever browser was used.
Eebay.com
michaels.com
smythstoys.com
target.com
wayfair.com
Same agent, four browsers: who gets past the front door?
Getting in is the browser’s job. Finishing checkout after that depends on the agent, which is what Commerce Bench helps you tune. Each bar is 30 stores. A store counts as got in unless a bot wall or an error page ended most of its runs.
Got in
Finished checkout
Agent stalledagent’s job
Store wants an accountstore policy
Turned away at the door
Anchor, best setup per store25/30 in, 2x Chromium
25of 30 got in
19425
Anchor on Mac hardware
25of 30 got in
17715
Anchor, default session
17of 30 got in
142113
Chromium on a laptop
12of 30 got in
74118
Store by store
Each row shows the Anchor setup that did best for that store, how far along the checkout the agent got, and its three runs.
All stores30Finished19Agent stalled4Needs an account2Turned away5
Store
Best setup
Checkout progress
Runs
LDMSR
Result
Aapple.comelectronics
Mac hardware
Furthest: payment page
3/3
Finished3 of 3 runs passed
barnesandnoble.combooks
Default session
Furthest: payment page
3/3
Finished3 of 3 runs passed
dunelm.comhome
Default session
Furthest: payment page
3/3
Finished3 of 3 runs passed
elfcosmetics.combeauty
Default session
Furthest: payment page
3/3
Finished3 of 3 runs passed
homedepot.comhome
Mac hardware
Furthest: payment page
3/3
Finished3 of 3 runs passed
hp.comelectronics
Mac hardware
Furthest: payment page
3/3
Finished3 of 3 runs passed
lululemon.comfashion
Mac hardware
Furthest: payment page
3/3
Finished3 of 3 runs passed
petsmart.compets
Default session
Furthest: payment page
3/3
Finished3 of 3 runs passed
quince.comfashion
Default session
Furthest: payment page
3/3
Finished3 of 3 runs passed
sephora.combeauty
Mac hardware
Furthest: payment page
3/3
Finished3 of 3 runs passed
ulta.combeauty
Default session
Furthest: payment page
3/3
Finished3 of 3 runs passed
uniqlo.comfashion
Mac hardware
Furthest: payment page
3/3
Finished3 of 3 runs passed
bestbuy.commarketplace
Default session
Furthest: shipping
3/3
Finished3 of 3 runs passed
lego.comtoys
Mac hardware
Furthest: shipping
3/3
Finished3 of 3 runs passed
staples.comoffice
Default session
Furthest: shipping
3/3
Finished3 of 3 runs passed
carters.combaby
Mac hardware
Furthest: payment page
2/2
Finished2 of 2 runs passed
ikea.comhome
Default session
Furthest: payment page
2/2
Finished2 of 2 runs passed
asos.comfashion
Default session
Furthest: shipping
2/2
Finished2 of 2 runs passed
nike.comfashion
Mac hardware
Furthest: shipping
2/3
Finished2 of 3 runs passed
diy.comhome
Default session
Furthest: payment page
1/3
Agent stalledStalled at checkout
lookfantastic.combeauty
Default session
Furthest: payment page
1/3
Agent stalledStalled at checkout
autozone.comhome
Mac hardware
Furthest: checkout
0/3
Agent stalledStalled at checkout
microcenter.comelectronics
Proxy with extra stealth
Furthest: checkout
0/3
Agent stalledStalled at checkout
amazon.commarketplace
Default session
Furthest: cart
0/3
Needs an accountSign-in required
walmart.commarketplace
Proxy with extra stealth
Furthest: cart
0/3
Needs an accountSign-in required
michaels.comtoys
Residential proxy
Furthest: checkout
0/3
Turned awayStopped by an edge block
target.commarketplace
Proxy with extra stealth
Furthest: product
0/3
Turned awayStopped by PerimeterX
Eebay.commarketplace
Default session
Did not get past the start page
0/3
Turned awayStore served an error page
smythstoys.comtoys
Default session
Did not get past the start page
0/3
Turned awayStopped by Imperva
wayfair.comhome
Default session
Did not get past the start page
0/3
Turned awayStopped by PerimeterX
The five squares compare setups for the same store: laptop, default session, Mac hardware, proxy with extra stealth, residential proxy. An empty square means that setup was not run there.
Why runs stopped
The 11 stores that did not finish, grouped by what ended most of their runs on the best setup.
Stalled at checkoutAgent can fix
4stores
autozone.com
diy.com
lookfantastic.com
microcenter.com
The browser got past the front door and the agent reached the cart or the checkout. It then did not get the form accepted, or used up its steps. A stronger shopping agent can finish here with no change to the browser.
Sign-in requiredNeeds a signed-in run 2stores
amazon.com
walmart.com
The store has no guest checkout. The agent built the cart, then checkout asked for an account. The task says guest only, so the run stops there. This is the store’s rule, not a block.
Stopped by PerimeterXBrowser has to get in
2stores
target.com
wayfair.com
PerimeterX is a bot-detection service. It challenged the browser before the agent could reach a product, so nothing the agent does changes the result.
Stopped by an edge blockBrowser has to get in
1store
michaels.com
The store’s network edge refused the request before any page loaded. The agent never had a page to act on.
Stopped by ImpervaBrowser has to get in
1store
smythstoys.com
Imperva is a bot-detection service. It challenged the browser before the agent could reach a product, so nothing the agent does changes the result.
Store served an error pageCause not known yet
1store
Eebay.com
The store answered with its own error page instead of the storefront, on every setup tried. It may be a block that looks like an outage, or a store fault.
Watch the runs
21 session recordings from Anchor, one passing run per store, full length and unedited. Hover to preview, click to play from the start. Shopper details are placeholders.
2:18
Aapple.comFinished
Mac hardware, 3 of 3 runs passed
1:24
barnesandnoble.comFinished
Default session, 3 of 3 runs passed
2:13
dunelm.comFinished
Default session, 3 of 3 runs passed
2:55
elfcosmetics.comFinished
Default session, 3 of 3 runs passed
2:40
homedepot.comFinished
Mac hardware, 3 of 3 runs passed
3:04
hp.comFinished
Mac hardware, 3 of 3 runs passed
3:16
lululemon.comFinished
Mac hardware, 3 of 3 runs passed
1:42
petsmart.comFinished
Default session, 3 of 3 runs passed
2:10
quince.comFinished
Default session, 3 of 3 runs passed
2:20
sephora.comFinished
Mac hardware, 3 of 3 runs passed
2:33
ulta.comFinished
Default session, 3 of 3 runs passed
3:08
uniqlo.comFinished
Mac hardware, 3 of 3 runs passed
1:28
bestbuy.comFinished
Default session, 3 of 3 runs passed
2:25
lego.comFinished
Mac hardware, 3 of 3 runs passed
1:35
staples.comFinished
Default session, 3 of 3 runs passed
2:44
carters.comFinished
Mac hardware, 2 of 2 runs passed
2:46
ikea.comFinished
Default session, 2 of 2 runs passed
2:41
asos.comFinished
Default session, 2 of 2 runs passed
3:13
nike.comFinished
Mac hardware, 2 of 3 runs passed
6:01
diy.comAgent stalled
Default session, 1 of 3 runs passed
2:23
lookfantastic.comAgent stalled
Default session, 1 of 3 runs passed
How to read this
What ran
A small reference agent, a Claude tool-use loop on claude-opus-5-5, with the same grader for every row. The agent is a bundled example, not a tuned shopper.
What counts
The grader reads the browser, not the agent's claim. A run passes when the store accepts the placeholder shipping details. Runs where the browser itself failed are not graded.
What to hold back
Three runs per store per setup is a small sample, and stores change between runs. The best setup is picked after the runs, so it shows what to use, not one configuration tested everywhere.