concept

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.

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.

When to use terminal agent

Common mistakes

FAQ

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 I use terminal agent?

Delegated autonomous engineering tasks. Terminal-first engineering workflows.

What are the most 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.