Terminal AI agent
Also called CLI AI agent
A terminal AI agent runs in your shell rather than inside an editor. Because it has the same access you do, it can install dependencies, run migrations, drive git, and execute your test suite, which lets it take on tasks that editor-based tools cannot complete on their own.
The shell is the whole advantage. An editor agent can suggest that you run a migration; a terminal agent runs it, reads the error, and fixes the schema. That closes a loop that otherwise requires you in the middle of it.
The cost is visibility. You review a diff after the work rather than watching each change land in the file you were looking at, and there is no inline completion at all. It is a delegation tool, not a typing accelerator.
What this means in practice
Claude Code is the mature option here. It runs fine inside the integrated terminal of Cursor or Windsurf, which is how most people combine an editor assistant with a terminal agent rather than choosing between them.
Prompts for the tools this applies to
Related terms
- CLI coding agent
A CLI coding agent is a coding agent you invoke from the command line.
- 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.
- Agentic coding
Agentic coding is using an AI tool that plans and executes a whole task in your codebase rather than completing one line at a time.