---
title: 'ShopGym: An Integrated Framework for Realistic Simulation and Scalable Benchmarking of E-Commerce Web Agents'
authors: ['Chinmay Savadikar', 'Mingyu Zhao', 'Yuanzheng Zhu', 'Han Li', 'Shuang Xie', 'Alberto Castelo', 'Tianfu Wu', 'Lingyun Wang']
date: 2026-11-16
categories: ['cs.AI']
tags: ['ai_methodology', 'system_design']
source_id: '2605.16116'
source_url: 'https://arxiv.org/abs/2605.16116'
description: 'Developing and evaluating e-commerce web agents requires environments that preserve meaningful task structure while enabling controllable, reproducible, and scalable scientific comparison. Existing...'
keywords: ['cs.AI', 'ShopGym', 'Integrated', 'Framework']
canonical: 'https://dailyreading.cc/records/arxiv_2605.16116'
---
# ShopGym: An Integrated Framework for Realistic Simulation and Scalable Benchmarking of E-Commerce Web Agents
Chinmay Savadikar1,2,†,\*, Mingyu Zhao2,†, Yuanzheng Zhu2,†, Han Li2, Shuang Xie2, Alberto Castelo2, Tianfu Wu1, Lingyun Wang2,‡1North Carolina State University 2Shopify Website: https://shopgym-research.github.io/
#### **Abstract**
Developing and evaluating e-commerce web agents requires environments that preserve meaningful task structure while enabling controllable, reproducible, and scalable scientific comparison. Existing methodologies force a tradeoff: live storefronts provide realism but are non-stationary, difficult to inspect, and irreproducible, while hand-built sandbox benchmarks provide control but cover only a narrow range of layouts, catalogs, policies, and interaction patterns. We argue that the core bottleneck is methodological: the field lacks a scalable way to construct evaluation settings that are simultaneously realistic, diverse, controllable, inspectable, and reproducible. We introduce ShopGym, an integrated framework for realistic simulation and scalable benchmarking of e-commerce web agents. ShopGym is a framework for constructing e-commerce simulation environments and grounded benchmark tasks. Its simulation layer, ShopArena, converts live seed storefronts into self-contained sandbox shops through anonymized shop specifications and a staged, validated generation process. On top of these simulated storefronts, ShopGuru synthesizes benchmark tasks across seven skill categories, grounding each task in the shop's catalog, navigation structure, policies, and interaction affordances. Together, ShopArena and ShopGuru produce self-contained, resettable, inspectable, and stable evaluation artifacts that preserve structural properties and agent-evaluation signals relevant to shopping tasks. We validate the framework through graph-based structural analysis and agent-based behavioral evaluation with 224 generated tasks across six sandbox shops: three constructed with synthetic data and three with real data. Our results show that the synthetic shops preserve key structural properties of live storefronts, and that agent success rates on synthetic twins closely track those on live storefronts, with matching per-skill profiles and failure modes. Generating ten shops shows that the pipeline scales at about \$60 per shop with declining human effort.
#### 1 Introduction
As web agents become more capable, the field increasingly needs stable environments that support long-horizon interaction in realistic, user-facing settings. E-commerce is a particularly demanding domain for this purpose: shopping tasks require agents to navigate multi-page interfaces, interpret product information, satisfy user constraints, compare alternatives, and execute actions such as
\*This work was done as part of internship at Shopify
†Equal contribution, order decided randomly
<sup>‡Corresponding author: lingyun.wang@shopify.com

