Terminal agents
Agents you start in a shell, in your repository, that use the tools already installed on your machine.
How they work
A terminal agent runs where you run git and your test suite. It reads files in the current directory, runs commands you could run, and shows its tool calls and diffs as it goes. Claude Code, OpenAI’s Codex CLI, Gemini CLI and OpenCode all work this way, and most now also ship editor extensions or desktop apps that drive the same loop.
Because they’re command-line programs, they also run without a person: claude -p, codex exec, gemini -p and opencode run take one prompt, work, and exit, so they fit into scripts and CI jobs. The trade-off is that they act on your real machine, so permission rules and an OS sandbox matter more than for a cloud agent with its own VM. When you close the laptop, the work stops.
Technologies
What all ai coding agents have in common →Terminal agents
Gemini CLICommercialGoogle’s open-source terminal agent for Gemini models; since 18 June 2026 it serves only paid API keys and business licences, as Google moved free and consumer users to Antigravity CLI.| Terminal agents | Commercial product | Anthropic | Proprietary | 2026-10-09 | |
Gemini CLI | Terminal agents | Commercial product | Apache 2.0 | 2026-10-09 | |
| Terminal agents | Commercial product | OpenAI | Apache 2.0 (CLI) | 2026-10-09 | |
| Terminal agents | Open source | Anomaly Innovations | MIT | 2026-10-09 | |
| Also terminal agents | Open source | Warp | AGPL 3.0 (UI framework crates MIT) | 2026-10-09 |
Worth exploring
All resources →Sources
- Claude Code docs: How Claude Code works (the agentic loop, what Claude can access)
- Claude Code docs: Overview (pipe, script and automate with `claude -p`)
- Codex docs: Codex CLI (`codex exec` for scripts and CI)
- Gemini CLI README (headless mode, built-in tools)
- OpenCode docs: Intro (terminal interface, desktop app, IDE extension)
- Cognition: Devin in Windsurf, on local and cloud agents (Apr 2026)