One graph, every run
Complexity changes the route—not the runtime. Focused tasks and parallel teams use the same state, checkpoints and completion rules.
MegaDeepagents turns a goal into governed, recoverable work—from one agent to a coordinated team—through a single LangGraph control plane.
Demos stop when the model returns text. Production work begins there. MegaDeepagents separates planning, execution and verification so every successful run has durable state, evidence and a recoverable path.
Workers produce artifacts. Verifiers decide success.
Single and team runs share one execution model.
Every decision can be replayed, inspected and resumed.
The runtime coordinates autonomy without giving up control, evidence or recovery.
Complexity changes the route—not the runtime. Focused tasks and parallel teams use the same state, checkpoints and completion rules.
SQLite WAL, event envelopes and LangGraph checkpoints make pause, resume and process recovery first-class behavior.
Artifacts, tests and output contracts pass through a fail-closed verification gate before a task can complete.
Governed Git worktrees give each worker an isolated workspace before controlled integration.
Plans, permissions and risky operations can pause at explicit human-in-the-loop checkpoints.
Typed events, SSE replay, task graphs, agent messages and artifact lineage expose what happened and why.
LangGraph owns orchestration. TaskGraph owns the plan. TaskBoard owns execution state. Workers create evidence. Verifier alone owns success.
Read the architecture guideNormalize the goal, constraints, repository and completion contract.
Choose a focused agent or construct a role-aware team.
Claim dependency-ready tasks and work in isolated environments.
Test outputs, inspect evidence and create real repair work when needed.
Pause, approve, resume or replay without losing the run.
MegaDeepagents is self-hosted by design. Start locally, bring your own model, and keep repositories and runtime state under your control.
# clone & configure
git clone https://github.com/xxiaoxiong/MegaDeepagents.git
cd MegaDeepagents
cp .env.example .env
# launch the durable runtime
docker compose up --build