DEV Community

oVu X
oVu X

Posted on Originally published at github.com

Your AI Agent Cannot Click a Mouse. This Free Tool Gives It a Command Line Instead

Your AI Agent Cannot Click a Mouse. This Free Tool Gives It a Command Line Instead

Most AI agents drive desktop software the hard way. An agent is an AI program that does tasks for you. Today most agents move a mouse, read screenshots, and guess where to click. That path is slow, and it breaks when a button moves.

CLI-Anything takes a different path. It builds a real command line for the software, so the agent types text commands and reads text output. The project comes from the HKUDS team. It is free and open source under the Apache 2.0 license. Its GitHub repo held 66,138 stars on November 26, 2026. It ranked third on GitHub Trending on November 20.

How it works

A command line interface, or CLI, is a text prompt that runs commands. A harness is a CLI that CLI-Anything builds for one app. The harness calls the real app. It never rebuilds the app from scratch.

GIMP runs through Pillow and Script-Fu. Blender runs through its Python scripting interface. LibreOffice runs headless. OBS Studio runs through its websocket. The agent sends a command and gets structured data back in JSON, a plain text format for data. The --help flag lists every command, so the agent can find features on its own.

Try it in five minutes

Install the package manager first. Run this command in your terminal:

pip install cli-anything-hub
Enter fullscreen mode Exit fullscreen mode

List the registry with cli-hub list. Search it with cli-hub search image. Install the GIMP command line with cli-hub install gimp. Run it with cli-hub launch gimp. You need GIMP installed too. A harness wraps the real app, so the app must exist on your machine.

The registry listed 103 entries on November 24, 2026. It holds 79 harnesses from the project and 24 from the public. It covers GIMP, Blender, Inkscape, Audacity, LibreOffice, Kdenlive, Shotcut, OBS Studio, Godot, FreeCAD, QGIS, Joplin, Obsidian, Zotero, and n8n.

Build a new command line

If the registry lacks your app, you can build a harness. The generator runs inside a coding agent. A coding agent is an AI tool that writes and runs code for you. It follows seven phases: analyze, design, implement, plan tests, write tests, document, and publish.

In Claude Code, add the marketplace and install the plugin:

/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything
Enter fullscreen mode Exit fullscreen mode

Then run /cli-anything ./gimp. The same command works in Cursor, Pi, OpenClaw, OpenCode, Codex, and other agents. You can also give your agent the meta-skill with one command. Run npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y. Then ask it to find the right CLI for your task.

What it can already do

Public demos show real work. An agent built a Curiosity Rover model in FreeCAD. An agent built a drone scene in Blender. An agent drew an HTTPS handshake diagram in Draw.io. An agent added subtitles to a video with VideoCaptioner.

Each harness ships with tests. The project reports more than 2,400 tests and a 100 percent pass rate in its own test report. I did not run the tests myself.

Honest limits

CLI-Anything and CLI-Hub cost nothing. The code carries the Apache 2.0 license. There is no account and no paid tier. The cost sits one step away, in the coding agent.

The generator needs a strong model to build a good harness. The project names Claude Opus 4.6, Claude Sonnet 4.6, and GPT-5.4 as examples. A weak model can build a harness with gaps. You then fix the gaps by hand or run the refine command.

The generator also needs source code. It reads the code to map buttons and menus to commands. A closed app with no source code gives a weak result. One run may not cover every feature. The project says refine runs are often needed to reach full coverage.

Verdict

CLI-Anything solves a real gap. Agents can now drive real desktop apps through text. The free tier is the whole product: no paywall hides the useful part. Start with CLI-Hub and one ready harness.

Build your own harness only if the registry lacks your app. Try it if you already use a coding agent every day. Skip the generator if you have no strong model to run it with.

Follow along

I test AI tools and build in public:

Top comments (0)