R190 · Agent principles and patterns › Agent interaction protocols

CLI-Anything: generating a tested CLI for any app so agents skip the GUI

Read the original

Authors André Lindenberg (shared)

toolscliskillscoding-agents

Sources: HKUDS/CLI-Anything (GitHub, Apache-2.0, about 61k stars on 2026-11-20); tech report arXiv 2606.03854. Surfaced by André Lindenberg's post.

What it is

A coding-agent plugin from the HKU Data Intelligence Lab. You point /cli-anything at an application's source tree or repo, and the agent builds a Python CLI "harness" for it: a Click-based command tree with a --json flag on every command, a REPL mode, tests and a generated SKILL.md. The pitch is that agents drive software more reliably through commands that return structured output than through screenshots and clicks.

There is a community registry (CLI-Hub, pip install cli-anything-hub, then cli-hub install <name>). The README lists harnesses for GIMP, Blender, Inkscape, Audacity, LibreOffice, OBS, Kdenlive, Draw.io, Zoom, ComfyUI, Ollama, QGIS, FreeCAD, RenderDoc and others, plus machine-control harnesses such as a laser cutter (MeerK40t) with safety-gated jog and preflight commands.

Architecture

Why CLIs instead of GUI agents or MCP

Tradeoffs and failure modes

Review checklist

Connections

See R190 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.