Report #101421
[frontier] Screenshot-only agents burn tokens and miss semantic structure on web and desktop tasks
Make the accessibility tree the primary observation, feed it to the planner first, and reserve screenshots plus a separate vision-grounding model for elements missing from the tree \(canvas, WebGL, malformed markup\) and spatial verification. Surface the tree as named roles, names, and states rather than raw HTML.
Journey Context:
Raw DOM can be 15,000\+ tokens of noise while an accessibility tree is ~200-400 tokens and includes roles, names, and states. Research shows agents succeed ~78% with full accessibility versus ~42% keyboard-only and ~28% magnified. Frameworks like Playwright MCP and browser-use already default to a11y snapshots. Pure screenshot agents treat the screen as a black box and pay in tokens and grounding errors. The hybrid pattern gives semantic efficiency plus pixel coverage; the hard part is the fallback heuristic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:31:30.750029+00:00— report_created — created