deer-flow
DeerFlow是一款开源长周期超级智能体编排工具,整合子智能体、沙箱、记忆等模块,可执行调研、编码、创作等不同时长的复杂任务。
这个项目值得继续研究吗?
DeerFlow是一款开源长周期超级智能体编排工具,整合子智能体、沙箱、记忆等模块,可执行调研、编码、创作等不同时长的复杂任务。
- 解决什么问题
- 企业处理深度行业调研、批量代码开发、长周期内容创作等复杂任务时,往往需要投入大量人力,普通AI工具无法保障长周期任务的连贯性与执行安全性,缺乏可靠的自动化落地方案。
- 适合什么团队
- 有AI智能体落地需求的企业业务团队、研发团队,需要自动化处理长周期调研、编码、内容创作类任务的组织均可使用。
- 使用前注意
- 当前活跃开发版本为2.0,与1.x版本代码不兼容;部署需配置对应大模型API密钥,不当部署可能引入安全风险,采用MIT许可可自由商用。
本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。
从官方资料看清能力、部署与采用边界
以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。
项目定位
DeerFlow(全称Deep Exploration and Efficient Research Flow)是一款开源超级智能体编排框架,通过调度子智能体、记忆模块、沙箱环境、扩展技能等组件,可承接耗时数分钟到数小时的长周期复杂任务,覆盖调研、编码、内容创作等场景。 2.0版本为完全重写版本,与1.x版本无共用代码,原深度调研框架1.x版本目前在独立分支维护,仍接受社区贡献,主力开发已迁移至2.0版本。
核心能力
DeerFlow的核心能力覆盖智能体全流程运行需求:
- 子智能体编排:可调度多个子智能体协同完成复杂任务
- 扩展技能与工具:支持自定义技能扩展,已集成Claude Code等编码工具,同时对接字节跳动自研的InfoQuest智能搜索爬取工具,可获取外部信息
- 运行安全保障:提供沙箱与独立文件系统隔离,避免任务执行影响宿主环境
- 上下文与记忆管理:支持会话目标管理、手动上下文压缩、长时记忆存储,保障长周期任务的执行连贯性
- 附加能力:支持定时任务调度、终端工作台操作、多链路追踪(LangSmith、Langfuse、Monocle)等。
典型使用方式
你可以根据需求将DeerFlow用于以下场景:
- 深度行业调研:自动检索信息、整理分析、输出完整调研报告
- 批量代码开发:承接需求后自动完成编码、调试、自测全流程
- 长周期内容创作:自动完成资料收集、内容撰写、优化迭代等环节
- 其他自定义长周期任务:可通过扩展技能适配更多业务场景
部署时支持一键智能搭建:如果你使用Claude Code、Codex、Cursor、Windsurf等编码智能体,只需提供指定提示词,即可由智能体自动完成代码克隆、环境配置等部署流程。
部署与配置要求
运行DeerFlow需要满足基础环境要求:Python 3.12+、Node.js 22+,推荐使用Docker方式部署,也支持本地开发模式部署。 配置流程简便:
DeerFlow支持对接多个主流大模型提供商,官方推荐使用Doubao-Seed-2.0-Code、DeepSeek v3.2、Kimi 2.5运行以获得最优效果。
- 克隆代码仓库后,在项目根目录运行make setup即可启动交互式配置向导,2分钟左右即可完成大模型提供商、搜索工具、沙箱权限等配置,自动生成配置文件与环境变量文件
- 可随时运行make doctor检查部署配置是否正确,获取问题修复指引
- 若遇到运行问题,可运行make support-bundle生成脱敏诊断包,用于提交Issue反馈问题
配套工具与维护状态
DeerFlow配套有姊妹项目LLM Space,是桌面端智能体调试工具,可用于智能体思路原型验证、执行步骤排查、问题复现、性能 Benchmark 等,降低智能体调试成本。 目前项目处于活跃开发状态,未归档,开放Issue通道接受问题反馈与贡献。
许可证与采用建议
DeerFlow采用MIT许可证,企业可自由商用、修改、分发代码,无额外授权限制。 采用建议:优先选择2.0版本落地,部署时严格按照安全指引配置沙箱权限,避免不当部署引入安全风险;若有调试需求可搭配LLM Space使用,提升智能体调优效率。
官方资料与来源
- agent
- agentic
- agentic-framework
- agentic-workflow
- ai
- ai-agents
- deep-research
- harness
- langchain
- langgraph
- langmanus
- llm
## One-Line Agent Setup If you use Claude Code, Codex, Cursor, Windsurf, or another coding agent, you can hand it the setup instructions in one sentence: ```text Help me clone DeerFlow if needed, then bootstrap it for local development by following https://raw.githubusercontent.com/bytedance/deer-flow/main/Install.md ``` That prompt is intended for coding agents. It tells the agent to clone the repo if needed, choose Docker when available, and stop with the exact next command plus any missing config the user still needs to provide.
该片段来自项目 README,仅用于初步判断;实际部署请以官方文档为准。
核对上游原始说明节选
An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of tasks that could take minutes to hours.
🦌 DeerFlow - 2.0
English | 中文 | 日本語 | Français | Русский
Python Node.js License: MIT
On February 28th, 2026, DeerFlow claimed the 🏆 #1 spot on GitHub Trending following the launch of version 2. Thanks a million to our incredible community — you made this happen! 💪🔥
DeerFlow (Deep Exploration and Efficient Research Flow) is an open-source super agent harness that orchestrates sub-agents, memory, and sandboxes to do almost anything — powered by extensible skills.
https://github.com/user-attachments/assets/a8bcadc4-e040-4cf2-8fda-dd768b999c18
[!NOTE]
DeerFlow 2.0 is a ground-up rewrite. It shares no code with v1. If you're looking for the original Deep Research framework, it's maintained on the 1.x branch — contributions there are still welcome. Active development has moved to 2.0.
Official Website
Learn more and see real demos on our official website. The landing-page case studies open as allowlisted, read-only showcases without requiring a sign-in.
Sister Projects
- LLM Space - Meet our secret weapon behind DeerFlow — one desktop tool to prototype agent ideas, inspect each harness step, replay failures, and benchmark performance.
Coding Plan from ByteDance Volcengine
- We strongly recommend using Doubao-Seed-2.0-Code, DeepSeek v3.2 and Kimi 2.5 to run DeerFlow
- Learn more
- 中国大陆地区的开发者请点击这里
InfoQuest
DeerFlow has newly integrated the intelligent search and crawling toolset independently developed by BytePlus--InfoQuest (supports free online experience)
---
Table of Contents
- 🦌 DeerFlow - 2.0
- Official Website
- Coding Plan from ByteDance Volcengine
- InfoQuest
- Table of Contents
- One-Line Agent Setup
- Quick Start
- Configuration
- Running the Application
- Deployment Sizing
- Option 1: Docker (Recommended)
- Option 2: Local Development
- Advanced
- Sandbox Mode
- MCP Server
- IM Channels
One-Line Agent Setup
If you use Claude Code, Codex, Cursor, Windsurf, or another coding agent, you can hand it the setup instructions in one sentence:
Help me clone DeerFlow if needed, then bootstrap it for local development by following https://raw.githubusercontent.com/bytedance/deer-flow/main/Install.mdThat prompt is intended for coding agents. It tells the agent to clone the repo if needed, choose Docker when available, and stop with the exact next command plus any missing config the user still needs to provide.
Quick Start
Configuration
- Clone the DeerFlow repository
git clone https://github.com/bytedance/deer-flow.git
cd deer-flow- Run the setup wizard
From the project root directory (deer-flow/), run:
make setupThis launches an interactive wizard that guides you through choosing an LLM provider, optional web search, and execution/safety preferences such as sandbox mode, bash access, and file-write tools. It generates a minimal config.yaml and writes your keys to .env. Takes about 2 minutes.
The wizard also lets you configure an optional web search provider, or skip it for now.
Run make doctor at any time to verify your setup and get actionable fix hints. If you are opening a GitHub issue about a local setup or runtime problem, run make support-bundle. The command prints reporter next steps, writes a -issue-summary.md file to paste into the issue, a -issue-draft.md file for AI-assisted issue filing, and an optional evidence zip under .deer-flow/support-bundles/. If an AI assistant files the issue, start from the draft and replace every REQUIRED placeholder instead of inventing missing facts. Attach the zip only if a maintainer asks for it, or if the summary alone is not enough. Maintainers and AI triage tools can start with triage.json; the bundle includes redacted diagnostics and file manifests only, and does not include .env, raw conversation messages, or user file contents.
Advanced / manual configuration: If you prefer to edit config.yaml directly, run make config instead to copy the full template. See config.example.yaml for the complete reference including CLI-backed providers (Codex CLI, Claude Code OAuth), OpenRouter, Responses API, subagent runtime caps such as subagents.maxtotalperrun, and more.
Optional per-model pricing must use one currency across all priced models. DeerFlow disables Console cost estimates when currencies are mixed rather than presenting an invalid aggregate.
Manual model configuration examples
models:
- name: gpt-4o
display_name: GPT-4o
use: langchain_openai:ChatOpenAI
model: gpt-4o
api_key: $OPENAI_API_KEY
- name: openrouter-gemini-2.5-flash
display_name: Gemini 2.5 Flash (OpenRouter)
use: langchain_openai:ChatOpenAI
model: google/gemini-2.5-flash-preview
api_key: $OPENROUTER_API_KEY
base_url: https://openrouter.ai/api/v1
- name: gpt-5-responses
display_name: GPT-5 (Responses API)
use: langchain_openai:ChatOpenAI
model: gpt-5
api_key: $OPENAI_API_KEY
use_responses_api: true
output_version: responses/v1
- name: qwen3-32b-vllm
display_name: Qwen3 32B (vLLM)
use: deerflow.models.vllm_provider:VllmChatModel
model: Qwen/Qwen3-32B
api_key: $VLLM_API_KEY
base_url: http://localhost:8000/v1
supports_thinking: true
when_thinking_enabled:
extra_body:
chat_template_kwargs:
enable_thinking: trueOpenRouter and similar OpenAI-compatible gateways should be configured with langchainopenai:ChatOpenAI plus baseurl. If you prefer a provider-specific environment variable name, point apikey at that variable explicitly (for example apikey: $OPENROUTERAPIKEY).
To route OpenAI models through /v1/responses, keep using langchainopenai:ChatOpenAI and set useresponsesapi: true with outputversion: responses/v1.
The setup wizard includes a Z.AI GLM-5.3-Flash profile. Because that model requires thinking and only accepts its own restricted effort levels, the compatibility profile keeps thinking enabled for every foreground and background call and temporarily suppresses DeerFlow's generic effort selector. See config.example.yaml for the equivalent manual configuration.
For vLLM 0.19.0, use deerflow.models.vllmprovider:VllmChatModel. For Qwen-style reasoning models, DeerFlow toggles reasoning with extrabody.chattemplatekwargs.enablethinking and preserves vLLM's non-standard reasoning field across multi-turn tool-call conversations. Legacy thinking configs are normalized automatically for backward compatibility. If the endpoint reports a cumulative usage snapshot on every streaming chunk, set cumulativestreamusage: true so DeerFlow converts those snapshots into per-chunk deltas; the option is disabled by default and leaves usage unchanged when a stable completion id is unavailable. Reasoning models may also require the server to be started with --reasoning-parser .... If your local vLLM deployment accepts any non-empty API key, you can still set VLLMAPIKEY to a placeholder value.
CLI-backed provider examples:
models:
- name: gpt-5.4
display_name: GPT-5.4 (Codex CLI)
use: deerflow.models.openai_codex_provider:CodexChatModel
model: gpt-5.4
supports_thinking: true
supports_reasoning_effort: true
- name: claude-sonnet-4.6
display_name: Claude Sonnet 4.6 (Claude Code OAuth)
use: deerflow.models.claude_provider:ClaudeChatModel
model:上游文档较长,此处为节选。完整内容见官方项目。