WebArena
by Carnegie Mellon University
What is WebArena? WebArena is an agents & tool use eval made by Carnegie Mellon University. Self-hosted copies of realistic websites (shop, forum, code host and more) where an agent must complete tasks by clicking and typing.
Editor note
Self-hosted copies of realistic websites (shop, forum, code host and more) where an agent must complete tasks by clicking and typing.
- What it tests
- Autonomous web navigation and task completion.
- Original source
- webarena.dev/
- Last updated
- Repo last commit 2025-11-26
- License
- Apache-2.0
When to use WebArena
- You are testing a web agent on realistic, long tasks across self-hosted sites: e-commerce, a social forum, collaborative software development and content management, plus tools such as a map.
- You want results checked by whether the task was actually completed (functional correctness), not by comparing text.
Limitations
- You must host the websites yourself (Docker resources, or a pre-built Amazon Machine Image); the public demo sites are for browsing only, not scoring.
- Use the current dataset version (v0.2.0 fixed annotation bugs) so scores are comparable.
- The maintainers note that newer infrastructure such as AgentLab builds on the canonical implementation; check which one a result used.
How to run it
- Host the WebArena websites yourself (environment_docker docs, or the pre-installed Amazon Machine Image). The public demo sites are for browsing only.
- Install Python 3.10+, requirements, Playwright and the package editable.
- Export the SHOPPING, SHOPPING_ADMIN, REDDIT, GITLAB, MAP, WIKIPEDIA and HOMEPAGE URLs for your hosted sites.
- Generate per-task configs, create auto-login cookies, set OPENAI_API_KEY if you use the sample agents, then launch run.py on a task index range.
- After a full run of the 812 examples, reset the environment to the initial state as documented.
conda create -n webarena python=3.10 && conda activate webarena
pip install -r requirements.txt && playwright install && pip install -e .
python scripts/generate_test_data.py
mkdir -p ./.auth && python browser_env/auto_login.py
python run.py \
--instruction_path agent/prompts/jsons/p_cot_id_actree_2s.json \
--test_start_idx 0 --test_end_idx 1 \
--model gpt-3.5-turbo --result_dir <your_result_dir>Notable results
- In the paper, the best GPT-4-based agent completed 14.41% of tasks end to end, against 78.24% for humans. [Paper (arXiv)]
Sources
Related on Evals Review
- Browserbase for AI agents: hosted headless browsers with an API and MCP server, for running a web agent on live sites rather than WebArena's self-hosted ones
Compare WebArena
Related agents & tool use evals
- GAIA — General assistant skills: browsing, file handling, multi-step reasoning.
- OSWorld — Computer-use agents operating real operating systems and apps.
- Terminal-Bench — Agents working in the shell end to end.
- BrowseComp — Deep, creative web research by browsing agents.
Discussion
No one has discussed WebArena yet. Have you run it? Share what it caught, what it missed or how you set it up.