desktopctl
DesktopCtl is a local open-source computer operation tool for AI agents, supporting macOS (Apple Silicon only). It allows any desktop AI agent to observe and control the computer through the screen, mouse, and keyboard, and models without visual capabilities can also use it. The tool runs entirely locally, and screenshots are not uploaded to the cloud. Its core consists of two parts: the daemon DesktopCtl.app (desktopctld), which is responsible for perception, state, execution, and verification, and the stateless command-line tool desktopctl, which provides operations and queries through local IPC. It features GPU-accelerated text recognition and computer vision, a selector-first automation approach (--text, --token) with coordinate fallback, explicit waiting and post-action verification, and a stable JSON contract for agent integration. The current version is in active development, supports only macOS, and installation requires granting Accessibility and Screen Recording permissions.