HKU's CLI-Anything Turns Any App Into AI-Friendly Tools
HKU Team Revolutionizes Software Automation with CLI-Anything

For developers struggling to integrate AI with professional software, help has arrived. The Data Intelligence Lab at the University of Hong Kong (HKUDS) just open-sourced CLI-Anything, a tool that magically transforms any application into an AI-friendly command-line interface with a single command.
The Automation Breakthrough We've Been Waiting For
Anyone who's tried automating complex software like Photoshop or Blender knows the frustration - UI automation tools crash constantly, while writing custom integration scripts eats up valuable development time. CLI-Anything offers an elegant solution by generating production-ready command-line interfaces directly from software source code.
"This isn't just another automation tool," explains project lead Dr. Zhang Wei. "We're fundamentally changing how AI interacts with software by creating native command-line access points that match how large language models think and operate."
How It Works: The Seven-Stage Magic
The secret sauce lies in CLI-Anything's automated pipeline that:
- Analyzes source code to understand the software's capabilities
- Designs an optimal command-line architecture
- Implements the interface using Click CLI framework
- Creates comprehensive test plans
- Writes actual test cases (over 1,588 and counting)
- Generates complete documentation automatically
- Packages everything as a ready-to-use Python module
The result? A robust CLI that speaks AI's language:
- Structured commands perfect for chaining complex workflows
- JSON output by default for easy parsing by AI systems
- Self-documenting with standard --help functionality
- Interactive REPL mode for testing and exploration
- Rock-solid reliability thanks to exhaustive testing
Who's Already On Board?
The project already supports major players across creative fields:
- Design & Media: GIMP, Inkscape, Blender, Audacity
- Productivity: LibreOffice, Draw.io, Mermaid
- Video & Streaming: OBS Studio, Kdenlive, Shotcut
- AI Tools: ComfyUI
- Communication: Zoom
The team plans to expand into CAD, music production (DAWs), IDEs and scientific computing tools next - and they're actively welcoming community contributions.
Getting Started Is Surprisingly Simple
For Claude Code users especially:
/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything
/cli-anything
The tool integrates seamlessly with popular agent frameworks like OpenClaw and OpenCode while running entirely locally - no cloud dependencies or complex setup required.
Why Developers Are Excited
Since hitting GitHub, CLI-Anything has racked up over 17,000 stars as developers recognize its potential to transform how we automate creative work. Early adopters are already using it for:
- Batch photo editing with GIMP
- Automated 3D model rendering in Blender
- Programmatic video editing workflows
The project represents more than just another tool - it's a foundational piece for the coming era where AI agents routinely handle complex creative tasks.
Key Points:
✔ Converts any software to AI-friendly CLI with one command ✔ Supports major creative apps like Blender and GIMP out of the box ✔ Generates structured JSON output perfect for AI parsing ✔ Includes interactive REPL mode for testing commands ✔ Already integrated with popular agent frameworks ✔ Local operation - no cloud dependencies required



