the short version
- On Greptile's 172-task OSWorld subset, GPT-6.1 Sol scored 83.8% with screenshots alone and gained nothing significant from an accessibility tree or ID clicks.
- For weaker models the tree and ID clicks mattered a lot: GPT-5.2 rose from 15.8% to 52.8% and GPT-4.1 from 5.4% to 29.3%.
- TREX uses a hybrid design: a screenshot at every step, clicks by element ID when the tree has the element, and coordinates for canvases and games.
- Greptile reports harness-experiment accuracy only. It gives no accuracy score for TREX itself and no cost, token or latency figures for any setup.
For TREX computer use, Greptile gives the model a screenshot at every step. The agent clicks by accessibility-tree element ID when the element is in the tree and falls back to pixel coordinates when it is not. The design comes from Greptile's OSWorld runs on 172 tasks, where GPT-6.1 Sol scored 83.8% with screenshots alone, 82.7% with the tree added and 82.1% when clicking by ID, while GPT-5.2 rose from 15.8% to 52.8% with the tree and ID clicks. These are harness-experiment scores. Greptile publishes no accuracy figure for TREX itself and no cost or latency figures at all.
TREX is Greptile's QA agent. It runs the changes in a pull request on an actual desktop and uses the app the way a person would. That lets it catch bugs that only exist when the software is running, such as a button that can't be clicked or a label that runs off the edge of the window. In a post by Ruban SK dated 2026-11-19, Greptile notes that Claude Code and Codex can both give the model a screenshot and an accessibility tree and let it click by position or by naming an element. It then tests those three designs against each other: screenshots, screenshots plus an accessibility tree, and clicks by element ID.
Why pixel coordinates are the weak point
A screenshot agent has to write its click target out as text, for example x=523, y=217. If those numbers are a few pixels off, the click can hit the wrong element. The same button sits at different coordinates on different screen and window sizes. The model's vision also works against precision. The image is first shrunk to fit the model's size limit and then cut into squares dozens of pixels wide, while the click still has to land on one exact pixel.
Greptile cites outside evidence for this. On ScreenSpot-Pro, a 2025 benchmark with tiny targets on high-resolution screens, the best model at release hit the right target only 18.9% of the time. When OSWorld launched in 2024, human testers completed 72% of its tasks and the best model about 12%. The OSWorld authors found two problems: turning an instruction like click Save into the right point on screen, and knowing how to operate the software. Anthropic's documentation also says Claude:
might make mistakes or hallucinate when outputting specific coordinates.
How Greptile set up the three harnesses
Every configuration used the same agent on the same 172 OSWorld tasks. Each task got one attempt, a 50-step limit and low reasoning effort, and OSWorld's own graders did the scoring. Each setup builds on the one before it:
- Screenshots only. The model sees a screenshot plus its past actions and picks a coordinate click, typing or key presses.
- Screenshot plus accessibility tree, still clicking by x/y. The tree lists each element's role, label, position and size in pixels, so the model can calculate where to click.
- Screenshot plus tree with element IDs. The model names an element, such as [7] button "Save", and the harness performs the click.
OSWorld runs on Linux, so the agents read AT-SPI. Toolkits such as GTK and Qt publish what is on screen to any program that asks, with no user permission prompt. Anyone reproducing the setup should note one detail. GIMP was missing from the tree until Greptile added back an environment variable set at login, so an empty tree is not always the app's fault.
Screenshot-only accuracy now depends on the model
Screenshot-only scores varied widely across the seven OpenAI models:
- GPT-4o (May 2024): 10.5%
- GPT-4.1 (Apr 2025): 5.4%
- GPT-5.2 (Dec 2025): 15.8%
- GPT-5.4 nano (Mar 2026): 7.5%
- GPT-5.5 (Apr 2026): 67.7%
- GPT-6 Luna (Sep 2026): 59.2%
- GPT-6.1 Sol (Sep 2026): 83.8%
These are scores on Greptile's 172-task subset at low reasoning effort, not official leaderboard numbers. For comparison, OpenAI reports 71.4% for GPT-6.1 Sol on the harder OSWorld 2.0 offline set at maximum reasoning effort. One commenter on Hacker News described a screenshot-only script with Muse Spark and GLM 5.3 flash. They said models can now return exact element coordinates, which in their view makes accessibility trees an unnecessary distraction, but Spark assumed a 1000 by 1000 grid while GLM returned actual pixel coordinates. Greptile's data supports the first point only for the three strongest models, and the grid mismatch is a version of the resolution problem the post describes.
Where the accessibility tree and ID clicks pay off
Adding the tree helped every model that struggled with screenshots. GPT-5.2 went from 15.8% to 36.2%, and GPT-4.1 from 5.4% to 20.6%. Switching to ID clicks helped again: GPT-5.2 reached 52.8%, more than triple its screenshot-only score, and GPT-4.1 reached 29.3%. Across both steps, the four weaker models gained 9 to 37 points, and three of the four more than doubled their scores.
For the three strongest models, the post says neither step made a difference. With the tree added, none of them changed by a statistically significant amount. One commenter on Hacker News asked why the tree would degrade a strong model, but Greptile's text does not claim a real decline. GPT-6.1 Sol moved from 83.8% to 82.7% to 82.1%. The source text does not give confidence intervals, or per-step results for GPT-4o, GPT-5.4 nano, GPT-5.5 or GPT-6 Luna, so readers cannot check the size of those other movements.
Why TREX keeps the screenshot at every step
The accessibility tree has blind spots, and Greptile gives three examples. Figma publishes its toolbar buttons, but the canvas is just pixels. Doom is pixels from top to bottom, with no tree at all. Text that overflows its box shows on screen while the tree still reports a normal button. For a QA agent whose job includes catching bugs like these, the screenshot carries information the tree does not.
TREX's design follows from this. It runs on the best models, uses the screenshot at every step, clicks by ID when the tree contains the element, and uses coordinates for elements like a canvas or a game. Greptile says it will rerun the experiments each time a new model comes out and update TREX when the answer changes. One commenter on Hacker News suggested having the model output a mask over the target button and converting it to coordinates with standard computer vision. Greptile did not test that approach, so the sources offer no comparison.
TREX computer use cost and latency are not reported
The sources give no cost or latency figures. Greptile does not report token counts per step, the size of the tree text relative to a screenshot, wall-clock time per task, or a price per pull-request run. The post also does not name the model TREX runs, beyond "the best models". It does not say which desktop operating systems TREX supports outside the Linux and AT-SPI test environment. One commenter on Hacker News proposed starting with a cheaper, coarser view, such as the tree's list of buttons, and letting the model escalate to a higher-resolution view when needed, but without token or latency data there is no way to compare that with Greptile's always-screenshot approach.
Commenters raised other questions the post does not address. One was whether OS-level screen-recording permissions can be limited to a single application. Another was whether a CLI or API should replace GUI driving where one exists. On the evidence given, teams building on weaker models should add the tree with ID clicks. Teams on frontier models should keep the screenshot and treat the tree as a way to make clicks reliable rather than a requirement.
Questions this raises
How does TREX computer use decide where to click?
TREX gives the model a screenshot at every step. It clicks by accessibility-tree element ID when the element is in the tree and falls back to pixel coordinates when it is not, such as on a canvas or in a game.
Does adding an accessibility tree help strong models on OSWorld?
In Greptile's tests, the three strongest models showed no statistically significant change with the tree added. GPT-6.1 Sol moved from 83.8% to 82.7% to 82.1%. The four weaker models gained 9 to 37 points across both steps.
What does TREX cost to run per pull request?
Greptile does not report it. The sources give no token counts, wall-clock time per task or price per pull-request run, and do not name the specific model TREX runs.
Spotted an error? Email samir.s.sengupta@gmail.com and I will correct it and date the change at the top of the note. How these notes are researched, drafted and checked is in the editorial policy.
