能力标签
⚙️
Agent工作流

CodeWhale

基于 Rust · 无代码搭建完整 AI 自动化流程
⭐ 34.0k Stars 🍴 2.9k Forks 💻 Rust 📄 MIT 🏷 AI 7.5分
7.5AI 综合评分
workflowclideepseekllmrustterminal
✦ AI Skill Hub 推荐

AI Skill Hub 推荐使用:CodeWhale 是一款优质的Agent工作流。在 GitHub 上收获超过 34.0k 颗 Star,AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。

📚 深度解析
CodeWhale 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

CodeWhale 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 7.5 分,是同类 Agent 工作流中的精选推荐。
📋 工具概览

Coding agent for DeepSeek models that runs in your terminal,提高开发效率和AI模型的使用体验。

CodeWhale 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 34.0k
开发语言
Rust
支持平台
Windows / macOS / Linux
维护状态
活跃维护,更新频繁
开源协议
MIT
AI 综合评分
7.5 分
工具类型
Agent工作流
Forks
2.9k
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

Coding agent for DeepSeek models that runs in your terminal,提高开发效率和AI模型的使用体验。

CodeWhale 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:cargo install(推荐)
cargo install codewhale

# 方式二:从源码编译
git clone https://github.com/Hmbown/CodeWhale
cd CodeWhale
cargo build --release
# 二进制在 ./target/release/codewhale
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
codewhale --help

# 基本运行
codewhale [options] <input>

# 详细使用说明请查阅文档
# https://github.com/Hmbown/CodeWhale
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# codewhale 配置说明
# 查看配置选项
codewhale --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export CODEWHALE_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 82/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

CodeWhale

DeepSeek-first agentic terminal for open source and open-weight coding models. It runs from the codewhale command, streams reasoning blocks, edits local workspaces with approval gates, and can auto-route each turn to the right DeepSeek model and thinking level.

简体中文 README 日本語 README

2024 edition; older toolchains fail with "feature `edition2024` is

Key Features

  • Model auto-routing--model auto / /model auto chooses both the model and thinking level for each turn
  • Thinking-mode streaming — see DeepSeek reasoning blocks as the model works
  • Full tool suite — file ops, shell execution, git, web search/browse, apply-patch, sub-agents, MCP servers
  • 1M-token context — context tracking, manual or configured compaction, and prefix-cache telemetry
  • Prefix-cache stability tracking — an optional /statusline footer chip surfaces how stable the cached prefix has been across recent turns so cost-busting edits are visible before they land
  • Three modes — Plan (read-only explore), Agent (interactive with approval), YOLO (auto-approved)
  • Reasoning-effort tiers — cycle through off → high → max with Shift + Tab
  • Session save/resume/fork — checkpoint long-running sessions and fork saved conversations into sibling paths with parent lineage shown in the picker
  • Workspace rollback — side-git pre/post-turn snapshots with /restore and revert_turn, without touching your repo's .git
  • OS-level sandbox — Seatbelt on macOS, Landlock on Linux, Job Objects on Windows; shell commands run with workspace-scoped filesystem access only
  • Durable task queue — background tasks can survive restarts
  • HTTP/SSE runtime APIcodewhale serve --http for headless agent workflows
  • MCP protocol — connect to Model Context Protocol servers for extended tooling; please see docs/MCP.md
  • Fin-powered seams — cheap deepseek-v4-flash with thinking off handles routing, RLM child calls, summaries, and other fast coordination work
  • Native RLM (rlm_open/rlm_eval) — persistent REPL sessions for batched analysis with bounded helpers like peek, search, chunk, and sub_query_batch
  • LSP diagnostics — inline error/warning surfacing after every edit via rust-analyzer, pyright, typescript-language-server, gopls, clangd
  • User memory — optional persistent note file injected into the system prompt for cross-session preferences
  • Localized UIen, ja, zh-Hans, pt-BR with auto-detection
  • Live cost tracking — per-turn and session-level token usage and cost estimates; cache hit/miss breakdown; CNY display when the session locale is zh-Hans
  • Skills system — composable, installable instruction packs from GitHub; ships with a bundled starter set (skill-creator, mcp-builder, plugin-creator, v4-best-practices, documents, presentations, spreadsheets, pdf, feishu, skill-installer, delegate) so /skills is useful from first launch
  • Terminal-native notifications — OSC 9 (iTerm2/WezTerm/Ghostty), OSC 99 (Kitty), OSC 777 (Ghostty), plus desktop notification fallback
  • Built-in theme picker — Catppuccin, Tokyo Night, Dracula, Gruvbox alongside the original light/dark palettes; switch live with /theme

---

