CLI coding agent
A CLI coding agent is a coding agent you invoke from the command line. It works on the repository in your current directory, uses your real toolchain, and returns changes as edits and a summary rather than as suggestions in an editor.
The CLI framing matters for more than preference. A command-line tool composes: it can run inside a container, over SSH on a remote machine, in a git worktree, or as a step in a script. An editor-bound agent can do none of that.
It also means the agent inherits your environment exactly — the same Node version, the same env vars, the same database connection. Fewer things differ between what the agent sees and what production sees.
What this means in practice
Claude Code is the CLI agent we cover. If you work on remote machines or inside containers regularly, this composability is usually the deciding factor over any feature comparison with editor-based tools.
Prompts for the tools this applies to
Related terms
- Terminal AI agent
A terminal AI agent runs in your shell rather than inside an editor.
- Headless agent
A headless agent runs without an interactive interface — invoked by a script, a CI job, or a scheduler rather than a person typing.
- Coding agent
A coding agent is an AI system that carries out programming tasks end to end: reading a codebase, editing multiple files, running commands, and reacting to the output.