Computer use agent benchmarks: how OSWorld and WebArena test agents
For agent builders4 min read

A computer use agent benchmark such as OSWorld or WebArena gives an agent a task in a real or simulated environment and checks the end state with a script. A computer use agent works a screen the way a person does: it looks, clicks, types and scrolls. This post explains how the two benchmarks work and how to build a small test of your own.
OSWorld: whole desktops
OSWorld is a benchmark and environment for multimodal agents on open-ended computer tasks. Its site lists 369 real-world tasks, plus 43 Windows tasks held back for analysis, across Ubuntu, Windows and macOS, covering web and desktop apps, file input and output, and workflows that span several applications.
Each task has a setup configuration for its starting state and a custom evaluation script that checks the outcome by execution. In the original paper, humans completed over 72 percent of the tasks while the best model reached about 12 percent, and the authors attributed most of the gap to weak GUI grounding and limited operational knowledge. Those are the original paper's numbers. The site says newer scores load separately and that OSWorld 2.0 is available, so check the current leaderboard before quoting a result.
Source: OSWorld(opens in a new tab)
WebArena: realistic websites
WebArena provides fully functional sites in four areas: online shopping, social forum discussions, collaborative software development and content management, along with tools such as a map and sources such as user manuals. Its benchmark tasks check whether the agent actually completes each task correctly. In the paper's baseline results, the best GPT-4-based agent succeeded on 14.41 percent of tasks end to end, against 78.24 percent for humans. Again these are the paper's figures, from its time.
Source: WebArena paper abstract(opens in a new tab)
What every computer use agent benchmark has in common
| Element | OSWorld | WebArena |
|---|---|---|
| Environment | Real operating systems and apps | Self-hosted working websites |
| Start state | Setup configuration per task | Sites in a known state |
| Success | Evaluation script checks the outcome | Tasks check actual completion |
The shared idea is the same one behind good agent evals everywhere. Set a known start, give an instruction, let the agent act, and check what changed, not what the agent said.
Build a small one
A task spec has a start state, an instruction, a step limit and a checker over the final state. This example is for a shopping site. The checker looks at the cart and the orders, not at the screen.
TASK = { "id": "shop-007", "start": "fresh store, empty cart, user logged in", "instruction": "Add two units of SKU-42 to the cart. Do not pay.", "max_steps": 30,} def check(final_state: dict) -> bool: cart_ok = final_state["cart"] == [{"sku": "SKU-42", "qty": 2}] no_order = final_state["orders"] == [] return cart_ok and no_order print(check({"cart": [{"sku": "SKU-42", "qty": 2}], "orders": []})) # Trueprint(check({"cart": [{"sku": "SKU-42", "qty": 2}], "orders": [{"id": 1}]})) # FalseThe second line shows why the do not pay clause is in the check. An agent that finishes the purchase has done more than asked, and a checker that only looks at the cart would miss it.
Practical problems
- Pages change. Use a fixed copy of the site, or you will be debugging the site, not the agent.
- Timing. Pages load slowly, so give actions time to finish and record waits.
- Reset. Restore the database and browser profile between trials.
- Several valid paths. Check the state, not the clicks.
- Cost. Screens are large inputs, so a run with many screenshots is expensive. Cap the steps.
Save a screenshot and the action for every step. When a trial fails, a person can scan the sequence in a minute and see whether the agent misread the page, clicked the wrong element, or hit a broken environment. Without those records, a failure is just a zero.
Plan your run budget. A computer use trial with many steps and a screenshot at each one is slow and costly, so start with ten tasks that you understand well, run each three times, and read all of the failures before you scale up. Ten tasks you trust are worth more than a hundred you have not looked at.
Have a person complete each task before the agent does, and time it. If a person needs twenty steps, an agent step limit of ten is unfair. If a person needs three, a limit of thirty is generous and hides inefficiency.
Last, check the checker. Run a human through each task once, and run a wrong scripted path to see that it fails. Tasks that humans cannot finish, or that anything can pass, only add noise.