DeerFlow 2.0 SuperAgent, Supervisor Fan-Out & Docker Sandbox Architecture

DeerFlow 2.0 SuperAgent, Supervisor Fan-Out & Docker Sandbox Architecture An architecture diagram generated by Archify. DeerFlow Client · Web UI / Chat API · Architecture component · Gateway DeerFlow Client Web UI / Chat API Gateway Lead Supervisor · Goal Decomposer · DeerFlow Control Plane · LeadAgent Lead Supervisor Goal Decomposer LeadAgent Skill Loader · SKILL.md Parser · DeerFlow Control Plane · Tool Registry Skill Loader SKILL.md Parser Tool Registry Worker Subagents · Specialized Agents · DeerFlow Control Plane · SubAgent Pool Worker Subagents Specialized Agents SubAgent Pool Pregel Harness · Channel State · DeerFlow Control Plane · LangGraph Sync Pregel Harness Channel State LangGraph Sync Docker Sandbox · Isolated Container · Sandbox Isolation Boundary · Linux Sandbox Docker Sandbox Isolated Container Linux Sandbox Human Gate · Action Approval · DeerFlow Control Plane · interrupt_before Human Gate Action Approval interrupt_before Postgres Checkpointer · Durable Snapshots · Sandbox Isolation Boundary · PostgresSaver Postgres Checkpointer Durable Snapshots PostgresSaver Terminal & VFS · Container Workspace · Sandbox Isolation Boundary · Safe IO Terminal & VFS Container Workspace Safe IO goal load skills delegate channels checkpoints exec tools prompt HITL mount DeerFlow Control Plane Sandbox Isolation Boundary Legend Backend Database Cloud Security External

Lead Agent Supervisor

  • • Decomposes high-level user goals into structured sub-tasks
  • • Dynamically provisions specialized subagents with filtered toolsets

Docker Sandbox Container

  • • Executes untrusted shell commands and Python scripts in isolated containers
  • • Mounts virtual workspace directories with strict permission controls

SKILL.md Declarative Parser

  • • Parses Markdown skill definitions at runtime into structured tool contracts
  • • Enables modular agent capability extension without code redeployments