DeepCode Agent工作流 是 AI Skill Hub 本期精选Agent工作流之一。在 GitHub 上收获超过 15.6k 颗 Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
DeepCode Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
DeepCode Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install deepcode
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install deepcode
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/HKUDS/DeepCode
cd DeepCode
pip install -e .
# 验证安装
python -c "import deepcode; print('安装成功')"
# 命令行使用
deepcode --help
# 基本用法
deepcode input_file -o output_file
# Python 代码中调用
import deepcode
# 示例
result = deepcode.process("input")
print(result)
# deepcode 配置文件示例(config.yml) app: name: "deepcode" debug: false log_level: "INFO" # 运行时指定配置文件 deepcode --config config.yml # 或通过环境变量配置 export DEEPCODE_API_KEY="your-key" export DEEPCODE_OUTPUT_DIR="./output"
|
██████╗ ███████╗███████╗██████╗ ██████╗ ██████╗ ██████╗ ███████╗
██╔══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔═══██╗██╔══██╗██╔════╝
██║ ██║█████╗ █████╗ ██████╔╝██║ ██║ ██║██║ ██║█████╗
██║ ██║██╔══╝ ██╔══╝ ██╔═══╝ ██║ ██║ ██║██║ ██║██╔══╝
██████╔╝███████╗███████╗██║ ╚██████╗╚██████╔╝██████╔╝███████╗
╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝
|
🎯 Watch our complete introduction - See how DeepCode transforms research papers and natural language into production-ready code
<p> <a href="https://youtu.be/PRgmP8pOI08" target="_blank"> <img src="https://img.shields.io/badge/▶️_Watch_Video-FF0000?style=for-the-badge&logo=youtube&logoColor=white" alt="Watch Video"/> </a> </p>
</div>
---
"Where AI Agents Transform Ideas into Production-Ready Code"
</div>
---
DeepCode provides a complete local Coding Agent workflow. CLI and Desktop are two ways to use the same Agent, Sessions, models, Skills, permissions, and task state.
<p align="center"> <img src="assets/readme/verification-loop.png" alt="DeepCode Agent Harness and verification loop" width="1080" /> </p>
Install uv first if it is not already available. On Windows PowerShell:
winget install --id astral-sh.uv --exact
Open a new terminal after the first uv installation, then run:
uv tool install --python 3.12 deepcode-hku
deepcode init
The explicit Python selection is intentional: DeepCode requires Python 3.12+ and must not fall back to an unsupported legacy package on an older interpreter. If an existing uv tool environment still contains DeepCode 1.x, migrate it with uv tool upgrade --python 3.12 deepcode-hku.
Create a model connection once. --api-key opens a non-echoing prompt:
deepcode provider set personal-openrouter --template openrouter --label "OpenRouter · Personal" --api-key
deepcode provider models personal-openrouter --refresh
deepcode provider test personal-openrouter --model <model-id>
Enter the repository you want DeepCode to work in and start the interactive Agent:
cd <your-project>
deepcode
deepcode init creates minimal user configuration under ~/.deepcode/. Credentials are stored separately in user-private storage and are never written to Session history. pipx install deepcode-hku and pip install deepcode-hku are also supported in an appropriate Python 3.12+ environment.
Desktop release bundles are distributed separately from the Python package. Check GitHub Releases for a signed installer for your platform. If no installer is attached, use the source setup below.
Install the platform dependencies from the Tauri 2 prerequisite guide, plus Git, Python 3.12+, uv, Node.js 22+, and stable Rust. Then run:
git clone https://github.com/HKUDS/DeepCode.git
cd DeepCode
uv venv --python 3.12
uv pip install --python .venv/bin/python -e .
.venv/bin/deepcode init
cd desktop
npm ci
npm run setup:sidecar
npm run build:sidecar
cd ..
mkdir -p ~/.local/bin
ln -sf "$(pwd)/scripts/deepcode-desktop" ~/.local/bin/deepcode-desktop
export PATH="$HOME/.local/bin:$PATH"
deepcode-desktop
The final link is a one-time source launcher installation. Afterwards, deepcode-desktop starts this checkout from any directory, provided ~/.local/bin is on PATH. Add the export to your shell profile if it is not already configured. The command launches Desktop; add or select the repository you want to work on from the Project sidebar.
Windows requires Microsoft Edge WebView2 and the Visual Studio 2022 Build Tools workload Desktop development with C++. Accept the UAC prompt raised by Build Tools:
winget install --id Git.Git --exact
winget install --id astral-sh.uv --exact
winget install --id OpenJS.NodeJS.LTS --exact
winget install --id Rustlang.Rustup --exact
winget install --id Microsoft.VisualStudio.2022.BuildTools --exact `
--override "--wait --passive --norestart --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
Close PowerShell, open a new window, and verify the toolchains:
git --version
uv --version
node --version
rustup default stable-msvc
rustc --version
cargo --version
Clone, prepare, and start Desktop:
git clone https://github.com/HKUDS/DeepCode.git
Set-Location DeepCode
uv venv --python 3.12
uv pip install --python .venv\Scripts\python.exe -e .
.venv\Scripts\deepcode.exe init
Set-Location desktop
npm ci
$env:DEEPCODE_PYTHON = (Resolve-Path ..\.venv\Scripts\python.exe)
npm run setup:sidecar
npm run build:sidecar
npm run tauri -- dev
Keep that PowerShell window open while Desktop is running. See the Desktop source guide for subsequent launches and troubleshooting.
Open Settings → AI providers after Desktop starts.
<sub>Provider credentials, model discovery, and inference verification stay in one Desktop workflow.</sub> </div>
1. Select Add provider, choose the service, and enter an API key or its environment-variable name. 2. Select Save and check to verify the credential and load the provider's model catalog without sending repository content. 3. Under Agent model, choose an exact model ID and select Save and verify model. This final check sends only a minimal inference request. 4. Add or open a Project, create a Session, choose the model, Thinking effort, and access level, then describe the task in natural language.
The interface changes how the work is presented, not the Agent, policy, configuration, or Session history behind it.
DeepCode has two interfaces with separate installation paths. Choose one to get started; both use the same Agent runtime and canonical Session history.
uv tool install --python 3.12 deepcode-hku installs the CLI and shared Python runtime. It does not install the Tauri Desktop application.
DeepCode is not tied to one model provider. Connect OpenRouter, OpenAI, Anthropic, DeepSeek, Gemini, an OpenAI-compatible gateway, Ollama, vLLM, or another compatible endpoint with your own API Key.
Before use, a connection can check credentials, the model catalog, and a real inference request. Each Session can choose a model and Thinking Level. Changing models mid-Session affects future Turns only; it does not delete history or confuse where earlier work came from. When supported, DeepCode can also show a reasoning summary returned by the Provider.
<img src="https://github.com/Zongwei9888/Experiment_Images/raw/e389750e733ec2c1b94986cb990036899dcaec52/DeepCode_images/Area.gif" alt="DeepCode Desktop coding agent demo" width="100%" style="border-radius: 10px; box-shadow: 0 8px 20px rgba(45,55,72,0.3); margin: 15px 0;"/>
Work with DeepCode in a visual workspace for Sessions, goals, tool activity, code changes, and verification. </div>
DeepCode has one Agent runtime and two interfaces: an interactive CLI for terminal workflows and a Tauri Desktop workbench for visual Sessions, review, and settings. Both open the same local Projects, Session history, models, Skills, permissions, Goals, and Automations. See the Desktop source guide to run the application locally.
---
Plugins optionally package Skills behind a validated local manifest; standalone project and user Skills continue to install and run without a Plugin. New packages must use the Agent Plugins 1.0.0 manifest and fixed skills/ layout. Add a trusted folder from the Desktop Plugins workspace or with `deepcode plugin add <path>`; its Skills then appear in the ordinary Skill catalog and Composer. A standards-compliant mcp.json may also contribute MCP servers; registration remains inert and those processes start only inside an Agent Session. DeepCode does not execute Plugin hooks or Apps and does not download from a Marketplace. See the local Plugin contract.
The Desktop Automation workspace turns a trusted Project instruction into a manual or interval run while keeping the normal Agent, Session, Goal, permissions, recovery, and Run history. Use it for repeatable work such as repository health checks, regression review, or scheduled maintenance.
Shell scripts and CI systems can use the same runtime without opening an interface. The separate Headless and Automation guide contains the exec, loop, Automation, Provider, Skill, and Session administration commands. They are advanced integration surfaces—not a second way ordinary Desktop or CLI users must learn to talk to DeepCode.
DeepCode 是一个强大的自动化开发工具,旨在将复杂的科研论文(Research Papers)直接转化为可运行的代码。通过集成先进的 AI 能力,它能够理解学术逻辑并实现高效的代码转换,帮助开发者从理论研究快速跨越到工程实现阶段。
DeepCode 具备核心的 Paper2Code 能力,能够深度解析论文逻辑。同时,它内置了 Process Intelligence 功能,通过 Adaptive Flow 技术实现动�� Agent 选择,能够根据输入任务的复杂度自动调整处理流程,确保复杂任务的执行效率与准确性。
在安装 DeepCode 之前,请确保您的系统已配置好必要的运行环境:需要 Python 3.9+ 作为核心运行时,Node.js 18+ 用于驱动全新的 UI 前端,并安装 npm 8+ 用于包管理。建议在安装前检查相关环境版本是否符合要求。
DeepCode 提供多种灵活的安装方式:推荐使用 Direct Installation 通过 `pip install deepcode-hku` 直接安装;对于开发者,可以通过 Git 源码进行开发模式安装,并推荐使用 UV 工具进行管理;此外,您也可以通过 Docker 容器化环境快速部署,实现开箱即用的体验。
项目提供了 Quick Start 快速入门指南,包含丰富的示例代码。用户可以通过 CLI 命令行模式或全新的 Web UI 界面进行交互。无论是进行简单的代码转换任务,还是复杂的流程自动化,DeepCode 都能提供直观的操作体验。
DeepCode 采用单文件配置管理模式,所有设置均统一存储在 `deepcode_config.json` 中,确保了配置的唯一性(Single Source of Truth)。用户需在此文件中配置必要的 API Keys,并支持通过 `${ENV_VAR}` 引用环境变量,同���支持 MCP 服务器的路径配置。
DeepCode 提供了多样化的交互接口。除了支持开发者习惯的 Terminal-Based CLI 命令行界面外,还提供了直观的图形化界面。通过不同的模式,用户可以在终端或 Web 端灵活切换,满足从快速调试到深度开发的各种场景需求。
DeepCode 构建了强大的模块化工作流,支持通过 MCP (Model Context Protocol) 扩展功能,例如集成 filesystem 服务器以实现文件系统操作。此外,通过 nanobot 集成,用户还可以将 DeepCode 接入 Feishu、Telegram 或 Discord 等聊天平台,实现跨平台的智能协作。
针对安装与运行过程中可能遇到的问题,我们整理了详细的 Troubleshooting 常见问题解答。例如,针对 Docker 构建时出现的 `tsc: not found` 错误或 Docker 连接失败等问题,提供了从清理缓存到重新构建的标准化解决方案。
DeepCode展现了AI工程化落地的良好实践,15.6k星表明社区认可度高。多模态代码生成能力符合当下需求,代码质量有保证,值得AI开发者重点关注。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,DeepCode Agent工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | DeepCode |
| 原始描述 | 开源AI工作流:"DeepCode: Open Agentic Coding (Paper2Code & Text2Web & Text2Backend)"。⭐15.6k · Python |
| Topics | AI编码代码生成LLM智能体工作流自动化开源 |
| GitHub | https://github.com/HKUDS/DeepCode |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端