← Discover MCPs and Agents
W
MCPAI & MLGitHub

Whale

Whale — blazingly fast, terminal-first AI coding agent for DeepSeek. ~98% prompt cache hit rate, 1M context, MCP tools, dynamic workflows.

Links

README

From the repo.

Whale

Whale — AI coding agent for DeepSeek, in any environment

简体中文 · English

release npm CI license GitHub stars 98% prompt cache hit

Blazingly fast · ~98% prompt cache hit · Zero bloat

Whale — AI coding agent for DeepSeek, in any environment.
Long context, tools, and programmable workflows —
start in the terminal, scale to desktop and beyond.


🚀 Quick Start

Any platform:

npm install -g @usewhale/whale

macOS:

brew install usewhale/tap/whale

Linux:

curl -fsSL https://raw.githubusercontent.com/usewhale/Whale/main/scripts/install.sh | sh

Windows PowerShell:

Requires Windows 10 or Windows Server 2016 or later.

irm https://raw.githubusercontent.com/usewhale/Whale/main/scripts/install.ps1 | iex

Windows CMD:

powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/usewhale/Whale/main/scripts/install.ps1 | iex"
# Set your DeepSeek API key
whale setup

# Launch the interactive TUI
whale

That's it. Type your question and Whale starts working — reading files, running commands, editing code, searching the web.

Need a different model provider, proxy, or custom config? See Configuration.


✨ At a Glance

WhatWhy it matters
💰 ~98% prompt cache hitWhale reuses cached context aggressively — most prompts hit cache, slashing costs to pennies per session. DeepSeek pricing × Whale caching = AI-assisted coding at scale.
🐋 DeepSeek-nativeBuilt for DeepSeek's long context (1M tokens), tool calling, and cost efficiency — no generic multi-model wrapper
🔁 Dynamic WorkflowsWrite JavaScript scripts that orchestrate multiple agents — fan-out research, multi-perspective review, pipelines. Claude Code compatible.
🔌 MCPPlug in 1,000+ MCP servers for extended tooling — file ops, shell, git, web, and more
🧩 Skills + PluginsInstall community skills (code review, git workflows, etc.) or write your own

🔁 Dynamic Workflows

Whale's Dynamic Workflows let you script multi-agent orchestration in JavaScript:

// .whale/workflows/research.js
const results = await parallel([
  () => agent("Search for best practices in Go error handling"),
  () => agent("Find common Go error handling mistakes"),
]);
return agent("Synthesize both findings into a concise guide");

Fan-out research · Multi-perspective review · Pipeline processing · Adversarial validation

✅ Claude Code compatible — workflow scripts written for Claude Code work as-is in Whale.

⚠️ Disabled by default — run /config in the TUI and enable Dynamic workflows, or add [workflows] enabled = true to .whale/config.local.toml.

Learn more: Workflow Overview · Custom Workflow Guide


🧰 MCP, Skills & Plugins

ExtensionWhat it doesGet started
MCP ServersConnect to 1,000+ tools (databases, APIs, browser automation)docs/mcp.en.md
SkillsLoad domain expertise — code review, git-worktree, and moredocs/skills.en.md
SubagentsDefine focused child-agent roles such as reviewers or researchersdocs/agents.en.md
PluginsExtend Whale's runtime with custom logicdocs/plugins.en.md
HooksRun scripts on lifecycle eventsdocs/hooks.en.md

📸 How It Works

Whale currently offers three interfaces — with more environments on the way:

InterfaceWhen to use
whale (TUI)Interactive coding sessions — chat, review, iterate with full context
whale ask "..." (CLI)One-shot questions, quick code reviews, single commands
whale --headlessCI/CD, automated PR reviews, scheduled tasks

🎯 Non-goals

  • Multi-model shell. Whale is DeepSeek-first — optimized for DeepSeek's caching, tools, and pricing.
  • IDE replacement. Whale is not an IDE — it's an agent that meets you wherever you code: terminal, desktop, or CI.

📦 Project Status

Whale is in active development. Best suited for personal projects, experimental repositories, and workflows where changes can be reviewed and rolled back.

Disclaimer: This project is not affiliated with DeepSeek Inc. It is an independent open-source community project.


🤝 Contributing

See CONTRIBUTING.md for local development, testing, issues, and PRs.

Current direction and available tasks: ROADMAP.md.

Security issues: SECURITY.md.


Star History

Star History Chart

🙏 Credits

Whale stands on the shoulders of giants:

And the many open-source libraries we depend on — thank you.

Collected info

  • ★ 929 stars
  • ⎇ 73 forks
  • Language: Go
  • Source updated: 9/19/2026

Config for your environment

Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.

Tool

OS

Config file: ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "url": "{MCP_ENDPOINT_URL}"
    }
  }
}

Paste into mcpServers in the config file. Restart Cursor after saving.

If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.