A terminal-native coding agent built for DeepSeek.
Persistent sessions, long context, tools, and programmable workflows โ
all in your terminal, no IDE required.
โจ At a Glance
What
Why it matters
๐ DeepSeek-native
Built for DeepSeek's long context (1M tokens), tool calling, and cost efficiency โ no generic multi-model wrapper
๐ฌ Persistent sessions
Come back days later, context is still there. Search, branch, resume.
๐๏ธ TUI + CLI + Headless
Interactive TUI, one-shot CLI commands, or headless automation โ pick your mode
โ๏ธ Tools & MCP
Read/edit files, run commands, search web โ and plug in 1,000+ MCP servers
๐งฉ Skills + Plugins
Install community skills (code review, git workflows, etc.) or write your own
๐ Dynamic Workflows
Write JavaScript scripts that orchestrate multiple agents โ fan-out research, multi-perspective review, pipelines. Claude Code compatible.
๐ฐ Cost-efficient
DeepSeek's aggressive pricing paired with prompt caching makes AI-assisted coding affordable at scale
# 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.
๐ 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");
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
๐ฏ Non-goals
Multi-model shell. Whale is DeepSeek-first โ optimized for DeepSeek's caching, tools, and pricing.
IDE replacement. Whale works in your terminal alongside your shell, git, and test commands.
๐ฆ 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.