agent-desktop
agent-browser.dev
Open-source computer-use CLI from Vercel Labs that lets AI agents read and operate desktop apps through the OS accessibility tree instead of screenshots.
- GitHub stars
- 26,338
- License
- Apache-2.0
- Language
- Rust
- Pricing
- Open source
- Published
- Nov 3, 2026
Next steps
- agent-browser
Both tools are listed under AI Developer Tools, AI Agent, and cli.
- Cua
Both tools are listed under AI Developer Tools, AI Agent, computer-use, and desktop-automation.
- AutoCua
Both tools are listed under AI Agent, Open Source, and computer-use.
- Strix
- Pi
- Daily Stock Analysis (DSA)
What it does
agent-desktop is an Apache-2.0 CLI and C library from Vercel Labs that gives AI agents computer use on macOS, Windows and Linux. Instead of pixel matching, a snapshot returns JSON describing the app's accessibility tree with a ref for every element an agent can act on; the agent acts on a ref (for example click) and snapshots again to verify, so the control loop stays in your own agent. Refs belong to their snapshot, and stale or ambiguous targets return explicit errors. Actions are headless by default — they go through the accessibility API without moving the pointer or taking focus — and a --headed flag allows physical input. Dense apps can be mapped with skeleton snapshots and then drilled into by region. Install with npm install -g agent-desktop (native binaries for x64 and ARM64 included) or download a release archive. macOS needs Accessibility permission, Linux needs at-spi2-core in a graphical session. The README warns that snapshots and screenshots can contain private desktop content. About 9.7k GitHub stars.

Use cases
- Let a coding agent click through a native macOS or Windows app to reproduce a bug
- Automate repetitive desktop workflows without brittle screenshot matching
- Give an MCP-capable agent structured access to desktop UI elements
Frequently asked questions
- How is it different from screenshot-based computer use?
- It reads the OS accessibility tree and returns JSON elements with refs, so actions target elements directly instead of matching pixels.
- Does it take over my mouse?
- No. Actions are headless by default; the --headed flag allows physical input.
- Which platforms are supported?
- macOS (Accessibility permission required), Windows and Linux (at-spi2-core in a graphical session).
- How do I install it?
- npm install -g agent-desktop, or download a native archive from GitHub Releases.