All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

agent-desktop: A Rust-based CLI for AI-driven desktop automation via OS accessibility trees

By

lahfir

1mo ago· 6 min readenCode

Summary

agent-desktop is a native desktop automation CLI built with Rust, designed specifically for AI agents to control desktop applications through OS accessibility trees. It provides structured JSON output and deterministic element references without relying on screenshots, pixel matching, or browser automation. The tool features 53 commands for observation, interaction, keyboard, mouse, notifications, and clipboard control, and is available as both a fast single-binary CLI and a C-ABI cdylib for integration with Python, Swift, Go, Ruby, Node, and C.

Key quotes

· 3 pulled
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.
53 commands: Observation, interaction, keyboard, mouse, notifications, clipboard.
Snippet from the RSS feed
Native desktop automation CLI for AI agents. Control any application through OS accessibility trees with structured JSON output and deterministic element refs. - lahfir/agent-desktop

You might also wanna read