Whale

A DeepSeek-first terminal coding agent with long context, tools, and programmable workflows.

Source repo
usewhale/Whale
Stars
★ 931
Last updated
23d ago
License
MIT
Primary language
Go

At a glance

How it runs
CLI
Works with
Platform-specificClaude Code (Partial support)
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
DeepSeek API keyShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A developer using the DeepSeek API who wants a terminal agent to inspect repository files, execute commands, and edit code.
Not a fit if
  • Teams that need provider-agnostic multi-model support or OpenAI/Claude APIs
  • Users who want everything on by default, not workflows disabled by default
  • Production teams that need stability, not an actively developed project

What does this agent do, and when should you use it?

Whale is a terminal-first AI coding agent built for DeepSeek rather than a general multi-model shell. It offers an interactive whale TUI, one-shot whale ask "..." commands, and whale --headless for CI/CD and automated work. The agent can read files, run commands, edit code, and search the web, with extensions through MCP servers, Skills, Subagents, Plugins, and Hooks. Its JavaScript-based Dynamic Workflows orchestrate multiple agents for fan-out research, review, and pipeline-style processing. The project is under active development and is positioned for personal projects, experimental repositories, and workflows where changes can be reviewed and rolled back.

After a DeepSeek API key is configured, whale starts an interactive TUI where the agent can read files, run commands, edit code, and search the web. whale ask "..." handles one-shot questions, quick code reviews, or single-command work, while whale --headless targets CI/CD, automated PR reviews, and scheduled tasks. MCP Servers can connect tools such as databases, APIs, and browser automation; Skills, Subagents, Plugins, and Hooks add domain behavior and lifecycle scripting. When Dynamic Workflows are enabled, JavaScript files in .whale/workflows/ can use parallel and agent to run multiple tasks and synthesize their results.

  1. A developer using the DeepSeek API who wants a terminal agent to inspect repository files, execute commands, and edit code.
  2. An engineer needing a quick, single-turn code review or answer through whale ask "...".
  3. A team running automated PR reviews, scheduled jobs, or other non-interactive tasks through whale --headless in CI/CD.
  4. A developer who needs databases, APIs, or browser automation available to a coding workflow through MCP Servers.
  5. A user who wants to fan out research or multi-perspective review work in JavaScript and then synthesize the results with another agent.

How do you install or deploy this agent?

On any platform, run npm install -g @usewhale/whale. On macOS, you can instead run brew install usewhale/tap/whale. Then run whale setup to set a DeepSeek API key and start the interactive TUI with whale. For Linux, the documented command is curl -fsSL https://raw.githubusercontent.com/usewhale/Whale/main/scripts/install.sh | sh. For Windows 10, Windows Server 2016, or later, run irm https://raw.githubusercontent.com/usewhale/Whale/main/scripts/install.ps1 | iex in PowerShell.

How do you use this agent?

Run whale after whale setup, then enter a task in the TUI. For a one-shot request, use whale ask "Review this code"; for automation, use whale --headless. Dynamic Workflows are disabled by default: enable Dynamic workflows through /config in the TUI, or add [workflows] enabled = true to .whale/config.local.toml.

What are this agent's strengths and limitations?

Pros
  • It is explicitly optimized around DeepSeek long context, tool calling, and caching; the README reports an approximately 98% prompt-cache hit rate.
  • It exposes interactive TUI, one-shot CLI, and headless automation interfaces for local and CI/CD use.
  • Dynamic Workflows provide JavaScript multi-agent orchestration and are documented as compatible with Claude Code workflow scripts.
  • MCP Servers, Skills, Subagents, Plugins, and Hooks offer several distinct extension mechanisms.
Limitations
  • Whale is DeepSeek-first rather than a provider-agnostic multi-model tool, and setup requires a DeepSeek API key.
  • Dynamic Workflows are disabled by default and require explicit activation through /config or .whale/config.local.toml.
  • The project is in active development; its README recommends personal projects, experimental repositories, and workflows with reviewable, reversible changes.
  • The supplied documentation does not describe native integrations for ChatGPT, Codex, the OpenAI API, or the Claude API.

How does this agent compare with similar options?

