Why you'd want it
agent-desktop is a Rust CLI that snapshots an app's accessibility tree into compact element references, which the agent then uses to click, type, scroll and manage windows. A skeleton mode returns a shallow overview of dense apps such as Slack and lets the agent drill into one region, and commands return structured JSON with error codes and recovery hints. Sessions record traces that export to a single HTML viewer, and launch --cdp opens a DevTools port on Chromium-based apps so Playwright or Puppeteer can drive the web contents.
Best for
- Agent control of native Mac apps
- Compact UI snapshots of dense apps
- Calling from Python, Swift or Node through its C library
Use it when
You want a shell-driven agent to operate Mac apps by element reference instead of guessing coordinates from screenshots.
Skip it if
You are on Windows or Linux, which the README lists as planned. It needs macOS Accessibility permission, plus Screen Recording for screenshots, and can click, type and use the clipboard in any app it is pointed at.