GitHub·First covered Issue 18
vercel-labs/agent-desktop
agent-desktop is a Vercel Labs CLI that lets AI agents operate desktop apps on macOS, Windows and Linux by reading each app's accessibility tree, with no screenshots or pixel matching.
Stats
(As of 16 Nov 2026)- Stars
- 24k
- Forks
- 1.8k
- Contributors
- 10
- Open issues
- 89
- Created
- Feb 2026
- Language
- Rust
- Licence
- Apache-2.0
- A snapshot returns the app's UI as JSON, with a ref for each element the agent can act on.
- The agent clicks or types on a ref, then snapshots again to confirm the result; there is no model inside the tool.
- Refs are tied to one snapshot, so a changed UI returns a stale-ref error instead of acting on the wrong element.
- Actions run headless by default through the accessibility API, without moving the pointer or stealing focus.
- It ships as a CLI, a C library and an MCP server exposing every command as a tool, under Apache 2.0.
Try it
npm install -g agent-desktop