Open-source SuperAgent harness with isolated sandboxes, memory & progressive skills.

Read the Quick Start
DeerFlow
OPEN-SOURCE AGENT HARNESS · V2

DeerFlow: Open-Source SuperAgent Harness.

Orchestrate multi-LLM routing, thread-isolated sandboxes, persistent memory, parallel subagents, progressive skills, and MCP tools in one extensible LangGraph runtime.

HARNESS ARCHITECTURE
01 · ENTRY & TRIGGERS
02 · DEERFLOW HARNESS · THREAD-ISOLATED RUNTIME
FAN-OUT · PARALLEL
Lead Agent Loop

Model Router · Context Compaction · Memory

Subagent Orchestrator

Parallel Workers · Task Delegation

03 · PLUG-IN EXECUTION PLANE

trace ›load skill:deep-research → spawn 2 subagents → mcp:web-search → deliver report

02Progressive Context

Agent Skills

DeerFlow scans lightweight skill manifests up front and loads full Markdown instructions and scripts only when a task matches — keeping context focused and fast.
/mnt/skills/Injecting matched SKILL.md
1,950 / 5,200 tok
Skill Registry~180 tokens
Context budgetSaved 63% vs eager load

Eager all-skills: 5,200 tok

MATCHED TASK/mnt/skills/deep-research/SKILL.md

Compare open-source agent sandboxes and compile a cited engineering brief.

01 · YAML Frontmatter (always indexed)

~180 tok
---
name: deep-research
triggers: [research, citations, literature, brief]
reference: references/citation-matrix.md
---

02 · On-Demand Instructions & References

+1240 tok
references/citation-matrix.md
  1. 1.Decompose the query into 3–5 orthogonal sub-questions before searching.
  2. 2.Cross-check claims across primary documentation and benchmark repos.
  3. 3.Write structured findings with inline source links to outputs/report.md.

03 · Sandbox Execution Trace

Advance to step 03 to run bundled scripts inside the thread sandbox.

03Isolated Runtime

Agent Runtime Environment

Give every thread its own "computer" — scoped mounts, shell execution, browser automation, and long-running builds safely isolated per session.

Thread Mount Topology

thread-isolated
/mnt/user-data/workspacerw

Working directory, code & intermediate scripts

/mnt/user-data/uploadsro

User-attached datasets, documents & assets

/mnt/user-data/outputsrw

Delivered reports, charts & downloadable artifacts

Runtime Backends

LocalDockerKubernetesBytePlus veFaaS

Recommended container: All-in-One Sandbox — Browser, Shell, File, MCP, and VSCode Server in one image.

For serverless cloud deployments without managing Docker or Kubernetes, run the same AIO Sandbox on BytePlus veFaaS Cloud Sandbox with prewarm, pause/resume, and thread snapshots.

/mnt/user-data/workspace
cat requirements.txt
pygame==2.5.0
pip install -r requirements.txt
✔ Installed pygame==2.5.0
write game.py --lines 156
✔ Written 156 lines to /mnt/user-data/workspace/game.py
python game.py --test
✔ All sprites loaded
✔ Physics engine OK
✔ 60 FPS stable
exit 0 · isolated fs/mnt/user-data/workspace/game.py

04DeerFlow 2.0

What's New in DeerFlow 2.0

Evolved from a Deep Research prototype into an extensible, batteries-included Super Agent harness built for real production workflows.
Context Engineering01

Memory & Compaction

Long/Short-term Memory

Retains user preferences, structured facts, and session goals across turns while automatically compacting long trajectories so the agent stays sharp over hours of work.

Cross-thread factsAuto-compactionStructured recall
Long-Running Tasks02

LangGraph Runtime

Planning and Sub-tasking

Decomposes complex goals into explicit plans and delegates scoped sub-agents sequentially or in parallel — keeping each branch isolated with bounded context.

Parallel fan-outScoped toolsetsCheckpointed state
Extensible03

Skills · MCP · Plugins

Skills and Tools

Plug, play, or swap built-in tools, MCP servers, and Markdown skills without editing core harness code.

Persistent04

Docker · K8s · Local

Sandbox with File System

Read, write, execute shell commands, and inspect artifacts in an isolated workspace — like a real computer.

Flexible05

OpenAI-Compatible

Multi-Model Support

Works with Doubao, DeepSeek, OpenAI, Claude, Gemini, and any OpenAI-compatible reasoning or multimodal model.

MIT License06

Self-Hosted

Open Source

Self-hosted with full operator control, transparent harness internals, and an extensible plugin contract.

05Open Source Community

Build the open agent stack with us.

Contribute skills, sandbox adapters, MCP integrations, and extensions. DeerFlow is developed in the open with builders who want transparent, self-hosted agent infrastructure.

License
MIT Open Source

Self-hostable with full operator control and no lock-in.

Architecture
LangGraph + Extensible Hooks

Modular harness, persistent memory, and pluggable extensions.

Channels
Web · Lark · Slack · Telegram

One Gateway serving browser workspaces and IM workflows.