CLI-Anything generates CLIs for any desktop app so AI agents can drive them

JafarNajafov · x · 2026-11-27

AI agents reason well but struggle to operate real desktop software: screenshot-clicking GUIs is slow and brittle, and most desktop apps lack APIs. The open-source CLI-Anything takes a third path — auto-generating a command-line interface for any app so agents drive it with text commands.

Point your coding agent (Claude Code, Cursor, OpenClaw, etc.) at the software and run one command; a 7-phase pipeline analyzes the source, maps GUI actions to underlying APIs, designs command groups and state tracking, implements a CLI with REPL/JSON output/undo-redo, then plans tests, writes tests, and documents everything.

It hit #1 on GitHub Trending, has 2,461 passing tests, ships a tech report (arXiv:2606.03854), covers 18 app CLIs, and is Apache 2.0 licensed.

Related event: CLI-Anything Turns Any Desktop App into an AI Agent Tool(2 posts)→

Original post →

More from coding & agent

coding & agent channel →