Historical brief · 2026-11-11

vercel-labs/agent-desktop: Computer use CLI for AI agents

⭐ 21,545 | agent-desktop lets an AI agent see and operate desktop apps on macOS, Windows, and Linux through the OS accessibility tree. It avoids screenshots or pixel matching by returning JSON-based refs for UI elements, allowing agents to click, type, and verify actions reliably.

Source image · GitHub Trending

Overview

agent-desktop is a command-line interface and C library designed to give AI agents native computer-use capabilities. Instead of relying on brittle screenshots or pixel-matching techniques, it leverages official OS accessibility APIs to read desktop applications directly, presenting them as structured JSON trees.

How It Works

The tool inspects the target application and assigns a unique reference (ref) to every interactive UI element. The calling agent queries a snapshot, performs actions like clicking or typing using the ref, and checks the updated UI state in a continuous loop. By default, it operates headless, interacting with UI elements without needing to move the mouse pointer or steal active focus. Ecosystem and Integration agent-desktop natively supports macOS, Windows, and Linux by wrapping platform-specific accessibility APIs like AX API, UI Automation, and AT-SPI. It also includes an MCP (Model Context Protocol) server mode out of the box, allowing developers to easily expose all desktop commands as tools to any compatible AI assistant.

View selection rationale
Open sourceStage not established

Importance 85/100

Signal90Structure85Consequence80Confidence95Momentum99
About this brief
Content type
News summary
Source type
First-party / official source
Original source
GitHub Trending ↗
First seen
Process
AI-assisted discovery, translation, summarisation, classification and scoring; standards and corrections are maintained by the editorial desk.
Verification
The original URL and publication metadata are retained. This brief is not independently fact-checked unless explicitly stated.
Published by
Polyemergence Editorial Desk · PolyEmergence Pte Ltd.
Conflict disclosure
No financial or commercial conflict declared.

Editorial standards → · Corrections →

POLYEMERGENCE / EXPLORE

Keep exploring

Follow the topic, not just the headline.

Explore the Artificial Intelligence archive →