Agent CLI Comparison

Get Started

Compare the most popular AI agent CLIs. Find the right tool for your workflow — whether you prefer terminal-native, IDE-integrated, or open-source solutions.

Agent CLI Comparison

CLIKey Features
Claude Code

Anthropic's agentic coding CLI. Operates directly in your terminal with full project awareness. Reads, writes, and edits code across your entire codebase. Supports custom slash commands, IDE integrations, and MCP servers for extended capabilities.

Full codebase contextTerminal + editor integrationGit-aware operations+3
Codex

OpenAI's agentic coding tool combining a terminal CLI with a desktop pet interface. Supports multi-model routing, custom skill creation, built-in image generation, and sandboxed code execution. Distinctive for its playful desktop companion (Codex Pets).

Desktop pet UI + CLIMulti-model supportCustom skills & plugins+3
GitHub Copilot CLI

GitHub's CLI companion for Copilot. Deeply integrated with GitHub workflows — PR reviews, issue management, shell command generation. Works alongside the VS Code Copilot extension for a unified experience across terminal and editor.

Native GitHub integrationPR review & generationShell command suggestions+2
Gemini CLI

Google's CLI for Gemini models. Supports ultra-long context windows (1M+ tokens), multi-modal inputs including images, and tight integration with Google Cloud and Vertex AI. Ideal for large codebase analysis and cloud-native workflows.

Google Cloud integrationMulti-modal (text + image input)Long context (1M+ tokens)+2
opencode

Open-source agentic CLI framework with a rich skills ecosystem. Provider-agnostic — works with Anthropic, OpenAI, Google, and local models. Supports MCP servers, custom subagents, plugin extensions, and a growing community skill library.

Multi-provider (Anthropic, OpenAI, Google, open source)Skills ecosystemMCP support+3
Cursor

Cursor is a VS Code-based IDE with deeply integrated AI. Features inline editing, multi-file composer agent, and full codebase context. Popular for its speed and the seamless blend of traditional IDE with agentic capabilities. Not a standalone CLI — runs as a full IDE.

Full IDE (VS Code fork)Inline AI edits (Cmd+I)Composer (multi-file agent)+3
Windsurf

Windsurf is Codeium's AI-native IDE based on VS Code. The Cascade agent handles multi-file reasoning and edits. Known for fast autocomplete and competitive pricing. Like Cursor, runs as a full IDE rather than a standalone CLI.

Full IDE (VS Code fork)Cascade agent (multi-file)Supercomplete (full-line AI)+2
Amazon Q CLI

Amazon Q CLI is AWS's agentic coding tool tailored for cloud developers. Deeply integrated with AWS services — generates infrastructure-as-code, scans for security issues, transforms codebases, and understands your AWS environment natively.

AWS service integrationInfrastructure-as-code genSecurity scanning+2
Aider

Aider is a top-ranked open-source AI pair programming tool. Known for its exceptional benchmark scores on SWE-bench. Works directly in your terminal, makes git-committed changes across multiple files, and supports virtually every LLM provider.

Best-in-class code editing benchmarkMulti-file git-aware editsVoice coding support+2
Continue

Continue is an open-source AI code assistant that works as a VS Code or JetBrains extension. Fully model-agnostic — works with OpenAI, Anthropic, Google, and local models. Supports custom slash commands, context providers, and model routing.

IDE extension (VS Code + JetBrains)Custom slash commandsLocal model support (Ollama, LM Studio)+2
Cody

Cody by Sourcegraph leverages the company's code search engine for deep codebase context. Understands your entire repository, not just open files. Supports Claude, GPT, and Gemini models with custom commands for repetitive workflows.

Codebase-wide context (Sourcegraph index)Multi-model (Claude, GPT, Gemini)Custom commands+2
Tabby

Tabby is a self-hosted, open-source AI coding assistant. All code stays on your infrastructure. Supports local models for privacy-conscious teams. Provides code completion and chat via IDE extensions without sending code to external APIs.

