Tooling Published here Reported by GitHub on

A pipeline that generates agent-native CLIs for GIMP, Blender, and FreeCAD — and fails loudly when the real app is missing

CLI-Anything, an Apache-2.0 project from HKUDS, turns software with an available codebase into a command-line interface an agent can drive, and it crossed 66,000 GitHub stars with more than a thousand added in a single day around November 26. The premise is that GUI automation is the wrong layer: rather than teaching an agent to click through Blender, it generates a structured CLI the agent calls directly. A seven-phase automated pipeline reads the source, designs the command architecture, implements a Click-based CLI, writes unit, end-to-end, and subprocess tests, generates documentation, and publishes a pip-installable package. Every generated CLI shares the same contract — a stateful REPL mode for interactive sessions, structured JSON output intended for agent consumption, persistent undo and redo, and deterministic behaviour. Published coverage is 2,464 passing tests across more than 50 applications, including GIMP, Blender, Inkscape, Audacity, Krita, LibreOffice, Joplin, Zotero, Calibre, OBS, Kdenlive, Shotcut, FreeCAD, QGIS, Godot, Draw.io, ComfyUI, Ollama, and NotebookLM. The design rule the project emphasises is authenticity: generated CLIs produce valid project files and delegate rendering to the real application rather than simulating it, and they fail outright rather than degrading gracefully when the backend software is not installed. Distribution runs two ways — consume existing CLIs with `pip install cli-anything-hub`, or generate a new harness by installing a platform plugin and running `/cli-anything ./path-to-software`. Integrations are published for Claude Code, Cursor, Pi, OpenCode, GitHub Copilot CLI, OpenClaw, Codex, Goose, and others, with canonical `SKILL.md` definitions in the monorepo. Windows users need Git Bash or WSL.

Why it matters

Failing loudly when the backend is absent is the design decision that makes this trustworthy, and it is the opposite of what a well-meaning engineer would build. A CLI that degrades gracefully when Blender is missing hands your agent a plausible success for work that never happened — and an agent cannot tell the difference, so the lie propagates into whatever it does next. Hard failure converts a silent correctness bug into a loud environment bug, which is the right trade for anything an agent calls unattended. The strategic point is that this is the third distinct answer this week to "how does an agent operate software," after Cloudflare advertising search endpoints to agents and Cursor standardizing skills plus rules plus MCP as the packaging unit. CLI-Anything picks the oldest and most boring interface available, and boring is doing a lot of work here: a CLI with JSON output and undo is deterministic, diffable, testable, and does not break when a toolbar moves, which is the entire failure mode of computer-use agents on desktop applications. Weigh the generation claim carefully, though. Machine-generated CLIs over 50+ codebases means the coverage is broad and the depth per application is unaudited, and 2,464 tests spread across that surface is thin per app. The right mental model is a very good scaffold you verify, not a vendor-supported API.

What to do

Replace computer-use automation with a generated CLI wherever your agent currently drives a desktop application through screenshots, because coordinate-and-pixel control is the most brittle interface available and a JSON-emitting command is the most testable. Read the generated commands for your specific application before you trust them, since depth per app is the unverified dimension and the generator wrote the tests as well as the code. Copy the fail-hard-on-missing-backend rule into your own agent tools today — an agent tool that returns a cheerful result when its dependency is absent is strictly worse than one that errors, and most hand-written tools default to the former. Keep the JSON-output-plus-undo contract as your house standard for agent-facing commands, as persistent undo is what makes an unattended run recoverable rather than archaeological. Pin and vendor the CLIs you depend on rather than tracking a fast-moving monorepo at 66,000 stars, and run them in a container with the real application installed so the hard failure happens in CI instead of production. And if you ship a desktop tool, note that someone will generate this interface for you whether or not you publish one — doing it yourself is how you keep it correct.

Tags: Open Source Agents Tool Use Developer Tools

More from November 27, 2026

All AI news