DeerFlow 2.0
ByteDance's open-source long-term task AI agent framework.
DeerFlow 2.0 is an open-source long-horizon AI agent framework released by ByteDance in February 2026. Similar to a film director simultaneously managing cameras, lighting, sound, and actors on a film set, DeerFlow's SuperAgent decomposes heterogeneous tasks such as research, coding, website creation, and presentation generation into sub-agents and performs them concurrently through parallel orchestration. Built on top of LangGraph and LangChain, each sub-agent runs independently within an isolated Docker container, with its own file system, Bash terminal, and browser access. It is a complete rewrite that shares no code with v1.x, and within 24 hours of its release, it topped the GitHub Trending list and currently boasts 71.4k stars, demonstrating one of the highest adoption rates among open-source agent frameworks.
Existing agent frameworks each had distinct limitations. LangChain excels in fine-grained control at the chat level but requires building production infrastructure directly, AutoGPT is attractive for experimentation but lacks stability during long-term execution, and CrewAI specializes in role-based agent collaboration but has static role definitions. DeerFlow 2.0 overcomes all three of these limitations simultaneously. The sandbox execution environment completely isolates each task, preventing contamination of the host system, and persistent memory between sessions preserves user preferences and accumulated knowledge for the long term. The Skills Framework supports Markdown-based skill definitions and enables slash commands (e.g., /data-analysis analyze file.csv), and progressively loads skills based on task requirements to optimize token usage. It natively supports the MCP (Model Context Protocol) server and can be integrated with all OpenAI-compatible models with 100k+ context windows, including OpenAI, Anthropic Claude, DeepSeek, Google Gemini, and Qwen.
From the perspective of a life science researcher, DeerFlow 2.0 is particularly useful for long-term autonomous research workflows. For example, dozens of recent papers on a specific target protein can be collected in parallel, with each sub-agent independently performing summarization and citation extraction, and the SuperAgent then synthesizes these into a comprehensive report within a single conversation session. Through the coding agent, statistical analysis scripts for the collected data can be automatically generated and immediately executed and validated within the sandbox, and the results can be converted into presentation slides or web dashboards, all within a single framework. It can also be integrated with six messaging platforms, including Telegram, Slack, Feishu (Lark), WeChat, and DingTalk, allowing researchers to directly invoke the agent from their team's channels. Furthermore, it has built-in enterprise-grade observability through LangSmith and Langfuse integration, allowing for the tracking of all LLM calls and tool executions.
💻 System Requirements
Not required (LLM uses an external API call method; if using a local model (e.g., vLLM), follow the requirements of that model).
Minimum 20GB SSD (development), 25GB for Docker environment, 40GB+ for production.
⚡ Installation
4-1. Quick Start
git clone https://github.com/bytedance/deer-flow.git
cd deer-flow
make setup # Interactive setup wizard (select LLM provider, web search, and execution environment)
make docker-init # Pull the sandbox image (run only once initially)
make dev # Run in local development mode
4-2. Detailed Installation (Docker Production)
git clone https://github.com/bytedance/deer-flow.git
cd deer-flow
# Configure the environment (based on the config.yaml template or interactive wizard)
make setup
# Start the Docker-based service (with hot reload)
make docker-start
# Or deploy to production Docker
make up
Using the Python embedded client:
from deerflow.client import DeerFlowClient
client = DeerFlowClient()
response = client.chat("Analyze this paper on CRISPR delivery", thread_id="research-01")
# Streaming mode
for event in client.stream("Summarize recent findings"):
print(event)
🧬 Bio Use Cases
Autonomous Research Agent
Multiple sub-agents perform parallel web searches, collect papers, and analyze competitors for a specific research topic, and the SuperAgent automatically generates a comprehensive report including citations. By processing dozens of sources simultaneously, the time required is significantly reduced compared to manual work.
Full-Stack Development Automation
Coding sub-agents repeatedly write code, execute it, and debug it within a sandbox, while a separate sub-agent simultaneously generates a website or dashboard UI. Docker isolation ensures the safety of the host system.
Data Pipeline Automation
A multi-step workflow from data collection to cleaning, analysis, visualization, and presentation generation is automated using skill chaining. Agents can be invoked via slash commands in Slack or Feishu channels, directly integrating into team collaboration.
FAQ
What is DeerFlow 2.0?
DeerFlow 2.0 is an open-source long-horizon AI agent framework released by ByteDance in February 2026. Similar to a film director simultaneously managing cameras, lighting, sound, and actors on a film set, DeerFlow's SuperAgent decomposes heterogeneous tasks such as research, coding, website creation, and presentation generation into sub-agents and performs them concurrently through parallel orchestration. Built on top of LangGraph and LangChain, each sub-agent runs independently within an isolated Docker container, with its own file system, Bash terminal, and browser access. It is a complete rewrite that shares no code with v1.x, and within 24 hours of its release, it topped the GitHub Trending list and currently boasts 71.4k stars, demonstrating one of the highest adoption rates among open-source agent frameworks. Existing agent frameworks each had distinct limitations. LangChain excels in fine-grained control at the chat level but requires building production infrastructure directly, AutoGPT is attractive for experimentation but lacks stability during long-term execution, and CrewAI specializes in role-based agent collaboration but has static role definitions. DeerFlow 2.0 overcomes all three of these limitations simultaneously. The sandbox execution environment completely isolates each task, preventing contamination of the host system, and persistent memory between sessions preserves user preferences and accumulated knowledge for the long term. The Skills Framework supports Markdown-based skill definitions and enables slash commands (e.g., /data-analysis analyze file.csv), and progressively loads skills based on task requirements to optimize token usage. It natively supports the MCP (Model Context Protocol) server and can be integrated with all OpenAI-compatible models with 100k+ context windows, including OpenAI, Anthropic Claude, DeepSeek, Google Gemini, and Qwen. From the perspective of a life science researcher, DeerFlow 2.0 is particularly useful for long-term autonomous research workflows. For example, dozens of recent papers on a specific target protein can be collected in parallel, with each sub-agent independently performing summarization and citation extraction, and the SuperAgent then synthesizes these into a comprehensive report within a single conversation session. Through the coding agent, statistical analysis scripts for the collected data can be automatically generated and immediately executed and validated within the sandbox, and the results can be converted into presentation slides or web dashboards, all within a single framework. It can also be integrated with six messaging platforms, including Telegram, Slack, Feishu (Lark), WeChat, and DingTalk, allowing researchers to directly invoke the agent from their team's channels. Furthermore, it has built-in enterprise-grade observability through LangSmith and Langfuse integration, allowing for the tracking of all LLM calls and tool executions.
When should I use DeerFlow 2.0?
ByteDance's open-source long-term task AI agent framework.
What is a biomedical use case for DeerFlow 2.0?
Autonomous Research Agent: Multiple sub-agents perform parallel web searches, collect papers, and analyze competitors for a specific research topic, and the SuperAgent automatically generates a comprehensive report including citations. By processing dozens of sources simultaneously, the time required is significantly reduced compared to manual work.
📝 Update Notes
- vv2.0.06/25/2026
DeerFlow 2.0은 완전히 새롭게 재설계되어, 하위 에이전트와 지속적인 메모리 기능을 갖춘 강력한 '슈퍼 에이전트' 시스템을 선보입니다. 특히 에이전트가 스스로 설정을 업데이트할 수 있는 기능이 추가되어, 복잡한 실험 프로토콜이나 생물정보학 워크플로우를 연구자 맞춤형으로 자동화하기에 매우 유용합니다. 또한 최신 추론 모델과 다양한 검색 도구가 대거 확충되어, 방대한 문헌 조사부터 멀티모달 데이터 분석까지 연구의 폭을 넓혀줍니다. 슬랙이나 디스코드 등 기존 협업 채널과의 연동성도 강화되어, 연구팀 간의 실시간 데이터 공유와 실험 알림을 더욱 효율적으로 관리할 수 있습니다.
🧪 Related Code of Life
No related Code of Life posts yet.