Self-hosted AI coding assistantCode completionLocal models (no data leaves your machine)+2
PearAI

PearAI is an open-source AI-powered IDE built on VS Code. Supports multiple AI providers and local models. Focused on transparency and user control — you bring your own API keys and choose your preferred model.

VS Code fork IDEMulti-model supportOpen source+2
v0

v0 by Vercel is a generative UI tool that creates React components from natural language. Generates production-ready Tailwind and shadcn/ui code. Browser-based — no IDE needed. Ideal for rapid prototyping and frontend development.

UI generation from text promptsReact + Tailwind + shadcn/ui outputIterative refinement+2
Bolt.new

Bolt.new by StackBlitz generates and runs full-stack web apps entirely in the browser using WebContainers. Prompt an idea → get a running app with Node.js backend, npm packages, and instant deployment. No local setup required.

Full-stack app generationIn-browser execution (WebContainers)Instant deployment+2

Install Guides

Quick setup for each agent CLI. Copy the install command to get started in seconds.

Claude Code

Anthropic

Anthropic's agentic coding CLI. Operates directly in your terminal with full project awareness. Reads, writes, and edits code across your entire codebase. Supports custom slash commands, IDE integrations, and MCP servers for extended capabilities.

Install
npm install -g @anthropic-ai/claude-code
Auth Setup

Run `claude auth` and paste your Anthropic API key, or set ANTHROPIC_API_KEY env var.

Quick Start$ claude
Docs

Codex

OpenAI

OpenAI's agentic coding tool combining a terminal CLI with a desktop pet interface. Supports multi-model routing, custom skill creation, built-in image generation, and sandboxed code execution. Distinctive for its playful desktop companion (Codex Pets).

Install
npm install -g @openai/codex
Auth Setup

Run `codex auth` and authenticate with your OpenAI account, or set OPENAI_API_KEY.

Quick Start$ codex
Docs

GitHub Copilot CLI

GitHub / Microsoft

GitHub's CLI companion for Copilot. Deeply integrated with GitHub workflows — PR reviews, issue management, shell command generation. Works alongside the VS Code Copilot extension for a unified experience across terminal and editor.

Install
npm install -g @github/copilot-cli
Auth Setup

Run `gh auth login` to authenticate with your GitHub account. Requires GitHub Copilot subscription for full features.

Quick Start$ gh copilot suggest 'explain this repo'
Docs

Gemini CLI

Google

Google's CLI for Gemini models. Supports ultra-long context windows (1M+ tokens), multi-modal inputs including images, and tight integration with Google Cloud and Vertex AI. Ideal for large codebase analysis and cloud-native workflows.

Install
npm install -g @google/gemini-cli
Auth Setup

Run `gemini auth` and authenticate with your Google Cloud project, or set GOOGLE_API_KEY.

Quick Start$ gemini
Docs

opencode

Open Source Community

Open-source agentic CLI framework with a rich skills ecosystem. Provider-agnostic — works with Anthropic, OpenAI, Google, and local models. Supports MCP servers, custom subagents, plugin extensions, and a growing community skill library.

Install
npm install -g opencode
Auth Setup

Set ANTHROPIC_API_KEY or OPENAI_API_KEY env var. Supports multiple providers via config.

Quick Start$ opencode
Docs

Cursor

Cursor Inc

Cursor is a VS Code-based IDE with deeply integrated AI. Features inline editing, multi-file composer agent, and full codebase context. Popular for its speed and the seamless blend of traditional IDE with agentic capabilities. Not a standalone CLI — runs as a full IDE.

Install
Download from cursor.com
Auth Setup

Sign in with email or GitHub account. API usage included in subscription plans.

Quick Start$ Open Cursor IDE, Cmd+I for inline AI, Cmd+K for composer
Docs

Windsurf

Codeium

Windsurf is Codeium's AI-native IDE based on VS Code. The Cascade agent handles multi-file reasoning and edits. Known for fast autocomplete and competitive pricing. Like Cursor, runs as a full IDE rather than a standalone CLI.

