Was your shopping agent tested before Black Friday? Meet Commerce Bench

News Room
Nov 26
by Gabi Weinberg

Black Friday is the busiest checkout week of the year, and this year shopping agents are joining the line. Agents that looked great on a demo store are about to meet bot walls, captchas, sign-in walls, add-to-cart buttons that don't respond, and checkout forms that reject an address.

So, was your shopping agent tested on real stores?

Today we're launching Commerce Bench, an open-source (Apache-2.0) harness that runs your shopping agent through real retail checkouts and shows exactly where it gets stuck. It grades from the browser, not from what the agent says, and it stops before payment. There's no blended score, just the furthest stage your agent reached and the reason it stopped.

__wf_reserved_inherit

What you get

  • Real checkouts. 30 store tasks across retail categories in the US and UK. Each one asks your agent to find a product, build the cart, check out as a guest and get shipping details accepted.
  • Grading from the browser. A read-only probe watches the session. A stage counts only when the browser shows it, and it's checked against what your agent claims.
  • A reason for every run. Each run ends with one label, such as a bot wall (with the vendor named), login required, add-to-cart failed or false completion, so you know what to fix.
  • It never pays. Tasks carry no card. Card and order requests are blocked, and any attempt is flagged as a guard breach.
__wf_reserved_inherit

Getting in vs. finishing

Getting into a store is the browser's job. Finishing the checkout is the agent's. Commerce Bench separates the two, so you can tell whether a failure belongs to your agent or your browser. Run the same agent locally, then add --browser anchor to run it on Anchor, including real Mac hardware, and compare the results in one report.

__wf_reserved_inherit

Try it

git clone https://github.com/anchorbrowser/commerce-bench && cd commerce-bench
npm install && npx playwright install chromium
npm run selftest
npm run bench -- run --agent my-agent.json --runs 3

Your agent can be any program that takes a JSON task and returns a JSON result. The repo has the full setup.

Using a coding agent? Point it at the repo and have it wire up your shopping agent. Use the coding-agent prompt.

What's next

Next comes the payment stage, then test cards on sandbox stores. Teams that need to handle agent payments today can look at Evervault, Link by Stripe and AgentCard, which work in the payment space. [TK: confirm the exact product names and add links before publishing.]

Run it before your customers do

  • ⭐ Star or clone the repo: github.com/anchorbrowser/commerce-bench
  • 📊 See the results: commerce.assistantanalysis.com
  • 🛠 Open an issue or contribute: new store tasks, fixes to the stage rules and new agent adapters are welcome. If the harness ever lets a payment through, that's the most important bug to report. See the contributing guide.
  • ⚓ Stuck at the door? Run it with --browser anchor --anchor-config configs/anchor/mac.json on Mac hardware and see which stores open. To get Mac hardware at scale speak to our team here.

Stay ahead in browser automation

We respect your inbox. Privacy policy

Welcome aboard! Thanks for signing up
Oops! Something went wrong while submitting the form.