2. Cargo — no Node needed. Requires Rust 1.88+ (the crates use the

Install

codewhale is distributed as Rust binaries: the dispatcher command (codewhale) and the companion TUI runtime (codewhale-tui). Pick whichever install path you already use; they all put the same commands on your PATH. The npm package is an installer/wrapper for the release binaries, not the agent runtime itself.

```bash

5. Docker — prebuilt release image.

docker volume create codewhale-home docker run --rm -it \ -e DEEPSEEK_API_KEY="$DEEPSEEK_API_KEY" \ -v codewhale-home:/home/codewhale/.deepseek \ -v "$PWD:/workspace" \ -w /workspace \ ghcr.io/hmbown/codewhale:latest


> In mainland China, speed up the npm path with
> `--registry=https://registry.npmmirror.com`, or use the
> [Cargo mirror](#china--mirror-friendly-installation) below.
>
> Download safety: official release binaries live under
> `https://github.com/Hmbown/CodeWhale/releases`. For manual downloads,
> verify the SHA-256 manifest and avoid look-alike repositories or search-result
> mirrors. See [download safety and checksums](docs/INSTALL.md#2-download-safety-and-checksums).

Already installed? Use the updater that matches the install path:
bash codewhale update # release-binary updater npm install -g codewhale@latest # npm wrapper brew update && brew upgrade deepseek-tui cargo install codewhale-cli --locked --force cargo install codewhale-tui --locked --force ```

CI npm crates.io DeepWiki project index

codewhale screenshot

---

China / Mirror-friendly Installation

If GitHub or npm downloads are slow from mainland China, use a Cargo registry mirror:

```toml

Linux build deps (Debian/Ubuntu/RHEL):

sudo apt-get install -y build-essential pkg-config libdbus-1-dev

sudo dnf install -y gcc make pkgconf-pkg-config dbus-devel

git clone https://github.com/Hmbown/CodeWhale.git cd CodeWhale

cargo install --path crates/cli --locked # requires Rust 1.88+; provides codewhale cargo install --path crates/tui --locked # provides codewhale-tui ```

Both binaries are required. Cross-compilation and platform-specific notes: docs/INSTALL.md.

</details>

Quickstart

npm install -g codewhale
codewhale --version
codewhale --model auto

Prebuilt binaries are published for Linux x64, Linux ARM64 (v0.8.8+), macOS x64, macOS ARM64, and Windows x64. For other targets (musl, riscv64, FreeBSD, etc.), see Install from source or docs/INSTALL.md.

On first launch you'll be prompted for your DeepSeek API key. The key is saved to ~/.deepseek/config.toml so it works from any directory without OS credential prompts.

You can also set it ahead of time:

codewhale auth set --provider deepseek   # saves to ~/.deepseek/config.toml
codewhale auth status                    # shows the active credential source

export DEEPSEEK_API_KEY="YOUR_KEY"      # env var alternative; use ~/.zshenv for non-interactive shells
codewhale

codewhale doctor                         # verify setup

If codewhale doctor says the rejected key came from DEEPSEEK_API_KEY, remove the stale export from your shell startup file, open a fresh shell, or run codewhale auth set --provider deepseek. Use codewhale auth status to see the config, keyring, and env-var source state without printing the key. Saved config keys take precedence over the keyring and environment and are easier to rotate.

To rotate or remove a saved key: codewhale auth clear --provider deepseek.

Usage

codewhale                                         # interactive TUI
codewhale "explain this function"                 # one-shot prompt
codewhale exec --auto --output-format stream-json "fix this bug"  # agentic exec with tool auto-approvals
codewhale exec --resume <SESSION_ID> "follow up"  # continue a non-interactive session
codewhale --model deepseek-v4-flash "summarize"   # model override
codewhale --model auto "fix this bug"             # auto-route model + thinking
codewhale --yolo                                  # auto-approve tools
codewhale auth set --provider deepseek            # save API key
codewhale doctor                                  # check setup & connectivity
codewhale doctor --json                           # machine-readable diagnostics
codewhale setup --status                          # read-only setup status
codewhale setup --tools --plugins                 # scaffold tool/plugin dirs
codewhale models                                  # list live API models
codewhale sessions                                # list saved sessions
codewhale resume --last                           # resume the most recent session in this workspace
codewhale resume <SESSION_ID>                     # resume a specific session by UUID
codewhale fork <SESSION_ID>                       # fork a saved session into a sibling path
codewhale serve --http                            # HTTP/SSE API server
codewhale serve --acp                             # ACP stdio adapter for Zed/custom agents
codewhale run pr <N>                              # fetch PR and pre-seed review prompt
codewhale mcp list                                # list configured MCP servers
codewhale mcp validate                            # validate MCP config/connectivity
codewhale mcp-server                              # run dispatcher MCP stdio server
codewhale update                                  # check for and apply binary updates

~/.cargo/config.toml

[source.crates-io] replace-with = "tuna"

[source.tuna] registry = "sparse+https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/"


Then install both binaries (the dispatcher delegates to the TUI at runtime):
bash cargo install codewhale-cli --locked # provides codewhale cargo install codewhale-tui --locked # provides codewhale-tui codewhale --version ```

Prebuilt binaries can also be downloaded from GitHub Releases. Use DEEPSEEK_TUI_RELEASE_BASE_URL for mirrored release assets.

Configuration

User config: ~/.deepseek/config.toml. Project overlay: <workspace>/.deepseek/config.toml (denied: api_key, base_url, provider, mcp_config_path). config.example.toml has every option.

Key environment variables:

VariablePurpose
DEEPSEEK_API_KEYAPI key
DEEPSEEK_BASE_URLAPI base URL
DEEPSEEK_HTTP_HEADERSOptional custom model request headers, e.g. X-Model-Provider-Id=your-model-provider
DEEPSEEK_MODELDefault model
DEEPSEEK_STREAM_IDLE_TIMEOUT_SECSStream idle timeout in seconds, default 300, clamped to 1..=3600
DEEPSEEK_PROVIDERcodewhale (default), nvidia-nim, openai, atlascloud, wanjie-ark, openrouter, novita, fireworks, sglang, vllm, ollama
DEEPSEEK_PROFILEConfig profile name
DEEPSEEK_MEMORYSet to on to enable user memory
DEEPSEEK_ALLOW_INSECURE_HTTP=1Allow non-local http:// API base URLs on trusted networks
NVIDIA_API_KEY / OPENAI_API_KEY / ATLASCLOUD_API_KEY / WANJIE_ARK_API_KEY / OPENROUTER_API_KEY / NOVITA_API_KEY / FIREWORKS_API_KEY / SGLANG_API_KEY / VLLM_API_KEY / OLLAMA_API_KEYProvider auth
OPENAI_BASE_URL / OPENAI_MODELGeneric OpenAI-compatible endpoint and model ID
ATLASCLOUD_BASE_URL / ATLASCLOUD_MODELAtlasCloud endpoint and model override
WANJIE_ARK_BASE_URL / WANJIE_ARK_MODELWanjie Ark endpoint and model override
OPENROUTER_BASE_URLOpenRouter endpoint override
NOVITA_BASE_URLNovita endpoint override
FIREWORKS_BASE_URLFireworks endpoint override
SGLANG_BASE_URLSelf-hosted SGLang endpoint
SGLANG_MODELSelf-hosted SGLang model ID
VLLM_BASE_URLSelf-hosted vLLM endpoint
VLLM_MODELSelf-hosted vLLM model ID
OLLAMA_BASE_URLSelf-hosted Ollama endpoint
OLLAMA_MODELSelf-hosted Ollama model tag
NO_ANIMATIONS=1Force accessibility mode at startup
SSL_CERT_FILECustom CA bundle for corporate proxies

Set locale in settings.toml, use /config locale zh-Hans, or rely on LC_ALL/LANG to choose UI chrome and the fallback language sent to V4 models. The latest user message still wins for natural-language reasoning and replies, so Chinese user turns stay Chinese even on an English system locale. See docs/CONFIGURATION.md and docs/MCP.md.

---

Other API Providers

Official DeepSeek remains the default and first-class path. Other providers are additive, with OpenRouter starting from DeepSeek Pro/Flash before broader open-model catalogs are enabled.

```bash

Generic OpenAI-compatible endpoint

codewhale auth set --provider openai --api-key "YOUR_OPENAI_COMPATIBLE_API_KEY" OPENAI_BASE_URL="https://openai-compatible.example/v4" codewhale --provider openai --model glm-5

1. npm — easiest if you already use Node. The package downloads the

3. Homebrew — macOS package manager.

brew tap Hmbown/deepseek-tui brew install deepseek-tui

4. Direct download — no package manager or toolchain.

description: Use this when DeepSeek should follow my custom workflow.

🎯 aiskill88 AI 点评 A 级 2026-05-24

CodeWhale是一个开源的AI工作流,提供了一个Coding agent for DeepSeek models that runs in your terminal的功能,提高开发效率和AI模型的使用体验,值得关注。

⚡ 核心功能
👥 适合人群
自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队
🎯 使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
⚖️ 优点与不足
✅ 优点
  • +GitHub 34.0k Star,社区高度认可
  • +MIT 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
❓ 常见问题 FAQ
解答:请参见项目README文件
💡 AI Skill Hub 点评

总体来看,CodeWhale 是一款质量良好的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 CodeWhale
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 CodeWhale
Topics workflowclideepseekllmrustterminal
GitHub https://github.com/Hmbown/CodeWhale
License MIT
语言 Rust
🔗 原始来源
🐙 GitHub 仓库  https://github.com/Hmbown/CodeWhale 🌐 官方网站  https://deepseek-tui.com/

收录时间:2026-05-24 · 更新时间:2026-05-24 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。