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
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
#5316EPIC-005: CodeWhale TUI Crate Decomposition (Umbrella)36 comments · 2026-08-10#7095Conversation history is lost.12 comments · 2026-10-26#6184Engine silently freezes mid-run: user messages are persisted but never answered; no error, no log line, no crash entry10 comments · 2026-09-15#6011feat(tui): usage & tool diagnostics — token accounting (per-component, per-model + cache hit rate, per-tool sinks, compaction cost) and tool-call error patterns10 comments · 2026-09-08#5587Dead-code sweep: remove 25 module-level blanket allows and remaining allow(dead_code) in crates/tui9 comments · 2026-08-23#6050[Feature] Pluggable agent memory: a generic backend seam with causal-memory / mem0 as reference implementations8 comments · 2026-09-11#5586Decompose the mega files: runtime_threads.rs, lib.rs, runtime_api.rs, config.rs8 comments · 2026-08-23#6804号召:成立汉化组(Call to Action: Form a Chinese Localization Group)7 comments · 2026-10-01
Discussions
#7145Are you considering adding a nightly release?1 comments · 2026-10-29#6994CodeWhale is included in the AgentManager tool catalog0 comments · 2026-10-16#6808You won Repository Radar's Understory of the Month 🦀2 comments · 2026-10-01#6785号召:成立汉化组(Call to Action: Form a Chinese Localization Group)2 comments · 2026-09-30#6010Long-running agent turn stops before executing its explicitly stated next tool action and requires manual “continue”2 comments · 2026-09-08#6005Just a little update4 comments · 2026-09-07#5827Plugins2 comments · 2026-09-02#5678Just added full support for codewhale in my project AgentVoice0 comments · 2026-08-28
Latest release
Codewhale v0.10.2 v0.10.2 2026-10-24What'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