Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

CodeWhale

> AI 编程
Open source

Open-source, community-driven agent harness

40.3K stars0 likes9 views
WebsiteGitHub

About

Open-source, community-driven agent harness

Codewhale

Codewhale is an open source coding agent for your terminal, built in Rust and improved in public with the people who use it.

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

Install

macOS / Linux — install the official GitHub release:

bash
curl -fsSL https://codewhale.net/install.sh | sh
"$HOME/.local/bin/codewhale"

Windows: download the matching installer or archive from GitHub Releases. For an existing direct install, run codewhale update (or codewhale update --check to inspect it). The updater prints the executable path and keeps newer builds.

The first run helps you connect a provider or stay offline. Codewhale also supports npm and Cargo as secondary packaging routes, plus Docker, Nix, Scoop, Android/Termux, and an optional CNB mirror. Existing package-managed installs receive migration instructions. See installation and PATH help.

Tab completion is one command per shell — codewhale completion bash|zsh|fish|powershell|elvish. See shell completions.

Use

Talk to Codewhale the same way you would talk to a teammate:

Fix the failing tests and explain what changed.

Or run a task without opening the TUI:

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

Codewhale can read your repository, edit files, run commands, inspect results, and keep working toward a goal. You decide how much access it has.

GUI frontend

Prefer a graphical interface? The community-maintained CodeWhale for VS Code extension wraps the same agent in a VS Code sidebar — chat, threaded conversations, live diffs, and task management over the same Runtime API, so sessions stay in sync with the terminal. Install it from the VS Code Marketplace; source code is on GitHub.

Why Codewhale

  • Use the model you want. Connect hosted providers or local models through Ollama, vLLM, or SGLang. Switch provider and model with /model.
  • Stay in control. Plan is read-only. Ask, Auto-Review, and Full Access make approval behavior visible. /undo reverts the last turn and /restore returns the workspace to an earlier snapshot.
  • Keep long work organized. Save sessions, set a durable /goal, review workflows before they run, and coordinate agents without turning their internal instructions into your transcript.
  • Extend the agent you already have. Connect MCP servers and skills, configure hooks, and keep agent roles as readable files in your project or personal settings.

Run /help in the TUI for commands and keyboard shortcuts.

Safety

Codewhale runs on your machine with the access you grant it. Approval modes and repository rules limit what the agent may do; optional OS sandboxing adds a stronger execution boundary where supported. Unknown model prices stay unknown instead of being reported as free.

Read authorization order for the exact policy stack and configuration for local settings.

Documentation

  • Providers and local models
  • Agent teams
  • MCP, hooks, and configuration
  • Local web client
  • All documentation

Join the community

Codewhale gets better when people use it, report what feels wrong, and help fix it. If a provider is missing, a workflow is awkward, or the terminal UI gets in your way, open an issue. If you know how to improve it, open a pull request. First contributions are welcome, and contributors keep credit for the work that lands.

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

Project history

Codewhale began as deepseek-tui and still preserves that configuration and session compatibility. It is now provider-neutral and independently maintained; it is not affiliated with any model provider.

Thanks to every contributor and to the open source communities that helped the project grow. See the contributor record.

License

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

Issues· 195 open

View all issuesOpen on GitHub
  • #5316

    EPIC-005: CodeWhale TUI Crate Decomposition (Umbrella)

    Updated Sep 30, 2026
  • #6792

    FEAT-026: finish session command shapes and extraction boundary

    enhancementUpdated Sep 30, 2026
  • #6650

    The shortcut key for switching thinking intensity is abnormal.

    bugneeds-triageUpdated Sep 30, 2026
  • #6652

    After running for a long time, TUI scrolling becomes laggy, like jelly.

    bugneeds-triageUpdated Sep 30, 2026
  • #6511

    Single-turn-loop guard misses the sub-agent and RLM loops; the RLM loop is unlogged, drops history and returns an empty answer

    Updated Sep 30, 2026
  • #6788

    0.10.0 版本中,/retry(以及 /undo)只回滚了 UI 显示层:模型上下文与持久化会话仍保留被撤销的消息

    bugUpdated Sep 30, 2026
  • #6721

    Emergency compaction — the impact on the `save session` task

    needs-triageUpdated Sep 30, 2026
  • #6745

    Windows: shell tool fails under machine ExecutionPolicy — proposal: process-scoped -ExecutionPolicy Bypass (sign-off request)

    enhancementneeds-triageUpdated Sep 30, 2026
  • #6746

    Web search: configured API providers lose their fallback in DuckDuckGo-unreachable networks — tail the chain with Bing instead?

    needs-triageUpdated Sep 30, 2026
  • #6747

    Model-facing text still names tools the current environment lacks (7 residual sites)

    needs-triageUpdated Sep 30, 2026

> Tags

Rustclideepseekllmrust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.