CodeWhale

CodeWhale

Open-source terminal coding agent that runs any model locally

69/100MonitorFreeFree

CodeWhale is the pick for developers who want a local, model-agnostic coding agent with fine-grained control. The 45 provider routes, per-sub-agent routing, and sandboxing deliver pro-level flexibility. Skip it if you need a GUI or managed service—this is terminal-first, and new users must climb a learning curve.

Verified 7d ago · liveness 69/100 · cite: rightaichoice.com/tools/codewhale

Best for
  • Developers needing a local, model-agnostic coding agent
  • Open-model enthusiasts running local inference (Ollama, vLLM, SGLang)
  • CLI-native users wanting terminal-first control
  • Teams needing sandboxed, auditable agent execution
Not ideal for
  • Non-technical users expecting a GUI
  • Those wanting a fully managed cloud solution
  • Beginners intimidated by CLI configuration
Visit Website

IntermediateThe one-line npm install (Node 18+) takes about 1 minute. First run: configure your model provider (e.g., add an API key or point to local Ollama), then start a session. You'll be productive within 15-30 minutes if you're comfortable with CLI tools. For advanced features like Fleet or custom sandboxing, expect 1-2 hours to fully configure.CLI · Web · APIAPI availableVerified 7d ago
Pricing
Free
FreeFree tier3 hidden costs
Learning curve
Intermediate
The one-line npm install (Node 18+) takes about 1 minute. First run: configure your model provider (e.g., add an API key or point to local Ollama), then start a session. You'll be productive within 15-30 minutes if you're comfortable with CLI tools. For advanced features like Fleet or custom sandboxing, expect 1-2 hours to fully configure.
Runs on
CLIWebAPI
API available · 12 integrations
Who it's for
Solo developerDevOps engineerOpen-source maintainer
Live sentiment
Is CodeWhale actually worth it?

We scan live Reddit threads, YouTube comments, X posts, G2 reviews and other communities — and hand you an honest verdict in under a minute.

  • Honest verdict, not marketing
  • Real pros & cons from real users
  • Attributed quotes with receipts
Run a free scan

3 free scans · no card needed

Skip it if

Skip CodeWhale if you need a graphical user interface, a fully managed cloud service, or you're not comfortable with command-line configuration and terminal-based workflows.

The 30-second take
Biggest gripe

Running local models requires your own hardware (GPU/CPU) and VRAM, which can be a significant upfront investment.

Price reality

CodeWhale is free and open-source (MIT licensed), costing you nothing for the software itself. You only pay for the models you use—either your own local compute or API fees from providers. Compared to managed coding assistants like GitHub Copilot (which charges per seat), CodeWhale's only recurring cost is model usage. For teams that already have API access or run local inference, it's effectively free. This makes it ideal for cost-conscious developers and startups, while enterprises may prefer

In short

CodeWhale — Open-source terminal coding agent that runs any model locally. Best for Developers needing a local, model-agnostic coding agent, Open-model enthusiasts running local inference (Ollama, vLLM, SGLang), CLI-native users wanting terminal-first control. Free to use.

What's new in CodeWhale

Checked 7 days ago

Across the latest 2 updates: 1 feature update and 1 changelog entry.

What people actually say about CodeWhale — is it worth it?

We ran a structured research pass across product reviews, community discussions, and post-purchase forum threads to surface the patterns vendors won't publish themselves. Below: the recurring strengths, the hidden costs people mention most, and the cohort that consistently regrets adopting this tool.

11 mentions across 2 sources (Hacker News, GitHub) · researched Jul 3, 2026.

63% positive37% critical
Recurring strengths
  • +Cost-saving by routing low-complexity tasks to cheaper models like DeepSeek Flash.
  • +Completely free and open-source (MIT license) with no subscription required.
  • +Works with any AI model, prioritizing open-source and local runtimes.
  • +Autonomous multi-step task planning and self-correction on failures.
  • +Sandboxed execution via macOS seatbelt, Linux landlock, and Windows containment.
Recurring frustrations
  • Steep learning curve for non-terminal-savvy users due to TUI/CLI interface.
  • High number of open GitHub issues (295) indicates ongoing instability.
  • Active security hardening work suggests potential unresolved vulnerabilities.
  • Some users switch between tools frequently, implying lack of stickiness.
  • Documentation and onboarding could be improved for beginners.
