CodeWhale
[live]
PR#3196feat(tui): Ctrl+P / Ctrl+N navigate slash-command autocomplete· 8mPR#3195fix(telegram): keep polling while turns stream· 3hISS#3154v0.8.60 EPIC: Agent Fleet control plane for always-running verifiable work· 7hISS#3194v0.8.61: Audit helper command hints and add friendly tips for hidden shortcuts· 7hISS#2890Contribution gate workflow allowlist follow-up (restored from #2086)· 8hISS#2982Clearly display busy or free.· 8hISS#3166v0.8.60: Add Agent Fleet dogfood smoke for local and SSH-backed workers· 8hISS#3096v0.8.60: Split sub-agents into a headless worker runtime with lightweight TUI · 8hISS#1976v0.8.43: Goal mode — persistent objective/workflow surface· 8hISS#3182v0.8.60: Add /experiments feature panel for Whaleflow, goal, and subagent opt-· 8hISS#3097v0.8.60: Add TypeScript/JavaScript workflow authoring for WhaleFlow-backed hea· 8hISS#3165v0.8.60: Define Agent Fleet security, secrets, and remote-worker trust boundar· 8hPR#3196feat(tui): Ctrl+P / Ctrl+N navigate slash-command autocomplete· 8mPR#3195fix(telegram): keep polling while turns stream· 3hISS#3154v0.8.60 EPIC: Agent Fleet control plane for always-running verifiable work· 7hISS#3194v0.8.61: Audit helper command hints and add friendly tips for hidden shortcuts· 7hISS#2890Contribution gate workflow allowlist follow-up (restored from #2086)· 8hISS#2982Clearly display busy or free.· 8hISS#3166v0.8.60: Add Agent Fleet dogfood smoke for local and SSH-backed workers· 8hISS#3096v0.8.60: Split sub-agents into a headless worker runtime with lightweight TUI · 8hISS#1976v0.8.43: Goal mode — persistent objective/workflow surface· 8hISS#3182v0.8.60: Add /experiments feature panel for Whaleflow, goal, and subagent opt-· 8hISS#3097v0.8.60: Add TypeScript/JavaScript workflow authoring for WhaleFlow-backed hea· 8hISS#3165v0.8.60: Define Agent Fleet security, secrets, and remote-worker trust boundar· 8h
v0.8.58·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.