codewhale-hq/Codewhale

★ 41,049⑂ 0

Open-source coding agent for your terminal, built in Rust and on a journey of continuous community improvement. Issues and PRs welcome.

About codewhale-hq/Codewhale

codewhale-hq/Codewhale is an open-source project on GitHub, mainly written in Rust. Open-source coding agent for your terminal, built in Rust and on a journey of continuous community improvement. Issues and PRs welcome. It currently holds 41,049 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Agent Skills board and on the AI AI Agent Skills list.

GitHub Repository Details

Repository codewhale-hq/Codewhale · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

https://github.com/codewhale-hq/Codewhale/blob/HEAD/Codewhale

The open-source coding agent that works with any model.

Codewhale reads your project, edits files, runs commands, and checks its own work — in your terminal, with a hosted or local model you choose.

CI crates.io npm License: MIT Discord

Website · Documentation · Changelog · Contributing

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

https://github.com/codewhale-hq/Codewhale/blob/HEAD/A Codewhale terminal session

Real terminal capture of a fresh install — no staged output.

Install

macOS and Linux:

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

The installer downloads checksum-verified binaries into ~/.local/bin. If codewhale then says "command not found", run the one PATH line the installer prints, or see Put it on your PATH. Upgrade any time with codewhale update.

Windows, npm, Cargo, and other routes
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  # build from crates.io

Docker, Nix, Homebrew on Linux, Android/Termux, manual downloads with checksum verification, and the optional CNB mirror are covered in the installation guide. Pick one route: several installs on one machine end up fighting over PATH.

Quickstart

1. Open your project. Run codewhale in the folder you want to work on. 2. Connect a model. Run /provider (or press F3) to add a hosted key or pick a local runtime. If Ollama is already running with a chat model, Codewhale switches to it on its own. Use /model to change models. 3. Give it a concrete task.

Fix the failing tests and explain what changed.

The same task runs headless from a script or CI job:

codewhale exec "fix the failing tests and explain what changed"

Run /help for commands and keyboard shortcuts.

Ways to run it

Every client drives the same local Codewhale Engine, so sessions, tools, and permissions behave the same everywhere.

| Command | What it does | | --- | --- | | codewhale | The interactive terminal interface | | codewhale exec "…" | One headless turn from a script or CI, streaming JSON | | codewhale web | The bundled local browser client on 127.0.0.1 | | codewhale review --pr N | An advisory pull request review; posting is opt-in | | Runtime API | A local HTTP API for threads, events, and approvals |

A native desktop app (GPUI) is being built as the signed-in product client; see the product page for availability. The community-maintained VS Code extension connects to the same Engine from a sidebar (source).

What it does

DeepSeek, Google, Mistral, Moonshot, OpenAI, OpenRouter, xAI and more — plus any OpenAI-compatible endpoint and local models through Ollama, vLLM, or SGLang. Providers and Operate make changes. Approval postures decide when a tool call needs your OK, /undo and /restore recover workspace changes, and /receipts lists every file, command, and approval in a session. Modes · Receipts sub-agents, run supervised agent teams with a pre-spend check, or script them as checked-in workflows. skills and plugins, run hooks on session and tool events, and load existing Claude Code plugins. other applications. Review its access and enable it before use. Guide

Modes and permissions

| | Choose with | Options | | --- | --- | --- | | Mode — what the agent is doing | Tab or /mode | Plan (explore, no changes) · Work (edit and run) · Operate (drive a goal through planned, verified steps) | | Posture — when it asks first | Shift+Tab | Ask · Auto-Review · Full Access |

Full Access still respects hard policy boundaries. The modes and permissions guide explains each option.

Safety

Codewhale runs on your machine with the access you grant it. Approval postures and repository rules limit what the agent may do, and commands run inside an OS sandbox where supported (Seatbelt on macOS; bubblewrap on Linux is opt-in). /preview-request shows the exact redacted request before anything is sent. Unknown model prices stay unknown instead of being reported as free.

See authorization order, sandboxing, and telemetry — usage counts are on by default and codewhale config set telemetry false turns them off.

Documentation

| Start here | Go deeper | | --- | --- | | Installation | Configuration | | Providers and local models | Architecture | | Modes and permissions | Runtime API | | Keybindings | Plugin authoring | | GitHub PR review | All documentation |

Community

Bug reports, feature ideas, and pull requests are welcome — whether you have used Codewhale for months or are trying it for the first time. If a provider is missing or a workflow is awkward, open an issue or send a pull request. First contributions are welcome, and contributors keep credit for the work that lands. The repository layout is a good place to start.

Join the Discord, or add Hunter on WeChat (hunterbown) and ask to join the Whale Brothers group.

History and license

Codewhale began as deepseek-tui and still reads that project's configuration and sessions. It is now provider-neutral and independently maintained, and is not affiliated with any model provider. Thanks to every contributor and to the open-source communities that helped it grow.

MIT. Portions adapted from other open-source projects are recorded in third-party notices.

GitHub Stars & Activity

41,049Stars
0Forks
0Open issues
RustLanguage

GitHub Popularity

GitHub stars41,049
Forks0
Open issues0
Primary languageRust
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

farion1231 / cc-switch

Rust★ 140,260⑂ 0
→
2

aaif-goose / goose

Rust★ 54,961⑂ 0
→
3

herdrdev / herdr

Rust★ 42,477⑂ 0
→
4

tinyhumansai / openhuman

Rust★ 40,657⑂ 0
→
5

affaan-m / ECC

JavaScript★ 273,528⑂ 0
→
6

NousResearch / hermes-agent

Python★ 251,407⑂ 0
→
7

deepseek-ai / deepseek-harness

TypeScript★ 243,959⑂ 0
→
8

n8n-io / n8n

TypeScript★ 206,724⑂ 0
→

More AI Rankings