Mouse and keyboard actions
Moves the mouse, clicks and types, exactly like a person.
What it is
The dispatcher turns "click (612, 388)" or "type 'INV-1042'" into real input events on the virtual display.
When to use it
- Anything visible on screen, especially apps with no tree and no API
When to skip it
- Ref actions or an API are available: both are more reliable
Why (the trade-off)
Universal: if a person can do it with a mouse and keyboard, so can the agent.
Where it sits
Action layer → the display server.
What it needs first
- Virtual displaythere has to be a screen to click on
- Screenshot perceptioncoordinates come from the pixels
What can be added to it
- builds on itAuto-wait and re-observeAuto-wait and re-observe needs it: it wraps UI actions
Instead of it
- Ref actions (accessibility API)exact targets, no pointer
- Connectors (APIs and MCP)no UI at all
Effect of adding it
- cost —
- latency ↑
- reliability ↓
- safety —
New risks it brings
- Misclicks
- One pointer per screen: parallel bots on one display fight over it
Free and open-source implementations
- PyAutoGUIBSD-3-Clause