deer-flow README

项目的 README,来自 github.com/bytedance/deer-flow。合并为一个 markdown 文件:README.md。

English | 中文 | 日本語 | Français | Русский | Português | 한국어

Python Node.js License: MIT

bytedance%2Fdeer-flow | Trendshift

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

image

BytePlus Agent Plan

InfoQuest

DeerFlow has newly integrated the intelligent search and crawling toolset independently developed by BytePlus — InfoQuest (supports free online experience)

InfoQuest_banner

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

Quick Start

git clone https://github.com/bytedance/deer-flow.git
cd deer-flow
make setup          # interactive wizard: writes config.yaml and .env (about 2 minutes)

Then start DeerFlow with Docker (recommended) or run it locally:

# Docker
make docker-init    # pull the sandbox image (once, or when the image updates)
make docker-start   # start services
# Local development
make check          # verifies Node.js 22+, pnpm, uv, nginx
make install
make dev

The local commands use the pnpm version pinned in frontend/package.json. If a different global pnpm is on PATH, they use Corepack when available; otherwise they report the version mismatch before installing frontend dependencies.

Run make doctor after setting model credentials. It reports obvious placeholder API keys as incomplete configuration; replace them with real keys before testing model calls.

Open http://localhost:2026.

From Deep Research to Super Agent Harness

DeerFlow started as a Deep Research framework — and the community ran with it. Since launch, developers have pushed it far beyond research: building data pipelines, generating slide decks, spinning up dashboards, automating content workflows. Things we never anticipated.

That told us something important: DeerFlow wasn't just a research tool. It was a harness — a runtime that gives agents the infrastructure to actually get work done.

So we rebuilt it from scratch.

DeerFlow 2.0 is no longer a framework you wire together. It's a super agent harness — batteries included, fully extensible. Built on LangGraph and LangChain, it ships with everything an agent needs out of the box: a filesystem, memory, skills, sandbox-aware execution, and the ability to plan and spawn sub-agents for complex, multi-step tasks.

Use it as-is. Or tear it apart and make it yours.

Guides

Each guide is the full reference for its topic. Open the one you need.

Topic Guide
Models, providers, config.yaml, environment variables Configuration
DeepSeek web search, thinking mode and citation excerpts DeepSeek Web Search
DDG web search source filters DuckDuckGo source filters
Docker, local development, upgrades, production deployment Running the Application
Workspace file tools, isolated shell providers, uploads and outputs Sandbox
boxd machines, bounded output copies and cleanup retries boxd sandbox provider
BytePlus veFaaS cloud sandboxes, SigV4 control plane and optional TOS mounts veFaaS sandbox provider
Skills, built-in tools, script workflows, Claude Code integration Skills & Tools
MCP servers and model-specific image handling MCP Server, Image results
Sub-agents, task delegation and optional SQLite checkpoint history Sub-Agents, Inspect one thread's child history, Tool restrictions
Agent teams, SQLite/PostgreSQL persistence and shutdown behavior Agent teams extension
Long-term memory Long-Term Memory
Session goals, context compaction, todo counters, task notes, evidence-based decisions Context, Goals and Agent Decisions
Private knowledge retrieval (RAGFlow) Private Knowledge Retrieval
Agentic browser control Agentic Browser Control
Projects, instructions, document shelf Projects
Scheduled tasks Scheduled Tasks
Feishu, Slack, Telegram, Discord, DingTalk and other IM channels IM Channels
GitHub webhooks and tool setup GitHub Event-Driven Agents
File attachments, downloads and Office previews File Previews
Token usage dashboard, workspace, chat archive Workspace UI
Terminal workbench Terminal Workbench (TUI)
Personal access tokens, stream actions, embedded Python client API Access and Python Client
Trace correlation, LangSmith, Langfuse, Monocle Tracing and Observability
Deployment risks, admin model, security recommendations Security Notice

DeerFlow is model-agnostic — it works with any LLM that implements the OpenAI-compatible API. That said, it performs best with models that support:

More Documentation

⚠️ Security Notice

