cli-anything generates structured CLI harnesses from software source code so that AI agents can reliably operate that software through commands, JSON output, and REPLs. It provides a hub for browsing, installing, and launching generated harnesses alongside public third-party CLIs.
Project overview
By making software agent-native through generated CLI harnesses that call real application APIs rather than toy implementations, cli-anything bridges AI agents and the world's software.
Project type
AI Agent · AI Coding
Use cases
Automation
Deployment
Refer to project documentation
License
Apache-2.0
Best for
Developers and AI engineers who want to make their software codebases operable by AI agents through generated CLI harnesses.
Teams that have source code available for their target software and use frontier-class foundation models.
Key capabilities
Browse, search, inspect, install, update, uninstall, and launch CLI-Anything harnesses as well as public third-party CLIs from a single command.
Analyzes source code, maps GUI actions to APIs, designs command groups, implements a Click CLI with REPL and JSON output, plans and writes tests, documents, and publishes the harness.
Analyzes gaps in existing capabilities and implements new commands, tests, and documentation for identified gaps without destructive changes.
Planned support for packaging APIs for closed-source software and web services into CLIs.
Limitations and risks
Reliable harness generation depends on frontier-class models such as Claude or GPT. Weaker models may produce incorrect CLIs. This requires a paid service dependency for access to such models.
The project relies on available source code for quality results; harness quality degrades when working with compiled binaries.
Achieving production-quality coverage may require multiple iterative refinement runs.
Getting started
Install the CLI-Hub package manager with pip install: run 'pip install cli-anything-hub', then install a harness with 'cli-hub install <name>'.
Evidence and sources
README: CLI-Anything: Bridging the Gap Between AI Agents and the World's Software
README: Use the CLI-Anything generator when you need a new harness for software, a codebase, or an internal tool that is not already available through CLI-Hub.
README: CLI-Anything: Making ALL Software Agent-Native