arXiv:2610.37786cs.AIOct 2026

Manuscript Offprint

arXiv:2610.37786

WebAnything: From the Wild Web to Scalable Agent Environments

Tianci Xie, Zikun Cai, Chaoyun Zhang, Pinxue Guo, Bingxuan Li, Rui Zheng, Hang Yan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Web agents require diverse, executable, and resettable website environments for reproducible training and evaluation. Human-assisted mirrors demand per-site engineering, while generative construction can diverge from specified real websites. Capture-and-replay preserves observations, with interaction coverage constrained by captured content and replay capabilities.

We present WEBANYTHING, a fully automated framework that reconstructs source-grounded, reusable Web environments from real URLs without per-site manual implementation or repair after initial setup and authorization. An Explorer-Builder collects browser-observable structures, resources, and interaction outcomes; an independent verifier checks frozen candidates and guides local repair or targeted source recapture.

We construct 244 website artifacts across 14 application domains and 53 categories, supporting 12,984 executed and accepted tasks. Compared with human-assisted WebHarbor, WEBANYTHING achieves higher aggregate scores on three fidelity metrics, with 12 wins, two ties, and no losses in a blind audit. Fine-tuning Qwen3.5-9B on 5,856 interaction trajectories improves REAL success by 9.9 percentage points, Odysseys-Easy Rubric Avg and Task Avg by 6.25 and 6.32 percentage points, and WebArena-Verified Overall success by 13.33 percentage points under the fixed harness. Code: Web-Anything on GitHub.

1 Introduction

Visual Web agents need stable, controllable environments in which they can explore, change state, recover from errors, and receive execution feedback. WebArena and VisualWebArena demonstrate the value of self-hosted websites for reproducible evaluation (Zhou et al., 2024; Koh et al., 2024); WebGym and WebFactory further study scaling environments and interaction experience (Bai et al., 2026; Fan et al., 2026). The real Web offers diverse structures and workflows, but live execution complicates state initialization, reproducibility, and safe isolation.

We investigate how specified real websites can be automatically transformed at scale into source-grounded, executable, and reusable Web agent environments, without requiring manual site-by-site reconstruction.

Existing approaches trade off automation, source fidelity, and interaction coverage (Figure 1). Human-assisted mirrors provide controllable, source-corresponding environments but require per-site engineering (WebHarbor Team and Contributors, 2026). Generative methods scale executable sites from specifications and references (Fan et al., 2026; Zhang et al., 2026), but matching a specified source remains a distinct requirement. Capture-and-replay preserves source observations, with interaction coverage bounded by captured content and replay capabilities (Shi et al., 2017; Srivastava et al., 2026); Weblica combines replay with source-grounded synthesis (Kar et al., 2026). Scaling real-website environments requires both source correspondence and flexible, repeatable interaction.

Two technical challenges arise. The Source-Grounding Gap concerns reconstructing structures, resources, and behaviors when private backends and website internals are inaccessible. Screenshots and model priors alone can omit state relationships. Browser observations must instead be organized into evidence that constrains implementation. The Verification and Feedback Gap concerns detecting and correcting reconstruction discrepancies. Builder self-checks can overlook source-inconsistent defects, and a discrepancy may reflect either faulty implementation or insufficient observation. These cases require different actions: local repair or additional source capture.

We present WEBANYTHING, a framework for

Figure

Figure 1: Trade-offs in real-website environment construction. Human-assisted mirrors require per-site engineering; generative methods need source correspondence; replay coverage depends on captured content and replay capabilities. WEBANYTHING combines source-grounded reconstruction, independent verification, and iterative refinement.

scalable, source-grounded Web agent environment construction. Starting from real URLs, a coupled Explorer-Builder captures page structures, resources, and before/after interaction observations, then implements executable local routes and state transitions. An Independent Verifier checks frozen candidates in a separate context against source evidence and site contracts. Evidence-supported implementation errors trigger local repair; unresolved evidence gaps trigger targeted recapture. Updated candidates are frozen and reverified before release within their declared scope. Fixed initial states, reset mechanisms, and task evaluators support repeated interaction and trajectory collection.

Our evaluation covers construction scale, environment quality, and downstream utility. The resource pool contains 244 website artifacts across 14 domains and 53 categories. On five matched WebHarbor sites and 14 historical states, WEBANYTHING achieves higher automated fidelity metrics and 12 wins, two ties, and no losses in a blind overall-fidelity audit. Separate interaction tests characterize functional coverage. Historical analysis identifies evidence-supported discrepancies in 39 pairs across 22 sites and independently reverified resolution of 18 issue records across six sites. The environments support 12,984 executed and accepted tasks; SFT on earlier interaction trajectories improves Qwen3.5-9B on REAL, Odysseys-Easy, and WebArena-Verified Overall.

Our contributions are:

  • Fully automated, source-grounded reconstruction. We introduce a unified Explorer-

Builder that automatically reconstructs executable Web environments from real URLs, using browser-observable structures, resources, and behaviors without per-site manual implementation or debugging.

  • Independent verification and evidence-aware refinement. An independent verifier checks frozen candidates against source evidence and site contracts, directing discrepancies to local repair or targeted recapture, followed by automated revision and reverification.

  • Scalable environment and task supply. We construct 244 website artifacts across 14 domains, supporting 12,984 executed and accepted tasks. Historical construction records, independent quality evaluations, and downstream SFT demonstrate automation, source fidelity, and practical utility.

References (77)