CLI-Anything

CLI-Anything screenshot

CLI-Anything

Make any software agent-native. Automatically generate CLIs for AI agents from existing applications.

0 views
Added Mar 11, 2026
Open Source

About

CLI-Anything bridges the gap between AI agents and the world's software by making any application agent-ready. It provides a single command-line interface to enable AI agents like OpenClaw, nanobot, Cursor, and Claude Code to interact with any software.

The project features CLI-Hub, a central registry to browse, search, and install community-contributed CLIs with a single command. It automatically generates AI-discoverable skill definitions (SKILL.md) for each CLI, making them easily discoverable by AI agents after a simple pip install.

Key functionalities include:

  • Analysis: Scans source code and maps GUI actions to APIs.
  • Design: Architects command groups, state models, and output formats.
  • Implementation: Builds robust Click CLIs with REPL, JSON output, and undo/redo capabilities.
  • Testing: Plans and implements comprehensive unit and end-to-end tests.
  • Documentation: Updates documentation with test results.
  • Publishing: Creates setup.py and installs the CLI to the system's PATH.
  • Refinement: Iteratively improves CLIs by identifying and addressing functional gaps.

CLI-Anything aims to transform any open-source project, AI/ML platform, data analytics tool, development utility, or creative software into agent-controllable tools without requiring APIs, GUI wrappers, or rebuilding.

Code Example

bash
# Example: Generate a CLI for GIMP using Claude Code
/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything
/cli-anything:cli-anything ./gimp

# Install and use the generated CLI
cd gimp/agent-harness && pip install -e .
cli-anything-gimp --help
cli-anything-gimp project new --width 1920 --height 1080 -o poster.json

Categories

Alternatives

LangChain
Suggested
Auto-GPT
Suggested
CrewAI
Suggested