Super Agent Overview
The Super Agent is the central intelligence engine of Zonrad. It acts as an autonomous coordinator that translates high-level natural language intent into deterministic, executable DAG workflows.
The 4-Phase Execution Loop
Every request submitted to Zonrad cycles through four strictly bounded phases:
┌──────────────────────────────────────────────────────────────┐│ SUPER AGENT EXECUTION LOOP ││ ││ [ Phase 1: Intake & Context Enrichment ] ││ • Hydrates workspace facts and semantic memory. ││ • Resolves user preferences and connected warehouse schemas.││ ││ [ Phase 2: Classification & Risk Assessment ] ││ • Classifies intent: Research, Modeling, Writing, Action. ││ • Flags guarded actions (emails, SMS, SQL mutations). ││ ││ [ Phase 3: DAG Planning (Deterministic vs LLM) ] ││ • Generates an ExecutionPlan with typed PlanSteps. ││ • Resolves parallel execution branches and dependencies. ││ ││ [ Phase 4: Swarm Delegation & Execution ] ││ • Dispatches steps to native specialized worker agents. ││ • Streams real-time tokens and tool events via SSE. │└──────────────────────────────────────────────────────────────┘Swarm Delegation Pattern
When handling cross-domain tasks (e.g., “Research competitor prices, update financial forecast, and draft a memo”), the Super Agent acts as a swarm coordinator:
- Deconstructs the goal into sub-agent domains.
- Spawns parallel sub-tasks across specialized native agents (
Competitor Watch,Spreadsheet Analyst). - Pipes outputs from earlier branches as inputs to downstream agents (
Document Writer). - Gates final delivery on user approval if any guarded actions were triggered.
Execution Planning Phase 1
Learn how multi-step DAG plans are structured, validated, and decomposed into sub-agent jobs.
Action Approvals Phase 3
Guard sensitive destructive operations with interactive approvals, SSE cards, and 24-hour TTL.
Agent Memory Phase 4
Inspect workspace and project scoped memory chains, vector similarity lookups, and state synthesis.