SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.13854 · 2023

WebArena: A Realistic Web Environment for Building Autonomous Agents

Graham Neubig, Uri Alon, Yonatan Bisk, Hao Zhu, Frank Xu, Daniel Fried, Shuyan Zhou, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2307.13854.json · badge: /api/ran/2307.13854.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
web-arena-x/webarena canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
FunctionStatusWhere it lives
action2str Ran
ran; our contract draft was wrong, not the code
web-arena-x/webarena/browser_env/actions.py
code served (permissive licence) · get_code("f1af964b23c32c8f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from enum import IntEnum

class Action(dict):
    pass

class ActionTypes(IntEnum):
    NONE = 0
    SCROLL = 1
    KEY_PRESS = 2
    MOUSE_CLICK = 3
    KEYBOARD_TYPE = 4
    MOUSE_HOVER = 5
    CLICK = 6
    TYPE = 7
    HOVER = 8
    PAGE_FOCUS = 9
    NEW_TAB = 10
    GO_BACK = 11
    GO_FORWARD = 12
    GOTO_URL = 13
    PAGE_CLOSE = 14
    CHECK = 15
    SELECT_OPTION = 16
    STOP = 17

    def __str__(self) -> str:
        return f'ACTION_TYPES.{self.name}'

_id2key = {i: chr(ord('a') + i) for i in range(26)}

action = Action({
    'action_type': int(ActionTypes.CLICK),
    'coords': np.array([0.5, 0.5], dtype=np.float32),
    'element_role': 1,
    'element_name': 'button',
    'text': [0, 1, 2],
    'page_number': 1,
    'url': 'https://example.com',
    'nth': 0,
    'element_id': 'elem_123',
    'direction': 'down',
    'key_comb': 'ctrl+a',
    'pw_code': 'code123',
    'answer': 'yes',
    'raw_prediction': 'raw'
})

ARGS = {
    'action': action,
    'action_set_tag': 'id_accessibility_tree',
    'semantic_element': 'a clickable button element'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
beartype, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_site_comb_from_filepath Ran
ran; our contract draft was wrong, not the code
web-arena-x/webarena/browser_env/auto_login.py
code served (permissive licence) · get_code("824ae078c5d3295a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os

def get_site_comb_from_filepath(file_path: str) -> list[str]:
    comb = os.path.basename(file_path).rsplit('_', 1)[0].split('.')
    return comb

# The function takes a file_path string and extracts the basename,
# splits by '_' from the right, takes the first part, then splits by '.'
# Example: "/path/to/file.site1.site2_suffix.txt" -> basename -> "file.site1.site2_suffix.txt"
# -> rsplit('_', 1)[0] -> "file.site1.site2_suffix" -> split('.') -> ["file", "site1", "site2_suffix"]

ARGS = {
    "file_path": "/path/to/file.site1.site2_suffix.txt"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_action Ran
ran; our contract draft was wrong, not the code
web-arena-x/webarena/browser_env/envs.py
code served (permissive licence) · get_code("1829c408a278c974")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned PlaywrightScript. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from dataclasses import dataclass

@dataclass
class PlaywrightScript:
    function: str
    destination: str
    name: str | None = None
    operation: str | None = None
    value: str | None = None

def parse_action(action: str) -> PlaywrightScript:
    splitted = action.strip().split(' ')
    assert len(splitted) >= 2
    match splitted[:2]:
        case ['goto', url]:
            assert len(splitted) == 2
            return PlaywrightScript('goto', url)
        case ['get_by_role', destination]:
            assert len(splitted) >= 4
            match splitted[2:]:
                case [name, operation]:
                    return PlaywrightScript('get_by_role', destination, name, operation)
                case [name, operation, value]:
                    return PlaywrightScript('get_by_role', destination, name, operation, value)
                case _:
                    raise ValueError('Invalid action')
        case _:
            raise ValueError(f'Invalid action {action}')

ARGS = {
    'action': 'goto https://example.com'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PlaywrightScript — a PlaywrightScript output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PlaywrightScript output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
png_bytes_to_numpy Ran
ran, honoured the contract we drafted
web-arena-x/webarena/browser_env/utils.py
code served (permissive licence) · get_code("ce419517a1b89f7c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family int, shape (3, 4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from PIL import Image
from io import BytesIO

# Create a small PNG image and convert it to bytes
# Create a simple 4x3 RGB image (4 width, 3 height)
img_array = np.random.randint(0, 256, size=(3, 4, 3), dtype=np.uint8)
img = Image.fromarray(img_array, mode='RGB')

# Convert to PNG bytes
png_buffer = BytesIO()
img.save(png_buffer, format='PNG')
png_bytes = png_buffer.getvalue()

ARGS = {
    "png": png_bytes
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (3, 4, 3) — shape (3, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 2 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_site_comb_from_filepath 4 other papers
1 dated earlier, 3 later
2305.14257 (2023-05)
Hierarchical Prompting Assists Large Language Model on Web Navigation
2401.13649 (2024-01)
VisualWebArena: Evaluating Multimodal Agents on Realistic Visual Web Tasks
2407.01476 (2024-07)
Tree Search for Language Model Agents
and 1 more not named here
parse_action 4 other papers
1 dated earlier, 3 later
2305.14257 (2023-05)
Hierarchical Prompting Assists Large Language Model on Web Navigation
2401.13649 (2024-01)
VisualWebArena: Evaluating Multimodal Agents on Realistic Visual Web Tasks
2407.01476 (2024-07)
Tree Search for Language Model Agents
and 1 more not named here
action2str 1 other paper
1 dated earlier
2305.14257 (2023-05)
Hierarchical Prompting Assists Large Language Model on Web Navigation
png_bytes_to_numpy 1 other paper
1 dated earlier
2305.14257 (2023-05)
Hierarchical Prompting Assists Large Language Model on Web Navigation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

With advances in generative AI, there is now potential for autonomous agents to manage daily tasks via natural language commands. However, current agents are primarily created and tested in simplified synthetic environments, leading to a disconnect with real-world scenarios. In this paper, we build an environment for language-guided agents that is highly realistic and reproducible. Specifically, we focus on agents that perform tasks on the web, and create an environment with fully functional websites from four common domains: e-commerce, social forum discussions, collaborative software development, and content management. Our environment is enriched with tools (e.g., a map) and external knowledge bases (e.g., user manuals) to encourage human-like task-solving. Building upon our environment, we release a set of benchmark tasks focusing on evaluating the functional correctness of task completions. The tasks in our benchmark are diverse, long-horizon, and designed to emulate tasks that humans routinely perform on the internet. We experiment with several baseline agents, integrating recent techniques such as reasoning before acting. The results demonstrate that solving complex tasks is challenging: our best GPT-4-based agent only achieves an end-to-end task success rate of 14.41%, significantly lower than the human performance of 78.24%. These results highlight the need for further development of robust agents, that current state-of-the-art large language models are far from perfect performance in these real-life tasks, and that WebArena can be used to measure such progress. Our code, data, environment reproduction resources, and video demonstrations are publicly available at https://webarena.dev/.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2307.13854")
get_code_for_paper("2307.13854")
have("2307.13854")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2307.13854.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2307.13854.svg)](https://syntology.ai/paper/2307.13854)

Connect an agent — have() is free.