Vercel agent-desktop: The Computer Use CLI Trending on GitHub
Vercel agent-desktop lets AI agents drive macOS, Windows, and Linux apps via accessibility trees—no screenshots. Why it is trending and how to start.
Paste this article into your AI assistant and ask it to walk you through it.
On this page

Vercel's agent-desktop lets an AI coding assistant inspect and operate desktop apps. It reads the operating system's accessibility tree, a structured list of windows, buttons, fields, and other controls. The assistant can then target a named control instead of guessing where to click in a screenshot.
It provides a command-line interface (CLI) and a C library; it does not include an AI model. Your existing assistant decides what to do, calls the tool, and checks the result.
On BuildLadder's daily trending list on 5 November 2026, the project gained 2,470 stars in the daily window. The cached card showed 15,616 total stars. Those figures explain this guide's original selection and are not live counts.
What agent-desktop is (and who it is for)
agent-desktop is not an agent and embeds no model. Your existing assistant, such as Claude Code, Codex, or Cursor, controls the loop: inspect the app, perform an action, then check what changed. agent-desktop is the eyes and hands.
- Snapshot a desktop app through the platform accessibility API.
- Return structured JSON with qualified refs (
@snapshotId:elementId). - Act on those refs (
click,type,set-value, window and clipboard helpers, and dozens more). - Re-snapshot to confirm the UI actually changed.
The operating system already exposes those controls to screen readers. agent-desktop returns them as refs instead of guessing pixel coordinates.
Who it is for
-
Indie hackers and agent builders who need native GUI automation (Notes, Slack, Finder, IDE dialogs, internal Electron apps with accessibility on).
-
Teams that want semantic computer use instead of a screenshot plus processing a screenshot with a vision model.
-
Anyone wiring desktop tools into MCP.
agent-desktop mcpexposes commands as stdio tools.
Who it is not for
- Pure web automation. Vercel points you to agent-browser for pages.
- Games, custom-drawn canvases, or apps that publish almost no accessibility tree.
- Fully sandboxed agents that cannot reach the desktop session. That is a common Linux sandbox trap.
Language on GitHub: Rust. License: Apache-2.0. Docs live at agent-browser.dev/desktop. Cross-checked against GitHub on 5 Nov 2026 (Asia/Calcutta): roughly 16k stars, active same-day pushes, and topics that include computer-use, accessibility, mcp, and cli.
Why it is trending on BuildLadder
BuildLadder ranks GitHub repos by fresh star momentum, not lifetime fame. Daily movement surfaces new attention. Weekly smooths spikes. Monthly filters for sustained interest.
For vercel-labs/agent-desktop, the signal that mattered on 5 Nov 2026 was the daily window:
| Signal | Value (BuildLadder daily) | Source |
|---|---|---|
| Rank on daily feed | #06 among today's movers | Trending today |
| Stars on card | ★ 15,616 | same page |
| Momentum | +2,470 stars in this window | same page |
| One-line pitch on card | Computer use CLI for AI agents | same page |
That daily delta is large even next to other loud names on the same board. For context, NVIDIA/auto-ontology showed +2,050 and floci-io/floci showed +1,090 in the same daily fetch. agent-desktop also appeared on BuildLadder's homepage trending strip, which is how a lot of builders first notice a mover.
Rank #06, ★ 15,616, and +2,470 belong to that one daily card. They are not a lifetime total.
Why the attention makes sense
- Computer use without vision is a searchable pain: cheaper tokens, and stabler targeting than pixels.
- Cross-platform coverage (macOS AX, Windows UI Automation, Linux AT-SPI) in one npm package.
- Agent-native packaging: bundled skills (
agent-desktop skills get desktop),npx skills add, and MCP. - Recent 1.x releases and Linux parity pushed it back into discovery feeds in late October and early November 2026. Coverage showed up from MarkTechPost, Flavio Copes, and several how-to blogs.
Track the other movers on BuildLadder trending (daily), then compare weekly and monthly if you want to separate a one-day spike from sustained interest. Save the rank, the card's star total, the window delta, and the capture date so the next check uses the same kind of evidence.
How to get started
Steps below follow the official README and docs. Run them on a machine that can see the desktop session. A shell with no graphical session has no accessibility tree to read.
1. Install
npm install -g agent-desktop
agent-desktop status # platform, permissions, supported surfaces
agent-desktop permissions --guide # macOS: Accessibility grant walkthrough
Bun, Yarn, and pnpm work the same. On macOS and Linux, Homebrew also works: brew install agent-desktop. Native archives are on GitHub Releases. The npm route needs Node 18 or newer. Run status before a snapshot. On macOS, grant Accessibility when permissions --guide asks, or the tree comes back empty.
2. Load the agent skill
agent-desktop skills get desktop
agent-desktop skills get platform
npx skills add https://github.com/vercel-labs/agent-desktop --skill agent-desktop
Or add this to AGENTS.md:
Use `agent-desktop` to see and operate desktop apps. Before the first use, run
`agent-desktop skills get desktop` and `agent-desktop skills get platform`, and follow them.
Load both skills before the first click, and fetch them again after you upgrade the CLI.
3. Run the observe, act, verify loop
agent-desktop snapshot --app Finder -i # interactive elements, each with a ref
agent-desktop click @s8f3k2p9:e8 # use a FULL ref from that snapshot
agent-desktop snapshot --app Finder -i # verify
Every command prints one JSON envelope (ok, then data or error). Refs belong to their snapshot. A bare @e8 is rejected. When the UI changes, expect STALE_REF or AMBIGUOUS_TARGET, and take a new snapshot.
Copy the full ref from the snapshot you just received. @s8f3k2p9:e8 is the shape used in the README example. It is not a stable id. Several windows can also return AMBIGUOUS_TARGET. Snapshot again and pass the window id the error lists.
Dense apps: map with snapshot --skeleton --app Slack -i --compact, then drill with snapshot --root @… -i --compact. The skeleton pass shows structure. The root pass limits the next snapshot to the region you mean to operate.
4. Optional: MCP
{ "mcpServers": { "agent-desktop": { "command": "agent-desktop", "args": ["mcp"] } } }
agent-desktop mcp serves those commands as stdio tools. Snapshot again before you trust a click.
Platform checklist
| Platform | Requirement | API |
|---|---|---|
| macOS | 13 or later, Intel or Apple Silicon | AX API |
| Windows | 10 1809 or later, x64 or ARM64 | UI Automation |
| Linux | Ubuntu 24.04 or later (x86_64 or aarch64), X11 or Wayland | AT-SPI |
Ref actions are without moving the visible pointer by default (no pointer steal). Use --headed only when you explicitly allow physical input. Headless actions target the accessibility element. Headed mode is what can move real input on the machine in front of you.
Privacy note from the maintainers: snapshots, clipboard reads, screenshots, and debug artifacts can contain private desktop content. Keep them out of public logs. Treat a Slack or mail snapshot the way you would treat a screenshot of the same screen.
When to use agent-desktop vs alternatives
| Need | Prefer |
|---|---|
| Native desktop apps via accessibility, cross-OS, CLI or MCP | agent-desktop |
| Web pages and browser automation | agent-browser, the sibling Vercel Labs tool |
| Linux-only deep AT-SPI and compositor targeting | agent-sh/computer-use-linux |
| Vision-first computer use that has to see the pixels | Model computer-use APIs or screenshot agents. Higher cost, and they still work when the accessibility tree is empty. |
| Parallel git worktrees for many coding agents | max-sixty/worktrunk, also on the same day's BuildLadder board. An orthogonal problem. |
Rule of thumb: when an app exposes useful accessibility controls, agent-desktop can target them without a vision step. Compare reliability, speed, and cost on your own task. If the tree has no useful controls, try visible mouse and keyboard input or a screenshot-based tool.
Choose by the surface, not by the day's star delta. computer-use-linux is the deeper Linux AT-SPI option when you do not need one CLI on every OS. worktrunk isolates git checkouts. It can sit beside agent-desktop, and it does not drive a desktop app.
Watch movers on BuildLadder
Stars alone are a weak quality signal. Momentum over a defined window is better. BuildLadder caches GitHub trend data and refreshes several times a day so the pages stay fast.
- See today's trending repos.
- Compare weekly and monthly.
- Check who is actually shipping on the daily builder leaderboard.
If you star agent-desktop and then wire it into a real shipping streak, that is the loop BuildLadder was built for: track the repo, then track yourself.
Compare the same window when you return. The +2,470 figure is the daily delta from 5 Nov 2026, paired with ★ 15,616 on that cached card.
FAQ
What is Vercel agent-desktop?
An open-source CLI and C library from Vercel Labs that lets AI agents operate macOS, Windows, and Linux desktop apps through OS accessibility trees. It returns JSON refs. Your agent decides what to do. The license is Apache-2.0.
Does agent-desktop need screenshots or a vision model?
No, not for normal ref actions. It targets elements in the accessibility tree. screenshot exists as a separate command when you need pixels. Apps with no accessibility tree are effectively invisible.
How do I install agent-desktop?
npm install -g agent-desktop, then agent-desktop status and, on macOS, agent-desktop permissions --guide. Homebrew on macOS and Linux, and GitHub Release binaries, are also supported. The npm package expects Node 18 or newer.
Is agent-desktop safe to run?
It runs with the same reach as the OS user and the permissions you grant (Accessibility on macOS, and the equivalent access on other platforms). There is no built-in human approval gate for every click. Treat it like giving an agent your desktop. Prefer a dedicated account or a constrained machine for untrusted tasks. Keep snapshot output private.
agent-desktop vs agent-browser?
agent-desktop is for native desktop apps. agent-browser is for web pages. Same product family, different surface.
Sources
-
BuildLadder trending repos, daily. Star card and +2,470 daily momentum for vercel-labs/agent-desktop, fetched 5 Nov 2026. The same fetch showed NVIDIA/auto-ontology at +2,050 and floci-io/floci at +1,090.
-
vercel-labs/agent-desktop on GitHub, including releases. Language Rust, license Apache-2.0, cross-checked 5 Nov 2026.
-
Related coverage: MarkTechPost, Flavio Copes, and PiyushAI.