Whale explicitly rejects the role of a general multi-model shell and instead positions itself as DeepSeek-first. It states that Claude Code workflow scripts run unchanged in Whale, but that compatibility is for workflow scripts rather than evidence of a complete Claude Code product integration.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Whale This agent 51 · Major gaps CLIFree + model costs ★ 931 23d ago Go —
Kode CLI 44 · Major gaps CLIFree + model costs ★ 5.2k 3d ago TypeScript OpenAI API · Claude API
Reasonix 66 · Some gaps CLIFree + model costs ★ 36k today Go OpenAI API
Deep Code CLI 49 · Major gaps CLIFree + model costs ★ 2.2k 1d ago TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
51/ 100 5-point scale 2.6 / 5
This review covers the source as of Aug 09, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 11/29
Reliability 8/14
Adaptability 10/18
Convention 10/18
Effectiveness 9/13
Verifiability 3/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

Evidence shows: README mentions user approval and hooks executing shell commands, SECURITY.md indicates credential file location and DEEPSEEK_API_KEY precedence, but lacks detailed least-privilege model, data flow transparency, or external impact assessment. Deductions: missing specific permission model, data flow explanation, and external impact evaluation.

Reliability8 / 14 · 2.9/5

Evidence shows: README and CI config are consistent, dependency list is complete, but failure messages are not documented. Deductions: insufficient failure handling documentation.

Adaptability10 / 18 · 2.8/5

Evidence shows: README clearly defines target audience (developers) and use cases (terminal, CI), lists non-goals (multi-model, IDE replacement), but trigger precision (e.g., command trigger conditions) is not detailed. Deductions: insufficient trigger condition documentation.

Convention10 / 18 · 2.8/5

Evidence shows: README structure is clear, installation instructions are detailed, examples and known limitations are present, MIT license is explicit, but version changelog is missing and maintenance responsibility is unclear. Deductions: missing changelog and maintenance responsibility statement.

Effectiveness9 / 13 · 3.5/5

Evidence shows: README emphasizes output usability (TUI, CLI, headless), marginal value (caching, DeepSeek-native), cost-benefit (cache reduces costs), but lacks concrete data or comparisons. Deductions: lack of empirical data.

Verifiability3 / 8 · 1.9/5

Evidence shows: Claims in README (e.g., 98% cache hit rate) lack sources, CI config exists but not verified, facts and inferences are not clearly separated. Deductions: claims lack traceability, facts and inferences not distinguished.

Risks and how to mitigate them
  • Publisher identity is unverified; treat with caution.
  • Performance claims in README (e.g., 98% cache hit rate) lack verifiable sources.
  • Security boundary documentation (SECURITY.md) mentions hooks can execute shell commands, but lacks specific permission control details.
  • Version changelog is missing, and maintenance responsibility is unclear.
Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision f6661d9f559d New commits since this review; the score may not cover them
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.1.66
    Release notes excerpt
    v0.1.66 Summary This release sharpens the TUI and hardens the ACP/MCP runtime: 1. ACP session lifecycle — session/delete so Zed's Trash actually removes whale threads, plus permission options constrained to the ACP schema enum so approvals are never silently dropped. 2. Agent turn reliability — an "execute, don't narrate" system block plus wider premature-end recovery catches announce-then-stop turns across the ACP, terminal CLI, and subagents; abrupt turns recover with interrupt tracing. …
    View on GitHub ↗
  2. v0.1.65
    Release notes excerpt
    v0.1.65 Summary This release hardens the ACP (Agent Client Protocol) runtime and the agent turn loop: 1. ACP reliability overhaul — proper model resolution and API transport selection for whale-acp, automatic session compaction at a safe threshold, a raised tool-iteration cap, session/list support so Zed shows previous sessions, and no more mid-prompt eviction of sessions with in-flight requests. …
    View on GitHub ↗
  3. v0.1.64
    Release notes excerpt
    v0.1.64 Summary This release brings two significant improvements: 1. whale exec session resume & explicit mode control — resume existing sessions, override the execution mode (agent/ask/plan), and get strict, machine-parseable session validation with unified JSON error output. Built for automation workflows (CI, SWE-bench) with zero side effects on failed pre-checks. 2. TUI Alt+P permission cycle shortcut — cycle the permission mode directly from the chat view (ask → auto-review → auto-accept → ask) and always see the current permission state in the footer. …
    View on GitHub ↗

FAQ

What credentials do I need?
You need a DeepSeek API key. The documented setup command is whale setup.
Can it run in automation?
Yes. The README identifies whale --headless for CI/CD, automated PR reviews, and scheduled tasks.
Are Dynamic Workflows enabled automatically?
No. Enable them in /config or set [workflows] enabled = true in .whale/config.local.toml.
Is it intended for irreversible production changes?
The README describes active development and recommends workflows where changes can be reviewed and rolled back.
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents