Skip to content

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:

  1. Deconstructs the goal into sub-agent domains.
  2. Spawns parallel sub-tasks across specialized native agents (Competitor Watch, Spreadsheet Analyst).
  3. Pipes outputs from earlier branches as inputs to downstream agents (Document Writer).
  4. Gates final delivery on user approval if any guarded actions were triggered.