# Codewhale

> Open source terminal coding agent for any model

Source: https://talira.ai/catalog/codewhale-4v3r8wrx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Web app
- Categories: [developer tools / ai coding / agents](https://talira.ai/categories/developer-tools/ai-coding/agents)
- Platforms: linux, macos, windows, docker[^4]
- Licence: MIT[^1]
- Pricing: Free and open source
- Pricing notes: Free; you pay your model provider for API usage.
- Free tier: yes
- Self-hostable: yes
- API: yes[^2]
- Plugins: yes[^3]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^5], [Agent Skills](https://talira.ai/standards/agent-skills.md)[^6], [ACP](https://talira.ai/standards/agent-client-protocol.md)[^4]
- Backed by: [Codewhale](https://talira.ai/orgs/codewhale.md)

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.

## Links

- Website: https://codewhale.net/
- GitHub: https://github.com/codewhale-hq/Codewhale
- Docs: https://github.com/codewhale-hq/Codewhale/blob/main/docs/README.md

## 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 API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.43 out of 1.
Signals: backing 0.30, extensibility 0.60.

- has a company behind it
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [OpenCode](https://talira.ai/catalog/opencode-fn6hh4gp.md): The open source coding agent.
- [Codex](https://talira.ai/catalog/codex-8m7d8cdk.md): Lightweight coding agent that runs in your terminal
- [Aider](https://talira.ai/catalog/aider-c2r6skq8.md): AI pair programming in your terminal
- [Gemini CLI](https://talira.ai/catalog/gemini-cli-xq86svf2.md): An open-source AI agent that brings the power of Gemini directly into your terminal.
- [DeepSeek Harness](https://talira.ai/catalog/deepseek-harness-zxekmvkg.md): DeepSeek Harness: Everything is a Plugin.
- [Kilo Code](https://talira.ai/catalog/kilo-code-deept538.md): The open source coding agent for building with AI in VS Code, JetBrains, or the CLI

## Sources

[^1]: https://github.com/codewhale-hq/Codewhale/blob/main/LICENSE (checked 22 Nov 2026)
[^2]: https://github.com/codewhale-hq/Codewhale/blob/main/docs/RUNTIME_API.md (checked 22 Nov 2026)
[^3]: https://github.com/codewhale-hq/Codewhale/blob/main/docs/PLUGINS.md (checked 22 Nov 2026)
[^4]: https://github.com/codewhale-hq/Codewhale (checked 22 Nov 2026)
[^5]: https://github.com/codewhale-hq/Codewhale/blob/main/docs/MCP.md (checked 22 Nov 2026)
[^6]: https://github.com/codewhale-hq/Codewhale/blob/main/docs/SKILLS.md (checked 22 Nov 2026)
