Agent frameworksMemory & context

DeerFlow

bytedance/deer-flow

ByteDance's long-horizon agent harness — sandboxes, memory, subagents, and skills for tasks that run for hours.

Repository
Stars
79.6k
Forks
10.9k
Open issues
977
Language
Python
Licence
MIT
Created
2025-05-07
Last push
2026-08-10
Effort to adopt

Engineering project

Weeks, not days. Treat it as infrastructure with an owner and a budget.

01

What it actually does

DeerFlow — Deep Exploration and Efficient Research Flow — is built for the tasks most agents fail at: work that takes hours rather than minutes, spanning research, code, and creation.

The architecture reflects that. Sub-agents split the work, memory carries state across the whole run, sandboxes contain execution, skills extend capability, and a message gateway handles communication. Each of those exists because long-horizon runs break without them: context is lost, execution escapes its boundaries, or the agent forgets what it already tried.

It builds on LangChain and LangGraph, spans Python and TypeScript, and hit number one on GitHub Trending when version 2 launched in February 2026.

Being from ByteDance means real engineering investment behind it. MIT licensed, 80,000 stars. The complexity is genuine — this is a harness to build on, not a tool you install and use in an afternoon.

02

Who it's for

  • 01

    Teams building agent products where tasks run for hours

  • 02

    Engineers who need sandboxed execution as a first-class concern

  • 03

    Anyone whose agent loses the thread on long multi-stage work

  • 04

    Companies already invested in LangChain and LangGraph

EngineeringDataMarketingSaaSAny industry
03

Where it earns its keep

  • Deep research tasks that require dozens of steps and hold state throughout
  • Long autonomous coding runs with sandboxed execution
  • Multi-stage content production combining research, drafting, and revision
  • Work that needs subagents specialising in different parts of one problem
  • Building your own product on a harness rather than assembling one
04

Use it, or skip it

Reach for it when

  • Tasks genuinely take hours and simpler agents lose coherence
  • Sandboxing is a requirement, not a nice-to-have
  • You need subagents, memory, and skills as one coherent system
  • Your team can invest in a substantial harness

Skip it when

  • Your tasks complete in minutes — this is heavy machinery for light work
  • You have no engineering capacity to operate a complex harness
  • You want something installable rather than buildable
  • A simpler framework would meet the requirement with less to maintain
05

10 automations

  1. 01Marketing

    Multi-hour research reports

    Commission a deep research report that runs for hours across many sources and returns a structured document.

  2. 02Engineering

    Sandboxed code execution

    Let agents run generated code safely inside sandboxes as part of a long autonomous task.

  3. 03Marketing

    Competitive teardown

    A long-running analysis of a competitor across product, pricing, hiring, and content, synthesised into one brief.

  4. 04Engineering

    Subagent specialisation

    Split a complex problem across subagents by domain and have the harness coordinate their outputs.

  5. 05Data

    Long-horizon data analysis

    Run analysis that requires many iterative steps without losing state between them.

  6. 06Founders

    Due diligence pipeline

    Automate the research half of due diligence, producing a sourced summary for humans to verify.

  7. 07Marketing

    Content series production

    Produce a coherent multi-part content series where later pieces build on earlier ones.

  8. 08Engineering

    Memory-backed continuation

    Resume an interrupted long run from memory rather than restarting the whole task.

  9. 09Finance

    Cost ceiling per run

    Instrument long runs with hard budget limits, since hours-long tasks can accumulate real spend.

  10. 10Operations

    Skill library for the harness

    Build reusable internal skills so each new long-horizon task starts from accumulated capability.

Want one of these running by Friday?

LimeDock builds these as real workflows inside your stack — deployed to your cloud, wired into your Slack and CRM, with the code in your repo. You pay a build fee and your own API keys, nothing else.

Book a workflow call
07

Source

Repository stats were read from the GitHub API and reflect the last time we refreshed this entry. The editorial breakdown above is LimeDock’s own analysis — we are not affiliated with bytedance.

https://github.com/bytedance/deer-flow