DeerFlow can execute commands and read and write files. It is designed to run in a local trusted environment, and a Gateway admin account is equivalent to code execution on the host. Before you deploy it on a server or expose it to a network, read the full Security Notice and SECURITY.md.

Runtime tool approval is disabled by default. The Gateway warns at startup when it is disabled. See Skills & Tools for configuration.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for development setup, workflow, and guidelines.

License

This project is open source and available under the MIT License.

Acknowledgments

DeerFlow is built upon the incredible work of the open-source community. We are deeply grateful to all the projects and contributors whose efforts have made DeerFlow possible. Truly, we stand on the shoulders of giants.

We would like to extend our sincere appreciation to the following projects for their invaluable contributions:

These projects exemplify the transformative power of open-source collaboration, and we are proud to build upon their foundations.

Key Contributors

A heartfelt thank you goes out to the core authors of DeerFlow, whose vision, passion, and dedication have brought this project to life:

Your unwavering commitment and expertise have been the driving force behind DeerFlow's success. We are honored to have you at the helm of this journey.

Star History

Star History Chart

deer-flow (bytedance/deer-flow)

正在搜索数据库…

这是什么?DeerFlow 是字节跳动开源的长时程超级智能体框架,通过编排子智能体、记忆、沙箱和可扩展技能来完成调研、编码和内容创作,可处理耗时数分钟到数小时的任务。
这是我要导入的代码库,还是我要运行并与之交互的服务?它是一个自托管服务:你可以通过 Docker 或本地方式运行,它提供带网页登录和健康检查接口的 Gateway,还可以选配终端界面,而不是作为代码库嵌入使用。
我该怎么让它跑起来?克隆仓库,然后在项目根目录运行交互式设置向导。向导会引导你选择大模型提供商、网络搜索以及沙箱和安全偏好,然后生成 config.yaml,并把密钥写入 .env,大约需要 2 分钟。之后你可以用 Docker(make docker-start / make up)运行,也可以在本地运行。
我需要自己的大模型 API 密钥吗?还是可以接入 Claude Code 或 Codex 这类基于命令行的智能体?你至少需要配置一个大模型提供商:可以在 .env 中填写标准 API 密钥,使用 OpenRouter 等兼容 OpenAI 的网关,使用本地 vLLM 端点,或使用基于命令行的提供商,例如 Codex CLI(读取 ~/.codex/auth.json)或 Claude Code OAuth 令牌。
部署时有哪些需要注意的坑?README 中有一条明确的安全警告:配置不当的部署可能会暴露系统。对于需要长期运行或多人共用的服务器,README 建议使用 Linux 加 Docker,而不是 macOS 或 Windows。
它在 macOS 和 Windows 上能正常运行吗?还是 Linux 才是真正的目标平台?DeerFlow 可以在 Linux、macOS 和 Windows 上运行,但如果要长期运行服务器,推荐使用 Linux 加 Docker;macOS 和 Windows 更适合用于开发或评估。
它和最初的 DeerFlow v1 深度调研项目有什么不同?DeerFlow 2.0 是从头重写的版本,与 v1 不共享任何代码。它从只做调研的流水线,转变为通用的超级智能体框架,具备沙箱、技能、子智能体和长期记忆。
我能用 Claude Code 或 Cursor 这类编码智能体来控制 DeerFlow 吗?可以。README 提供了“一行命令配置智能体”,让 Claude Code、Codex、Cursor 或 Windsurf 替你克隆仓库并运行设置向导。它还支持 Codex CLI 和 Claude Code OAuth 等基于命令行的模型提供商。
如果要长期运行 DeerFlow,应该准备什么样的硬件?对于长期运行的共享服务器,README 推荐 16 vCPU / 32 GB 内存(最低 8 vCPU / 16 GB);而本地或 Docker 开发环境则为 4–8 vCPU 和 8–16 GB 内存。
它能跨会话保留记忆吗?可以。它包含长期记忆、上下文工程和会话目标功能,并且配有子智能体和沙箱化文件系统,因此能够跟踪持续数小时的任务进度。
作者
bytedance
大小
113.8 MB
星标
86.1K
时长
1年
提交 · 90 天