codewhale-hq /Codewhale

Open-source agent for the terminal written in Rust. Use any provider or model. Issues & PRs always welcome

★ 41,177⑂ 3,569👁 158⑃ 3,817● 3,201▤ 140◈ 72
RustMITCreated 2026-01-19codewhale.net/
41,177
stars
+17
3,569
forks
158
watchers
3,817
prs
3,201
issues
140
releases
72
discussions

README

An open-source coding agent for your terminal that works with any model.

Give Codewhale a task and it reads the repository, edits files, and runs
commands until the task is done or it needs input from you. It works with more
than 40 built-in providers, DeepSeek V4.1 Flash by default, and with models running on
your own machine. /receipts lists the files it changed, the commands it ran,
and the web and MCP calls it made.







Website · Documentation · Changelog · Contributing

简体中文 · 日本語 · Tiếng Việt · Bahasa Indonesia · 한국어 · Español · Português · Русский · Українська · Français · Deutsch · 繁體中文 · हिन्दी · Türkçe · Italiano · Polski · العربية · Català



A 0.10.2 development build with a scripted test model, in Full Access inside a throwaway workspace. The edit, three tests and a sub-agent review ran for real.




  
    
  


View the Codewhale × OrcaRouter offer. Codewhale earns a referral fee from OrcaRouter.

 Install

macOS and Linux:

bash
curl -fsSL https://codewhale.net/install.sh | sh


The installer puts checksum-verified codewhale and its short alias codew
in ~/.local/bin. If your shell then says command not found, run the PATH
line the installer prints (details).
codewhale update upgrades it. These commands install the latest release.
This page follows main, so a feature marked with a version arrives in that
release; the changelog lists what each release adds.


Windows, npm, Cargo, and other ways to install

bash
winget install HunterBown.CodeWhale   Windows x64 (or Scoop, or the installer from GitHub Releases)
npm install -g codewhale             wraps the same release binaries
cargo install codewhale-cli --locked   crates.io; can trail GitHub Releases


Prebuilt binaries cover Linux, macOS, and Windows on x64 and arm64. Nix,
Homebrew on Linux, Android/Termux (preview), and manual downloads are in the
installation guide, and containers in
Docker. Stick to one install method per machine; otherwise
two copies end up on PATH and whichever comes first wins.



 Quickstart

1. Commit or stash your work, then run codewhale from the root of a git
   repository. By default it asks before each file edit and command; press
   Shift+Tab once for Accept Edits to let it edit files in the
   repository without asking.
2. Run /provider (or press F3), pick a provider, paste its API key, and
   choose a model. DeepSeek is the default provider. With no key, pick a local
   runtime instead. If no provider is configured and Ollama is already serving
   a chat model, Codewhale uses it automatically; from 0.10.2 it offers it when
   you send your first message.
3. Type a task:

text
Fix the failing tests and explain what changed.


Read-only commands run straight away. For any other shell command Codewhale
asks first: y runs it once, a allows commands like it for the rest of the
conversation, n refuses. /undo takes back your last request and its file
changes. /help lists commands and keys.

For scripts and CI, codewhale exec runs one task without the 

Top issues

Discussions

Latest release

Codewhale v0.10.2 v0.10.2 2026-10-24
What's in v0.10.2


Codewhale v0.10.2 adds an animated pet view (/pet on), a live Terminal work
dock, per-chat composer colors (/color) and a one-time note on the first
start after an update that says what changed. It closes three session
data-loss paths and a codewhale web session leak; adds the default Runtime
daemon socket locations to the sandbox deny-list; holds a curl or wget that uploads a
credential; refuses shell commands containing invisible Unicode; keeps the
Linux sandbox working when a hidden credential directory is a symlink; and
reduces idle TUI redraw work. /undo takes back a w

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON