Dynamic, explicit, and routed orchestration
runTeam() builds a task DAG from a goal, runTasks() runs a graph you define, and runAgent() covers one agent. Explicit mode, governance declarations, or a custom ExecutionRouter choose Single or Team execution and expose a routingDecision. Opt-in hybrid routing adds one semantic assessment where the deterministic result would be Single — the policy that decides stays deterministic. Plans remain previewable, reviewable, and replayable as data.
Governance and approvals at distinct boundaries
Declare required or preferred roles, ordered review paths, and budget-aware degradation. Gate the plan with onPlanReady, one ready task with onTaskDispatch, one consequential tool call with onToolCall, and any mid-run plan revision with onPlanPatch; then inspect governanceConclusion.
Event-driven scheduling and task evidence
Ready dependents start as soon as prerequisites complete. Hard task requirements are enforced across every assignment strategy, so an unsatisfiable task is rejected instead of dispatched to an ineligible agent; taskResults preserves unmerged task outputs and structured dependency payloads carry bounded provenance. Retries and checkpoints resume from completed task boundaries, and opt-in repairable recovery can append replacement work at an outcome barrier before any original dependent starts.
Production controls
Bound each run with turn, token, estimated-cost, timeout, context, and loop limits. maxTokenBudget and maxCostBudget stop further calls after a boundary check; one in-flight model turn can cross the ceiling. Model routes support ordered fallbacks. Built-in tools are default-deny, and trace payloads redact detected secrets on a best-effort basis.
Your environment and your models
Run in your own Node.js backend — locally, offline, or air-gapped, on your own credentials, with no hosted service. Mix cloud and local models in one team, connect MCP tools, and bring external agents in through ACP or process backends.
Inspect, trace, and evaluate
Stable run identity, routing decisions, privacy-preserving execution receipts, TraceStore, and the offline Run Viewer work with no hosted service. Score quality with versioned EvalSets and GateVerdict, including a routing-stability gate, then connect runs to production telemetry through the optional OTel adapter.