Webstone logo **English** · [简体中文](docs/README.zh-CN.md) [![CI](https://github.com/lexmount/webstone/actions/workflows/ci.yml/badge.svg)](https://github.com/lexmount/webstone/actions/workflows/ci.yml) [![License: Apache 2.0](https://img.shields.io/badge/code-Apache--2.0-51735b)](LICENSE) [![Python 3.11+](https://img.shields.io/badge/Python-3.11%2B-356a91)](pyproject.toml) [![Leaderboard](https://img.shields.io/badge/Leaderboard-webstone.lexmount.io-51735b)](https://webstone.lexmount.io) [![Datasets](https://img.shields.io/badge/%F0%9F%A4%97-Datasets-ffd21e)](https://huggingface.co/Lexmount) [Quickstart](#quickstart) · [Tracks](#evaluation-tracks) · [Approach](#evaluation-approach) · [Reports](#reports) · [Submit results](#submit-benchmark-results) · [Datasets and code](#datasets-and-code) · [Versions](#versions) · [Contributing](CONTRIBUTING.md)
**The touchstone for your agent’s web browsing.** Webstone evaluates web tools, browsers and browser agents on repeatable tasks. Compare correctness, latency, resource use and recorded cost, with per-task evidence in the reports. See the [Webstone leaderboard](https://webstone.lexmount.io) for published benchmark results and comparison reports. ## For agents Copy this into your agent: ```text Install and use the Webstone evaluation skill at https://github.com/lexmount/webstone/blob/main/.agents/skills/webstone/SKILL.md to evaluate [what you want to compare]. ``` For manual setup, see [installing the software and skill](docs/agent-workflows.md#install-software-and-skill). ## Quickstart With Python 3.11 or newer, install Webstone from [PyPI](https://pypi.org/project/webstone/) and run the offline example: ```sh pip install webstone webstone validate webstone run --delay 0 ``` In a fresh environment, pip installs the latest compatible PyPI release. Use `pip install --upgrade webstone` to upgrade an existing installation. See [installation options](docs/dependencies.md#install-webstone) to pin a release or try unreleased code from GitHub's `main` branch. Open the report path printed in the terminal. The example has one expected pass and one expected failure. It needs no browser, Docker or API key. Next, [try HTTP, Moli or Chromium on a local article](examples/web_fetch/README.md). The track guides cover adapters, credentials, and live evaluation commands. ### Commands Tracks share stage names, but each exposes only the stages it supports. Use `webstone --help` for its commands and preparation steps: ```text webstone run | score | report | check | package | publish | export ``` Tracks are `webfetch`, `web-search`, `web-extract`, `trajectory-replay` and `browser-use` (`webstone tracks` prints them as JSON). Web Fetch is the default track, so its stages also run at the top level (`webstone run` is `webstone webfetch run`). `score` recomputes scores from saved evidence; `webstone webfetch compose` writes a saved-matrix specification from several run directories. `make TRACK= ARGS="..."` runs the same verbs. The [repository specification](docs/spec.md#command-surface) defines the stages and their artifacts. ## Evaluation tracks Choose a workflow for its task contract, setup and runnable example. | Track | Benchmarks and task suites | Guide | | --- | --- | --- | | Web Fetch | [LexBench-Web-Fetch](https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch), [LexBench-WebMainBench](https://huggingface.co/datasets/Lexmount/LexBench-WebMainBench), [LexBench-WCXB](https://huggingface.co/datasets/Lexmount/LexBench-WCXB) | [Local example](examples/web_fetch/README.md) · [Full guide](src/harness/web_fetch/README.md) | | Web Search | [LexBench-Web-Search](https://huggingface.co/datasets/Lexmount/LexBench-Web-Search): scenario queries and [LexBench-SimpleQA-Verified](https://huggingface.co/datasets/Lexmount/LexBench-SimpleQA-Verified) retrieval tasks | [Local example](examples/web_search/README.md) · [Full guide](src/harness/web_search/README.md) | | Web Extract | [LexBench-Web-Extract](https://huggingface.co/datasets/Lexmount/LexBench-Web-Extract): page-specific queries; [Zyte Product Extraction](https://huggingface.co/datasets/Lexmount/LexBench-Zyte-Product-Extraction): 140 product pages; [SWDE](examples/web_extract/README.md#swde-multi-domain-extraction): 800 pages from 80 sites; [Expanded SWDE](https://huggingface.co/datasets/Lexmount/LexBench-Expanded-SWDE), [NewsXLM](https://huggingface.co/datasets/Lexmount/LexBench-NewsXLM) and [LiveWeb-IE](https://huggingface.co/datasets/Lexmount/LexBench-LiveWeb-IE): independently versioned datasets for frozen-page and live-URL extraction | [Structured field extraction](examples/web_extract/README.md) | | Browser Trajectory Replay | [LexBench-Headless-Browser](https://huggingface.co/datasets/Lexmount/LexBench-Headless-Browser) scenarios; [curated fixed-action tasks](https://huggingface.co/datasets/Lexmount/LexBench-Trajectory-Replay) with explicit checks; [WebArena replay](https://huggingface.co/datasets/Lexmount/LexBench-WebArena-Replay) with the official evaluator | [Headless inputs and upstream runner](https://huggingface.co/datasets/Lexmount/LexBench-Headless-Browser#execute-with-the-original-runner) · [Curated suite](examples/trajectory_replay/README.md) · [WebArena replay](examples/trajectory_replay/public_webarena/README.md) | Use these suites or [bring your own tasks](docs/benchmarks.md). Add browsers and tools through the existing [adapter contracts](docs/provider-contract.md). Experimental [Browser Use](examples/browser_use/README.md) gives an Agent a task, lets it choose browser actions, and checks the recorded outcome with the task evaluator. It includes model and planning variation and is evaluated separately.
How each evaluation workflow runs ### Web Fetch The reusable ten-method Web Fetch cohort is selected with `--providers configured --provider-config configs/providers.example.json`; shared defaults are 30 seconds per call and one failure retry. See the [provider contract](docs/provider-contract.md#selected-native-cohort). ```mermaid flowchart LR A["Frozen HTML or URLs
with references"]:::input --> B["Call tools
or browsers"]:::run B --> C["Save responses, files
and measurements"]:::evidence C --> D["Programmatic
scoring"]:::score classDef input fill:#eff6ff,stroke:#60a5fa,color:#1e3a8a classDef run fill:#f5f3ff,stroke:#a78bfa,color:#4c1d95 classDef evidence fill:#f0fdf4,stroke:#4ade80,color:#14532d classDef score fill:#fffbeb,stroke:#fbbf24,color:#78350f ``` ### Web Search ```mermaid flowchart LR A["Fixed queries
Requirements and rubric"]:::input --> B["Call search tools
Save native rankings
and execution evidence"]:::run B --> D["Retrieval and
source checks"]:::score B -. If graded .-> E["Relevance grades
Human or opted-in LLM"]:::score D --> F["Programmatic
metric aggregation"]:::score E --> F classDef input fill:#eff6ff,stroke:#60a5fa,color:#1e3a8a classDef run fill:#f5f3ff,stroke:#a78bfa,color:#4c1d95 classDef evidence fill:#f0fdf4,stroke:#4ade80,color:#14532d classDef score fill:#fffbeb,stroke:#fbbf24,color:#78350f ``` Relevance grading is scoring; optional verification reviews the resulting evidence and scores. ### Browser Trajectory Replay #### Headless scenarios and comparison reports Headless scenario replay checks browser/driver compatibility on local fixtures. For retained Headless comparisons, the upstream runner owns execution and grading; Webstone builds reports from its results. The original benchmark also contains individual CDP and Web-platform probes, so not every task is a multi-step trajectory. ```mermaid flowchart LR A["Local fixtures
Fixed scenarios and driver bindings"]:::input --> B["Replay fixed actions
through upstream drivers"]:::run B --> C["Save responses
and measurements"]:::evidence C --> D["Inline checks
Compatibility results"]:::score classDef input fill:#eff6ff,stroke:#60a5fa,color:#1e3a8a classDef run fill:#f5f3ff,stroke:#a78bfa,color:#4c1d95 classDef evidence fill:#f0fdf4,stroke:#4ade80,color:#14532d classDef score fill:#fffbeb,stroke:#fbbf24,color:#78350f ``` #### WebArena ```mermaid flowchart LR A["Self-hosted sites
and starting state"]:::input --> C["Fixed Playwright
replay"]:::run B["Qualified recordings
and task revisions"]:::input --> C C --> D["Save responses,
observations and HAR"]:::evidence D --> E["WebArena-Verified
programmatic checks"]:::score classDef input fill:#eff6ff,stroke:#60a5fa,color:#1e3a8a classDef run fill:#f5f3ff,stroke:#a78bfa,color:#4c1d95 classDef evidence fill:#f0fdf4,stroke:#4ade80,color:#14532d classDef score fill:#fffbeb,stroke:#fbbf24,color:#78350f ``` Task completion is checked in code, without an LLM judge. #### Repository-curated tasks ```mermaid flowchart LR A["Fixed tasks and actions
Expected outputs"]:::input --> B["Fixed-action
replay"]:::run B --> C["Save outputs
and measurements"]:::evidence C --> D["Programmatic
assertions"]:::score classDef input fill:#eff6ff,stroke:#60a5fa,color:#1e3a8a classDef run fill:#f5f3ff,stroke:#a78bfa,color:#4c1d95 classDef evidence fill:#f0fdf4,stroke:#4ade80,color:#14532d classDef score fill:#fffbeb,stroke:#fbbf24,color:#78350f ```
## Evaluation approach Webstone aims for stable, reproducible results and a controlled, trustworthy evaluation process. Three principles guide the evaluation. 1. **Prefer definite answers and programmatic scoring wherever possible, with minimal reliance on LLMs as judges** When a task has clear answers and acceptance criteria, use code to check the result and reduce variation from model judgment. This does not exclude LLM judges entirely: graded Web Search relevance is a suitable use, with an explicit rubric and retained scoring evidence and grades. 2. **Use direct tool calls and fixed actions for replay** Web Fetch and Web Search call tools directly; trajectory replay follows predetermined actions to check browser compatibility or website task completion. Participants follow the same task contracts, avoiding extra variation from LLM decisions and Agent planning. Each run retains its task inputs, code revisions and execution settings. 3. **Make results easy to review and verify** Use an LLM as a verifier to add a check of programmatic verdicts and their supporting evidence. Trigger verification only on request; it does not run by default. Generate local HTML reports with drilldown from aggregate metrics to every individual result, including raw responses, action traces, logs and scoring evidence. Reviewing every result manually is expensive, so reports must also support human sampling. See [evaluation design](docs/benchmarks.md#evaluation-design) for detailed scoring and verification requirements. ## Reports Results and evidence are saved locally under `~/.webstone/runs/`; use `--output ./fixture-run` to choose a new directory. HTML reports include comparisons, task results, full responses and failure evidence. Local evaluation, scoring and HTML inspection need no Yours account or publishing authorization. In the Quickstart’s Web Fetch workflow, `run` builds a local report by default. Add `--no-report` to save results without HTML; `score --no-report` updates scores without rebuilding HTML. Save to a new directory, then build or rebuild the report from saved evidence without repeating calls: ```sh webstone run --delay 0 --no-report --output ./fixture-run webstone report ./fixture-run ``` This example defaults to English; add `--language zh` for Chinese. A rebuild keeps the saved language unless overridden. See [report languages](docs/report-hosting.md#report-languages) for other formats. ### Optional sharing When sharing is requested and publication is authorized, open Yours ([Global .com](https://yours.lexmount.com/artifact-site) · [China .cn](https://yours.lexmount.cn/artifact-site)), install the skill offered there, and follow it to publish the local report and choose who can access it. Uploading is a separate action; creating a local report does not publish it. Scoring code ships with Webstone; dataset commits and file hashes are selected in [the data lock](src/harness/benchmarks/data-lock.json). Each report records its Webstone build and selected benchmark edition. See [versioning](docs/benchmarks.md#benchmark-editions) for comparison rules, [reference inputs](docs/reference-inputs.md) for historical data, and the [report guide](docs/report-hosting.md) for local builds and formal releases.
Report drilldown, rebuilding and sharing ```mermaid flowchart LR A["Saved results
and evidence"]:::evidence -->|Optional build / rebuild| B["Local HTML report"]:::run B --> C["Drill down to each result
Responses · actions · logs"]:::evidence B -. Requested and authorized .-> D["Share through
Yours"]:::evidence A -. On request .-> V["LLM verifier"]:::score V -. Review findings .-> B classDef input fill:#eff6ff,stroke:#60a5fa,color:#1e3a8a classDef run fill:#f5f3ff,stroke:#a78bfa,color:#4c1d95 classDef evidence fill:#f0fdf4,stroke:#4ade80,color:#14532d classDef score fill:#fffbeb,stroke:#fbbf24,color:#78350f ``` Verification adds review findings and does not automatically replace scores.
## Submit benchmark results When you ask your agent to publish leaderboard scores, the evaluation skill hands off the measured results for a PR to [webstone-site](https://github.com/lexmount/webstone-site). If you already have results, you can [submit a PR directly](https://github.com/lexmount/webstone-site/blob/main/README.md#for-agents). ## Datasets and code Use **LexBench-Web-Fetch (LB-WF)** on first mention and **LB-WF** in subsequent text, tables and charts. `LB` stands for LexBench. When reporting results, cite the dataset URL and revision. Credit third-party sources by their original names.
Hugging Face datasets These datasets supply Webstone's versioned tasks, acceptance contracts and reference inputs. | Dataset | Short name | Role | | --- | --- | --- | | [LexBench-Web-Fetch](https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch) | **LB-WF** | Versioned Web Fetch tasks, acceptance contracts and reference bindings | | [LexBench-Web-Search](https://huggingface.co/datasets/Lexmount/LexBench-Web-Search) | **LB-WS** | Scenario search queries and source references; factual QA is provided by SimpleQA Verified | | [LexBench-WebMainBench](https://huggingface.co/datasets/Lexmount/LexBench-WebMainBench) | **LB-WMB** | Reference-corrected WebMainBench tasks and correction provenance | | [LexBench-SimpleQA-Verified](https://huggingface.co/datasets/Lexmount/LexBench-SimpleQA-Verified) | **LB-SQAV** | Length-qualified SimpleQA Verified retrieval tasks, with original answers | | [LexBench-WCXB](https://huggingface.co/datasets/Lexmount/LexBench-WCXB) | **LB-WCXB** | Source-qualified frozen extraction inputs and references | | [LexBench-Headless-Browser](https://huggingface.co/datasets/Lexmount/LexBench-Headless-Browser) | **LB-HB** | Executable CDP, driver and web-platform tasks; scenario specifications retained as source inputs | | [LexBench-Trajectory-Replay](https://huggingface.co/datasets/Lexmount/LexBench-Trajectory-Replay) | **LB-TR** | 30 tasks written in Webstone for live public websites, with fixed actions and exact checks | | [LexBench-WebArena-Replay](https://huggingface.co/datasets/Lexmount/LexBench-WebArena-Replay) | **LB-WAR** | Full official task catalog; smaller replay editions retained as versioned source inputs | | [LexBench-Zyte-Product-Extraction](https://huggingface.co/datasets/Lexmount/LexBench-Zyte-Product-Extraction) | **LB-ZPE** | Frozen product pages with price, SKU and stock references | | [LexBench-SWDE](https://huggingface.co/datasets/Lexmount/LexBench-SWDE) | **LB-SWDE** | Multi-domain frozen-page field extraction from SWDE | | [LexBench-Expanded-SWDE](https://huggingface.co/datasets/Lexmount/LexBench-Expanded-SWDE) | **LB-ESWDE** | Expanded SWDE field-extraction sample | | [LexBench-NewsXLM](https://huggingface.co/datasets/Lexmount/LexBench-NewsXLM) | **LB-NXLM** | Multilingual news-page field extraction | | [LexBench-LiveWeb-IE](https://huggingface.co/datasets/Lexmount/LexBench-LiveWeb-IE) | **LB-LWIE** | Record and list extraction from live websites | Webstone wrote the 30 public-web replay tasks. Headless scenario designs informed some interactions; its executable cases and WebArena's tasks are not included in that suite. The task JSON fixes actions and expected outputs, while the target websites remain live.
Evaluation code and upstream sources Web Fetch and Web Search scoring code lives in this repository under [src/lexbench_webfetch/](src/lexbench_webfetch/) and [src/lexbench_websearch/](src/lexbench_websearch/). Install and run it through the quickstart above. | Component | Purpose | Code or source | | --- | --- | --- | | Headless Browser | Original CDP, driver and local-fixture runner | [Original repository](https://github.com/lexmount/Lexbench-Headless-Browser) | | WebMainBench | Pinned extraction scorer and upstream attribution | [Maintained fork](https://github.com/lexmount/WebMainBench/tree/lex-main) · [Upstream](https://github.com/opendatalab/WebMainBench) | | WebArena-Verified | Official evaluator for replay and experimental Agent integration | [Maintained fork](https://github.com/lexmount/webarena-verified/tree/lex-main) · [Upstream](https://github.com/ServiceNow/webarena-verified) | | WCXB | Original data source for the qualified HF edition | [Upstream](https://github.com/Murrough-Foley/web-content-extraction-benchmark) | [Dependency sources and pins](docs/dependencies.md) cover Playwright, extraction libraries and supporting runtimes. [Third-party notices](THIRD_PARTY.md) cover attribution and data rights. Cite the benchmark and upstream data used alongside Webstone.
Browsers and tools | Project | Type | Use | | --- | --- | --- | | [Moli](https://github.com/lexmount/moli) | Browser | Evaluated through the same task contracts as other participants | | [WebFetch CLI](https://github.com/lexmount/webfetch-cli) | CLI client | Calls the Lexmount WebFetch service | | [CowAgent](https://github.com/zhayujie/CowAgent) | Agent framework | Web Fetch tool baseline and experimental Agent integration | | [OpenClaw](https://github.com/openclaw/openclaw) | Agent framework | Web Fetch tool baseline and experimental Agent integration | | [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) | Agent framework | Web Fetch tool baseline and experimental Agent integration |
## Versions Published versions, changes and dependency snapshots are listed in [GitHub Releases](https://github.com/lexmount/webstone/releases). See [version rules](docs/releases.md) for release policy and report provenance. ## Contribute Read [CONTRIBUTING](CONTRIBUTING.md) for code ownership, tests and PR conventions, or [open an issue](https://github.com/lexmount/webstone/issues) with a reproducible example. ```sh make setup-test make ci ``` [Specification](docs/spec.md) · [Architecture](docs/architecture.md) · [Security](SECURITY.md) · [Third-party content](THIRD_PARTY.md) · [Apache 2.0](LICENSE) ## Cite Webstone Project citation: [CITATION.cff](CITATION.cff). ```bibtex @software{webstone_2026, author = {{Webstone contributors}}, title = {Webstone: Benchmarking Browsers and Web Tools for AI Agents}, note = {Evaluation harness}, year = {2026}, url = {https://github.com/lexmount/webstone} } ```