{"repo":"lahfir/agent-desktop","free":true,"listed":false,"github":"https://github.com/lahfir/agent-desktop","clone":"git clone https://github.com/lahfir/agent-desktop.git","description":"Native desktop automation CLI for AI agents. Control any application through OS accessibility trees with structured JSON output and deterministic element refs.","language":"Rust","stars":1017,"topics":["accessibility","accessibility-api","ai-agents","automation","cli","desktop-automation","macos","mcp","rust"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"AGENT DESKTOP OBSERVE. DECIDE. ACT. agent-desktop is a native desktop automation CLI designed for AI agents, built with Rust. It gives structured access to any application through OS accessibility trees — no screenshots, no pixel matching, no browser required. Architecture Key Features - Native Rust CLI : Fast, single binary, no runtime dependencies - C-ABI cdylib ( libagent desktop ffi ): Load once from Python / Swift / Go / Ruby / Node / C instead of forking the CLI per call - 58 command names, 54 operational commands : Observation, interaction, keyboard, mouse, notifications, clipboard, window management, session lifecycle, trace read/export, plus a bundled skills doc loader. The four held-input names are reserved for a stateful daemon and fail closed in the stateless CLI. - Progressive skeleton traversal : 78–96% token reduction on dense apps via shallow overview + targeted drill-down - Snapshot & refs : AI-optimized workflow using compact snapshot IDs and qualified element references ( @s8f3k2p9:e1 , @s8f3k2p9:e2 ) - Headless-by-default interactions : Ref actions use accessibility APIs and block silent focus, cursor, keyboard, or pasteboard side effects - Structured JSON output : Machine-readable responses with error codes and recovery hints - Works with any app : Finder, Safari, System Settings, Xcode, Slack — anything with an accessibility tree - Chromium-app interop via CDP : launch --cdp opens a verified DevTools port so any framework that speaks CDP — Playwright, Pu","default_branch":null,"files":null,"tree":[],"storefront":"/r/lahfir","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lahfir/agent-desktop/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}