← Back to Leaderboard
Dbytedance

bytedance/deer-flow

Self-hosted LangGraph agent runtime for long-running research, coding, and content creation

Engineering Health (Methodology)
A+ · 100/100
Maintenance Activity
● Updated today
Latest Release
v2.2.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption25/25
Release Cadence20/20
License Clarity20/20
DockerSelf-Hosted
Total Stars
★ 86,106
24h Growth
+3
7d Growth
+257
Forks
12,165

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

bytedance/deer-flow Star History (2025-05-05 - 2026-12-04) ALL-TIME STAR HISTORY (2025-05 – 2026-12) +86.1k in 578d · avg +149/day 90.9k 45.5k 0 2025-05-05: ★ 12025-06-14: ★ 12,9172025-07-19: ★ 14,7692025-08-30: ★ 16,0242025-10-04: ★ 16,6912025-11-08: ★ 17,3152025-12-20: ★ 18,1222026-01-24: ★ 18,8052026-02-28: ★ 22,0272026-04-11: ★ 59,0132026-05-16: ★ 66,6612026-06-20: ★ 70,9902026-08-01: ★ 77,9122026-09-05: ★ 80,7882026-10-10: ★ 83,2812026-12-04: ★ 86,106 ★ 86.1k 2025-05 2026-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

DeerFlow 2.x is a self-hosted application and agent runtime, with a Python backend, a frontend, and orchestration built on LangGraph and LangChain. A lead agent plans multi-step tasks and delegates work to sub-agents, which can operate with restricted tool sets. Persistent memory preserves information across runs, while session goals, task notes, and context compaction help the agent manage a task in progress.

The workspace gives an agent a filesystem for inputs and outputs; shell execution uses a configurable sandbox provider. Skills capture repeatable task procedures, MCP connects external tools, and out-of-tree extensions let teams add functionality without maintaining a fork. The message Gateway supports channel integrations. The 2.x line is a ground-up rewrite: main-1.x retains the original Deep Research implementation, so existing integrations should be evaluated for migration rather than treated as drop-in upgrades.

Key Capabilities & Differentiators

The same runtime can handle research, coding, and artifact creation, such as slide decks and dashboards. It accepts OpenAI-compatible model endpoints; models with 100k+ context, reliable tool calling, and strong reasoning are recommended for demanding jobs, not required by the API. Multimodal capability depends on the model, including whether and how it can consume image results returned by MCP tools.

Concrete integration points include DeepSeek web search, DuckDuckGo source filters, InfoQuest search and crawling, and private knowledge retrieval through RAGFlow. Sandbox providers differ in operational behavior: boxd supports bounded output copies and cleanup retries, while BytePlus veFaaS uses a SigV4 control plane and supports optional TOS mounts. Optional SQLite checkpoint history lets operators inspect child runs for a particular thread; it should not be confused with the agent's long-term memory.

Trade-offs & Limitations

Compared with a managed agent product such as Manus, DeerFlow is the better fit when you need to choose the inference endpoint, control execution and storage, or extend the runtime around internal tooling. You take on deployment, upgrades, credential management, and sandbox capacity in exchange. A simpler research-only workflow may be easier to operate. For delegated jobs, test cost and completion time on your own workloads: additional model calls, tool round trips, and sandbox work can all add up.

Treat the Gateway as a privileged service, not as a public-facing chat UI: a Gateway admin account is equivalent to host code execution, and runtime tool approval is disabled by default. A sandbox for task execution does not remove that administrative trust boundary. MIT licensing permits commercial use and modification of DeerFlow, but does not cover the terms or data handling of external model, search, and sandbox providers.

Hardware & Deployment Guide

The recommended self-hosted path is make setup to generate config.yaml and .env, followed by make docker-init to pull the sandbox image and make docker-start to launch services. Run make doctor after configuring model credentials and open http://localhost:2026. For local development, run make check, make install, and make dev; prerequisites include Node.js 22+, pnpm, uv, and nginx. The frontend pins its pnpm version in frontend/package.json.

With an external model API, size the application host for concurrent agent runs, sandbox workloads, and workspace storage. If inference is also self-hosted, plan model capacity separately. v2.1.0 added durable batch delegation, pluggable memory backends, and authentication and authorization improvements. v2.2.0 expanded scheduling into goal-driven workflows with fair execution across owners and broadened multi-Gateway operation across areas including messaging and workflows. Validate these paths under your own concurrency and access-control requirements before exposing the service beyond localhost.

Execution: LangGraph and LangChain orchestrate a lead agent and sub-agents with tool restrictions and optional SQLite checkpoint history.
Context: Long-term memory and session context are separate concerns; session goals, task notes, and context compaction support multi-step work.
Isolation: Workspace file tools and selectable shell sandbox providers support task execution; boxd bounds output copies, while veFaaS supports optional TOS mounts.
Integration: OpenAI-compatible model endpoints, MCP servers, skills, and out-of-tree extensions offer distinct ways to customize the runtime.
Operations: v2.2.0 expands scheduling into goal-driven workflows with fair execution across owners and support for multiple Gateway instances.
Trust boundary: Gateway admin access is equivalent to host code execution, and runtime tool approval is off by default.
Best For

Teams that need a self-hosted agent application for long-running tasks, want control over models, tools, and execution, and can operate the Gateway and sandboxes as privileged infrastructure.

Skip If

You want a managed experience, only need a small fixed research workflow, or cannot enforce the service's administrative and data boundaries.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

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

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
deer-flow ★86.1k+257PythonMITSelf-hosted LangGraph agent runtime for long-running research, coding, and conte
dify162.4k+370Python—Visual workflow and RAG workspace for building and serving LLM apps
CowAgent48.2k+116PythonMITSelf-hosted agent harness for running and remembering work across chat channels
BettaFish42.8k+59PythonGPL-2.0Self-hosted multi-agent research for public-opinion analysis and reporting

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/bytedance/deer-flow.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

bytedance/deer-flow Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about deer-flow

How do I connect internal tools and inspect delegated work?

For new capabilities, choose between a skill, an MCP tool integration, and an out-of-tree extension depending on whether you are adding task guidance, connecting an external tool, or extending the runtime. Configure the model separately through an OpenAI-compatible API. For delegated tasks, test child-tool restrictions and enable optional SQLite checkpoint history if you need to inspect a thread’s child runs.

Do I need a GPU, and where should I budget for runtime overhead?

When inference runs behind a hosted API, DeerFlow does not need to load the model weights on its own host; size that host for the application, concurrent sandboxes, and workspace storage. If you run the inference endpoint yourself, size its GPU and VRAM separately for the model, context length, and concurrent requests. Start with representative jobs before setting capacity limits.

Can we self-host DeerFlow commercially and keep data on our network?

Yes. The MIT license permits commercial self-hosting and modification; retain the copyright and license notices when distributing copies or substantial portions. Review model, search, MCP, and cloud sandbox terms separately. Self-hosting the application does not by itself keep prompts, tool inputs, or retrieved material within your network.

When should I choose DeerFlow over Manus?

Choose DeerFlow when your team needs to control the model endpoint, sandbox provider, and tool integrations and can operate that stack. Prefer a managed option such as Manus when avoiding application deployment and maintenance matters more. Compare the same representative tasks for artifact quality, cost per completed run, and how much operator intervention they need.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining bytedance/deer-flow? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature bytedance/deer-flow on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare