CLI-Anything:让任何软件成为 AI Agent-Ready
CLI-Anything:一键让所有软件成为 Agent-Native
当今的软件通过 GUI 服务人类。明天的智能体需要结构化的 CLI 接口。欢迎CLI-Anything——一款革命性的 Claude Code 插件,它能自动将任何软件代码库转化为生产就绪、可由智能体控制的 CLI。
🎯 解决 Agent-软件鸿沟
AI 智能体擅长推理,但难以处理专业软件。CLI-Anything 通过以下方式弥合这一鸿沟:
- 直接后端集成:调用真实的 Blender、GIMP、LibreOffice——没有玩具级实现
- 零 GUI 脆弱性:无需截图、无需 RPA,纯命令行可靠性
- 结构化 JSON 输出:智能体无缝消费 + 人类可读格式
- 一键自动化:从分析到 PyPI 就绪包的 7 阶段流水线
🚀 5 分钟快速开始
/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything
/cli-anything ./gimp
cd gimp/agent-harness && pip install -e .
cli-anything-gimp --help
就是这样。 你现在拥有一个完全测试过的 GIMP CLI,107 个测试全部通过。
✅ 9 个应用实战验证
| 软件 | 领域 | 测试通过 | CLI 命令 |
|---|---|---|---|
| GIMP | 图像编辑 | 107 ✅ | cli-anything-gimp |
| Blender | 3D 建模 | 208 ✅ | cli-anything-blender |
| Inkscape | 矢量图形 | 202 ✅ | cli-anything-inkscape |
| Audacity | 音频制作 | 161 ✅ | cli-anything-audacity |
| LibreOffice | 办公套件 | 158 ✅ | cli-anything-libreoffice |
| OBS Studio | 直播流媒体 | 153 ✅ | cli-anything-obs-studio |
| Kdenlive | 视频编辑 | 155 ✅ | cli-anything-kdenlive |
| Shotcut | 视频编辑 | 154 ✅ | cli-anything-shotcut |
| Draw.io | 绘图 | 138 ✅ | cli-anything-drawio |
总计:1,436 个测试,100% 通过率。
🎮 真实世界 Agent 工作流
# 创建专业交付物
cli-anything-libreoffice document new -o report.json --type writer
cli-anything-libreoffice --project report.json writer add-heading -t "Q1 Report" --level 1
cli-anything-libreoffice --project report.json export render output.pdf -p pdf
# 3D 产品可视化
cli-anything-blender scene new --name ProductShot
cli-anything-blender[ProductShot] object add-mesh --type cube --location 0 0 1
cli-anything-blender[ProductShot] render execute --output render.png --engine CYCLES
🔧 为什么 Agent 更适合 CLI 而非 GUI?
- 结构化 & 可组合:文本命令与 LLM 推理完美链式
- 通用性:跨 Windows/Mac/Linux 无依赖
- 自文档化:
--help标志提供自动 API 发现 - 确定性:一致的 JSON 输出消除解析复杂性
- 经证明:Claude Code 每天运行数千 CLI 工作流
🌐 跨行业用例
- 🎨 创意:GIMP、Blender、Inkscape、OBS Studio
- 📊 数据:JupyterLab、Metabase、DBeaver
- 💻 DevOps:Jenkins、Gitea、ArgoCD
- 🏢 企业:LibreOffice、NextCloud、Odoo
- 📐 绘图:Draw.io、Mermaid、PlantUML
📦 生产就绪架构
- 真实集成:真实软件后端 (bpy、GEGL、ODF、MLT)
- 双重交互:有状态 REPL + 子命令脚本
- 零配置安装:
pip install -e .→ PATH 就绪 - 多层测试:1,011 个单元测试 + 425 个 E2E 测试
- Agent 优先设计:每个命令都有
--json标志
🚀 立即开始
git clone https://github.com/HKUDS/CLI-Anything.git
/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything
/cli-anything <your-software-path>
将任何代码库转化为 Agent-Native 工具。 无需 API。无需 GUI 破解。只需结构化 CLI 力量。
⭐ 在 GitHub 上为 CLI-Anything 加星,加入 Agent-Native 未来!
原创文章:
查看原文