Skip to content
← Back to Glossary

CLI

ai-engineering cli agent-design determinism

A command-line interface is a text-based interface for interacting with software through typed commands.

↑ Contents

Definition

In the context of AI-assisted development, CLI (command-line interface) refers to the deterministic tool layer: shell commands and scripts that an AI agent invokes to produce predictable, reproducible outputs. The model decides when to call a command; the command does the same thing regardless. CLI is also more context-efficient than MCP — a CLI command returns exactly what it returns, with no JSON envelope or protocol overhead.

↑ Contents

Source

↑ Contents