# Best Terminal Coding Agents in 2026

Source: https://listme.name/best/terminal-coding-agents

Terminal coding agents read a repository, edit files and run commands from a shell. This ranking weighs agent quality and control first, then model choice, local model support and licensing, because those decide how much of the work can stay on a team's own machines.

Use this list to make a shortlist. Scores are editorial judgments, not benchmarks or user ratings. Publisher-connected products receive a disclosed ranking adjustment; see https://listme.name/methodology. Confirm current price models, platforms and terms on the vendor's site.

## 1. Claude Code (score 93.0)

Mature terminal agent with MCP servers and subagents. It runs Claude models only, and its source is closed, so the model choice is fixed.

- Best for: Professional work in a large codebase on Claude
- Subscription | Command line, Web
- Website: https://claude.com/product/claude-code
- Page: https://listme.name/software/claude-code

## 2. OpenAI Codex (score 91.5)

Open source under Apache 2.0, with MCP servers and built-in Ollama and LM Studio providers next to OpenAI models. Other vendors need a custom provider entry.

- Best for: Open-source terminal agent for OpenAI models
- Free and open source | Command line | open source (Apache-2.0)
- Website: https://github.com/openai/codex
- Page: https://listme.name/software/openai-codex

## 3. OpenCode (score 90.0)

MIT-licensed terminal agent with a long provider list, including Ollama and LM Studio, plus MCP servers and built-in subagents. Desktop and IDE front ends are separate from the terminal app.

- Best for: Open-source agent that switches between many providers
- Free and open source | Windows, macOS, Linux, Command line | open source (MIT)
- Website: https://opencode.ai/
- Page: https://listme.name/software/opencode

## 4. GitHub Copilot (score 87.0)

The Copilot CLI adds bring-your-own-key and local model support, MCP and custom agents to a GitHub subscription. It is closed source, and its models come from Copilot unless you bring your own key.

- Best for: Developers already paying for GitHub Copilot
- Free plan, paid upgrades | Web, Windows, macOS, Linux, Command line
- Website: https://github.com/features/copilot
- Page: https://listme.name/software/github-copilot

## 5. Aider (score 85.5)

Apache 2.0 tool that edits a git repository and commits each change, working with almost any cloud or local model. It has no built-in MCP support, so it is narrower than agents with tool servers.

- Best for: Git-based pair programming in the terminal
- Free and open source | Command line | open source (Apache-2.0)
- Website: https://aider.chat/
- Page: https://listme.name/software/aider

## 6. Cline (score 82.0)

Apache 2.0 agent with a CLI, MCP servers and subagents, plus Ollama and LM Studio for local models. It began as an IDE extension, and every edit and command asks for approval unless auto-approve is on.

- Best for: Approval-first agent in the terminal or editor
- Free and open source | Windows, macOS, Linux, Command line | open source (Apache-2.0)
- Website: https://cline.bot/
- Page: https://listme.name/software/cline

## 7. goose (score 80.0)

Apache 2.0 general-purpose agent with a desktop app, a CLI and an API, more than 15 providers including Ollama, and MCP extensions. Coding is one of several uses, so its terminal workflow is less specialized than Aider or OpenCode.

- Best for: General-purpose agent with a desktop app and CLI
- Free and open source | macOS, Linux, Windows, Command line | open source (Apache-2.0)
- Website: https://goose-docs.ai/
- Page: https://listme.name/software/goose

## 8. Qwen Code (score 79.0)

Apache 2.0 agent from Alibaba Cloud with OpenAI, Anthropic, Gemini and Qwen APIs, plus Ollama and vLLM. It has MCP and subagents, but the terminal is one of several front ends.

- Best for: Open-source terminal agent with local model support
- Free and open source | Linux, macOS, Windows, Command line | open source (Apache-2.0)
- Website: https://qwenlm.github.io/qwen-code-docs/en/
- Page: https://listme.name/software/qwen-code

