Repolode
HKUDS

HKUDS/CLI-Anything

A toolkit that generates agent-native command-line interfaces for existing software, plus a CLI-Hub registry for installing ready-made ones.

Stars
54,900
Forks
4,964
Open issues
200
Last commit
28 days ago

What is it?

CLI-Anything is a project that wraps existing desktop and backend software in structured command-line interfaces so that AI agents can operate them. Its generator runs an agent through a seven-phase workflow: it analyzes the target software or source repository, designs command groups, implements a Click-based CLI with a REPL and JSON output, and writes and documents tests. The generated harness is installed as a Python package and can be used from the shell or an interactive mode.

The project also includes CLI-Hub, a package manager installed with pip, which lists, searches, installs, updates and launches community-built CLIs. Agents can use a meta-skill to find and install the right CLI for a task. The README lists harnesses for applications such as GIMP, Blender, LibreOffice, Zotero, Obsidian, Godot and FreeCAD, and provides setup instructions for Claude Code, Cursor, Codex, OpenCode and several other agent platforms.

Key features

  • 01Generates a Click-based CLI with REPL and JSON output for a target software project.
  • 02Installs generated harnesses as Python packages that run from the shell.
  • 03Provides CLI-Hub to browse, search, install, update and uninstall community CLIs via pip.
  • 04Ships a meta-skill that lets agents discover and install CLIs on their own.
  • 05Includes plugins or skills for Claude Code, Cursor, Codex, OpenCode and other agent platforms.

Use cases

  • Giving an AI coding agent scripted control over a desktop application such as GIMP or Blender.
  • Letting agents automate workflows in tools like Zotero, Obsidian or LibreOffice through their CLIs.
  • Building a command-line wrapper for an internal tool or open-source codebase that lacks one.
  • Browsing and installing ready-made CLIs for common software from a single registry.

Quick start

  1. 1

    Install the CLI-Hub package

    pip install cli-anything-hub
  2. 2

    Install a ready-made CLI from the hub (replace <name> with a CLI name)

    cli-hub install <name>

Things to know

  • Generated CLIs wrap existing software, so the target application must be installed separately.
  • Project is young and changing quickly, so expect frequent updates and possible breaking changes.

Topics

FAQ

What is CLI-Anything?
A toolkit that generates agent-native command-line interfaces for existing software, plus a CLI-Hub registry for installing ready-made ones. CLI-Anything is a project that wraps existing desktop and backend software in structured command-line interfaces so that AI agents can operate them. Its generator runs an agent through a seven-phase workflow: it analyzes the target software or source repository, designs command groups, implements a Click-based CLI with a REPL and JSON output, and writes and documents tests. The generated harness is installed as a Python package and can be used from the shell or an interactive mode.
Is CLI-Anything free to use? What license does it have?
CLI-Anything is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is CLI-Anything still maintained?
Actively maintained. The last commit to CLI-Anything was on Sep 22, 2026.
What can I use CLI-Anything for?
Giving an AI coding agent scripted control over a desktop application such as GIMP or Blender. Letting agents automate workflows in tools like Zotero, Obsidian or LibreOffice through their CLIs. Building a command-line wrapper for an internal tool or open-source codebase that lacks one. Browsing and installing ready-made CLIs for common software from a single registry.
How do I install CLI-Anything?
Install the CLI-Hub package: pip install cli-anything-hub Install a ready-made CLI from the hub (replace <name> with a CLI name): cli-hub install <name>
Where can I get CLI-Anything?
The source code and installation instructions are on GitHub: https://github.com/HKUDS/CLI-Anything

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects