Discover and explore top open-source AI tools and projects—updated daily.
HKUDSAgent-native CLI generation for any software
New!
Top 7.1% on SourcePulse
Summary
CLI-Anything addresses the challenge of integrating AI agents with existing software by automatically generating command-line interfaces (CLIs) for any application with a codebase. It targets developers, researchers, and power users seeking to enable AI agents to control diverse software tools without relying on fragile UI automation or limited APIs. The primary benefit is making software "agent-native," allowing agents to leverage full application capabilities through structured, reliable commands.
How It Works
The project employs a fully automated 7-phase pipeline: Analyze, Design, Implement, Plan Tests, Write Tests, Document, and Publish. It transforms a software's codebase into a functional, installable Python package with a Click-based CLI. Key advantages include its "Agent-First Design" with built-in JSON output for seamless agent consumption, eliminating parsing complexity, and "Authentic Software Integration," which ensures CLIs delegate to the actual application, preserving full professional capabilities without compromises or toy implementations.
Quick Start & Requirements
Installation is recommended via the Claude Code plugin marketplace: /plugin marketplace add HKUDS/CLI-Anything followed by /plugin install cli-anything. Alternatively, clone the repository and manually copy the plugin. Prerequisites include Claude Code (with plugin support), Python 3.10+, and the target software installed on the system. To generate a CLI for software like GIMP, use /cli-anything <path-to-software-or-repo>. Generated CLIs are installed via pip install -e . within their respective harness directories.
Highlighted Details
--json flag provides structured data for AI agents, while a unified REPL interface (ReplSkin) offers a consistent interactive experience.Maintenance & Community
The project outlines a roadmap including support for more application categories, benchmark suites, community-contributed harnesses, and integration with additional agent frameworks. Specific details on active contributors or sponsorships are not provided in the README.
Licensing & Compatibility
The project is released under the MIT License, permitting free use, modification, and distribution, including for commercial purposes and integration within closed-source projects.
Limitations & Caveats
CLI-Anything operates on a "zero compromise" principle, meaning the target software must be installed and functional. Tests are designed to fail if backends are missing, ensuring authentic functionality but requiring a robust local environment. The effectiveness is dependent on the accessibility and structure of the target software's codebase.
20 hours ago
Inactive
toolkit-ai
github
block
Significant-Gravitas