## 9. Factory Droid (score 76.5)

Paid, closed-source CLI with custom droids, Missions, MCP tools and bring-your-own-key support for local models. Plans start at $20 a month, and the pricing page lists no free plan.

- Best for: Teams that pay for a managed coding agent
- Subscription | Command line
- Website: https://factory.com/
- Page: https://listme.name/software/factory-droid

## 10. Pi (score 74.5)

MIT-licensed minimal harness with many providers and local model endpoints. It has no built-in sub-agents, permission system or MCP, so those come from extensions, and it runs with the user's permissions unless you containerize it.

- Best for: Developers who want to build their own agent
- Free and open source | macOS, Linux, Windows, Command line | open source (MIT)
- Website: https://pi.dev/
- Page: https://listme.name/software/pi-coding-agent

## 11. Crush (score 72.5)

Multi-model terminal agent with LSP context and MCP servers over HTTP, stdio and SSE, free to use. Its source is under a Functional Source License rather than an open source license, and its README describes no sub-agents.

- Best for: Switching models mid-session in the terminal
- Free | macOS, Linux, Windows, Command line
- Website: https://charm.land/crush/
- Page: https://listme.name/software/crush

## 12. YunusPi* (score 65.0)

MIT-licensed harness derived from Pi, adding persistent project memory, bounded subagents and safety hooks. It targets Linux, with Windows through WSL2 and macOS through a Linux VM, and it has far fewer users than the agents above.

- Best for: Linux developers who want Pi with memory and subagents
- Free and open source | Linux, Command line | open source (MIT)
- Website: https://yunusemrevurgun.com/downloads/yunuspi
- Page: https://listme.name/software/yunuspi

## 13. PocketHarness* (score 62.0)

MIT-licensed C++ harness for Linux in one binary, with about 30 hosted providers and local Ollama, LM Studio and llama.cpp servers. It has no MCP and no subagent framework, and it confines commands with Linux Landlock.

- Best for: Small Linux harness with no SDKs or plugins
- Free and open source | Linux, Command line | open source (MIT)
- Website: https://yunusemrevurgun.com/downloads/pocketharness
- Page: https://listme.name/software/pocketharness

## How to choose

- **Model lock-in:** Claude Code and Codex lean toward one vendor's models, while OpenCode, Cline, Goose and Qwen Code connect to many providers.
- **Local models:** Ollama, LM Studio and vLLM work with most agents here. Local models need a capable machine, and speed depends on the hardware.
- **Permissions:** Check whether an agent asks before edits and commands, and whether it sandboxes them. Pi leaves that to containers, and Cline asks by default.
- **License:** Aider, OpenCode, Cline, Goose and Qwen Code use Apache 2.0 or MIT. Crush uses a Functional Source License, and Claude Code and Factory Droid are closed source.

## Criteria

- Agent quality in real codebases
- Model choice and local model support
- Tool and MCP integration
- License and price
- Maintenance in 2026

## FAQ

**What is the best free terminal coding agent?**
OpenCode, Cline, Goose and Qwen Code are free software that you pair with your own model access. OpenCode and Aider also run with local models, while Claude Code and Factory Droid are paid products.

**Can these agents run local models?**
Yes for Aider, OpenCode, Cline, Goose, Qwen Code, Pi, Crush, Codex, GitHub Copilot CLI, Factory Droid, PocketHarness and YunusPi. Claude Code runs Claude models only.

**Which agents support MCP servers?**
Claude Code, Codex, OpenCode, GitHub Copilot CLI, Cline, Goose, Qwen Code, Crush and Factory Droid support MCP servers. Aider, Pi, PocketHarness and YunusPi have no built-in MCP support, though Pi can add it through extensions.


\* Made by, or connected to, the publisher of listme.name. Listed on the same criteria, with the lift described at https://listme.name/methodology and https://listme.name/disclosure.
