SuperAPI AI Directory

Uni-CLI

Uni-CLI is a unified command-line interface designed for humans and AI agents, aiming to search, run, and inspect real software operations across APIs, browsers, desktop applications, local tools, and MCP through a single command. It provides an operation catalog, structured output, and error-repair mechanisms, supports agents in executing tasks non-interactively, and emphasizes operation contracts and trust boundaries.

Open website

About this tool

Uni-CLI is a command-line tool designed to provide a unified interface for human users and AI agents to search, run, and inspect software operations across multiple environments, including websites, browsers, desktop applications, local tools, and MCP (Model Context Protocol). Its core philosophy is "one command for all interfaces": by describing a task, inspecting the selected operation, and running it, users or agents can obtain structured data or actionable error information.

In terms of main capabilities, Uni-CLI provides an operation catalog to identify available operations and their parameters, uses declared interfaces during execution, and confines actions to the target scope. Each invocation runs one provider, and on failure it preserves the original cause and repair command. It supports piped output defaulting to Markdown, and stable machine formats can also be obtained via -f json, yaml, csv, or compact. The tool contains 1896 registered commands and 113 pipeline actions, with fixed core commands combined at runtime with host-discovered commands.

In terms of usage, users can install via npm (requires Node.js 22.19 or later) and then use the command line to search, run, and inspect operations. For agents, Uni-CLI provides MCP integration; the default configuration file exposes four meta-tools, and the live projection can be checked via unicli mcp health -f json. Desktop operations prioritize accessibility references, and the visual route requires explicitly selecting a backend.

Applicable scenarios include: when AI agents need to execute tasks across multiple interfaces, using Uni-CLI as a unified entry point; when developers need to inspect or repair adapter drift, using the repair and evolve commands; and when structured output is needed for automated processing, using JSON/YAML/CSV formats.

Limitations and trust boundaries: live browser cookies are kept in process memory unless the user explicitly runs auth import or browser cookies; browser automation uses a profile owned by Uni-CLI (~/.unicli/); permission rules authorize before browser, file, clipboard, subprocess, or desktop side effects; invocation diagnostics exclude parameters, content, URLs, credentials, and raw errors, and users can disable new events via UNICLI_NO_LOG=1. Repair operations do not edit source code or Git state, but rerun the original command as a bounded subprocess. The evolve adapter feature requires providing an isolated YAML candidates and falsifiable predictions, which are installed as user overrides only after paired evaluation and promotion gating.