CodeWhale
[live]
PR#2444ci: add web frontend lint and type check workflow· 2mPR#2445refactor(palette): remove unused backward-compat aliases and add module docs· 6mPR#2440test(core): add comprehensive unit tests for JobManager and helpers· 7mPR#2045feat: add NSIS installer and classroom admin checklist· 7mPR#1865Add Pro Plan mode for Pro planning/review and Flash execution· 7mPR#2439fix(web_search): improve Volcengine reliability — 90 s timeout, retry, and fas· 11mPR#2443ci: add clippy and docs checks to PR CI workflow· 11mPR#2441test(mcp): add comprehensive unit tests for MCP manager and helpers· 14mPR#2452docs(state): add doc comments to all public types· 14mPR#2453docs(execpolicy): add doc comments to all public types· 15mPR#2450test(tui-core): add unit tests for UiState state machine· 15mPR#2437fix: use effective_model_for_budget instead of raw model in compactio…· 20mPR#2444ci: add web frontend lint and type check workflow· 2mPR#2445refactor(palette): remove unused backward-compat aliases and add module docs· 6mPR#2440test(core): add comprehensive unit tests for JobManager and helpers· 7mPR#2045feat: add NSIS installer and classroom admin checklist· 7mPR#1865Add Pro Plan mode for Pro planning/review and Flash execution· 7mPR#2439fix(web_search): improve Volcengine reliability — 90 s timeout, retry, and fas· 11mPR#2443ci: add clippy and docs checks to PR CI workflow· 11mPR#2441test(mcp): add comprehensive unit tests for MCP manager and helpers· 14mPR#2452docs(state): add doc comments to all public types· 14mPR#2453docs(execpolicy): add doc comments to all public types· 15mPR#2450test(tui-core): add unit tests for UiState state machine· 15mPR#2437fix: use effective_model_for_budget instead of raw model in compactio…· 20m
v0.8.46·MIT·DeepSeek V4 native

Terminal coding agent for DeepSeek V4.

CodeWhale wraps DeepSeek V4 in a harness — a written Constitution that ranks every source of authority for each turn, live tool output fed back as evidence between turns, and V4's prefix cache making that Constitution cheap to reference recursively, so the model stays oriented through long tool-using sessions instead of drifting.

Planread-only·Agentwith approval·YOLOauto-approve
# Recommended: npm — no Rust toolchain
$ npm install -g codewhale
$ codewhale --model auto

# Or Cargo / Homebrew / direct download — see /install
config lives at ~/.codewhale/all methods →
How it works

A written Constitution makes authority arbitrable, and a feedback loop makes drift correctable.

Every turn, the agent has to arbitrate between the user's intent, the project's rules, system defaults, live tool output, and stale memory. CodeWhale answers that with a written Constitution that ranks nine sources of authority explicitly (current user message above stale project instructions, live tool output above assumptions, verification above confidence), and uses V4's prefix cache to keep that Constitution almost free to reference recursively — roughly 100× cheaper per turn than a cold read — so the model spends a long session reading an open book rather than guessing from memory.

The feedback half closes itself: non-zero exit codes, type errors that rust-analyzer reports between edits, and sandbox denials come back into the context as correction vectors, so the model uses its own drift to self-correct. When you run with --model auto, CodeWhale spends a cheap Flash call at the start of each turn to route — keeping short conversations on Flash, and escalating coding, debugging, and architecture work to Pro at higher thinking depth.

Today's dispatch2026-05-26
V4-Flash · 6h