TIGER-AI-Lab/WebsiteBench
Can AI agents rebuild websites through browser exploration?
WebsiteBench — What It Is
WebsiteBench is a benchmark that tests whether AI agents can rebuild real websites from scratch, just by looking at them in a browser.
The Task
An agent is given a production-level website it can explore through a browser. It must reverse-engineer a full-stack version (frontend + backend) that matches the original's appearance and behavior as closely as possible.
Scale
- 70 websites to rebuild
- 46,916 hidden test cases across all tasks
- Each individual task has between 302 and 2,016 hidden test cases
How It Runs
The benchmark uses Docker and a tool called Harbor (a framework for running agent benchmarks). You pick an agent (e.g., codex) and a model, then run a command like:
harbor run --dataset websitebench/WebsiteBench@v1 --agent codex --model '<model>'
You can run all 70 tasks at once, or a single task (e.g., --task websitebench/medium@v1). There's also an oracle agent that runs a task with its reference solution, to verify the setup works.
Each trial's score is saved in a file: jobs/<job>/<trial>/verifier/reward.txt.
Scoring
A test case passes only if both of these hold:
- All functional checks pass (the rebuilt site behaves correctly)
- Every visual checkpoint reaches a normalized SSIM of 0.99 (a measure of how similar the rendered page looks to the original — 1.0 would be pixel-identical)
A task's reward is simply the percentage of its test cases that pass.
Getting the Data
You can download the tasks with the Python package:
pip install websitebench
websitebench download --task medium
The datasets are also hosted on Harbor Hub and Hugging Face.
License & Usage Restrictions
- The benchmark code, task definitions, and verifier are released under Apache-2.0.
- The reference websites reproduce third-party sites for evaluation purposes. Their content belongs to the original owners and is provided for non-commercial research only.
- Task definitions contain a special
harbor-canaryGUID — you must exclude any documents containing it from AI training data.
Citation
If you use WebsiteBench, cite it as:
@misc{zhang2026websitebench,
title = {WebsiteBench: Can AI Agents Rebuild Websites through Browser Exploration?},
author = {{WebsiteBench Authors}},
year = {2026},
url = {https://github.com/TIGER-AI-Lab/WebsiteBench},
}
Related
- Project
- Project
- Project
- Project