Codewhale dives into the deep
so you don't have to.
Codewhale is an open-source coding agent for your terminal. Give it a model and a task. It reads your code, edits files, runs the checks, and stops when the job is done or it needs you. Use any model, or a different one for each role.
npm install -g codewhale
cwLatest release v0.9.9Source v0.9.945 providersMIT

A coding agent in your terminal. Any model. On your machine.
Use the model you already have — hosted, through a gateway, or local. Pick a mode: Plan, Work, or Operate. Pick how much it does without asking: Ask, Auto-Review, or Full Access.
The reasoning, in its own words
Session excerpts. Each shows the project rule the model applied and what it did next.
From task to verified change.
- 01
Inspect
Read the repository, its instructions, and the task.
- 02
Act
Edit files, asking first where you told it to.
- 03
Verify
Run the checks and read the result.
- 04
Report
Say what changed and what passed.
New here? Four steps.
Install → first session, no key → connect a provider → set up a fleet.
Install Codewhale
One npm command installs the terminal runtime. Cargo, prebuilt archives, Docker, Nix, and China mirrors also work. All of them install published releases.
Full install guide →npm install -g codewhale codewhale doctorOpen a first session — no key needed
Starts without any API key. A short setup, then the full interface. Look around in Plan mode, which is read-only. Model replies need a provider — that's the next step.
Learn the product nouns first →codewhaleConnect a provider
Use a hosted API key, a gateway, or a local runtime with no key (Ollama, vLLM, SGLang). You pick the provider and the model. A model name never switches the provider for you.
Providers and models →codewhale auth set --provider deepseekSet up your ideal fleet
Add each provider you use with one auth set (local runtimes need none). Then run /fleet setup. It goes one role at a time — a model from any configured provider, a thinking tier, permissions — and saves a profile for this repo or for every repo on this machine. A single task needs none of this.
Fleet and Workflow docs →/fleet setup codewhale fleet status
Your model.
Your boundaries.
You choose the model, the mode, and how much it may do without asking. The provider and model never change unless you change them. Preview features are marked preview.
- 45 providers
- Hosted, gateway, and local models
- Plan · Work · Operate
- From read-only planning to autonomous operation
- Ask · Auto-Review · Full Access
- How much it does before asking you
- TUI · exec · web · API
- Interactive or scripted
Use it where the work happens.
Start with one command.
npm install -g codewhale
CargoBinariesDockerNixWindowsAndroid / TermuxChina mirrors
Read the install guide →Built in public
MIT license. Contributors work on the runtime, providers, platforms, docs, and tests.