CLI Tools
12 curated cli tools for AI coding — compare what each one does, how it's priced, and where it fits in an AI-assisted development stack.
Roundup: AI Coding Agents in 2026: The Open-Source & CLI Edition
12 tools
Aider
Open-source terminal AI pair programmer that edits files in your Git repo and auto-commits each change, working with Claude, GPT, and other models you bring.
Codex CLI
OpenAI's open-source terminal coding agent with sandboxed execution and two-layer approval controls.
Crush
Charm's terminal coding agent: nearly any model, including local ones, switched mid-session, with LSP context, MCP and Agent Skills. Source-available (FSL).
Gemini CLI
Google's open-source terminal AI agent powered by Gemini models, with a 1M-token context window and built-in tools.
llama.cpp
The MIT-licensed C/C++ engine behind most local LLM tools: GGUF models, backends for nearly every GPU and CPU, and an OpenAI-compatible server in one binary.
Ollama
An open-source tool that runs open-weight LLMs locally with one command and serves them through OpenAI- and Anthropic-compatible APIs, plus paid cloud models.
OpenCode
The open-source AI coding agent from Anomaly — a terminal TUI plus desktop and mobile apps, with 200+ model providers, parallel sessions, plugins, and MCP.
pgroll
An open-source CLI for zero-downtime, reversible Postgres schema migrations using the expand-contract pattern behind versioned schema views.
Qwen Code
Alibaba Qwen's Apache-2.0 coding agent for the terminal, editor and desktop: OpenAI, Anthropic, Gemini and Qwen APIs, any provider, or local models.
Spec Kit
GitHub's open-source toolkit for spec-driven development — a specify CLI and /speckit slash commands that walk any coding agent from spec to implementation.
Taskmaster (task-master-ai)
Taskmaster (task-master-ai) turns a PRD into dependency-ordered tasks and subtasks that your coding agent works through, from a CLI or an MCP server.