

Open-source framework from HKU that auto-generates tested, agent-native CLIs for any software so AI agents like Claude Code can drive it.

Open-source framework from HKU that auto-generates tested, agent-native CLIs for any software so AI agents like Claude Code can drive it.
CLI-Anything is an Apache-2.0 open-source project from the HKU Data Intelligence Lab (HKUDS) that makes desktop and GUI software usable by AI agents by generating a command-line harness for it. A 7-phase methodology analyzes an application's source code, architecture and data model, designs a CLI that mirrors its GUI functionality, implements it with state management, and validates it with unit and end-to-end tests. The resulting CLIs are agent-native: self-describing, stateful, with a REPL mode, undo/redo and structured JSON output alongside human-readable output. Harnesses exist for tools such as GIMP, Blender, Inkscape, Audacity, LibreOffice, OBS Studio, Kdenlive, QGIS, Calibre and Zoom, and a community CLI Hub lets users browse and install them with pip or npx skills. It installs as a Claude Code plugin and works with agents including Cursor, OpenClaw, nanobot and Pi.

Open-source framework from HKU that auto-generates tested, agent-native CLIs for any software so AI agents like Claude Code can drive it.
CLI-Anything works by combining 7-Phase Harness Generation: Analyzes an application's codebase and data model, designs a mirroring CLI, implements it and validates it with tests to produce an agent-ready interface., Agent-Native CLIs: Generated tools are self-describing and stateful, with REPL mode, undo/redo and JSON plus human-readable output that agents can parse reliably., CLI Hub Registry: Browse, install and manage community-built CLIs with 'pip install cli-anything-hub' and 'cli-hub install ', or install skills via npx., Broad Software Coverage: Harnesses for creative, office and dev tools including GIMP, Blender, Inkscape, Audacity, LibreOffice, OBS Studio, Kdenlive, QGIS, Calibre and Zoom., Claude Code Plugin: Installs through the Claude Code plugin marketplace with no configuration, and works with Cursor, OpenClaw, nanobot and other agents. to help users with Automating Creative Software: Letting an AI agent edit images in GIMP, build 3D scenes in Blender or render videos in Kdenlive through a CLI., Office Document Workflows: Having agents convert, edit and export documents via LibreOffice or manage e-book libraries with Calibre., Wrapping Internal Tools: Generating an agent-usable CLI for in-house software that has no API., Building Agent Skills: Packaging generated CLIs as installable skills for Claude Code or other coding agents., GIS and CAD Tasks: Driving QGIS map authoring or 3MF mesh repair from an agent pipeline..
Key features include 7-Phase Harness Generation: Analyzes an application's codebase and data model, designs a mirroring CLI, implements it and validates it with tests to produce an agent-ready interface., Agent-Native CLIs: Generated tools are self-describing and stateful, with REPL mode, undo/redo and JSON plus human-readable output that agents can parse reliably., CLI Hub Registry: Browse, install and manage community-built CLIs with 'pip install cli-anything-hub' and 'cli-hub install ', or install skills via npx., Broad Software Coverage: Harnesses for creative, office and dev tools including GIMP, Blender, Inkscape, Audacity, LibreOffice, OBS Studio, Kdenlive, QGIS, Calibre and Zoom., Claude Code Plugin: Installs through the Claude Code plugin marketplace with no configuration, and works with Cursor, OpenClaw, nanobot and other agents..
CLI-Anything is useful for anyone interested in Automating Creative Software: Letting an AI agent edit images in GIMP, build 3D scenes in Blender or render videos in Kdenlive through a CLI., Office Document Workflows: Having agents convert, edit and export documents via LibreOffice or manage e-book libraries with Calibre., Wrapping Internal Tools: Generating an agent-usable CLI for in-house software that has no API., Building Agent Skills: Packaging generated CLIs as installable skills for Claude Code or other coding agents., GIS and CAD Tasks: Driving QGIS map authoring or 3MF mesh repair from an agent pipeline..
CLI-Anything is free to use.
Visit https://github.com/HKUDS/CLI-Anything to sign up and explore CLI-Anything.
Browse by use case: Automation & Productivity
Compare CLI-Anything: vs CleanSlop · vs Kalender Sync · vs UseIt Studio · vs Woven Video