Patterns worth knowing
Cost optimization via model routing is a key differentiator
Seen on Hacker News
Open-source and local-first attracts privacy-conscious users
Seen on Hacker News, GitHub
Tool-switching is common; agent ecosystem still early
Seen on Hacker News
Learning curve
intermediateProductive in ~A few hours
Hidden costs people mention
  • Cost of AI model API usage if using cloud models (e.g., DeepSeek API fees)
  • Compute resources for local models (GPU recommended)

Viability Score

69/100
Monitor

How well maintained and how widely used is CodeWhale? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this

Recent activity
90
Traction
97
Site health
95
User sentiment
63
What the vendor publishes
20

Last calculated: August 2026

How we score →

Key Features

  • Terminal TUI with Plan/Work/Operate modes
  • Headless command execution via 'codewhale exec'
  • Loopback-only web client
  • Runtime API + MCP endpoints
  • 45 provider routes including hosted, gateway, local
  • Local model support via Ollama, vLLM, SGLang
  • Per-sub-agent provider routing (v0.8.66+)
  • Sandboxed execution via macOS seatbelt, Linux landlock
  • Constitution-based agent identity with law trace
  • Fleet/WhaleFlow durable multi-agent workflows
  • Lifecycle hooks for pre/post tool execution
  • One-line npm install (Node 18+)
  • Cargo, Docker, Nix, Windows install options
  • China mirrors (CNB, npmmirror)
  • Docs updated with 40+ Markdown guides

About CodeWhale

FreeIntermediateAPI availableCLI · Web · API

CodeWhale is an open-source, MIT-licensed coding agent that lives in your terminal and runs entirely on your own machine. It reads your repository, plans multi-step tasks, edits files, runs its own checks, and stops when the job is done or it needs you. Built for developers who want control and privacy, CodeWhale keeps your code local—no third-party cloud. With 45 provider routes, you can bring any model—hosted, gateway, or local—and mix them per role. Explicit provenance fields and cost tracking (or 'unknown' when unavailable) keep every action auditable.

Behind the Verdict

CodeWhale is a powerful, open-source terminal-based coding agent that prioritizes local execution and model flexibility. Its core strength lies in its 45 provider routes, which let you use hosted models like OpenAI's GPT, Anthropic's Claude, or open-source models running locally via Ollama, vLLM, or SGLang. You can even mix models per role—using a cheaper model for sub-agents and a more powerful one for main tasks. The per-sub-agent provider routing (added in v0.8.66) gives you granular control over which model handles which part of a workflow. The sandboxing (macOS seatbelt, Linux landlock) and explicit permission postures (Plan/Work/Operate) make it safe for automated code changes. The Constitution-based agent identity is unique, allowing you to enforce coding standards and audit decisions via the law trace. For developers who value privacy and control, CodeWhale is excellent. However, it's not for non-technical users—there's a learning curve with CLI configuration, and the web client is loopback-only, so no cloud collaboration. If you want a managed solution or a GUI, look elsewhere.

Researching CodeWhale? Get your full AI stack in 60 seconds.

Free, no signup — tell us your goal and get tools matched to your budget & existing stack.

Real-world workflow fit

Concrete scenarios for the personas CodeWhale actually fits — and what changes day-one when you adopt it.

Solo developer

Refactoring a legacy codebase

Outcome: Install CodeWhale with npm, point it at a repo, and use the Plan mode to inspect the code. It creates a multi-step plan, then executes edits in Work mode with approval prompts. The agent runs tests and reports results, leaving the developer to review the diff.

DevOps engineer

Automating CI/CD pipeline tasks

Outcome: Use Fleet/WhaleFlow to define a durable workflow that runs tests, builds artifacts, and deploys to staging. Each step is sandboxed and auditable via the law trace, and the agent can be configured to use a specific model per sub-agent for cost optimization.

Open-source maintainer

Enforcing coding standards across contributions

Outcome: Configure the constitution to encode project-specific guidelines. When a pull request comes in, CodeWhale can review the changes, check for compliance, and suggest fixes—all while logging the reasoning in the law trace for transparency.

Use Cases

  • Automate refactoring and bug fixing across large codebases via multi-step planning
  • Run code reviews and enforce coding standards with constitution-based agent guidance
  • Execute complex CI/CD pipeline tasks using Fleet/WhaleFlow for durable orchestration
  • Develop and test API integrations with MCP tools exposed over stdio or HTTP
  • Build custom skill libraries for domain-specific coding assistance
  • Use local models for fully offline code completion and analysis

Models Under the Hood

DeepSeekGLMOpenAIAnthropicOpenRoutervLLMOllamaSGLang

as of 2026-08-25

