{"slug": "whale-98-cache-hit-with-deepseek", "title": "Whale – 98% Cache Hit with DeepSeek", "summary": "Whale, an open-source AI coding agent optimized for DeepSeek, launched with a claimed 98% prompt cache hit rate, enabling cost-efficient AI-assisted coding across terminal, desktop, and CI environments. The tool supports long context, tool calling, dynamic workflows, and MCP servers, positioning itself as a DeepSeek-native alternative to generic multi-model wrappers.", "body_md": "[简体中文](/usewhale/Whale/blob/main/README.zh.md) · **English**\n\nBlazingly fast · ~98% prompt cache hit · Zero bloat\n\n**Whale — AI coding agent for DeepSeek, in any environment.**\n\nLong context, tools, and programmable workflows —\n\nstart in the terminal, scale to desktop and beyond.\n\nAny platform:\n\n```\nnpm install -g @usewhale/whale\n```\n\nmacOS:\n\n```\nbrew install usewhale/tap/whale\n```\n\nLinux:\n\n```\ncurl -fsSL https://raw.githubusercontent.com/usewhale/Whale/main/scripts/install.sh | sh\n```\n\nWindows PowerShell:\n\nRequires Windows 10 or Windows Server 2016 or later.\n\n```\nirm https://raw.githubusercontent.com/usewhale/Whale/main/scripts/install.ps1 | iex\n```\n\nWindows CMD:\n\n```\npowershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://raw.githubusercontent.com/usewhale/Whale/main/scripts/install.ps1 | iex\"\n# Set your DeepSeek API key\nwhale setup\n\n# Launch the interactive TUI\nwhale\n```\n\nThat's it. Type your question and Whale starts working — reading files, running commands, editing code, searching the web.\n\nNeed a different model provider, proxy, or custom config? See\n\n[Configuration].\n\n| What | Why it matters |\n|---|---|\n💰 ~98% prompt cache hit |\nWhale reuses cached context aggressively — most prompts hit cache, slashing costs to pennies per session. DeepSeek pricing × Whale caching = AI-assisted coding at scale. |\n🐋 DeepSeek-native |\nBuilt for DeepSeek's long context (1M tokens), tool calling, and cost efficiency — no generic multi-model wrapper |\n🔁 Dynamic Workflows |\nWrite JavaScript scripts that orchestrate multiple agents — fan-out research, multi-perspective review, pipelines. Claude Code compatible. |\n🔌 MCP |\nPlug in 1,000+ MCP servers for extended tooling — file ops, shell, git, web, and more |\n🧩 Skills + Plugins |\nInstall community skills (code review, git workflows, etc.) or write your own |\n\nWhale's **Dynamic Workflows** let you script multi-agent orchestration in JavaScript:\n\n``` js\n// .whale/workflows/research.js\nconst results = await parallel([\n  () => agent(\"Search for best practices in Go error handling\"),\n  () => agent(\"Find common Go error handling mistakes\"),\n]);\nreturn agent(\"Synthesize both findings into a concise guide\");\n```\n\n**Fan-out research · Multi-perspective review · Pipeline processing · Adversarial validation**\n\n✅\n\nClaude Code compatible— workflow scripts written for Claude Code work as-is in Whale.\n\n— run⚠️ Disabled by default`/config`\n\nin the TUI and enable`Dynamic workflows`\n\n, or add`[workflows] enabled = true`\n\nto`.whale/config.local.toml`\n\n.\n\nLearn more: [Workflow Overview](/usewhale/Whale/blob/main/docs/workflows.en.md) · [Custom Workflow Guide](/usewhale/Whale/blob/main/docs/custom-workflows.en.md)\n\n| Extension | What it does | Get started |\n|---|---|---|\nMCP Servers |\nConnect to 1,000+ tools (databases, APIs, browser automation) |\n|\n\n**Skills**[docs/skills.en.md](/usewhale/Whale/blob/main/docs/skills.en.md)** Subagents**[docs/agents.en.md](/usewhale/Whale/blob/main/docs/agents.en.md)** Plugins**[docs/plugins.en.md](/usewhale/Whale/blob/main/docs/plugins.en.md)** Hooks**[docs/hooks.en.md](/usewhale/Whale/blob/main/docs/hooks.en.md)Whale currently offers three interfaces — with more environments on the way:\n\n| Interface | When to use |\n|---|---|\n(TUI)`whale` |\nInteractive coding sessions — chat, review, iterate with full context |\n(CLI)`whale ask \"...\"` |\nOne-shot questions, quick code reviews, single commands |\n`whale --headless` |\nCI/CD, automated PR reviews, scheduled tasks |\n\n**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.\n\nWhale is in active development. Best suited for personal projects, experimental repositories, and workflows where changes can be reviewed and rolled back.\n\nDisclaimer:This project is not affiliated with DeepSeek Inc. It is an independent open-source community project.\n\nSee [CONTRIBUTING.md](/usewhale/Whale/blob/main/CONTRIBUTING.md) for local development, testing, issues, and PRs.\n\nCurrent direction and available tasks: [ROADMAP.md](/usewhale/Whale/blob/main/ROADMAP.md).\n\nSecurity issues: [SECURITY.md](/usewhale/Whale/blob/main/SECURITY.md).\n\nWhale stands on the shoulders of giants:\n\n[Charmbracelet](https://charm.sh)— Bubble Tea, Lip Gloss, Glamour, and the entire TUI ecosystem[fastschema/qjs](https://github.com/fastschema/qjs)— QuickJS Go bindings for workflow scripting[spf13/cobra](https://github.com/spf13/cobra)— CLI framework[alecthomas/chroma](https://github.com/alecthomas/chroma)— Syntax highlighting[yuin/goldmark](https://github.com/yuin/goldmark)— Markdown parsing[modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk)— MCP protocol support[tetratelabs/wazero](https://github.com/tetratelabs/wazero)— Pure-Go WebAssembly runtime\n\nAnd the many open-source libraries we depend on — thank you.", "url": "https://wpnews.pro/news/whale-98-cache-hit-with-deepseek", "canonical_source": "https://github.com/usewhale/Whale", "published_at": "2026-07-16 05:27:22+00:00", "updated_at": "2026-07-16 05:55:48.808330+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "developer-tools", "artificial-intelligence", "large-language-models"], "entities": ["Whale", "DeepSeek", "Claude Code", "MCP"], "alternates": {"html": "https://wpnews.pro/news/whale-98-cache-hit-with-deepseek", "markdown": "https://wpnews.pro/news/whale-98-cache-hit-with-deepseek.md", "text": "https://wpnews.pro/news/whale-98-cache-hit-with-deepseek.txt", "jsonld": "https://wpnews.pro/news/whale-98-cache-hit-with-deepseek.jsonld"}}