CodeWhale

CodeWhale is an open-source terminal-based AI coding agent developed in Rust by Hunter Bown. It provides an autonomous and semi-autonomous coding environment built directly into the developer's local terminal. Operating through a terminal user interface (TUI) and CLI, CodeWhale executes file inspections, automated code edits, and subagent orchestration directly within a target repository. The runtime supports multi-agent fleets and modular subagents that execute specialized engineering workflows while tracking context metrics in real time. CodeWhale distinguishes itself through a deterministic constitutional governance framework located in `.codewhale/constitution.json`. This architecture enforces strict precedence across base prompts, operational postures, memory compaction, and subagent execution rules, actively mitigating prompt drift and context exhaustion during long development loops. The project is fully open source on GitHub, built with standard Rust tooling, and supports local execution as well as containerized environments via Dev Containers.

Tags: cli, code assistant, coding agent, OpenSource, terminal

Visit CodeWhale