AIAny
AI Agent2025
Icon for item

DeerFlow

Orchestrates a lead agent, isolated parallel sub-agents, long-term memory, and sandboxes for long-horizon tasks — minutes to hours of deep research, coding, and content creation. LangChain/LangGraph-based with extensible skills; v2 is a full rewrite.

Introduction

DeerFlow began as a deep-research pipeline; version 2 threw that code away to chase a harder question — what does an agent actually need to run unsupervised for hours instead of seconds? Its answer is infrastructure over prompt tricks: durable memory, sandboxed execution, and a lead agent that fans work out to isolated sub-agents rather than looping one model on itself.

What Sets It Apart
  • Skills are the extension unit, not one-off tools. Behavior is packaged as reusable skills the harness composes, so adding a capability doesn't mean rewriting an agent loop.
  • Sub-agents fan out, they don't chat. A lead agent spawns sub-agents on the fly, each with its own scoped context, tools, and stop conditions; they run in parallel and report structured results back for the lead to synthesize. Every sub-agent is context-isolated — it can't see the main agent or its siblings, which keeps long jobs from drowning in each other's tokens.
  • Sandboxes with a real filesystem. Code runs isolated but with persistent files, so a multi-hour job survives across steps instead of living only inside a prompt.
  • The gateway faces clients, not the agents. An HTTP, LangGraph-compatible gateway fronts the runtime so external clients, IM channels, and skill installs reach it; the "messages" here are chat events and SSE streams, not sub-agent traffic.
  • Model-agnostic on LangChain/LangGraph. Swap Doubao, DeepSeek, Kimi, GPT, or Claude through config rather than code.
Who It's For

Great fit if you want an open-source harness for long-horizon, multi-step automation — research, coding, and content generation that runs for minutes to hours — and you're comfortable wiring up sandboxes and model keys yourself. Look elsewhere if you need a lightweight chat UI or a plug-and-play SaaS: this is self-hosted infrastructure, and the docs are blunt that careless sandbox or deployment settings carry real security risk.

Information

  • Websitegithub.com
  • OrganizationsByteDance
  • AuthorsByteDance (DeerFlow team), Daniel Walnut, Henry Li
  • Published date2025/05/07

Categories

More Items

GitHub
AI Agent2026

Shows what fills a DeepSeek Harness agent's context and how it changes per request. Browse prompts, tools and messages, trace compaction, and inspect token usage, estimated costs and parent/subagent relationships.

GitHub
AI Coding2026

Adds file editing, Git views, task monitoring and side chats to DeepSeek Harness. An extensible sidebar and split bottom workbench keep files, terminals and agent activity beside the conversation.

GitHub
AI Agent2026

Runs coding, research and document tasks through a desktop or Web agent. Its Cordis plugin system lets developers replace model adapters, tools and even the agent loop, or embed the runtime through SDKs.