能力标签
DeepCode Agent工作流
⚙️
Agent工作流

DeepCode Agent工作流

基于 Python · 无代码搭建完整 AI 自动化流程
英文名:DeepCode
⭐ 15.6k Stars 🍴 2.1k Forks 💻 Python 📄 MIT 🏷 AI 8.2分
8.2AI 综合评分
AI编码代码生成LLM智能体工作流自动化开源
✦ AI Skill Hub 推荐

DeepCode Agent工作流 是 AI Skill Hub 本期精选Agent工作流之一。在 GitHub 上收获超过 15.6k 颗 Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

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

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

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

📋 工具概览

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

GitHub Stars
⭐ 15.6k
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
活跃维护,更新频繁
开源协议
MIT
AI 综合评分
8.2 分
工具类型
Agent工作流
Forks
2.1k

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

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

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一: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('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
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"
📑 README 深度解析 真实文档 完整度 76/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

DeepCode Logo
    ██████╗ ███████╗███████╗██████╗  ██████╗ ██████╗ ██████╗ ███████╗
    ██╔══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔═══██╗██╔══██╗██╔════╝
    ██║  ██║█████╗  █████╗  ██████╔╝██║     ██║   ██║██║  ██║█████╗
    ██║  ██║██╔══╝  ██╔══╝  ██╔═══╝ ██║     ██║   ██║██║  ██║██╔══╝
    ██████╔╝███████╗███████╗██║     ╚██████╗╚██████╔╝██████╔╝███████╗
    ╚═════╝ ╚══════╝╚══════╝╚═╝      ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝
HKUDS%2FDeepCode | Trendshift HKUDS%2FDeepCode | Trendshift

🎬 **Introduction Video**

🎯 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>

---

Core capabilities

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>

Option A — Install the CLI

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.

Option B — Install Desktop

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.

macOS and Linux from source

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 from source

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.

Configure the Desktop model

Open Settings → AI providers after Desktop starts.

Configure an AI provider and model in DeepCode Desktop

<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.

Quick start

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.

Your models, your reasoning settings

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.

🖥️ **Interface Showcase**

🖥️ DeepCode Desktop

<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.

---

Local Plugins

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.

Automations and headless workflows

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.

🇨🇳 中文文档镜像 AI 翻译 2026-05-25
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

DeepCode 是一个强大的自动化开发工具,旨在将复杂的科研论文(Research Papers)直接转化为可运行的代码。通过集成先进的 AI 能力,它能够理解学术逻辑并实现高效的代码转换,帮助开发者从理论研究快速跨越到工程实现阶段。

⚡ 功能介绍

DeepCode 具备核心的 Paper2Code 能力,能够深度解析论文逻辑。同时,它内置了 Process Intelligence 功能,通过 Adaptive Flow 技术实现动�� Agent 选择,能够根据输入任务的复杂度自动调整处理流程,确保复杂任务的执行效率与准确性。

📋 环境依赖

在安装 DeepCode 之前,请确保您的系统已配置好必要的运行环境:需要 Python 3.9+ 作为核心运行时,Node.js 18+ 用于驱动全新的 UI 前端,并安装 npm 8+ 用于包管理。建议在安装前检查相关环境版本是否符合要求。

🛠 安装步骤(Docker/pip/源码)

DeepCode 提供多种灵活的安装方式:推荐使用 Direct Installation 通过 `pip install deepcode-hku` 直接安装;对于开发者,可以通过 Git 源码进行开发模式安装,并推荐使用 UV 工具进行管理;此外,您也可以通过 Docker 容器化环境快速部署,实现开箱即用的体验。

🚀 使用教程

项目提供了 Quick Start 快速入门指南,包含丰富的示例代码。用户可以通过 CLI 命令行模式或全新的 Web UI 界面进行交互。无论是进行简单的代码转换任务,还是复杂的流程自动化,DeepCode 都能提供直观的操作体验。

⚙️ 配置说明(含 MCP / env)

DeepCode 采用单文件配置管理模式,所有设置均统一存储在 `deepcode_config.json` 中,确保了配置的唯一性(Single Source of Truth)。用户需在此文件中配置必要的 API Keys,并支持通过 `${ENV_VAR}` 引用环境变量,同���支持 MCP 服务器的路径配置。

🔌 API 说明

DeepCode 提供了多样化的交互接口。除了支持开发者习惯的 Terminal-Based CLI 命令行界面外,还提供了直观的图形化界面。通过不同的模式,用户可以在终端或 Web 端灵活切换,满足从快速调试到深度开发的各种场景需求。

🔄 工作流/模块

DeepCode 构建了强大的模块化工作流,支持通过 MCP (Model Context Protocol) 扩展功能,例如集成 filesystem 服务器以实现文件系统操作。此外,通过 nanobot 集成,用户还可以将 DeepCode 接入 Feishu、Telegram 或 Discord 等聊天平台,实现跨平台的智能协作。

❓ FAQ 摘要

针对安装与运行过程中可能遇到的问题,我们整理了详细的 Troubleshooting 常见问题解答。例如,针对 Docker 构建时出现的 `tsc: not found` 错误或 Docker 连接失败等问题,提供了从清理缓存到重新构建的标准化解决方案。

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

DeepCode展现了AI工程化落地的良好实践,15.6k星表明社区认可度高。多模态代码生成能力符合当下需求,代码质量有保证,值得AI开发者重点关注。

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
  • 跨境业务、多语言内容运营团队
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 分块大小建议 256-512 tokens,向量库优选 pgvector 或 Qdrant
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • embedding 模型与查询模型不一致导致检索失效
  • Python 依赖冲突:建议用 venv / uv 隔离环境
部署方案
  • Docker:DeepCode 提供官方镜像,docker compose up 一键启动
  • CLI:直接 npm install -g / pip install,命令行调用
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
DeepCode 中文教程DeepCode 安装报错怎么办DeepCode MCP 配置DeepCode Docker 部署DeepCode Agent 工作流DeepCode 与同类工具对比DeepCode 最佳实践DeepCode 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
  • 跨境业务、多语言内容运营团队
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 分块大小建议 256-512 tokens,向量库优选 pgvector 或 Qdrant
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • embedding 模型与查询模型不一致导致检索失效

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +GitHub 15.6k Star,社区高度认可
  • +MIT 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

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

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

📄 License 说明

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

🔗 相关工具推荐

📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

主要支持Python、JavaScript等主流语言,框架覆盖Flask、FastAPI、React等流行框架
💡 AI Skill Hub 点评

经综合评估,DeepCode Agent工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

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

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

📚 深入学习 DeepCode 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
🔗 原始来源
🐙 GitHub 仓库  https://github.com/HKUDS/DeepCode 🌐 官方网站  http://arxiv.org/abs/2512.07921

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

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →