PerceptionComputer agent
Accessibility-tree perception
Instead of a picture, the agent reads a list of the real buttons and fields on screen.
What it is
The OS accessibility API (or the browser's ARIA tree) lists the UI's elements with names, roles and states. A snapshot gives each actionable element a ref the agent can act on.
When to use it
- Native and web apps with decent accessibility
- High-volume batch jobs where cost per step matters
- You need exact targets, not coordinates
When to skip it
- Canvas-drawn apps, remote desktop or Citrix, games: there is no tree
- Apps with broken or missing labels
Why (the trade-off)
Structured, cheap and exact: the agent sees "button 'Pay ₹18,400' [ref e12]" instead of guessing where a button is in a picture.
Where it sits
Perception layer, read from the OS or browser accessibility API, not from the screen.
What it needs first
- Cloud computer (per user)the accessibility API runs on the agent's computer
What can be added to it
- builds on itPerception routerPerception router needs it: the cheap path
- builds on itRef actions (accessibility API)Ref actions (accessibility API) needs it: refs come from the snapshot
Instead of it
- Screenshot perceptionworks on anything visible, but costs more and clicks less precisely
Effect of adding it
- cost ↑
- latency —
- reliability ↑↑
- safety —
Risks it handles
- A popup after the agent looked · partial
New risks it brings
- Blind on apps that only send pixels
Learn first (AI Engineering)
Free and open-source implementations
- agent-desktopApache-2.0
- Playwright ARIA snapshotsApache-2.0
Sources
depth 4+2 production notes with numbers.