Someone built a tool that turns any software into something an AI agent can use.
AI agents are good at reasoning. They're bad at operating real software.
Ask an agent to edit an image in GIMP, render a scene in Blender, or cut a video in Kdenlive, and it has two options.
It can take screenshots and click through the GUI, which is slow and breaks the moment a button moves.
Or it can use an API, which most desktop apps don't have.
CLI-Anything takes a third path. It generates a command-line interface for any app, so the agent drives it with text commands.
You point your coding agent at the software, run one command, and it works through a 7-phase pipeline:
→ analyzes the source and maps GUI actions to the APIs underneath
→ designs the command groups and how state is tracked
→ implements the CLI, with a REPL, JSON output, and undo/redo
→ plans the tests
→ writes the tests
→ documents the results
→ packages it and installs the command on your PATH
In Claude Code it's just:
/cli-anything ./gimp
The important part is that the generated CLI calls the real application. It doesn't reimplement it.
PDF export runs through LibreOffice. Rendering runs through Blender. Audio for Audacity runs through sox.
So the agent gets the actual software, not a simplified copy of it.
Every generated CLI also ships with:
↳ persistent project state with undo/redo
↳ JSON output for agents and readable output for humans
↳ a SKILL md, so agents can discover how to use it
↳ unit tests and end-to-end tests that run against real files and the real software
The repo already has harnesses for dozens of apps, including GIMP, Blender, Inkscape, Krita, Audacity, OBS Studio, LibreOffice, FreeCAD, Godot, Zotero, Obsidian, and n8n.
There's also CLI-Hub, a package manager for these CLIs, so you can search, install, and launch them in one place:
pip install cli-anything-hub
It works with Claude Code, Codex, Cursor, OpenCode, Hermes, OpenClaw, Goose, GitHub Copilot CLI, and more.
Agents don't need software rebuilt for them. They need a command line into the software that already exists.
GitHub repo: https://github.com/HKUDS/CLI-Anything
