talira

Codewhale

Open source terminal coding agent for any model

open sourceMITself-hostablefree

Codewhale (formerly DeepSeek-TUI) is an MIT-licensed coding agent for the terminal, written in Rust. Run it in a git repository, give it a task, and it reads the code, edits files and runs commands until it's done, asking before shell commands that aren't read-only (or letting rules and a reviewer model approve routine ones). It works with more than 40 providers, including DeepSeek (the default), Anthropic, OpenAI, Google, Mistral, OpenRouter and xAI, any OpenAI-compatible endpoint, and local models through Ollama, vLLM or SGLang, and can pick a model per turn. Receipts list every file change, command, MCP call and approval in a session, and /undo or /restore roll changes back. It can split a task across sub-agents or a fleet with their own roles and models, follows workflows checked into the repo, connects MCP servers, skills, plugins and hooks, and runs as a TUI, a headless command for CI, a local web client, a GitHub pull request reviewer, a local HTTP runtime API, or an Agent Client Protocol server for editors such as Zed.

Problems it solves

  • an open source terminal coding agent that works with DeepSeek models
  • a Claude Code alternative I can point at any model provider or a local model
  • run a coding agent headless in CI to fix failing tests
  • split a large coding task across several agents with different models
  • see exactly what files and commands an AI agent changed and undo them
  • use a coding agent from Zed through the Agent Client Protocol

Features

  • 40+ model providers, OpenAI-compatible endpoints and local models (Ollama, vLLM, SGLang)
  • automatic per-turn model routing with cost and time per turn
  • Plan, Work and Operate modes; Ask, Auto-Review and Full Access permissions; sandbox
  • receipts of file changes, commands, MCP calls and approvals; /undo and /restore
  • sub-agents, fleets and repository workflows
  • MCP servers, skills, plugins and hooks; experimental code mode
  • headless exec for scripts and CI
  • local web client and HTTP runtime API
  • GitHub pull request review
  • Agent Client Protocol server for editors such as Zed

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Codewhale does.

  1. OpenCode The open source coding agent.
  2. Codex Lightweight coding agent that runs in your terminal
  3. Aider AI pair programming in your terminal
  4. Gemini CLI An open-source AI agent that brings the power of Gemini directly into your terminal.
  5. DeepSeek Harness DeepSeek Harness: Everything is a Plugin.
  6. Kilo Code The open source coding agent for building with AI in VS Code, JetBrains, or the CLI

Compare Codewhale with the top 3