# CLI coding agent

> A coding agent that runs in a terminal as a command, such as `claude`, `codex` or `opencode`, rather than inside an editor.

_Updated November 23, 2026_

Terminal agents work anywhere a shell does: on a laptop, over SSH, inside tmux on a server, in CI. That makes them the natural fit for a remote machine, because the agent and the code live in the same place and nothing has to sync.

Most of them also have a [headless mode](https://envhaven.com/glossary/headless-mode) for scripts, and an MCP client for extra tools. The [agents directory](https://envhaven.com/agents) lists every CLI agent EnvHaven ships, with install commands and settings checked against the binaries.

## Keep reading

- [Headless mode](https://envhaven.com/glossary/headless-mode)
- [tmux](https://envhaven.com/glossary/tmux)
- [SSH](https://envhaven.com/glossary/ssh)
- [AI coding agent](https://envhaven.com/glossary/ai-coding-agent)

Source: https://envhaven.com/glossary/cli-coding-agent