Limitations

  • CodeWhale is a terminal-first open-source coding agent that runs any model locally and supports 45 provider routes, including hosted, gateway, and local providers.
  • It requires Node 18+ for the one-line npm install, and offers a loopback-only web client (no public web UI).
  • Advanced features such as sub-agents, sandboxing, and per-sub-agent provider routing require configuration and understanding of the architecture.

as of 2026-08-17

Verification history

We have re-verified CodeWhale 5 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.

  1. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  2. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  3. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  4. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  5. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it

Free to cite with attribution — this page re-verifies continuously.

12-month cost

Project the real annual outlay, including the implied monthly cost when only an annual tier is published.

Annual total
Free
Over 12 months
Effective monthly
Free
Billed monthly

Vendor list price only. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.

Plans compared

For each published CodeWhale tier: who it actually fits, and what it adds vs. the previous tier. Cross-reference the cost calculator above for projected annual outlay.

Open Source

$0/mo

Ideal for

Solo developers and open-source enthusiasts who want a free, local, model-agnostic coding agent and are willing to configure it via the terminal.

What this tier adds

Starting tier: free and MIT-licensed, includes all core features like terminal TUI, headless exec, web client, 45 provider routes, and sandboxing.

Hidden costs & gotchas

What the public pricing page doesn't put in bold. Captured from pricing-page footnotes, contract terms, and recurring complaints.

  • Running local models requires your own hardware (GPU/CPU) and VRAM, which can be a significant upfront investment.
  • If you use hosted models via providers like OpenAI or Anthropic, you'll pay their API usage fees, which can accumulate quickly with heavy agent use.
  • Some advanced features like Fleet/WhaleFlow for multi-agent orchestration may require additional setup and understanding, potentially incurring time costs.

Where the pricing makes sense

The company stage and team size where CodeWhale's pricing actually pencils out — and where peers do it cheaper.

CodeWhale is free and open-source (MIT licensed), costing you nothing for the software itself. You only pay for the models you use—either your own local compute or API fees from providers. Compared to managed coding assistants like GitHub Copilot (which charges per seat), CodeWhale's only recurring cost is model usage. For teams that already have API access or run local inference, it's effectively free. This makes it ideal for cost-conscious developers and startups, while enterprises may prefer

Setup time & first value

How long it actually takes to get something useful out of CodeWhale — broken out by persona, not the marketing-page minute.

The one-line npm install (Node 18+) takes about 1 minute. First run: configure your model provider (e.g., add an API key or point to local Ollama), then start a session. You'll be productive within 15-30 minutes if you're comfortable with CLI tools. For advanced features like Fleet or custom sandboxing, expect 1-2 hours to fully configure.

Switching to or from CodeWhale

How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.

Migrating in
  • From Other coding agents (e.g., Aider, OpenHands): CodeWhale offers a different architecture, but you can import your existing project and start fresh. There's no direct migration path, but you can reuse your model API
  • From GitHub Copilot: You can keep Copilot for interactive editing and use CodeWhale for autonomous tasks. No data migration needed—just install and configure.
  • From Cursor: Similar to Copilot, you can use CodeWhale side-by-side for terminal-based workflows.
Migrating out
  • To Other open-source agents (e.g., Aider, OpenHands): CodeWhale's MIT license means you can freely switch. Your project files and git history remain intact.
  • To Managed services (e.g., GitHub Copilot, Cursor): Your code and workflow data are local, so you can move without vendor lock-in, but you'll lose the local-first privacy.
  • To Cloud CI/CD (e.g., GitHub Actions): For automated tasks, you can replicate Fleet workflows as CI steps, though you'd need to rewrite the configuration.

Integrations

DeepSeekGLMOpenAIAnthropicOpenRoutervLLMOllamaSGLangDockerNixHomebrewCargo

Resources & Guides

Tutorials & Learning

Official links

Tools that pair well with CodeWhale

Common stack mates teams adopt alongside CodeWhale, with the specific reason each pairing earns its keep.

Featured Head-to-Head Comparisons

Alternatives to CodeWhale

View all
opencode

opencode

Open-source AI coding agent for terminal, IDE, or desktop, model-agnostic

FreemiumTry
Openclaude

Openclaude

Open-source coding agent CLI for any AI model in your terminal

FreeTry
Pane

Pane

Open-source, terminal-first agent manager that runs multiple AI coding agents in parallel git worktrees.

FreeTry

Frequently Asked Questions

Used CodeWhale? Help shape our editorial sentiment research.