CLI-Anything – Make Any Software Agent-Native (Free, Open Source)



AI coding agents can write code, run tests and edit files — but most of the software on your computer still only speaks to humans through buttons and menus. CLI-Anything closes that gap. It is a free, open-source project from HKUDS that turns any software into a command-line interface an AI agent can drive, so your agent can drive Blender, GIMP, LibreOffice, OBS Studio and dozens more without a mouse.

As of 3 December 2026 it has more than 70,000 GitHub stars — one of the fastest-growing AI automation repos of the year. Today's software serves humans; tomorrow's users will be agents, and CLI-Anything is the bridge.

What Is CLI-Anything?

CLI-Anything has two sides. First, CLI-Hub: a registry of ready-made harnesses for over 100 real apps — install the hub, pick an app, and your agent can drive it at once. Second, a generator: if your software is not in the registry, your AI coding agent can build a complete, tested CLI for it with the seven-phase pipeline.

Every generated CLI speaks structured JSON, keeps a session so the agent knows the app's current state, and ships with a generated SKILL.md file. The result is deterministic — the agent runs the same commands and gets the same results, instead of guessing where to click.


CLI-Anything key features – CLI-Hub, 100+ app harnesses, 7-phase generator

Key Features

  • CLI-Hub registry: Browse, install, update and launch community-built CLIs from one command — 100+ harnesses, including Blender, FreeCAD, OBS Studio, Kdenlive, GIMP, LibreOffice, Audacity, QGIS, Godot, n8n, Ollama and Zoom.
  • 7-phase pipeline: Analyze, Design, Implement, Plan Tests, Write Tests, Document, Publish — a production-grade CLI with REPL, JSON output and undo/redo.
  • Preview loops: Agents see what they are doing instead of working blind. A CAD build, 3D scene, diagram or subtitle file is rendered and checked while the agent works.
  • Production-grade testing: Every generated CLI ships with unit and end-to-end tests — 2,461 tests passing, per the project's badge.
  • Works with your agent: Claude Code, Pi, OpenCode, Cursor, Codex, GitHub Copilot CLI, Hermes, Goose, OpenClaw, Reasonix and Qodercli are all supported.

How It Works

When you ask your agent to build a CLI, it runs the seven-phase pipeline. First it analyzes the software's source code and maps GUI actions to real APIs. Then it designs command groups, a state model and output formats. Next it implements the CLI — a Click-based Python command line with a REPL, JSON output and undo/redo. After that it plans and writes a test suite, documents the results, and publishes the CLI with a setup script.

Once a CLI exists, the agent can drive the software in plain language. Ask it to build a CAD model in FreeCAD, cut subtitles in VideoCaptioner or design a diagram in Draw.io — the agent runs the right commands, watches the preview and corrects itself. README demos show a Curiosity Rover built in FreeCAD and an orbital relay drone in Blender.


How to Install and Use CLI-Anything

Step 1 — Install CLI-Hub (the fastest way to start). To use the ready-made CLIs, install the hub package manager:

pip install cli-anything-hub

Then browse the registry and install one:

cli-hub list
cli-hub search image
cli-hub install gimp
cli-hub launch gimp

Step 2 — Give your agent the meta-skill (optional). If your agent supports skills, install the CLI-Hub meta-skill so it can discover and install the right CLI for each task by itself:

npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y

Then prompt your agent, for example: "Find appropriate CLI software in CLI-Hub and complete the task."

Step 3 — Install the generator plugin (to build a new CLI). In Claude Code:

/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything

Step 4 — Generate a CLI for any software. Point the agent at the software or repo:

/cli-anything ./gimp

Use /cli-anything:refine to expand coverage, and /cli-anything:test or :validate to check the result.

System Requirements

  • Python 3.10 or newer — required to build a new CLI and to run CLI-Hub.
  • A supported AI coding agent — Claude Code, Cursor, Pi, OpenClaw, OpenCode, Codex, Hermes, Reasonix, Qodercli or GitHub Copilot CLI.
  • The target software itself — a generated CLI wraps the real app, so the GIMP or Blender harness needs GIMP or Blender installed too.
  • Windows: Claude Code runs shell commands through bash, so install Git for Windows or use WSL.

Honest Notes and Limitations

CLI-Anything is powerful, but not magic: a generated CLI is only as good as the software underneath it. If an app has no real API, the harness will be limited. Some integrations are still marked experimental or community-maintained (OpenCode, Goose), so expect rougher edges than in the Claude Code plugin. Building a new CLI takes real agent time and compute. The repo lists 3 releases but no version number is stated on the page, so check the releases page before quoting one.

Download CLI-Anything Free

CLI-Anything is completely free and open source under the Apache 2.0 licence. Download the full source code below, or star the project on GitHub.

⬇ DOWNLOAD CLI-Anything

Download link: https://github.com/HKUDS/CLI-Anything/archive/refs/heads/main.zip

GitHub repository: https://github.com/HKUDS/CLI-Anything

Final Verdict

If you use AI coding agents, CLI-Anything is one of the most useful open-source tools of 2026. It turns software you already own into tools your agent can operate, with a ready-made registry for popular apps and a serious generator for the rest. Install CLI-Hub, try one harness, and you will see why 70,000+ developers starred it.

Post a Comment

Previous Post Next Post