What do you want to do?
3 use cases
-
Let an agent operate a desktop app through its accessibility tree
Install the CLI, snapshot an app, and have the agent click refs instead of guessing at pixels.
View prompt
Install agent-desktop with `npm install -g agent-desktop`, run `agent-desktop status`, then snapshot <app> with `agent-desktop snapshot --app <app> -i`. Click the element that does <task> using its ref, and snapshot again to confirm it worked.
-
Add desktop control to your agent over MCP
Serve every Agent Desktop command as an MCP tool over stdio.
View prompt
Add agent-desktop to my MCP config with command `agent-desktop` and args `mcp`, restart, then use desktop_snapshot on <app> and desktop_click to <task>. Retry a failed command only when error.disposition.retry is safe.
-
Teach your agent the desktop loop with the bundled skill
Install the Agent Desktop skill so the agent follows the observe, act, verify and retry rules.
View prompt
Install the agent-desktop skill with `npx skills add https://github.com/vercel-labs/agent-desktop --skill agent-desktop`, read `agent-desktop skills get desktop` and `agent-desktop skills get platform`, then do <task> in <app>.
What people are building with Agent Desktop
-
Hands-onX
Ran three Claude Code agents on one Mac at once with agent-desktop
Using agent-desktop, three Claude Code agents shared a Mac: one played chess against the computer, one typed live commentary into TextEdit, and one tried to keep score in Calculator. They worked through accessibility button presses without taking over the mouse.
By Dave Kiss (@davekiss)
Real builds shared on X, Hacker News, Reddit, DEV and GitHub, summed up by Deduped from each post and its links; each card links to the original post. See what people are building with other repos
Quick start with Agent Desktop
- Check you have what it needs: Node.js and npm (or Homebrew on macOS and Linux); macOS needs the Accessibility permission granted; An AI agent to run the observe, act, verify loop.
- Open vercel-labs/agent-desktop on GitHub and read the README and license.
- Run
npm install -g agent-desktopto install the CLI - Run
agent-desktop statusto see platform, permissions and supported surfaces - On macOS run
agent-desktop permissions --guideto walk through the Accessibility grant - Run
agent-desktop snapshot --app Finder -ito list interactive elements, each with a ref
These steps come from our top use case, Let an agent operate a desktop app through its accessibility tree, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for vercel-labs/agent-desktop
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers building agents that need to operate native desktop apps, not just browsers.
- Why it is hot+2,173 stars today, 17k total, picked up by one AI source we track
- LanguageRust
- Sourcegithub.com/vercel-labs/agent-desktop · Back to Hot repos
Requirements
- Node.js and npm (or Homebrew on macOS and Linux)
- macOS needs the Accessibility permission granted
- An AI agent to run the observe, act, verify loop
Add this badge to your README
Maintain Agent Desktop? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/vercel-labs-agent-desktop/?utm_source=github&utm_medium=badge&utm_campaign=vercel-labs-agent-desktop)
HTML
<a href="https://dedupedai.com/use-cases/vercel-labs-agent-desktop/?utm_source=github&utm_medium=badge&utm_campaign=vercel-labs-agent-desktop"><img src="https://dedupedai.com/badge/vercel-labs/agent-desktop.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Agent Desktop
What is Agent Desktop?
agent-desktop gives an AI agent computer use without screenshots or pixel matching. It reads the accessibility tree of a desktop app on macOS, Windows or Linux and returns it as JSON, with a ref for every element the agent can act on. The agent clicks or types on a ref, reads the UI again to check the result, and repeats. It ships as a CLI and a C library, with no model inside. It is an open-source project on GitHub: https://github.com/vercel-labs/agent-desktop.
How do I use Agent Desktop?
Run npm install -g agent-desktop to install the CLI; then run agent-desktop status to see platform, permissions and supported surfaces; on macOS run agent-desktop permissions --guide to walk through the Accessibility grant. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Agent Desktop for?
Developers building agents that need to operate native desktop apps, not just browsers.
What can I do with Agent Desktop?
3 use cases so far, for example: Let an agent operate a desktop app through its accessibility tree; Add desktop control to your agent over MCP; Teach your agent the desktop loop with the bundled skill. Each has steps and a copy-paste agent prompt.
What do I need to run Agent Desktop?
Node.js and npm (or Homebrew on macOS and Linux); macOS needs the Accessibility permission granted; An AI agent to run the observe, act, verify loop.
What are alternatives to Agent Desktop?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, I Have Adhd.
Is Agent Desktop safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.