Figure 1: **ShopGym** comprises two components. **ShopArena** provides a simulation environment populated with synthetic sandbox shops, along with a scalable pipeline that generates new sandbox shops from one or more live seed storefronts through specification synthesis followed by data and code generation. **ShopGuru** then consumes the resulting catalog, collections, pages, and shop statistics to generate both short-horizon tasks covering primitive skills and long-horizon shopping journeys that combine these skills.
selecting variants or adding items to cart. These tasks combine perception, reasoning, and sequential decision-making in a grounded setting, making storefronts a compelling testbed for web-agent evaluation. The importance of this domain is reflected in growing interest in shopping assistants [25, 27, 19], offline A/B testing [2, 17], and user behavior simulation for e-commerce applications [11, 25, 28, 22].
Existing environments for e-commerce agents face a fundamental tradeoff between realism and experimental control. Live-websites [23, 7, 12] offer strong realism: agents are run and evaluated against realistic layouts, and naturally occurring variation and interaction patterns. But live storefronts are inherently non-stationary. Catalogs, layouts, and webpage design on live storefronts can change, collections can be reorganized, and storefronts participating in live A/B testing can serve separate variants for different requests. This non-stationary behavior makes reproducible training and evaluation of web agents challenging. The evaluation performance can reflect not only agent capability but also incidental variation from website drift, location-specific behavior, and operational noise, making results difficult to reproduce and agents difficult to compare fairly [23], and training runs difficult to reproduce.
Sandbox environments [30, 9, 24, 18, 20, 13], in contrast, are controllable and repeatable by design, but at the cost of realism and diversity of live websites. Manually constructing realistic storefront environments is expensive and covers only a narrow range of layouts, catalog structures, and interaction patterns.
Existing work proposing environments for e-commerce agents has largely explored the two methodologies, with works like DeepShop [12] using live websites, and WebShop [24], ShoppingBench [18], ShopSimulator [20], and WebMall [13] manually building sandbox environments. We argue that the deeper bottleneck is methodological: the field lacks a scalable way to construct reliable simulated environments that are realistic, controllable, inspectable, and reproducible.
To address this gap, we propose **ShopGym**, a framework for constructing realistic e-commerce simulation environments and grounded web-agent benchmarks. ShopGym comprises two complementary components in a synergistic workflow: (a) the simulation environment layer, **ShopArena**, transforms one or more live seed storefronts into a self-contained sandbox shop; and (b) **ShopGuru** synthesizes benchmark tasks grounded in the sandbox shops.
ShopArena: validated simulation environment. To generate the simulation environment grounded in real storefronts, ShopArena separates storefront understanding (exploration) from sandbox synthesis (generation) through an intermediate specification document that serves as the sole interface between exploration and generation. Given one or more seed storefronts, ShopArena autonomously explores the sites and writes an anonymized specification capturing their navigation structure, userfacing affordances, high-level page organization, and catalog statistics. When multiple seeds are provided, ShopArena composes their structural and behavioral signals into a single specification, so one sandbox shop can span diversity that no individual source storefront would cover. A staged generation pipeline then synthesizes a runnable sandbox shop from the specification, iteratively refining the implementation through build checks, type checking, and multimodal visual validation. ShopArena does not aim to clone a particular storefront; it produces *behaviorally aligned approximations* – synthetic shops grounded in real storefront structure and interaction patterns, but with synthetic
brand identity, products, descriptions, and imagery. The goal is not visual or brand-level fidelity but structural, behavioral, and statistical alignment sufficient for controlled evaluation. *Because the specification is human-readable, benchmark creators can also edit generated environments in controlled ways without re-exploring the source storefronts*.
ShopGuru: grounded task generation. ShopGuru consumes the sandbox shop's catalog, navigation graph, and store policies and synthesizes tasks that are valid against the environment they will be executed in. This design separates live-web exploration from benchmark execution. The generated shops are stable and resettable, while the intermediate specification provides an inspectable control surface that benchmark creators can edit without re-exploring the source storefronts. Generating many shops does not reintroduce live-web non-stationarity: ShopGym adds *controlled* variation *across* frozen, resettable, versioned environments, rather than uncontrolled drift within one.
We evaluate ShopGym by generating synthetic sandbox shops and anonymized twin shops, then validating them using structural metrics and agent-based behavioral comparisons. Across paired tasks defined over source and generated shops, agent success rates on sandbox environments closely track success rates on live storefronts with matching per-skill profiles and failure modes, indicating that generated storefronts retain meaningful evaluative signal from live-web settings while substantially improving control and reproducibility. We further measure the cost, human effort, and diversity of generating ten shops. While it does not completely replace live-web evaluation, ShopGym provides a stronger methodology for standardized benchmarking and analysis. To summarize, our contributions are:
- We identify the realism-control tradeoff in e-commerce environments and agent evaluation as a methodological bottleneck, and argue that the missing capability is scalable construction of realistic, controllable, and reproducible environments and evaluation benchmarks.
- We bridge this gap with ShopGym, a framework for constructing realistic, controlable, and reproducible e-commerce agent evaluation environments.
- We present ShopArena, a pipeline that converts live seed storefronts into anonymized, selfcontained sandbox shops through specification synthesis and staged code generation.
- We present ShopGuru, a grounded task-generation pipeline that created short-horizon and longhorizon shopping tasks tied to each generated shop's catalog, navigation structure, filters, and policies.
- We validate that the simulated environments preserve structural properties and meaningful signal from live storefront evaluation, supporting their use as controlled, behaviorally aligned benchmarking environments, and we measure the cost, stability, and diversity of generating shops at scale.
## 2 ShopGym
ShopGym combines two complementary frameworks: ShopArena, a simulation environment composed of interactable sandbox shops, and ShopGuru, an evaluation framework with a synthetic task generation pipeline grounded in the sandbox shops. ShopArena consists of a simulation environment containing multiple sandbox shops. It also provides a scalable pipeline to extend the environment by generating new synthetic sandbox shops: given one or more seed storefronts {S}N (real e-commerce websites), the ShopArena generation pipeline can generate a stable, self-contained, and anonymized sandbox shop E using a multi-agent shop exploration and code synthesis pipeline. The ShopGuru evaluation framework generates a set of instruction following tasks T defined over the sandbox shop E. Following standard practice [30,](#page-12-3) [1](#page-10-3), we define a task T = (E, s0, p, V ) as a sandbox shop E with initial state s0, a natural-language intent p, and a verification function V that maps the agent's trajectory to a binary success score. Figure [1](#page-1-0) illustrates the full pipeline.
#### 2.1 ShopArena
To generate each sandbox shop in the ShopArena environment, we propose a scalable pipeline that converts one or more live seed storefronts {S}N into a realistic, self-contained, inspectable and reproducible sandbox shop. *Importantly, the pipeline can be extended to any live storefront, making ShopArena an evolving environment that can be updated with new sandbox stores*.
The generation pipeline. Doing this end-to-end in one pass is an extremely long-horizon task: it combines storefront exploration and understanding, synthetic catalog construction, and source-code generation in a single trajectory that is hard to control and debug, and prone to incomplete outputs as agentic LLMs accumulate context [10,](#page-10-4) [16](#page-11-9). We instead split synthesis into two phases connected by a single intermediate artifact: an anonymized design specification M. The *exploration* phase ([§2.1.1\)](#page-3-0) browses {S}N and writes M; the *generation* phase ([§2.1.2\)](#page-3-1) reads M and writes the source code for a runnable sandbox shop. This split confines all live-web dependence to exploration, lets either phase be re-run independently, and turns the human-readable specification into a control surface for editing the generated environment without re-exploring the source.
Multi-agent framework. Both phases are organized as small sets of agents communicating through the file system. Each agent is an instance of a coding agent differentiated by (a) the tools it is given access to and (b) the objective described by its system prompt. Agents share a workspace directory but do not share a conversational context. The harness and model are replaceable: the shops in [§3](#page-7-0) use Claude Code with Claude Opus 4.6, and we also run the pipeline with the open-source Pi harness driving GPT-5.5 or GLM-5.2 ([§5\)](#page-9-0). Appendix [L](#page-30-0) classifies every pipeline stage as deterministic, a direct LLM call, or a coding-agent session.
### 2.1.1 Exploration: From Live Storefront to Specifications
The exploration phase browses one or more seed storefronts {S}N , extracts the properties of a live storefront that matter for downstream environment generation, and generates a specification document M. The specification consists of three facets: (i) a design manual, which is a natural language description of the store and its visual style; (ii) a structured list of its attributes that are typically present on storefronts such as filter attributes, navigation menu design, pagination information, etc. (iii) statistics such as number of products, price range and distribution, etc. Figure [2](#page-4-0) shows the full exploration pipeline.
Static prefetch. The phase begins with a deterministic prefetch of canonical surfaces (homepage HTML, sitemap, search and cart endpoints, public catalog JSON, policy pages).
Planner agent (AGENTplan). A single planner consumes the prefetched files and, with a small live-browsing budget, writes a plan that decomposes exploration of Si into focused subtasks. The planner is shown an example plan but is required to adapt it to Si , so coverage is grounded in what the storefront actually exposes rather than in a fixed template. An example plan is shown in Fig [G.1.](#page-25-0)
Specification agent (AGENTspec). For each planned subtask, the harness spawns a fresh specification agent equipped with browser-automation tools (Playwright). The agent performs targeted browsing, captures evidence (screenshots, snapshots, optional XHR traces), and writes an anonymized fragment of M for its subtask. AGENTspec is instructed to ignore brand names, product names, named individuals, and absolute URLs at write time, so everything downstream of exploration is anonymous by construction — no separate redaction pass is required. Since generation sees only M, any residual source-specific information must appear in the human-readable M, an explicit checkpoint for human review.
Consolidation and multi-seed composition. A non-agentic LLM merges the per-subtask fragments into one specification per feature, yielding M. For a sandbox shop calibrated on multiple seeds, exploration runs independently on each storefront, producing one M(Si) per seed; a second LLM merge composes them into a single composite specification. Multi-seed composition is how ShopArena scales *within* a shop: a single sandbox can span structural and behavioral diversity that no individual source storefront would cover.
At the end of the exploration phase, the pipeline produces the anonymized shop specifications M for the sandbox shop, with the design document divided into multiple predefined *features* (website skeleton, homepage, collections, etc.) A full list of features and an example of the full specifications is provided in Appendix [F](#page-20-0)
### 2.1.2 Generation: From Specifications to Sandbox Shop
The generation phase synthesizes a runnable storefront from M. Because it sees only M and never the prefetched evidence, generation is anonymous by construction. The generation phase has two parts: a catalog synthesis pipeline and a source-code synthesis loop.

Figure 2: The exploration phase fetches key pages, and the public product catalogue. A planner agent then writes a plan using a list of predefined features to implement. Finally, Specification agents write anonymized specifications for each sub-task, which are merged to form the shop specifications.

Figure 3: The generation phase. A staged sequence of feature-scoped steps is each driven by an execution–verification loop in which a fresh Execution Agent edits the codebase and a separate Verification Agent writes natural-language feedback.
**Synthetic catalog generation.** The generation step first synthesizes the collection details (description, associated products), product names, product descriptions, and product images using the design manual and statistics from M. The data synthesis is structured as simple LLM calls that generate the data for one collection at a time, followed by schema checks. Store and vendor names are drawn from a configurable allowlist screened for collisions with existing brands (Appendix D). The details of the models used for the data generation are provided in Appendix B.1.
Stepwise source-code synthesis. ShopArena generates the storefront source code in a fixed sequence of steps, each scoped to one feature: site shell and homepage, collection pages, product detail page, cart, search and filtering, policy pages, and a final integration pass. Each step is given only the slice of M relevant to its feature, the catalog, and the current state of the codebase, and is executed by a dedicated execution—verification loop. Steps run in a fixed order over a shared workspace, so later steps build on a stable surface produced by earlier ones, and a failure in one step can be repaired without regenerating the rest of the shop.
**Execution-verification loop.** Within each step, code generation is structured in the spirit of the Ralph technique4: a fresh agent process is spawned at each iteration, reads the current state of the workspace from disk, edits the codebase, and exits; the harness then runs verification, writes feedback to disk, and spawns the next iteration. Two specialised agents alternate within the loop:
- Execution Agent (AGENTexec). At each iteration, a coding agent with the codebase and terminal access receives the feature to implement, the slice of M, the catalog, and (if present) the verifier's most recent feedback. It edits the source code and runs lightweight checks (type checking, build).
- **Verifiers.** The code generated by AGENTexec is checked by both rule-based verifiers and a multimodal verification agent. The rule-based verifiers ensure the site builds successfully, required pages return valid HTTP success codes, and outputs are properly structured. The verification agent then hosts the shop locally, uses browser automation to inspect the rendered site for visual and functional issues, and produces natural-language feedback for the next AGENTexec iteration.
**Long-context management.** Each step could in principle be driven by one long-running agent that holds the codebase, the verifier's reports, and the slice of M in a single context window. We
4https://ghuntley.com/ralph/
avoid this because long-horizon code generation degrades as context grows [10,](#page-10-4) [16](#page-11-9), and we observe the same failure mode in our own development: partially broken outputs the agent itself reports as complete. Spawning a fresh process at each iteration externalises three concerns that would otherwise pile up inside one prompt: the *state context* (the current source code, read directly from disk), the *implementation context* (the agent's prior tool-use traces, discarded), and the *evaluation context* (the verifier's most recent feedback, at a known path). Each fresh AGENTexec iteration sees only what the workspace and the latest verifier note convey; the prompt does not grow unboundedly, and the agent re-establishes context from the artifacts that matter. The loop runs for a fixed iteration budget (30 by default) or terminates early when the agent reports no further action is required. This leaves headroom: shops in [§5](#page-9-0) need 17–26 iterations.
Final consolidation. After all feature-specific steps complete, ShopArena runs a final consolidation pass: a global agent navigates a tour of canonical routes, and fixes the remaining defects raised by the verifiers in prior steps.
### 2.2 ShopGuru: Grounded Task Generation
ShopGuru uses the collections, product details, and statistics from ShopArena's generation phase ([§2.1.2\)](#page-3-1) and generates synthetic tasks grounded in the sandbox shop. The pipeline uses a small set of *deterministic generators*, which construct short horizon tasks meant for evaluating primitive skills, and a single *LLM-authored* generator for long-horizon shopping journeys. The pipeline is structured as an execution-verification loop: the generated tasks (using rule-based or LLM-based generators) are verified using multiple rule-based verifiers. The verifiers validate that the collections, products, filter types and options, and pages referenced by the task are present in the shop's data. A detailed description of the verifiers can be found in Table [4.](#page-29-0) Figure [4](#page-6-0) illustrates the full pipeline.
#### 2.2.1 Skill Catalog
We organize ShopGuru's seven skill categories into three short-horizon groups and one long-horizon group, summarized in Table [3](#page-26-0) in Appendix [H.](#page-26-1) The three short-horizon groups are themselves the underlying primitives that the long-horizon journeys re-combine.
## 2.2.2 Short-Horizon Task Generation
Short-Horizon tasks are meant to evaluate the basic instruction following capabilities of agents. The short-horizon tasks are generated using rule-based generators to evaluate three primitive skills:
Product Discovery (search-exact, search-substitute). The discovery generators sample products from the catalog and emit two task variants per product: one asking the agent to find the product by its exact title, and one asking for a semantically similar alternative. To keep the dataset diverse, the sampler accepts at most one product per product\_type, and excludes inactive products, gift cards, and products with no available variant (so an agent is never asked to add an out-of-stock item).
Filter-Selection (browse, filter). Browse tasks pick a populated, non-generic collection (at least three products; generic catchall handles like all, sale, featured, or best-sellers excluded) and ask the agent to navigate to the collection page and add any product to cart. The filter generator additionally pairs the collection with a realistic facet (*dim*, *value*). The non-trivial design decision here is feasibility: shop-wide option statistics are a poor source for per-collection filter facets because a dimension can be common in the catalog overall yet absent from a specific collection. We therefore build a *per-collection* option index from the collection's own products and only emit a task when at least one product in the collection actually has the chosen (*dim*, *value*) pair. As a fallback, when no priority variant-option dimension is feasible in a collection, we use the universal product fields Vendor (storefront-rendered as "Brand") and ProductType (rendered as "Type"), which every storefront filter UI exposes regardless of variant-option coverage.
Information-Seeking (shipping, returns). The policy generator searches the shop's extracted pages.json for pages whose title or handle matches a small keyword list (*shipping*/*delivery* for shipping; *return*/*refund*/*exchange* for returns). Both the /pages/⟨handle⟩ route and the platformdefault /policies/⟨name⟩-policy route are emitted as soft URL hints (url\_contains plus a

Figure 4: The ShopGuru task generation pipeline. Deterministic generators emit short-horizon tasks (search-exact, search-substitute, browse, filter, shipping, returns); an LLM-authored generator emits long-horizon shopping journeys reconciled against the shop data via a validator-driven polish loop. All emitted tasks are checked by rule-based verifiers (Table 4).
url\_contains\_alt list), since some storefronts surface the policy under a custom page handle and others under the platform default.
### 2.2.3 LLM-Authored Long-Horizon Journeys
Long-horizon journeys are the workhorse of the benchmark's hard\_long\_horizon bundle. They mimic the kind of multi-step behavior we observe in real human shopper traces — filter $\rightarrow$ sort $\rightarrow$ inspect $\rightarrow$ detour to a policy page $\rightarrow$ add to cart $\rightarrow$ edit quantity — which the primitive-task generators by themselves do not cover. Authoring such journeys by hand is prohibitively expensive at scale, so ShopGuru delegates the long-horizon authoring to an LLM (e.g. GPT-5 or Gemini 3 Pro) with two structural guards: (i) a few-shot prompt grounded in the shop's actual catalog, navigation, and policy pages, and (ii) a polish loop that uses the same validator from §2.2.4 as a feedback signal.
Listing 3 shows a representative end-to-end (E2E) task that chains collection navigation, a Color filter, a price sort option, and a final cart action. The few-shot examples in the user prompt template (eight in total; the full prompt and three representative examples are in Appendix Q) are constructed to reflect commonly observed click-stream patterns in human shopper sessions on production store-fronts, drawing on prior characterizations of online shopping behavior [21, 11]: multi-pet household shopping, returns-cautious browse-without-purchase, free-shipping-threshold calculation, cross-brand comparison, filter-recover, first-time-visitor info-page detour, homepage-callout brand drilldown, and so on.
The polish loop (Appendix J) follows from a known weakness of single-pass LLM authoring: the model occasionally hallucinates a product into the wrong collection, asks for a variant option that a product does not expose (e.g. "select a Color" on a gift card), or names a filter dimension that has no realizable values in the target collection. We close this gap by reusing the validator as a critic. After each generation pass, the validator returns a list of per-task issues; ShopGuru filters to the actionable subset (every error-severity finding plus the hallucination-class warnings) and constructs a polish prompt that lists *only the flagged tasks* alongside their specific issues and the shop context, and asks the LLM to regenerate *only those tasks* while preserving their IDs. The polish loop runs for at most two targeted repair rounds after the initial generation. In our experiments, this is sufficient to drive the residual error rate to zero on most shops without human review. When tasks still fail validation after two rounds, the build halts with a non-zero exit code rather than silently shipping the flawed tasks; a human curator then corrects the flagged tasks, either by re-running generation with a different seed or hand-authoring replacements under data\_sources/, which override the auto-generated outputs in the next build.
#### 2.2.4 Post-Generation Validation
A small dependency-free validator runs over every emitted benchmark file as the final gate. Its seven core rules (Table 4)—four error-severity and three warning-severity—target the failure modes we observe during multi-shop benchmark regeneration; collectively they catch every class of grounding mismatch we encounter. An actionable subset of the validator's findings (every error plus the two hallucination-class warnings) is also reused as the polish signal for the LLM-authored journey generator (§2.2.3), so the same audit logic both gates the output and steers the LLM toward feasible tasks; the remaining unknown-page warning is advisory only.
## 3 Evaluating Sandbox Shop Quality
For the synthetic shops in the ShopArena environment to be a reasonable substitute for live storefronts, we want the sandbox shops to be *structurally and behaviorally* similar to real websites. Structural validation aims to evaluate the static structure of the synthetic shop against the real shops, whereas behavioral validation evaluates shopping workflows.
To demonstrate and validate the ShopArena as a structurally and behaviorally aligned environment, we generate three synthetic sandbox shops spanning clothing, cookware and electronics hardware domains. We refer to these shops as sandbox shops. The screenshots of the sandbox shops can be found in Section [E,](#page-19-0) along with the links to the live hosted sandbox shops. We further generate three synthetic shops using real product data instead of synthetic data, which we refer to as twin shops. When generating the twin shops, we use an additional visual verification agent that matches the visual theme and structure of the real storefronts, and shop-specific information such as names, locations, and contact details is replaced with mock information.
### 3.1 Structural Validity
To validate the structure of the sandbox shops, we compare them with real shops along two axes: *Observation and Interaction Complexity*, and *State Transition Complexity*. We use 7 real shops and 3 synthetic shops for the comparisons. We note that this is an unpaired validation.
Observation/Interaction Complexity. To compare the observation space, we use the depth of the simplified accessibility tree as a proxy for evaluating the nesting complexity of the websites[5](#page-7-1) . The nesting complexity evaluates how much structured content the agents must parse. We compare the interaction complexity by counting the number of unique elements on the website that support the fill action, click action, or elements that support select style controls (choice). Figure [5c](#page-8-0) shows that the synthetic sandbox shops are comparable in terms of observation and interaction complexity. In absolute terms, the real and synthetic means are 7.7 vs. 8.0 for semantic AXTree depth, 25 vs. 29 for fill targets, 1724 vs. 1494 for click targets, and 49 vs. 42 for choice controls.
State Transition Complexity. To compare the state transition complexity, we treat the website as a directed state-transition graph, where each node corresponds to a distinct UI state, as illustrated in Figure [5a.](#page-8-0) Each pink node (for example /) denotes individual pages, and violet nodes (/:navigation) denote alternate UI configurations of those pages when interactive elements are opened. Edges denote the actions that trigger transitions between the states, for instance, the red arrow shows clicking the navigation bar on / transitions the state to /:navigation.
The aggregated statistics in Figure [5b](#page-8-0) show that the synthetic sandbox shops have a comparable number of nodes to the real shops (22 vs. 24 on average), indicating similar coverage of distinct UI states. However, they exhibit fewer edges (314 vs. 188) and a lower average out-degree (13 vs. 7.6), meaning that each state tends to have fewer outgoing transitions. This reduction is largely because real storefronts contain additional navigation paths through external links, marketing pages, and auxiliary site components that are intentionally excluded from the sandbox environments. Overall, the synthetic shops closely match real storefronts in observation complexity, action affordances, and transition-graph scale, supporting their use as realistic sandbox environments.
As this comparison is unpaired and small, it characterizes central tendency rather than spread; pershop ranges over ten shops are in [§5.](#page-9-0) Generation is also stable: across three reruns of one shop from the same specification, every structural metric varies by under 8% (coefficient of variation), and LLM judges rate reruns as visually similar (0.83 on a 0–1 scale; Appendix [N\)](#page-32-0).
### 3.2 Behavioral Validation
We use the twin shops to perform behavioral validation of the ShopArena pipeline. The twin shops are visually and structurally similar to real shops, with the shop-specific information replaced with mock information. We then generate the ShopGuru evaluation suite for the real and twin shops, and evaluate multiple frontier models on both variants. We evaluate GPT-5-mini, GPT5 [15](#page-11-11), and Gemini 3 Flash.
5As defined by BrowserGym

Figure 5: (a) An example directed graph visualization of the website; (b) the State Transition statistics; (c) the Observation/Interaction statistics

Figure 6: Success rates on real storefronts vs. ShopArena twins.
We evaluate the models using two harnesses: a BrowserGym [4] based implementation that uses accessibility trees (AXTrees), and a proprietary implementation that uses screenshots along with AXTrees. We use GPT-5 as a judge in both implementations, which analyzes the agent trajectories and provides a binary success rate. The implementation details are provided in Appendix B.
Figure 6 shows that all models achieve similar performance on the real storefront and its twin variant. Furthermore, the performance on the complex tasks improves with stronger models. This shows that from the perspective of agent behavior, the sandbox shops are behaviorally consistent with real shops.
Real vs. twin trajectories. Similar aggregate success does not imply identical behavior. Running GPT-5 on matched real and twin variants of every task (three shops, three seeds), trajectory length (13.1 vs. 13.3 steps), click share (74.8% vs. 74.2%), and success (72.7% vs. 72.4%) are nearly identical. Per-family success (Table 1) is highly correlated (Pearson r=0.954, Spearman $\rho=0.964$ ), though filtering and policy lookup are easier on the twin, consistent with its cleaner DOM and shorter policy pages. Failure patterns also agree (r=0.960): most failures are specification-compliance errors, where the agent reaches the right collection, product, or cart but misses an exact route, filter, variant, or final-response requirement. Yet 26.8% of matched runs differ in outcome: twins exercise the same skills at comparable difficulty, but are not replicas.
### 4 Validating ShopGuru task complexity
To validate that the ShopGuru task generation pipeline can generate complex tasks, we evaluate frontier models with the ShopGuru evaluation suite on the sandbox shops. We use the same web agent, harness, and judge setup as §3.2.
As seen in Figure 7a GPT-5-mini with the BrowserGym harness achieves a success rate of 47.9% on the Long-Horizon complex tasks, Gemini 3 Flash achieves 59%, and GPT-5 achieves 62.5%. The results with the custom harness show similar performance across all models. A low performance of frontier models shows that the ShopGuru task generation pipeline can generate meaningfully hard tasks which are useful for training and evaluation of next generation e-commerce agents.
Table 1: Real-twin agreement for GPT-5 on matched task variants across the three twin shops. **Left:** success rate (%) by ShopGuru task family. **Right:** distribution of failure patterns (%) over failed trajectories.
| Task family | Real | Twin | Δ |
|---------------------------|-------|-------|-------|
| Exact product discovery | 100.0 | 100.0 | 0.0 |
| Substitute discovery | 88.9 | 93.3 | +4.4 |
| Collection browsing | 80.0 | 77.8 | -2.2 |
| Filtering | 66.7 | 75.8 | +9.1 |
| Multi-step (long-horizon) | 60.4 | 55.6 | -4.8 |
| Returns-policy lookup | 44.4 | 66.7 | +22.3 |
| Shipping-policy lookup | 11.1 | 22.2 | +11.1 |
| All tasks | 72.7 | 72.4 | -0.3 |
| Failure pattern | Real | Twin |
|-----------------------------------|------|------|
| Missing required URL checkpoint | 40.0 | 41.7 |
| Final-response instruction missed | 18.9 | 15.6 |
| Item not added on product page | 11.1 | 7.3 |
| Filter incorrect or not cleared | 10.0 | 15.6 |
| Wrong route to the right content | 8.9 | 4.2 |
| Final cart state incorrect | 7.8 | 7.3 |


(b) Internal Harness.
Figure 7: Success rates on the synthetic sandbox shops.
## 5 Scalability of Environment Generation
We generate seven additional fully synthetic shops in concurrent jobs with the open-source Pi harness and GPT-5.5. All seven produce buildable store-fronts within 17–26 iterations; the verifiers catch and the execution agent repairs 88 visual/quality and 26 functional defects, with no build failures (Appendix M). Table 2 shows a per-shop cost of about \$60 and a few hours. With the open-weight
Table 2: Per-shop cost with Pi + GPT-5.5 (six runs over two shops).
| Stage | Tokens | Time | Cost |
|-------------|--------|-----------|----------------|
| Exploration | 8-9M | 0.6-0.8 h | \$12-13 |
| Generation | 17-18M | 2-3 h | \$46-48 |
| Total | 25–27M | 2.6-3.8 h | \$58–61 |
GLM-5.2, shop generation costs 82% less (\$8.47) at comparable structural quality, using more tokens and time (Appendix O). Human inspection time falls from 60 to 30 to $\sim 10$ minutes per shop across batches as recurring defects become reusable verifier checks. The shops are diverse: homepage DOM size varies sixfold and collection-page checkboxes range from 0 to 93, and operations such as search and filtering take different interface forms (Appendix P). Finally, lightweight deployments ( $\sim 600 \, \mathrm{MB} \, \mathrm{vs}$ . $\sim 60 \, \mathrm{GB}$ for WebArena) support parallel RL rollouts: 192 rollouts in about 25 minutes in a preliminary setup (Appendix B.5).
#### 6 Conclusion
We present ShopGym, an integrated framework for realistic simulation and scalable benchmarking of e-commerce web agents. ShopGym addresses a central methodological gap: live storefronts are realistic but non-stationary, while sandbox environments are controllable but limited in diversity. By combining ShopArena for sandbox shop generation and ShopGuru for grounded task synthesis, ShopGym produces self-contained, inspectable, resettable, and stable evaluation artifacts.
The generated shops are structurally comparable to real storefronts, and agent performance on synthetic twins closely tracks performance on live storefronts, with matching per-skill profiles and failure modes. Fully synthetic shops yield benchmarks of comparable difficulty, and generation scales at modest cost and declining human effort. ShopGym thus provides a practical middle ground between live-web realism and sandbox control, and a scalable foundation for more reproducible evaluation of e-commerce web agents.
## References
- [1] Pranjal Aggarwal, Graham Neubig, and Sean Welleck. Gym-anything: Turn any software into an agent environment. *arXiv preprint arXiv:2604.06126*, 2026.
- [2] Alberto Castelo, Zahra Zanjani Foumani, Ailin Fan, Keat Yang Koay, Vibhor Malik, Yuanzheng Zhu, Han Li, Meysam Feghhi, Ronie Uliana, Shuang Xie, Zhaoyu Zhang, Angelo Ocana Martins, Mingyu Zhao, Francis Pelland, Jonathan Faerman, Nikolas LeBlanc, Aaron Glazer, Andrew McNamara, Lingyun Wang, and Zhong Wu. Simgym: Traffic-grounded browser agents for offline A/B testing in e-commerce. *CoRR*, abs/2602.01443, 2026. doi: 10.48550/ARXIV. 2602.01443. URL .
- [3] Hyungjoo Chae, Jungsoo Park, and Alan Ritter. Safe and scalable web agent learning via recreated websites. *CoRR*, abs/2603.10505, 2026. doi: 10.48550/ARXIV.2603.10505. URL .
- [4] Thibault Le Sellier de Chezelles, Maxime Gasse, Alexandre Lacoste, Massimo Caccia, Alexandre Drouin, Léo Boisvert, Megh Thakkar, Tom Marty, Rim Assouel, Sahar Omidi Shayegan, Lawrence Keunho Jang, Xing Han Lù, Ori Yoran, Dehan Kong, Frank F. Xu, Siva Reddy, Graham Neubig, Quentin Cappart, Russ Salakhutdinov, and Nicolas Chapados. The browsergym ecosystem for web agent research. *Transactions on Machine Learning Research*, 2025. ISSN 2835-8856. URL . Expert Certification.
- [5] Xiang Deng, Yu Gu, Boyuan Zheng, Shijie Chen, Samual Stevens, Boshi Wang, Huan Sun, and Yu Su. Mind2web: Towards a generalist agent for the web. In Alice Oh, Tristan Naumann, Amir Globerson, Kate Saenko, Moritz Hardt, and Sergey Levine, editors, *Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023*, 2023. URL [http://papers.nips.cc/paper\\_files/paper/2023/hash/](http://papers.nips.cc/paper_files/paper/2023/hash/5950bf290a1570ea401bf98882128160-Abstract-Datasets_and_Benchmarks.html) [5950bf290a1570ea401bf98882128160-Abstract-Datasets\\_and\\_Benchmarks.html](http://papers.nips.cc/paper_files/paper/2023/hash/5950bf290a1570ea401bf98882128160-Abstract-Datasets_and_Benchmarks.html).
- [6] Apurva Gandhi and Graham Neubig. Go-browse: Training web agents with structured exploration. In *The Fourteenth International Conference on Learning Representations*, 2026. URL .
- [7] Hongliang He, Wenlin Yao, Kaixin Ma, Wenhao Yu, Yong Dai, Hongming Zhang, Zhenzhong Lan, and Dong Yu. Webvoyager: Building an end-to-end web agent with large multimodal models. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar, editors, *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024*, pages 6864–6890. Association for Computational Linguistics, 2024. doi: 10.18653/V1/2024.ACL-LONG.371. URL [https:](https://doi.org/10.18653/v1/2024.acl-long.371) [//doi.org/10.18653/v1/2024.acl-long.371](https://doi.org/10.18653/v1/2024.acl-long.371).
- [8] Tenghao Huang, Kung-Hsiang Huang, Prafulla Kumar Choubey, Yilun Zhou, Muhao Chen, Jonathan May, and Chien-Sheng Wu. GTA: Generating long-horizon tasks for web agents at scale. In Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens, editors, *Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pages 18805–18820, San Diego, California, United States, July 2026. Association for Computational Linguistics. ISBN 979-8-89176-390-6. doi: 10.18653/v1/2026. acl-long.856. URL .
- [9] Jing Yu Koh, Robert Lo, Lawrence Jang, Vikram Duvvur, Ming Chong Lim, Po-Yu Huang, Graham Neubig, Shuyan Zhou, Ruslan Salakhutdinov, and Daniel Fried. Visualwebarena: Evaluating multimodal agents on realistic visual web tasks. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024*, 2024. URL .
- [10] Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. *Transactions of the Association for Computational Linguistics*, 12:157–173, 2023. URL [https://api.](https://api.semanticscholar.org/CorpusID:259360665) [semanticscholar.org/CorpusID:259360665](https://api.semanticscholar.org/CorpusID:259360665).
- [11] Yuxuan Lu, Jing Huang, Yan Han, Bingsheng Yao, Sisong Bei, Jiri Gesi, Yaochen Xie, Qi He, Dakuo Wang, et al. Can llm agents simulate multi-turn human behavior? evidence from real online customer behavior data. *arXiv preprint arXiv:2503.20749*, 2025.
- [12] Yougang Lyu, Xiaoyu Zhang, Lingyong Yan, Maarten de Rijke, Zhaochun Ren, and Xiuyi Chen. Deepshop: A benchmark for deep research shopping agents. *ArXiv*, abs/2506.02839, 2025. URL .
- [13] Ralph Peeters, Aaron Steiner, Luca Schwarz, Julian Yuya Caspary, and Christian Bizer. Webmall–a multi-shop benchmark for evaluating web agents [technical report]. *arXiv preprint arXiv:2508.13024*, 2025.
- [14] Ram Ramrakhya, Andrew Szot, Omar Attia, Bogdan Mazoure, Anh Nguyen, Yuhao Yang, Zhe Gan, Harsh Agrawal, and Alexander Toshev. Scaling synthetic task generation for agents via exploration. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, *International Conference on Learning Representations*, volume 2026, pages 123630– 123660, 2026. URL [https://proceedings.iclr.cc/paper\\_files/paper/2026/file/](https://proceedings.iclr.cc/paper_files/paper/2026/file/c8a4dd7d9e13583d714ce8580da7bbc7-Paper-Conference.pdf) [c8a4dd7d9e13583d714ce8580da7bbc7-Paper-Conference.pdf](https://proceedings.iclr.cc/paper_files/paper/2026/file/c8a4dd7d9e13583d714ce8580da7bbc7-Paper-Conference.pdf).
- [15] Aaditya Singh, Adam Fry, Adam Perelman, Adam Tart, Adi Ganesh, Ahmed El-Kishky, Aidan McLaughlin, Aiden Low, AJ Ostrow, Akhila Ananthram, et al. Openai gpt-5 system card. *arXiv preprint arXiv:2601.03267*, 2025.
- [16] Akshit Sinha, Arvindh Arun, Shashwat Goel, Steffen Staab, and Jonas Geiping. The illusion of diminishing returns: Measuring long horizon execution in llms. *ArXiv*, abs/2509.09677, 2025. URL .
- [17] Dakuo Wang, Ting-Yao Hsu, Yuxuan Lu, Hansu Gu, Limeng Cui, Yaochen Xie, William Headean, Bingsheng Yao, Akash Veeragouni, Jiapeng Liu, et al. Agenta/b: Automated and scalable web a/btesting with interactive llm agents. *arXiv preprint arXiv:2504.09723*, 2025.
- [18] Jiang Wang, Kejun Xiao, Qi Sun, Huaipeng Zhao, Tao Luo, Jiandong Zhang, and Xiaoyi Zeng. Shoppingbench: A real-world intent-grounded shopping benchmark for llm-based agents. In *AAAI Conference on Artificial Intelligence*, 2025. URL [https://api.semanticscholar.](https://api.semanticscholar.org/CorpusID:280536823) [org/CorpusID:280536823](https://api.semanticscholar.org/CorpusID:280536823).
- [19] Jiangyuan Wang, Kejun Xiao, Huaipeng Zhao, Tao Luo, and Xiaoyi Zeng. Productresearch: Training e-commerce deep research agents via multi-agent synthetic trajectory distillation. *CoRR*, abs/2602.23716, 2026. doi: 10.48550/ARXIV.2602.23716. URL [https://doi.org/](https://doi.org/10.48550/arXiv.2602.23716) [10.48550/arXiv.2602.23716](https://doi.org/10.48550/arXiv.2602.23716).
- [20] Pei Wang, Yanan Wu, Xiaoshuai Song, Weixun Wang, Gengru Chen, Zhongwen Li, Ke Yan, Ken Deng, Qi Liu, Shu-Man Zhao, Shaopan Xiong, Xuepeng Liu, Xuefeng Chen, Wanxi Deng, Wenbo Su, and Bo Zheng. Shopsimulator: Evaluating and exploring rl-driven llm agent for shopping assistants. *ArXiv*, abs/2601.18225, 2026. URL [https://api.semanticscholar.](https://api.semanticscholar.org/CorpusID:285050373) [org/CorpusID:285050373](https://api.semanticscholar.org/CorpusID:285050373).
- [21] Ziyi Wang, Yuxuan Lu, Wenbo Li, Amir A. Amini, Bo Sun, Yakov Bart, Weimin Lyu, Jiri Gesi, Tian Wang, Jing Huang, Yu Su, Upol Ehsan, Malihe Alikhani, Toby Jia-Jun Li, Lydia B. Chilton, and Dakuo Wang. Opera: A dataset of observation, persona, rationale, and action for evaluating llms on human online shopping behavior simulation. *ArXiv*, abs/2506.05606, 2025. URL .
- [22] Ziyi Wang, Yuxuan Lu, Yimeng Zhang, Jing Huang, and Dakuo Wang. Customer-r1: Personalized simulation of human behaviors via rl-based llm agent in online shopping. *arXiv preprint arXiv:2510.07230*, 2025.
- [23] Tianci Xue, Weijian Qi, Tianneng Shi, Chan Hee Song, Boyu Gou, Dawn Song, Huan Sun, and Yu Su. An illusion of progress? assessing the current state of web agents. *CoRR*, abs/2504.01382, 2025. doi: 10.48550/ARXIV.2504.01382. URL [https://doi.org/10.48550/arXiv.2504.](https://doi.org/10.48550/arXiv.2504.01382) [01382](https://doi.org/10.48550/arXiv.2504.01382).
- [24] Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. Webshop: Towards scalable real-world web interaction with grounded language agents. In Sanmi Koyejo, S. Mohamed, A. Agarwal, Danielle Belgrave, K. Cho, and A. Oh, editors, *Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 - December 9, 2022*, 2022. URL [http://papers.nips.cc/paper\\_files/paper/2022/hash/](http://papers.nips.cc/paper_files/paper/2022/hash/82ad13ec01f9fe44c01cb91814fd7b8c-Abstract-Conference.html) [82ad13ec01f9fe44c01cb91814fd7b8c-Abstract-Conference.html](http://papers.nips.cc/paper_files/paper/2022/hash/82ad13ec01f9fe44c01cb91814fd7b8c-Abstract-Conference.html).
- [25] Zijian Yu, Kejun Xiao, Huaipeng Zhao, Tao Luo, and Xiaoyi Zeng. Shopping companion: A memory-augmented LLM agent for real-world e-commerce tasks. *CoRR*, abs/2603.14864, 2026. doi: 10.48550/ARXIV.2603.14864. URL [https://doi.org/10.48550/arXiv.2603.](https://doi.org/10.48550/arXiv.2603.14864) [14864](https://doi.org/10.48550/arXiv.2603.14864).
- [26] Peng Yuan, Yuyang Yin, Yuxuan Cai, and Zheng Wei. Webforge: Breaking the realism-reproducibility-scalability trilemma in browser agent benchmark. *arXiv preprint arXiv:2604.10988*, 2026.
- [27] Shuo Zhang, Boci Peng, Xinping Zhao, Boren Hu, Yun Zhu, Yanjia Zeng, and Xuming Hu. Llasa: Large language and e-commerce shopping assistant. *CoRR*, abs/2408.02006, 2024. doi: 10.48550/ARXIV.2408.02006. URL .
- [28] Yimeng Zhang, Jiri Gesi, Ran Xue, Tian Wang, Ziyi Wang, Yuxuan Lu, Sinong Zhan, Huimin Zeng, Qingjun Cui, Yufan Guo, et al. See, think, act: Online shopper behavior simulation with vlm agents. *arXiv preprint arXiv:2510.19245*, 2025.
- [29] Shuyan Zhou. Webarena-infinity: Generating browser environments with verifiable tasks at scale. *shuyanzhou.com*, March 2026. URL .
- [30] Shuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig. Webarena: A realistic web environment for building autonomous agents. In *The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024*. OpenReview.net, 2024. URL .
## A Related Work
Static web environments and benchmarks. Prior work on web-agent evaluation has pursued two goals: broad coverage of real websites and reproducible executable environments. Mind2Web [5](#page-10-6) provides large-scale offline traces from 137 real websites across 31 domains, emphasizing breadth and cross-site generalization. OPeRA [21](#page-11-10) similarly collects observations, personas, rationales, and actions from real human shopping sessions on Amazon. In contrast, WebArena [30](#page-12-3) provides selfhosted, fully functional websites with executable tasks, and VisualWebArena [9](#page-10-2) extends this setting to visually grounded tasks. Such environments support autonomous exploration and reproducible evaluation, unlike purely offline datasets. Several benchmarks focus specifically on e-commerce. WebShop [24](#page-12-4) offers a synthetic storefront with 1.25M products. ShoppingBench [18](#page-11-6) provides a large shopping sandbox with API-based interaction, aimed primarily at intent grounding. ShopSimulator [20](#page-11-7) introduces a Chinese web environment for multi-turn shopping dialog and fine-grained product differentiation. WebMall [13](#page-11-8) expands to four simulated shops with authentic product offers and comparison-shopping tasks. Although these benchmarks enable controlled evaluation, they remain tied to a fixed set of layouts, taxonomies, and policies, and therefore capture only a limited slice of real-world e-commerce diversity.
Live-website evaluation. To address this limitation, Online-Mind2Web [23](#page-11-4), WebVoyager [7](#page-10-1), and DeepShop [12](#page-11-5) evaluate agents directly on live websites, including real shopping domains. These settings improve diversity and realism, but depend on external sites whose layouts, inventories, flows, and access policies may change without notice. This non-stationarity makes comparisons over time difficult and limits reproducibility, especially for RL training.
Automated environment and task generation. A recent line of work uses LLMs to automate environment construction. Gym-Anything [1](#page-10-3) treats setup as a multi-agent pipeline that installs and configures existing software, producing CUA-World with 10K+ tasks. WebArena-Infinity [29](#page-12-5) generates synthetic web apps from user manuals. WebForge [26](#page-12-6) uses a Plan/Generate/Refine/Validate pipeline to create self-contained web environments at scale, and VeriEnv [3](#page-10-7) constructs executable synthetic versions of real websites with deterministic rewards exposed through a Python SDK. These approaches scale well, but often sacrifice fidelity: their environments are derived from manuals or ungrounded LLM design choices and may miss the layouts, integrations, and edge cases of production storefronts. In contrast, ShopArena grounds generation in observed real shops: it first explores a live storefront to produce an anonymised Shop Manual capturing taxonomy, navigation, capabilities, and statistics, then synthesises a calibrated sandbox shop from that manual. This preserves much more of the diversity of real storefronts while retaining determinism and reset-ability. Go-Browse [6](#page-10-8) proposes a multi-agent pipeline for generating tasks and trajectories by navigating websites and maintaining a graph of visited URLs for efficient exploration.
## B Implementation Details
#### B.1 Models used for agent implementations
- Planning Agent: Claude Code with Claude Opus 4.6
- Specification Agent: Claude Code with Claude Opus 4.6
- Collections generator: Claude Opus 4.6
- Product name and description generator: Claude Sonnet 4.6
- Product Image Generator: Gemini 3 Pro
- Execution Agent: Claude Code with Claude Opus 4.6
- Visual Verification Agent: Claude Code with Claude Opus 4.6, enabled with Playwright for browser automation
The shops used in [§3](#page-7-0) are generated with the configuration above. For the additional shops in [§5,](#page-9-0) the coding-agent sessions are instead run with the open-source, model-agnostic Pi harness driving GPT-5.5 (or GLM-5.2, Appendix [O\)](#page-33-0); the pipeline stages are unchanged.
## B.2 Harness A: BrowserGym Agent
Observation. The BrowserGym harness uses the accessibility tree as the observation. We do not use screenshots for simplicity.
Action Space. The agent is allowed to use 20 actions:
- noop: Do nothing, optionally waiting for the given number of milliseconds.
- send\_msg\_to\_user: Send a message to the user (terminal action that ends the episode).
- scroll: Scroll the page horizontally and vertically by the given pixel deltas.
- fill: Type a value into an , `