Generates command-line interfaces for any software, making them controllable by AI agents without relying on fragile UI automation or limited APIs.
CLI-Anything is an open-source framework from HKUDS for making software "agent-native." It addresses the challenge of AI agents being unable to use professional software by automatically generating a full-featured command-line interface (CLI) for any given codebase. This allows agents to control complex applications like Blender, GIMP, or QGIS programmatically, bypassing the need for fragile UI automation or limited official APIs, making all software accessible to AI.
A user provides a path to a software's source code, often via a Claude Code plugin. CLI-Anything then runs a fully automated 7-phase pipeline that analyzes the code, designs a command structure, implements a Python CLI, generates tests, documents usage, and packages it. The output is a pip-installable package that provides a structured, agent-friendly CLI for the target software. The framework is open-source and free to use.
Developers and AI engineers who need to automate complex, professional software by making it programmatically controllable for AI agents, especially for applications that lack a robust API.
The primary documented workflow is tightly integrated with specific AI coding agents like Claude Code, which may create a steeper learning curve for users on other platforms. The effectiveness of the generated CLI is dependent on the structure of the target software's codebase.