DeerFlow — SuperAgent for Research, Code & Creative
ByteDance's open-source long-horizon SuperAgent with sub-agents, sandboxes, memory, and skills. Handles complex tasks spanning minutes to hours. 58,300+ stars, MIT license.
这个资产会安全暂存
这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。
npx -y tokrepo@latest install 1e49009e-4fce-498a-a1a9-352aa1aec19b --target codex先暂存文件;激活前需要读取暂存 README 和安装计划。
What it is
DeerFlow is an open-source SuperAgent framework from ByteDance designed for long-horizon tasks. It orchestrates sub-agents, sandboxed execution environments, persistent memory, and reusable skills to handle complex workflows that span minutes to hours. The framework covers research, code generation, and creative tasks with a web UI for monitoring agent progress.
DeerFlow targets developers and teams building autonomous agents that need to execute multi-step plans with coordination between specialized sub-agents. It provides the infrastructure for long-running agentic workflows with built-in error recovery and state persistence.
How it saves time or tokens
DeerFlow handles the orchestration layer that you would otherwise build manually. Sub-agent delegation means each agent focuses on its specialization (research, coding, writing) rather than one monolithic agent trying to do everything. Sandboxed execution provides safe code running without risking your system. Persistent memory across sessions means agents do not restart from scratch.
How to use
- Clone the repository and set up configuration:
git clone https://github.com/bytedance/deer-flow.git && cd deer-flow && make config. - Set API keys in
.envfor your LLM provider (OpenAI, Anthropic) and tools (Tavily for search). - Launch with Docker:
make docker-startand access the UI athttp://localhost:2000.
Example
# Clone and configure
git clone https://github.com/bytedance/deer-flow.git
cd deer-flow
make config
# Set API keys in .env
# OPENAI_API_KEY=sk-...
# TAVILY_API_KEY=tvly-...
# Launch via Docker
make docker-start
# Access the UI at http://localhost:2000
# Submit a task: 'Research the latest advances in protein folding
# and write a summary report with citations'
Related on TokRepo
- Agent Tools — AI agent frameworks and orchestration tools
- Research AI Tools — AI-powered research and analysis tools
Common pitfalls
- DeerFlow requires multiple API keys (LLM, search, etc.) to function fully. Missing keys will silently disable capabilities rather than failing with clear errors.
- Long-horizon tasks consume significant tokens. Monitor costs, especially when sub-agents iterate on research or code generation.
- The Docker deployment is recommended over local setup due to sandboxing requirements. Local execution without containers may expose your system to code execution risks.
常见问题
DeerFlow is designed for long-horizon tasks (minutes to hours) with built-in sub-agent delegation, sandboxed execution, and persistent memory. Most agent frameworks target single-turn interactions. DeerFlow handles multi-step plans with coordination and error recovery.
DeerFlow works with OpenAI, Anthropic (Claude), and other API-compatible providers. You configure the provider and API key in the .env file. Different sub-agents can use different models.
DeerFlow includes sandboxed execution environments for code running. The Docker deployment provides additional isolation. Running without containers is possible but carries code execution risks from agent-generated code.
Yes. DeerFlow includes persistent memory that survives across sessions. Agents retain knowledge from previous tasks, reducing redundant work and enabling continuous learning.
DeerFlow is released under the MIT license, allowing free use in both personal and commercial projects.
引用来源 (3)
- DeerFlow GitHub— DeerFlow is ByteDance's open-source SuperAgent with sub-agents, sandboxes, and m…
- DeerFlow Documentation— Multi-agent orchestration patterns for complex tasks
- Anthropic Research— AI agent architectures for long-horizon task execution
来源与感谢
讨论
相关资产
pbi-cli — Power BI Skills for Claude Code
pbi-cli is a Python CLI that installs Claude Code skills for Power BI models and PBIR reports. Get started with pipx + `skills install`.
Concourse — Container-Native CI/CD with Pipelines as Code
Build reliable CI/CD pipelines with Concourse. Every step runs in an isolated container, pipelines are declarative YAML, and the resource model makes dependencies explicit and reproducible.
Foam — Personal Knowledge Management System for VS Code
Foam is a free, open-source personal knowledge management tool that runs inside VS Code. Inspired by Roam Research, it uses wikilinks, backlinks, and a graph visualization to help you organize interconnected notes in plain Markdown files.
Fastlane — Automate Building and Releasing iOS and Android Apps
Fastlane is an open-source platform that simplifies iOS and Android deployment. It handles code signing, screenshots, beta distribution, and App Store releases from a single command.