agent-desktop is a Rust-built CLI for AI agents to automate desktop apps via OS accessibility trees, outputting structured JSON with deterministic element references.
It features 53 commands for observation, interaction, keyboard/mouse control, and window management, using progressive skeleton traversal to reduce tokens by 78-96% on dense apps. Installation via npm downloads a prebuilt binary; FFI bindings enable in-process calls from Python, Swift, Go, Node, Ruby, and C.