ShopGym: Realistic, reproducible sandboxes for shopping agents
ShopGym turns live storefronts into self-contained, resettable sandbox shops and generates grounded shopping tasks so agents can be evaluated reproducibly. ShopArena explores a seed store with planner and browser agents to write an anonymized shop specification, then generates a fictional catalog and storefront in fixed stages. Each stage runs an execution-verification loop of fresh coding agents, rule-based checks and visual browser verification. ShopGuru builds rule-based single-skill tasks and LLM-written multi-step journeys, validated against the shop's actual products and filters. Across 224 tasks in six shops, graph-based analysis showed similar state counts and page complexity to live stores, with fewer connections. Agent success rates on the twins tracked live stores and preserved model rankings on multi-step tasks, though some focused tasks showed larger gaps.
Related posts
- Building production-ready agentic systems: Lessons from Shopify Sidekick
Shopify Engineering mediumAdeptShopify's Sidekick merchant assistant outgrew a monolithic system prompt once its tool count passed ~50, so the team moved to just-in-time instructions returned alongside tool results, which kept prompt caches intact and improved maintainability and metrics. For evaluation they replaced curated golden datasets with ground truth sets sampled from real conversations, labeled by multiple experts and validated with Cohen's Kappa, Kendall Tau and Pearson correlation. LLM judges were calibrated from a Kappa of 0.02 to 0.61 against a human baseline of 0.69, and an LLM merchant simulator replays conversations against candidate systems before release. GRPO fine-tuning with gated procedural and semantic rewards exposed reward hacking such as opting out of tasks and misusing customer tags, and fixing the validators and judges raised syntax accuracy from ~93% to ~99%.
- Agents are users, so your software needs evals
Vercel mediumAdeptAgents act as users of APIs, CLIs, MCP servers and SDKs, so measuring whether they complete tasks correctly requires evals: tests run many times and scored. An agentic testing pyramid groups checks by LLM call count (deterministic tests, one-turn evals, E2E evals), and a worked example builds an end-to-end eval for a hypothetical coffee-ordering CLI using Harbor, covering goal setting, task design with seeded environments, frozen clocks and per-constraint verifiers, and guarding against reward hacking. Metric choice should follow failure cost: a 60% success rate yields 99% pass@5 but only 8% pass^5, so products where users get no retry should optimize for pass^k, while coding agents with test feedback can lead with pass@k.
- Harness design for long-running apps
Anthropic Engineering mediumAdeptA GAN-inspired multi-agent harness separates generation from evaluation so Claude can produce distinctive frontend designs and build full-stack apps autonomously over multi-hour sessions. For frontend work, a generator and a Playwright-equipped evaluator iterate 5-15 times. The evaluator grades against four weighted criteria (design quality, originality, craft, functionality) and is calibrated with few-shot score breakdowns, which pushes output away from generic 'AI slop'. For full-stack apps, the harness has three agents: a planner expands a short prompt into a spec, a generator builds in sprints against negotiated sprint contracts, and an evaluator QA-tests the running app with hard per-criterion thresholds. A retro game maker built this way cost about $200 over 6 hours, against $9 and 20 minutes for a solo agent, and produced dramatically better results; tuning a standalone skeptical evaluator proved more tractable than making a generator critique itself.
- Ecom-RLVE: Adaptive Verifiable Environments for E-Commerce Conversational Agents
Hugging Face hardMasterEcomRLVE-GYM extends RLVE from single-turn reasoning puzzles to multi-turn, tool-using e-commerce conversations, offering 8 environments (product discovery, substitution, cart building, returns, order tracking, policy QA, bundle planning, multi-intent journeys) with procedural generation and fully programmatic rewards. Each episode is scored by task completion, an efficiency term that only counts agent-caused turns, and a hallucination penalty for product IDs never retrieved. A single difficulty knob drives 12 axes, including constraint count, omitted constraints, distractors and mid-conversation stockouts, and per-environment adaptive scheduling keeps training at the capability frontier. A Qwen3.5-simulated user strategically withholds constraints. Early results train Qwen 3 8B with DAPO for 300 steps on cart building and show steadily increasing difficulty reached; the cart-building deep dive shows how synthesized variants expose multi-step error cascades.
- The Most Common Questions About Agent Evals, Answered
LangChain mediumAdeptAgent evals score agent runs to handle nondeterminism, multiple valid answers and variable execution paths: start by reading traces, pick one behavior, build a 10-20 example dataset from real traces, run a baseline experiment, and fold new failures back in. Offline evals compare versions against datasets before shipping, while online evals score sampled production traces without reference outputs. Use code evaluators where possible, LLM judges with narrow binary questions calibrated against human review, and pairwise comparison for choosing variants. Container-based benchmarks like Terminal-Bench (run via the open-source Harbor harness) score the end state of an environment for long multi-step tasks, and online costs can be controlled through sampling, filters, code checks and cheaper judge models.