by usewhale
Whale — blazingly fast, terminal-first AI coding agent for DeepSeek. ~98% prompt cache hit rate, 1M context, MCP tools, dynamic workflows.
# Add to your Claude Code skills
git clone https://github.com/usewhale/WhaleWhale is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by usewhale. Whale — blazingly fast, terminal-first AI coding agent for DeepSeek. ~98% prompt cache hit rate, 1M context, MCP tools, dynamic workflows. It has 933 GitHub stars.
Whale's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/usewhale/Whale" and add it to your Claude Code skills directory (see the Installation section above).
Whale is primarily written in Go. It is open-source under usewhale on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Whale against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
[!IMPORTANT] This repository is no longer maintained. If needed, please use the official harness: DeepSeek Harness.
Building wirebox.sh — The identity and communication layer for AI agents.
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.
| What | Why it matters |
|---|---|
| 💰 ~98% prompt cache hit | Whale reuses cached context aggressively — most prompts hit cache, slashing costs to pennies per session. DeepSeek pricing × Whale caching = AI-assisted coding at scale. |
| 🐋 DeepSeek-native | Built for DeepSeek's long context (1M tokens), tool calling, and cost efficiency — no generic multi-model wrapper |
| 🔁 Dynamic Workflows | Write JavaScript scripts that orchestrate multiple agents — fan-out research, multi-perspective review, pipelines. Claude Code compatible. |
| 🔌 MCP | Plug in 1,000+ MCP servers for extended tooling — file ops, shell, git, web, and more |
| 🧩 Skills + Plugins | Install community skills (code review, git workflows, etc.) or write your own |
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
/configin the TUI and enableDynamic workflows, or add[workflows] enabled = trueto.whale/config.local.toml.
Learn more: Workflow Overview · Custom Workflow Guide
| Extension | What it does | Get started |
|---|---|---|
| MCP Servers | Connect to 1,000+ tools (databases, APIs, browser automation) | docs/mcp.en.md |
| Skills | Load domain expertise — code review, git-worktree, and more | docs/skills.en.md |
| Subagents | Define focused child-agent roles such as reviewers or researchers | docs/agents.en.md |
| Plugins | Extend Whale's runtime with custom logic | docs/plugins.en.md |
| Hooks | Run scripts on lifecycle events | docs/hooks.en.md |
Whale currently offers three interfaces — with more environments on the way:
| Interface | When 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 --headless |
CI/CD, automated PR reviews, scheduled tasks |
⚠️ No longer maintained. This project has been discontinued. If needed, please use the official DeepSeek Harness.
Disclaimer: This project is not affiliated with DeepSeek Inc. It was an independent open-source community project.
See CONTRIBUTING.md for local development, testing, issues, and PRs.
Current direction and available tasks: ROADMAP.md.
Security issues: SECURITY.md.
Whale stands on the shoulders of giants:
And the many open-source libraries we depend on — thank you.