AGENT 01 / 07
Coordinator
The maestro of the digital workforce. It breaks complex objectives into parallel worker streams, enforces token budgets, and ensures finished deliverables meet quality standards.
coordinator · autonomous
01What it does
Swarm orchestration & synthesis
Goal decomposition
Deconstructs high-level human objectives into independent, non-overlapping sub-tasks for parallel execution.
Tokio JoinSet fan-out
Spawns and manages worker green threads across CPU cores with bounded fair-share token budgets.
Goal Mode reflection
An LLM judge compares intermediate findings against the original objective and schedules gap-filling iterations.
Durable handoffs
Marshals structured results from child workers and writes synthesized reports to persistent storage.
Stall & loop guard
Monitors descendant worker progress, detects doom loops, and propagates cancellation tokens gracefully.
Multi-persona routing
Assigns tasks to specialized personas (SDR, Scout, Maintainer, Auditor) based on required toolsets.
02How it works
From goal to coordinated execution
Intake & parse
Receives the high-level objective and queries the long-term memory graph for existing company context.
DAG generation
Constructs an execution dependency graph (DAG) and partitions sub-tasks with allocated token budgets.
Batch spawn
Dispatches worker pods concurrently via Tokio JoinSet green threads.
Progress aggregation
Streams partial results, handles human approval requests, and coordinates shared scratchpad notes.
Synthesis & delivery
Compiles final deliverables, updates memory graph nodes, and dispatches webhook notifications.
03Under the hood
The runtime underneath
| concurrency | Tokio JoinSet async I/O multiplexer across multi-core CPU pools |
| budgeting | Session token limit split dynamically with floor caps per worker |
| reflection | LLM judge evaluate pass: up to replan_rounds gap-filling iterations |
| cancellation | tokio::sync::watch cancellation tokens propagate through the worker tree |
| memory digest | Deterministic system prompt digest injected before task execution |
04Tools