{
    "slug": "terminal-coding-agents",
    "name": "Terminal coding agents",
    "title": "Best Terminal Coding Agents in 2026",
    "category": "ai",
    "filter": null,
    "available_filters": [
        "free",
        "open-source",
        "windows",
        "macos",
        "linux"
    ],
    "page": "https://listme.name/best/terminal-coding-agents",
    "json": "https://listme.name/api/v1/lists/terminal-coding-agents.json",
    "updated": "2026-11-01",
    "intro": "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.",
    "criteria": [
        "Agent quality in real codebases",
        "Model choice and local model support",
        "Tool and MCP integration",
        "License and price",
        "Maintenance in 2026"
    ],
    "specs": [
        {
            "key": "providers",
            "label": "Model providers",
            "type": "text"
        },
        {
            "key": "local_models",
            "label": "Local models",
            "type": "bool"
        },
        {
            "key": "mcp",
            "label": "Built-in MCP support",
            "type": "bool"
        }
    ],
    "how_to_choose": [
        {
            "point": "Model lock-in",
            "detail": "Claude Code and Codex lean toward one vendor's models, while OpenCode, Cline, Goose and Qwen Code connect to many providers."
        },
        {
            "point": "Local models",
            "detail": "Ollama, LM Studio and vLLM work with most agents here. Local models need a capable machine, and speed depends on the hardware."
        },
        {
            "point": "Permissions",
            "detail": "Check whether an agent asks before edits and commands, and whether it sandboxes them. Pi leaves that to containers, and Cline asks by default."
        },
        {
            "point": "License",
            "detail": "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."
        }
    ],
    "faq": [
        {
            "q": "What is the best free terminal coding agent?",
            "a": "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."
        },
        {
            "q": "Can these agents run local models?",
            "a": "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."
        },
        {
            "q": "Which agents support MCP servers?",
            "a": "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."
        }
    ],
    "entries": [
        {
            "rank": 1,
            "score": 93,
            "verdict": "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",
            "spec": {
                "providers": "Claude models through Anthropic or cloud hosts",
                "local_models": false,
                "mcp": true
            },
            "product": {
                "slug": "claude-code",
                "name": "Claude Code",
                "kind": "app",
                "website": "https://claude.com/product/claude-code",
                "page": "https://listme.name/software/claude-code",
                "tagline": "Anthropic's agentic coding tool for the terminal, IDE, Slack and web",
                "summary": "Claude Code is Anthropic's agentic coding tool. It reads a codebase, edits files, runs commands and works through bug fixes, tests and migrations, from a terminal, an IDE, Slack or the web.",
                "developer": "Anthropic",
                "platforms": [
                    "cli",
                    "web"
                ],
                "pricing": "subscription",
                "price_note": "Included in Claude Pro and Max plans; no separate free tier is listed",
                "free_to_use": false,
                "open_source": false,
                "strengths": [
                    "Works from the terminal, an IDE, Slack and the web",
                    "Edits files and runs commands in a project",
                    "Included in Pro and Max plans"
                ],
                "limits": [
                    "Needs a paid Claude plan",
                    "Heavier use needs Max, which costs more"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 2,
            "score": 91.5,
            "verdict": "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",
            "spec": {
                "providers": "OpenAI models plus custom OpenAI-compatible providers",
                "local_models": true,
                "mcp": true
            },
            "product": {
                "slug": "openai-codex",
                "name": "OpenAI Codex",
                "kind": "app",
                "website": "https://github.com/openai/codex",
                "page": "https://listme.name/software/openai-codex",
                "tagline": "OpenAI's open-source coding agent for the terminal",
                "summary": "OpenAI Codex is a coding agent from OpenAI that runs locally in the terminal. Its Codex CLI is open source under the Apache-2.0 license and is published on GitHub.",
                "developer": "OpenAI",
                "platforms": [
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "Open-source CLI under Apache-2.0; README covers use with a ChatGPT plan",
                "free_to_use": true,
                "open_source": true,
                "license": "Apache-2.0",
                "source": "https://github.com/openai/codex",
                "strengths": [
                    "Apache-2.0 licensed with source on GitHub",
                    "Runs locally in the terminal",
                    "README covers installation and quickstart"
                ],
                "limits": [
                    "Terminal-only interface",
                    "Tied to OpenAI sign-in and model access"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 3,
            "score": 90,
            "verdict": "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",
            "spec": {
                "providers": "Many hosted and local providers, including Ollama",
                "local_models": true,
                "mcp": true
            },
            "product": {
                "slug": "opencode",
                "name": "OpenCode",
                "kind": "app",
                "website": "https://opencode.ai/",
                "page": "https://listme.name/software/opencode",
                "tagline": "Open-source AI coding agent for the terminal, IDE and desktop",
                "summary": "OpenCode is an MIT-licensed coding agent from Anomaly that runs in the terminal, in an IDE or as a desktop app. Free models are included, and models from other providers can be connected. Its source is on GitHub.",
                "developer": "Anomaly",
                "platforms": [
                    "windows",
                    "macos",
                    "linux",
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "MIT-licensed and free to install; free models included, with separate Zen and Enterprise offerings",
                "free_to_use": true,
                "open_source": true,
                "license": "MIT",
                "source": "https://github.com/anomalyco/opencode",
                "strengths": [
                    "MIT-licensed with a large public repository",
                    "Works in the terminal, IDE and desktop app",
                    "Connects models from many providers"
                ],
                "limits": [
                    "Results depend on the model connected",
                    "Hosted offerings are separate from the free software"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 4,
            "score": 87,
            "verdict": "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",
            "spec": {
                "providers": "Copilot-hosted models, or your own keys (BYOK)",
                "local_models": true,
                "mcp": true
            },
            "product": {
                "slug": "github-copilot",
                "name": "GitHub Copilot",
                "kind": "app",
                "website": "https://github.com/features/copilot",
                "page": "https://listme.name/software/github-copilot",
                "tagline": "GitHub's AI coding assistant and agent for editors, CLI and GitHub",
                "summary": "GitHub Copilot is GitHub's AI coding assistant and agent. It works in VS Code, a desktop app, the Copilot CLI and GitHub.com, and has a Free plan along with paid Pro, Pro+ and Max plans.",
                "developer": "GitHub",
                "platforms": [
                    "web",
                    "windows",
                    "macos",
                    "linux",
                    "cli"
                ],
                "pricing": "freemium",
                "price_note": "Free plan; Pro $10 a month; Pro+ $39 a month; Max $100 a month",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Works in VS Code and on GitHub.com",
                    "Agents can move an issue to a pull request",
                    "Free plan is available"
                ],
                "limits": [
                    "Usage is measured in GitHub AI Credits, which adds a metered cost",
                    "Works best for code already hosted on GitHub"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 5,
            "score": 85.5,
            "verdict": "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",
            "spec": {
                "providers": "Almost any cloud or local model",
                "local_models": true,
                "mcp": false
            },
            "product": {
                "slug": "aider",
                "name": "Aider",
                "kind": "app",
                "website": "https://aider.chat/",
                "page": "https://listme.name/software/aider",
                "tagline": "Open-source terminal tool for pair programming with LLMs",
                "summary": "Aider is an open-source terminal tool for AI pair programming. It edits code in a local git repository, commits each change and connects to cloud or local language models. It is Apache 2.0 licensed.",
                "platforms": [
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "Free and Apache 2.0 licensed; model costs depend on the provider",
                "free_to_use": true,
                "open_source": true,
                "license": "Apache-2.0",
                "source": "https://github.com/Aider-AI/aider",
                "strengths": [
                    "Apache 2.0 licensed with source on GitHub",
                    "Commits each AI change to git",
                    "Works with cloud and local models"
                ],
                "limits": [
                    "Terminal-first, with no graphical editor",
                    "Model cost and speed depend on the provider"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 6,
            "score": 82,
            "verdict": "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",
            "spec": {
                "providers": "Many hosted providers, plus Ollama and LM Studio",
                "local_models": true,
                "mcp": true
            },
            "product": {
                "slug": "cline",
                "name": "Cline",
                "kind": "app",
                "website": "https://cline.bot/",
                "page": "https://listme.name/software/cline",
                "tagline": "Open-source coding agent for desktop, IDE, terminal and SDK",
                "summary": "Cline is an open-source coding agent that runs as a desktop app, an IDE extension, a command-line tool and an SDK. Its code is released under the Apache 2.0 license and is hosted on GitHub.",
                "developer": "Cline Bot Inc.",
                "platforms": [
                    "windows",
                    "macos",
                    "linux",
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "Free and open source under Apache 2.0; the site also lists Enterprise options",
                "free_to_use": true,
                "open_source": true,
                "license": "Apache-2.0",
                "source": "https://github.com/cline/cline",
                "strengths": [
                    "Apache 2.0 license with source on GitHub",
                    "Plan and Act modes separate proposing from running",
                    "Works with any model the user connects"
                ],
                "limits": [
                    "Model costs depend on the provider the user connects",
                    "The agent can run bash commands, so permissions need care"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 7,
            "score": 80,
            "verdict": "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",
            "spec": {
                "providers": "15+ providers, including Anthropic, OpenAI and Ollama",
                "local_models": true,
                "mcp": true
            },
            "product": {
                "slug": "goose",
                "name": "goose",
                "kind": "app",
                "website": "https://goose-docs.ai/",
                "page": "https://listme.name/software/goose",
                "tagline": "Open-source AI agent with desktop, CLI and API",
                "summary": "goose is an open source AI agent from the Agentic AI Foundation at the Linux Foundation. It runs as a desktop app, a command-line tool and an API, works with more than 15 model providers and connects to tools through MCP extensions.",
                "developer": "Agentic AI Foundation (Linux Foundation)",
                "platforms": [
                    "macos",
                    "linux",
                    "windows",
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "Apache 2.0 software; model providers bill separately",
                "free_to_use": true,
                "open_source": true,
                "license": "Apache-2.0",
                "source": "https://github.com/aaif-goose/goose",
                "strengths": [
                    "Desktop app, CLI and API from one project",
                    "Connects to Ollama and more than 15 providers",
                    "Extensions over MCP, with more than 70 listed"
                ],
                "limits": [
                    "Coding is one part of a general-purpose agent"
                ],
                "checked": "2026-11-01",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 8,
            "score": 79,
            "verdict": "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",
            "spec": {
                "providers": "OpenAI, Anthropic, Gemini, Qwen APIs, Ollama, vLLM",
                "local_models": true,
                "mcp": true
            },
            "product": {
                "slug": "qwen-code",
                "name": "Qwen Code",
                "kind": "app",
                "website": "https://qwenlm.github.io/qwen-code-docs/en/",
                "page": "https://listme.name/software/qwen-code",
                "tagline": "Open-source coding agent for the terminal and editors",
                "summary": "Qwen Code is an open source AI coding agent from Alibaba Cloud that runs in the terminal, with IDE integrations and a desktop app. It supports OpenAI, Anthropic, Gemini and Qwen APIs, along with local model servers such as Ollama and vLLM.",
                "developer": "Alibaba Cloud",
                "platforms": [
                    "linux",
                    "macos",
                    "windows",
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "Apache 2.0 software; model access depends on the provider you set",
                "free_to_use": true,
                "open_source": true,
                "license": "Apache-2.0",
                "source": "https://github.com/QwenLM/qwen-code",
                "strengths": [
                    "Apache 2.0 licensed terminal agent",
                    "Switch model providers at runtime",
                    "MCP servers and subagents built in"
                ],
                "limits": [
                    "Several front ends make the project broad rather than deep"
                ],
                "checked": "2026-11-01",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 9,
            "score": 76.5,
            "verdict": "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",
            "spec": {
                "providers": "Factory-managed models, or your own keys (BYOK)",
                "local_models": true,
                "mcp": true
            },
            "product": {
                "slug": "factory-droid",
                "name": "Factory Droid",
                "kind": "app",
                "website": "https://factory.com/",
                "page": "https://listme.name/software/factory-droid",
                "tagline": "Paid coding agent CLI with custom droids and BYOK",
                "summary": "Factory Droid is a paid coding agent from Factory that runs as the Droid CLI in a terminal. It supports MCP servers, custom droids and hooks, and lets users connect their own OpenAI or Anthropic keys or run local models.",
                "developer": "Factory",
                "platforms": [
                    "cli"
                ],
                "pricing": "subscription",
                "price_note": "Paid plans from $20 a month on the pricing page",
                "free_to_use": false,
                "open_source": false,
                "strengths": [
                    "Custom droids for scoped subagent work",
                    "Bring your own keys, including local models",
                    "Missions and headless exec mode"
                ],
                "limits": [
                    "Paid subscription with no free plan on the pricing page",
                    "Closed source"
                ],
                "checked": "2026-11-01",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 10,
            "score": 74.5,
            "verdict": "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",
            "spec": {
                "providers": "Many hosted providers, plus local endpoints",
                "local_models": true,
                "mcp": false
            },
            "product": {
                "slug": "pi-coding-agent",
                "name": "Pi",
                "kind": "app",
                "website": "https://pi.dev/",
                "page": "https://listme.name/software/pi-coding-agent",
                "tagline": "Minimal extensible coding agent with an MIT license",
                "summary": "Pi is a minimal coding agent for the terminal, published under the MIT license by Mario Zechner. It ships without built-in sub-agents, plan mode or a permission system, and gains features through extensions, skills and installable packages.",
                "developer": "Mario Zechner",
                "platforms": [
                    "macos",
                    "linux",
                    "windows",
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "MIT software; model providers bill separately",
                "free_to_use": true,
                "open_source": true,
                "license": "MIT",
                "source": "https://github.com/earendil-works/pi",
                "strengths": [
                    "MIT licensed and small enough to adapt",
                    "Extensions, skills and packages add behavior",
                    "Local model servers can be added as endpoints"
                ],
                "limits": [
                    "No built-in permission system or sandbox",
                    "Sub-agents and plan mode must be added"
                ],
                "checked": "2026-11-01",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 11,
            "score": 72.5,
            "verdict": "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",
            "spec": {
                "providers": "Any OpenAI- or Anthropic-compatible API",
                "local_models": true,
                "mcp": true
            },
            "product": {
                "slug": "crush",
                "name": "Crush",
                "kind": "app",
                "website": "https://charm.land/crush/",
                "page": "https://listme.name/software/crush",
                "tagline": "Terminal coding agent from Charm with LSP and MCP support",
                "summary": "Crush is a terminal coding agent from Charm that works with many LLMs and can switch models mid-session. It uses language servers for code context, adds tools through MCP over HTTP, stdio or SSE, and installs through Homebrew, npm and other package managers.",
                "developer": "Charm",
                "platforms": [
                    "macos",
                    "linux",
                    "windows",
                    "cli"
                ],
                "pricing": "free",
                "price_note": "Free to use; source under FSL-1.1-MIT, model access billed separately",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Switch models mid-session, keeping context",
                    "Language server context and MCP tools",
                    "Runs on macOS, Linux and Windows"
                ],
                "limits": [
                    "Source is under a Functional Source License, not OSI",
                    "README describes no sub-agent feature"
                ],
                "checked": "2026-11-01",
                "connected_to_publisher": false
            }
        },
        {
            "rank": 12,
            "score": 65,
            "verdict": "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",
            "spec": {
                "providers": "Models and providers you configure with your own keys",
                "local_models": true,
                "mcp": false
            },
            "product": {
                "slug": "yunuspi",
                "name": "YunusPi",
                "kind": "app",
                "website": "https://yunusemrevurgun.com/downloads/yunuspi",
                "page": "https://listme.name/software/yunuspi",
                "tagline": "Coding-agent harness with project memory and bounded subagents",
                "summary": "YunusPi is a terminal coding-agent harness, historically derived from the Pi coding agent, that adds persistent project memory, bounded subagents, an advisory layer, safety hooks and cost accounting. You bring your own model provider and credentials. Open source (MIT), by Yunus Emre Vurgun.",
                "developer": "Yunus Emre Vurgun",
                "platforms": [
                    "linux",
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "Free and open source under the MIT license; you pay your model provider",
                "free_to_use": true,
                "open_source": true,
                "license": "MIT",
                "source": "https://github.com/yunusemrejr/yunuspi",
                "strengths": [
                    "Tools and skills load on demand, keeping the starting context small",
                    "Persistent project memory across sessions",
                    "Bounded subagents for parallel work under one responsible agent",
                    "Works with your own model provider and credentials"
                ],
                "limits": [
                    "Linux only; Windows and macOS need WSL2 or a Linux VM",
                    "Long dependency list, from Node.js 22 to bubblewrap",
                    "One developer and a small user base"
                ],
                "checked": "2026-11-01",
                "connected_to_publisher": true
            }
        },
        {
            "rank": 13,
            "score": 62,
            "verdict": "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",
            "spec": {
                "providers": "About 30 hosted services, plus local servers",
                "local_models": true,
                "mcp": false
            },
            "product": {
                "slug": "pocketharness",
                "name": "PocketHarness",
                "kind": "app",
                "website": "https://yunusemrevurgun.com/downloads/pocketharness",
                "page": "https://listme.name/software/pocketharness",
                "tagline": "Tiny coding-agent harness for Linux in one C++ binary",
                "summary": "PocketHarness is a coding agent for the Linux terminal built as one C++20 binary, with a chat interface, slash commands and autonomous goals. The model gets five tools (read, write, edit, bash and skill), and commands are confined with Linux kernel features. Open source (MIT), by Yunus Emre Vurgun.",
                "developer": "Yunus Emre Vurgun",
                "platforms": [
                    "linux",
                    "cli"
                ],
                "pricing": "open-source",
                "price_note": "Free and open source under the MIT license; you pay your model provider",
                "free_to_use": true,
                "open_source": true,
                "license": "MIT",
                "source": "https://github.com/yunusemrejr/pocketharness",
                "strengths": [
                    "One C++ binary that builds with only g++, make and curl",
                    "Commands confined by Landlock, with no privilege gain",
                    "Works with about 30 hosted providers and local model servers",
                    "Five model tools keep prompts and context small"
                ],
                "limits": [
                    "Linux x86_64 only",
                    "No MCP, plugins or subagents, by design",
                    "One developer and a small user base"
                ],
                "checked": "2026-11-01",
                "connected_to_publisher": true
            }
        }
    ],
    "notes": [
        "Scores are editorial, 0 to 100. Entries with product.connected_to_publisher true are made by or connected to the publisher and receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}