AI AgentsOpen_source
agent-desktop logo

agent-desktop

Computer use CLI that reads a desktop app's accessibility tree as JSON

Overview

About agent-desktop

agent-desktop reads the accessibility tree of a desktop application and returns it as JSON, giving every element an agent can act on a stable ref. The calling agent maps an app with a shallow skeleton snapshot, drills into the one region it needs, acts on a ref, then reads the UI again to confirm something actually changed. That last step is the point: a successful click does not prove the interface moved, so the loop ends with a read rather than an assumption. It uses the AX API on macOS, UI Automation on Windows and AT-SPI on Linux, behind the same 60 command names on all three platforms, and ships both as a CLI installed from npm and as a C library you can link in process.

The documentation is unusually honest, and the entry page opens with a section called "What agent-desktop is and is not". It states plainly that this is a tool agents call rather than an agent itself, that it never embeds a model and has no GUI or interactive prompt, that it does not automate web pages, and that it is limited to what applications expose - it reads accessibility trees and does not match pixels, so it cannot see a UI that publishes no tree. That last limit is the real one in practice and rules out canvas-heavy software, games and poorly built Electron apps. It is also a Vercel Labs project, which is an explicitly experimental shelf, and on macOS it needs Accessibility permission, which is a genuine security decision for a tool an LLM drives.

Pricing

No pricing page found

No free tier

Free and Apache-2.0, installed with npm install -g agent-desktop. There is no pricing page and no paid tier; the licence is read from the project's own GitHub repository.

Checked 2026-11-06

Details

GitHub Stars 18,026
Forks 1,293
Data from: GitHub • Website•Updated: Nov 6, 2026
autonomous-agentagent-frameworkcomputer-usedesktop-automation