WebArena: Realistic Web Environment for Agents
A self-hostable, realistic web environment for building and evaluating autonomous agents.
- Source repo
- web-arena-x/webarena
- Stars
- ★ 1.7k
- Last updated
- 1y ago v0.2.0
- FARS reviewed
- Nov 08, 2026
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 53/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- Researchers evaluating the performance of autonomous agents on realistic web navigation tasks.
- Not a fit if
- Teams that want a quick trial without self-hosting multiple sites and databases
- Users who cannot supply an OpenAI API key or pay per-call costs
- Website
- webarena.dev ↗ set on GitHub
- Maintenance
- No commits for 6+ monthslast commit 2025-11-26latest release v0.2.0 (2023-10-21)+0.7 ★/day over 7 days
- Source review
- 53/100 · Major gaps
What does this agent do, and when should you use it?
WebArena is a self-hosted web environment that provides realistic and diverse websites (e-commerce, forums, GitLab, maps) to test autonomous agents. It includes standardized interfaces for agent interaction, a benchmark suite for evaluation, and tools to reproduce paper results. The environment supports browser-based interaction via Playwright, with observation states like accessibility trees. Integration with the AgentLab framework enhances parallel experiment support. It supports multiple prompting strategies and models (e.g., GPT-3.5) and provides an extensible evaluation framework.
WebArena provides a browser-based environment where agents can perform actions (e.g., click elements) and observe states (e.g., accessibility tree). It includes the ScriptBrowserEnv class for environment resetting and action execution. Provides run.py evaluation script, with config generation, auto-login, and result recording. Agents operate via ID-based actions and can be customized with predefined or custom prompts. The environment supports 812 tasks across shopping, forums, GitLab, and maps.
- Researchers evaluating the performance of autonomous agents on realistic web navigation tasks.
- Developers building web automation agents based on accessibility observations and actions.
- Engineers testing agent robustness on shopping, forum, and code hosting platforms in a controlled environment.
- Teams comparing different prompting strategies and models on the same benchmark.
- Educators demonstrating web agent behavior in a teaching environment.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -e ".[dev]"
- Environment variables
OPENAI_API_KEY- Config files
agent/prompts/jsons/p_cot_id_actree_2s.json- Runtime
- Python 3.10+
How do you install or deploy this agent?
Requires Python 3.10+. Install: conda create -n webarena python=3.10; conda activate webarena; pip install -r requirements.txt; playwright install; pip install -e . Optional dev install: pip install -e ".[dev]" and mypy --install-types --non-interactive browser_env agents evaluation_harness.
How do you use this agent?
First, set environment variables (e.g., SHOPPING, REDDIT) to point to self-hosted sites. Then run python scripts/generate_test_data.py to generate config files, python browser_env/auto_login.py to obtain auto-login cookies, and set OPENAI_API_KEY. Launch evaluation: 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>.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Provides a realistic, diverse set of web tasks and a standard evaluation framework.
- Built on Python/Playwright, easy to customize and extend.
- Supports multiple observation spaces (accessibility tree) and action spaces.
- Requires self-hosting all test websites (e.g., shopping, forums), which is complex and time-consuming.
- Evaluation depends on external APIs (e.g., OpenAI), requiring keys and potential costs.
- Codebase maintenance has slowed; recommend switching to AgentLab for experiments.
How does this agent compare with similar options?
Compared to VisualWebArena, WebArena focuses on text and accessibility trees, while VisualWebArena emphasizes visual perception. AgentLab offers enhanced parallel experiments and a unified benchmark.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| WebArena: Realistic Web Environment for Agents This agent | 53 · Major gaps | CLIFree + model costs | ★ 1.7k | 1y ago | Python | — |
| Auto Browser | 76 · Some gaps | Self-hosted serviceFree + model costs | ★ 927 | 3d ago | Python | OpenAI API · Claude API |
| Browser Use | 62 · Some gaps | Hosted serviceFreemium | ★ 123k | today | Python | Codex · Claude Code · OpenAI API · Claude API |
| Oya Browser | 52 · Major gaps | Self-hosted serviceFreemium | ★ 430 | 1d ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The Agent has some scope constraints: it is described as a self-hosted web environment, and actions pass through parsers into defined action types. However, Playwright actions can navigate and operate websites; the evaluation instructions require site configuration, login cookies, and an API key, with no visible per-action permissions or confirmation for consequential actions. Least privilege, confirmation, external effects, and rollback therefore receive 1. The README describes environment variables, cookies, and model calls but not credential protection, retention, or leakage controls, so data-flow transparency and sensitive-data handling receive 1. The dependency list pins some versions and CI installs them, but many dependencies are unpinned and no security audit evidence is shown, so dependency security receives 1. The README gives a paper citation and project description, supporting attribution, but publisher identity remains unknown; source attribution receives 2.
The README workflow, PromptAgent construction and parse retries, and CI type-check and pytest steps support ordinary-use consistency, earning 2. Installation instructions and CI provide partial dependency-availability evidence, but several dependencies are unpinned and no lockfile evidence is included, earning 1. Parse failures retry up to max_retry and then produce a no-op action, so a failure path is visible; user-facing diagnostics and recovery guidance are limited, earning 1.
The README targets researchers and developers, distinguishes an educational demo from reproducible experiments, and describes baseline prompts, custom prompt constructors, and multiple observation/action modes, earning 2 for audience and scenarios. The code limits implemented agent types to teacher_forcing and prompt and checks action tags, giving capability boundaries 2. The README explains when to use demo sites versus a self-hosted environment and recommends AgentLab for broader experiments, giving trigger precision 2. The product is explicitly designed for self-hosted web environments, Playwright, and configured sites; this fit is documented, though setup is substantial, earning 2.
The README is organized around installation, walkthrough, end-to-end evaluation, prompt development, and citation, with clear file and code roles, earning 2. Installation covers Python, dependencies, Playwright, and optional development steps, but offers limited troubleshooting, earning 2. Names such as Agent, PromptAgent, and TeacherForcingAgent are stable and readable, earning 2. The walkthrough, evaluation command, and prompt structure are useful examples, though no FAQ is shown, earning 2. The README says demo sites are for browsing, directs reproducible evaluation to self-hosted sites, and recommends AgentLab, earning 2 for limitations. The repository includes the full Apache-2.0 license text, earning 3. News entries, a v0.2.0 reference, and a 2024 update provide partial history but not a systematic changelog, earning 2. Maintenance responsibility is not clearly assigned; the unverified publisher is unknown and is not itself a deduction, so this criterion receives 1.
The framework connects web observations, prompt construction, LLM calls, action parsing, and an environment that executes actions, earning 2 for usable output. Compared with basic browser automation, it adds benchmark tasks, teacher action sequences, and a prompt-agent extension interface, earning 2 for marginal value. Full experiments require self-hosting multiple sites, configuring URLs and cookies, and supplying an OpenAI API key; the cost is substantial and only partly explained, earning 1 for cost-benefit.
Key README workflow claims have corresponding installation steps, a demo script, or code paths, earning 2 for traceability. The README, Agent implementation, dependency list, and CI configuration corroborate the basic workflow; test files indicate intended coverage, but no tests were executed in this review, earning 2 for cross-source corroboration. The README distinguishes educational demos, reproducible experiments, and a recommended alternative, while code shows concrete behavior such as returning a no-op after parse failures. The materials separate descriptions from some implementation facts, but performance claims remain unverified by this static review, earning 2.
- Full evaluation requires self-hosting several sites and configuring login cookies and an OpenAI API key; the supplied material does not establish how these credentials are stored or protected.
- Playwright actions can navigate and interact with pages; the material does not show step-by-step confirmation or rollback controls for consequential web actions.
- The README recommends considering AgentLab. This review covers only the supplied WebArena source material at the specified revision and does not assess the alternative framework or runtime results.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
What's Changed * Fix homepage url bugs. Add instructions on setting it up by @shuyanzhou in https://github.com/web-arena-x/webarena/pull/28 * Fix Mangeto base URL redirect problem by @shuyanzhou in https://github.com/web-arena-x/webarena/pull/29 * 34 os agnostic select all by @oootttyyy in https://github.com/web-arena-x/webarena/pull/43 * Improve Evaluation Annotation by @shuyanzhou in https://github.com/web-arena-x/webarena/pull/44 * Fix evaluation annotation for example 301, 302 by @shuyanzhou in https://github.com/web-arena-x/webarena/pull/47 …View on GitHub ↗ -
Release notes excerpt
The first release of WebArena See our [README](https://github.com/web-arena-x/webarena) for details! Thanks @shuyanzhou @lwaekfjlk @optimass @urialon Full Changelog: https://github.com/web-arena-x/webarena/commits/latestView on GitHub ↗
FAQ
What dependencies are required to run evaluation?
How do I self-host the test websites?
environment_docker/ to pre-install all sites. Alternatively, use the provided Amazon Machine Image.Does it support multiple languages?
Will the environment reset after evaluation?
environment_docker/README.md.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.