Anthropic's CLI coding agent — operates directly on your codebase from the terminal.
Coding
Claude Code is Anthropic's CLI coding agent — a persistent AI engineer that lives in your terminal, reads your files, edits them, runs your commands, and reports back. Launched in early 2025 and iterated aggressively through the year, it is the tool that pushed the "autonomous agent that actually finishes multi-hour tasks" bet from research demo to shippable product. By 2026 it is the second half of the modern solo-dev stack for a large and growing cohort of engineers.
The one-line positioning: Claude Code is not a copilot — it is a junior engineer who never sleeps and never opens Slack. There is no editor. There is your existing editor, plus a CLI agent running alongside it that behaves like a full participant in the codebase rather than a suggestion engine.
You describe a task — "migrate this project from Pages Router to App Router, keep all API contracts stable, run the tests after each file, and update the docs" — and Claude Code will grind through it decision by decision, for an hour if that's what it takes. It reads code with judgment, not just token proximity. It writes plans, checks its plans, and pushes back when the plan is bad. When it hits an error, it typically debugs itself and continues. When it can't decide, it asks.
Under the hood, Claude Code runs on the same Sonnet 4.5 and Opus 4.7 models that power claude.ai, plus the specialized Haiku model for lower-cost background steps. Its MCP (Model Context Protocol) integration — Anthropic authored the standard — is the most mature tool-use ecosystem in the coding-agent market: wire it to your Postgres, your Sentry, your Vercel, your GitHub, and it uses each as first-class production context, not just source code.
Claude Code's audience is unambiguously technical: engineers already fluent in the terminal, DevOps operators, infrastructure builders, and anyone whose work extends past the editor into commands, migrations, and cloud APIs. If your natural home is a shell prompt, this is the tool that changes how you work.
Claude Code's feature set is optimized for autonomous long-horizon work rather than moment-to-moment autocomplete.
claude command in your terminal spins up an agent with full read/write access to your project. It stays alive across turns, remembers what it's done, and picks up where you left off if you close the terminal.Claude Code sits on Anthropic's consumer subscription stack — the same subscription that covers claude.ai web chat — with usage counted against shared quotas:
| Plan | Price | What you get |
|---|---|---|
| Pro | $20/month | Limited token budget shared with claude.ai, Sonnet 4.5 access, MCP support |
| Max 5x | $100/month | ~5x Pro's token budget, higher Opus 4.7 limits, priority access |
| Max 20x | $200/month | ~20x Pro's token budget, heavy Opus 4.7 usage, the tier serious users end up on |
| API pass-through | Per token | Sonnet 4.5: ~$3/M input, $15/M output; Opus 4.7: higher; prompt caching cuts costs |
| Team / Enterprise | $30+/user | Shared workspace, admin controls, SSO, SOC 2, data residency |
The real math matters here. Pro at $20 is enough for occasional agent runs but will feel tight the moment you delegate a serious task — an unattended long-horizon run can burn a shocking share of your monthly budget in a single afternoon. Most people who use Claude Code as a daily driver end up on Max at $100 or $200/month. The $200 tier is aimed squarely at heavy autonomous users, and if you're pushing hard you can still hit its cap.
The API pass-through option — pay per token instead of subscription — makes sense once your usage is high enough to model and predictable. Prompt caching cuts effective costs significantly on repeated context, which is exactly what Claude Code's persistent sessions accumulate.
Pros
Cons
Claude Code's real competition is a small set of tools with different bets on how AI should live in a developer's workflow:
For the head-to-head comparison with real production data, read Cursor vs Claude Code vs GitHub Copilot: The Solo Developer Stack 2026. For choosing which model powers your agent, see ChatGPT vs Claude vs Gemini.
npm install -g @anthropic-ai/claude-code (or use the platform installer at docs.anthropic.com/claude-code). Sign in with your Anthropic account — Pro or Max on the consumer plan, or an API key if you'd rather pay per token.claude in a real project directory. Give it a small, well-scoped first task — "write tests for this function," "explain how auth flows through the codebase," "convert this Python script to async." Feel how it reads, plans, and executes./plan or /review slash command that codifies how your team wants tasks approached. This is where Claude Code transitions from useful tool to codified engineering partner.If autocomplete is what you want, install Cursor instead — Claude Code is not that product.
Is Claude Code the same as Claude? They share the underlying Anthropic subscription and the Sonnet 4.5 / Opus 4.7 models, but they are different products. Claude is a web chat assistant. Claude Code is a terminal-native coding agent. One subscription covers both, with usage shared against your quota.
Does Claude Code work without an IDE? Yes — the terminal is the primary interface. IDE plugins for VS Code, Cursor, and JetBrains exist and are useful, but the CLI is the full product on its own.
How much does it actually cost in production? Pro at $20/month is a starter tier — comfortable for a few small tasks per day. Regular daily users end up on Max at $100/month; heavy autonomous users typically end up on Max at $200/month, and some still bounce off the cap. The API pass-through is worth modeling once your usage is high and steady.
Can Claude Code run without human oversight? Technically yes with permission flags. Practically, treat it like a mid-level engineer running unsupervised — fine for scoped tasks, risky for ambiguous ones. Review diffs before merge.
Does it work with MCP servers I write myself? Yes — that's the whole point of MCP. Anthropic authored the standard, Claude Code was the first mature implementation, and custom MCP servers are a first-class use case.
Claude Code is the strongest autonomous coding agent in the market in 2026, and the pick for anyone whose work extends past the editor into terminals, migrations, and cloud APIs. The combination of best-in-class model quality, the most mature MCP ecosystem, and a terminal-first design that fits how senior engineers already work makes it a genuinely different mode of writing software.
Where Claude Code is the wrong pick is on the autocomplete axis and the beginner axis. If you want ghost text as you type, use Cursor. If you're not comfortable in a terminal, use Cursor. If your team lives inside a compliance-heavy enterprise, GitHub Copilot is the tool procurement will actually approve.
The honest recommendation: Claude Code Pro at $20/month is worth trying on any real project this week. If autonomous multi-hour runs become part of how you work, upgrade to Max at $100 or $200 — the productivity gain is materially larger than the price tag. Pair with Cursor for daily editing, and you have the modern solo-dev stack for $40-$220/month depending on how hard you push.
Explore more in the Coding category, or read the full solo-dev stack comparison before you commit a subscription.