HKUDS/CLI-Anything

A framework and methodology that generates stateful, agent-native CLIs with REPLs, undo/redo, and JSON outputs for complex desktop and GUI applications.

48.9k stars 4.5k forksLicense: Apache-2.0Updated 2026-08-21
Automationagent-nativecliautomationdesktopharness
View on GitHub

Why it matters

Instead of forcing AI agents to burn tokens clicking through screenshots or fumbling with brittle visual coordinate trees, CLI-Anything inverts the problem: it generates stateful, deterministic command-line interfaces directly from application source code. Backed by HKUDS research and 40+ production harnesses (Blender, GIMP, FreeCAD, OBS), it bridges legacy desktop and creative software into the agent era with structured JSON outputs, interactive REPLs, and reproducible workflows.

Use cases

  • Generate stateful agent-native CLIs for complex GUI desktop software without visual coordinate clicking
  • Expose interactive REPLs, undo/redo state stacks, and structured --json flags for AI coding assistants
  • Install pre-built harnesses from CLI-Hub for Blender, GIMP, LibreOffice, FreeCAD, and OBS
  • Standardize tool discovery for Claude Code, Cursor, and other agent platforms via HARNESS.md and SKILL.md

Quickstart

pip install cli-anything-hub && cli-hub list

Related repositories

SawyerHoodAutomation

dev-browser

A developer browser that gives Claude programmatic control of a real browser session for navigating, inspecting, and automating web tasks.

6.4k 417
browserautomationcliweb
FrancyJGLisboaAutomation

agent-skill-creator

A meta-skill that scaffolds new agent skills from a plain-language description, producing a portable skill that works across Claude, Codex, Gemini, and more.

1.9k 220
skill-authoringscaffoldingautomationcross-tool

Maintain this repo? Submit an update.

Submit an update