Install
Download from codeium.com/windsurf
Auth Setup

Sign in with Codeium account (email or GitHub). Free tier available with rate limits.

Quick Start$ Open Windsurf IDE, use Cascade agent for multi-file edits
Docs

Amazon Q CLI

AWS

Amazon Q CLI is AWS's agentic coding tool tailored for cloud developers. Deeply integrated with AWS services — generates infrastructure-as-code, scans for security issues, transforms codebases, and understands your AWS environment natively.

Install
npm install -g @aws/amazon-q-cli
Auth Setup

Run `q auth` and authenticate with your AWS account via AWS Builder ID or IAM Identity Center.

Quick Start$ q chat
Docs

Aider

Open Source

Aider is a top-ranked open-source AI pair programming tool. Known for its exceptional benchmark scores on SWE-bench. Works directly in your terminal, makes git-committed changes across multiple files, and supports virtually every LLM provider.

Install
pip install aider-chat
Auth Setup

Set OPENAI_API_KEY or ANTHROPIC_API_KEY env var. Supports many LLM providers.

Quick Start$ aider
Docs

Continue

Continue Dev

Continue is an open-source AI code assistant that works as a VS Code or JetBrains extension. Fully model-agnostic — works with OpenAI, Anthropic, Google, and local models. Supports custom slash commands, context providers, and model routing.

Install
VS Code / JetBrains extension from continue.dev
Auth Setup

Configure API keys in Continue config file. Supports local models via Ollama/LM Studio.

Quick Start$ Install extension → Cmd+I to chat, Cmd+L to edit
Docs

Cody

Sourcegraph

Cody by Sourcegraph leverages the company's code search engine for deep codebase context. Understands your entire repository, not just open files. Supports Claude, GPT, and Gemini models with custom commands for repetitive workflows.

Install
VS Code / JetBrains extension from sourcegraph.com/cody
Auth Setup

Sign in with Sourcegraph account (GitHub/Google/email). Free tier includes Claude 4 Haiku.

Quick Start$ Install extension → Cmd+Shift+C to chat
Docs

Tabby

TabbyML (Open Source)

Tabby is a self-hosted, open-source AI coding assistant. All code stays on your infrastructure. Supports local models for privacy-conscious teams. Provides code completion and chat via IDE extensions without sending code to external APIs.

Install
Docker: docker run -it -p 8080:8080 tabbyml/tabby
Auth Setup

Self-hosted — no external auth needed. Connect IDE extension to your local Tabby server.

Quick Start$ docker run -p 8080:8080 tabbyml/tabby serve --model StarCoder-1B
Docs

PearAI

PearAI

PearAI is an open-source AI-powered IDE built on VS Code. Supports multiple AI providers and local models. Focused on transparency and user control — you bring your own API keys and choose your preferred model.

Install
Download from trypear.ai
Auth Setup

Bring your own API key (Anthropic, OpenAI, or local model). Configured in-app.

Quick Start$ Open PearAI → Cmd+I for inline editing
Docs

v0

Vercel

v0 by Vercel is a generative UI tool that creates React components from natural language. Generates production-ready Tailwind and shadcn/ui code. Browser-based — no IDE needed. Ideal for rapid prototyping and frontend development.

Install
Web app at v0.dev — no install needed
Auth Setup

Sign in with Vercel account (GitHub/Google/email).

Quick Start$ v0.dev → describe your UI in natural language
Docs

Bolt.new

StackBlitz

Bolt.new by StackBlitz generates and runs full-stack web apps entirely in the browser using WebContainers. Prompt an idea → get a running app with Node.js backend, npm packages, and instant deployment. No local setup required.

Install
Web app at bolt.new — no install needed
Auth Setup

Sign in with GitHub or email. Runs full-stack apps in-browser via WebContainers.

Quick Start$ bolt.new → prompt your full-stack app idea
Docs