The open-source coding agent for any model

Codewhale reads your project, edits files and runs your tests from your terminal. Connect a hosted or local model, and choose which actions need your approval.

curl -fsSL https://codewhale.net/install.sh | sh
Latest release v0.10.2Source v0.10.2MIT
Codewhale × OrcaRouter: The whales are teaming up. +30% DeepSeek v4.1 Flash usage.Codewhale × OrcaRouterGet 30% extra DeepSeek V4.1 Flash credit on each OrcaRouter top-up. One claim per developer, open until November 21, 2026.Codewhale earns a referral fee from OrcaRouter.Claim on OrcaRouter
Terminal preview · Unreleased v0.10.2

New in v0.10.2

Read the changelog
/pet on
Turns your terminal into an animated whale that shows what the agent is doing. The message box stays live.
/workbar terminal
Shows the shells the agent is running as they run. Type into one, or press Ctrl+N for your own. macOS and Linux.
/undo
Takes back your whole last request in one step, including every file it changed.
Plan → Work
When a plan ends with open steps, Codewhale asks whether to start Work with Ask or Auto-Review, or keep planning.
curl / wget
Outside Full Access, a curl or wget that would upload a credential never runs without your approval.
DeepSeek Search
web_search can use DeepSeek's new Search API: set [search] provider = "deepseek" with a DeepSeek key.

Build and automate from your terminal

Describe what you want to build or automate. Codewhale can edit files, run commands and check the result, with access you control.

Capabilities
Build apps and tools
Create an app, add a feature or write a script. Codewhale can work through the project files, run the code and test what it builds. Docs
Automate the work you repeat
Run workflows from your terminal, scripts or CI. For larger tasks, delegate parts of the work to a Fleet of agents with different models. Docs
Connect the tools you use
Add tools through plugins and MCP servers, or use APIs from your own scripts. Each service needs its own setup and authentication. Docs

Use the models you choose

Connect your provider accounts, an OpenAI-compatible endpoint, or local and self-hosted models. Pick a model for the session and for each agent in a Fleet.

Browse models and providers
Your API accounts
Connect providers such as DeepSeek, OpenAI, Anthropic or Google with your own keys. The default, deepseek-flash, now runs DeepSeek-V4.1-Flash.
Your gateway
Use an OpenAI-compatible endpoint and choose the models it serves.
Your inference
Run local or self-hosted models with Ollama, vLLM or SGLang.
Your ChatGPT plan
Sign in with codewhale auth chatgpt to use a ChatGPT plan instead of an API key. Experimental.

Work across files and tools

Explore tools and integrations
Files and terminal
Create files, run commands, inspect data and test what you build. You set the working folder and permissions.
Plugins and connected apps
Add skills and tools through plugins and MCP. Review and enable the connections you want the agent to use.
Browser and computer · preview
Use browser tools and the Computer Use plugin for work in apps and websites, with the access you grant.
Sessions you can return to
Keep the conversation, tool results and work history together. Resume the task in the terminal or its local browser client.
Teams of agents
Use Fleet to split a larger job between agents with different roles and models, and follow their progress in one place.

Get started

Install Codewhale, connect a model and open a project folder. You can add plugins and more agents as you need them.

  1. Install Codewhale

    Install the latest release on macOS or Linux. Follow any PATH instruction the installer prints, then open a folder where you want to work. The guide covers Windows and other install options.

    curl -fsSL https://codewhale.net/install.sh | sh
    Full install guide
  2. Connect your model

    Use a model API you already have, or connect local or self-hosted inference. The command below saves a DeepSeek key; local Ollama models do not need an API key.

    codewhale auth set --provider deepseek
    Connect a provider
  3. Describe your first task

    Start Codewhale and describe the result: a small app, a script that saves you time, or a report from your data. Choose its permissions, review what it does and steer it as you go.

    codewhale
    Set modes and approvals
  4. Use multiple agents

    Split a larger job across agents with different roles and models. Inside Codewhale, save your team with /fleet setup, then check its runs with /fleet status.

    /fleet setup
    /fleet status
    Set up a Fleet

Available now and in development

The terminal and local browser client are available now. A native desktop app and a rebuilt hosted web app are in development.

Terminal and local browser
ReleasedInstall on Linux, macOS, or Windows, then run codewhale, or codewhale web for the local browser client. npm and Cargo also work; Android on Termux is a preview.
CodeWhale GUI (VS Code)
AvailableA separate, community-maintained project: chat, threads, and file changes in a VS Code sidebar over the same Codewhale Runtime. Install it from the VS Code Marketplace.
Hosted web app
In developmentBeing rebuilt to match the desktop app, and not open yet. For a browser view today, run codewhale web on your machine.
Desktop
Development buildA native app on the same engine. Review and commit changes, follow work across projects, and edit a message to resend it as a new branch. No public download yet.

The terminal, local browser, and GUI need no Codewhale account. When you use your own provider key, your provider bills that usage.

Contribute to Codewhale

393 people have built Codewhale. Report a bug, improve the docs or contribute code on GitHub.

Install on macOS or Linux

GitHub Releases (Binaries) · npm · Cargo · Docker · Windows · Android / Termux · China mirrors

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