agent-desktop: let Claude Code operate any app on your computer
The short version
Claude Code can already run commands and edit files. agent-desktop gives it hands for everything else on your computer: it clicks, types and fills in forms in real desktop apps, and your mouse never moves. It does not take screenshots and guess where to click. It reads the app's accessibility tree (the structure the OS already keeps for screen readers) and prints it as JSON with a ref, a name tag like @s8f3k2p9:e8, on every button, field and checkbox. Claude acts on a ref, takes a fresh snapshot and checks the result.
| What | The number |
|---|---|
| Price | Free (Apache-2.0, Vercel Labs) |
| Platforms | macOS, Windows, Linux (Linux since v1.0.0) |
| Latest version | v1.0.2 (30 Oct 2026) |
| GitHub stars | 8,700+ (3 Nov 2026) |
Source: the repo's README, FAQ and skill docs, read 3 Nov 2026.
Your links
| What | Link |
|---|---|
| agent-desktop (the one in the reel) | github.com/vercel-labs/agent-desktop |
The three steps
- Install it:
npm install -g agent-desktop, thenagent-desktop version. - On a Mac, give your terminal Accessibility permission:
agent-desktop permissions --guidewalks you through it. Windows needs no grant; Linux needs the graphical session andat-spi2-core. - Give Claude Code the skill (below), then ask it to do something in an app:
In System Settings, turn on Dark Mode.
Copy these prompts
Add the skill to Claude Code:
npx skills add https://github.com/vercel-labs/agent-desktop --skill agent-desktop
Or put this line in your CLAUDE.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.
The loop Claude runs, if you want to try it by hand:
agent-desktop snapshot --app Finder -i
agent-desktop click @s8f3k2p9:e8
agent-desktop snapshot --app Finder -i
Refs belong to their snapshot. If the app changed in between, you get STALE_REF instead of a wrong click: take a new snapshot and try again.
Three ways to use it
| Way | What it looks like |
|---|---|
| Background work | Ref actions don't move your pointer, take focus, press keys or touch your clipboard. Ask it to fill in a settings form and keep typing in another window. Hover, drag and double-click are the exceptions: they need --headed. |
| Apps with no integration | Anything that shows buttons to the OS: System Settings, Finder, TextEdit, Calculator. For dense Electron apps (Slack, VS Code), use it for the menu bar, dialogs and windows, and a browser-protocol client for the page contents. |
| A team on one desktop (macOS, Windows) | agent-desktop session start --cursor --multi-agent, give each subagent the session id and an --agent-id, and each one gets its own cursor so you can watch who clicks what. The actions themselves take turns. |
The smart part
The binary ships its own manual, matched to its version: agent-desktop skills get desktop (the loop, refs, retry rules) and agent-desktop skills get platform (what differs on your OS). Claude reads it before the first use, so you never paste docs into the prompt.
Read it honestly
- It is hands and eyes, not a brain: Claude still decides what to do.
- Snapshots, clipboard reads and screenshots can contain private things on your screen. Keep them out of public logs.
- Retry an action only when the error says it's safe (
retry: safe). A repeated click can submit a form twice. - Windows and Linux support differs by feature; check the platform table in the README.
If you are building with Claude Code
- Use it for the apps your workflow touches that have no API: a desktop accounting app, an old admin tool, System Settings on a test machine.
- Give each task its own snapshot-act-verify loop and ask Claude to show you the snapshot before a destructive click.
Run this on your codebase
Pick one boring step you do by hand in a desktop app every week and ask Claude Code:
Use agent-desktop. Read its manual first (skills get desktop). Then, in <app>, <the step>. Snapshot before and after each action and stop to ask me before anything that deletes, sends or pays.