Deep research framework combining language models with specialized tools
Top 3.1% on sourcepulse
DeerFlow is a community-driven deep research framework that integrates large language models with specialized tools like web search, crawling, and Python execution. It aims to automate complex research tasks, generate comprehensive reports, and create multimedia content like podcasts, targeting researchers, developers, and power users seeking efficient knowledge discovery.
How It Works
DeerFlow employs a modular multi-agent system architecture built on LangGraph. A Coordinator manages the workflow, delegating tasks to a Planner that decomposes research objectives into structured execution plans. Specialized agents within a "Research Team" (Researcher for information gathering, Coder for code execution) execute these plans using tools like web search engines and Python REPLs. A Reporter agent aggregates findings and generates reports. This state-based workflow allows for flexible agent communication and task management.
Quick Start & Requirements
uv sync
to install Python dependencies. Configure .env
with API keys (Tavily, Brave Search, Volcengine TTS) and conf.yaml
for LLM settings. Install marp-cli
for PPT generation.uv
, nvm
, pnpm
.uv run main.py
./bootstrap.sh -d
(macOS/Linux) or bootstrap.bat -d
(Windows)Highlighted Details
litellm
, supporting open-source models and OpenAI-compatible APIs.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project requires API keys for several supported search engines and TTS services, which may incur costs. While it supports various LLMs via litellm
, optimal performance may depend on specific model configurations.
3 days ago
Inactive