Terminal agent
A terminal agent is an AI coding assistant that runs in the user's terminal — Claude Code, Aider, OpenAI Codex CLI — interacting with the file system and shell rather than an IDE editor.
In more detail
What it means
Terminal agents in 2026 are the engineer's choice for delegated work — "run the tests, fix the failures, open a PR". The interaction model: user types a task, agent reads relevant files, plans, edits files, runs shell commands, reports. Differs from IDE agents in that there's no editor surface — diffs are previewed in the terminal, no inline autocomplete. Claude Code is the production leader for Anthropic-native; Aider is the OSS leader; OpenAI Codex (2026) is the cloud-based alternative. Best for engineers comfortable in CLI who want delegation rather than IDE autocomplete.
Part 1 of 2
When to use it, and when not
Use it for
- Delegated autonomous engineering tasks.
- Terminal-first engineering workflows.
Part 2 of 2
Common mistakes
- Letting terminal agents run destructive commands without confirmation.
- No log retention — losing the trace of what the agent did.
FAQ
Questions readers ask.
What is terminal agent?
A terminal agent is an AI coding assistant that runs in the user's terminal — Claude Code, Aider, OpenAI Codex CLI — interacting with the file system and shell rather than an IDE editor.
When should you use terminal agent?
Delegated autonomous engineering tasks. Terminal-first engineering workflows.
What are the common mistakes with terminal agent?
Letting terminal agents run destructive commands without confirmation. No log retention — losing the trace of what the agent did.
Last updated: 2026-06-01. Raw markdown: https://promtable.com/glossary/terminal-agent.md. Found a mistake? Tell us.