EXAMPLE 4

Supervisor Swarm — Loan Approval Pipeline

An interactive visualization of a supervision-tree architecture with guarded capabilities, fault injection, and automatic recovery.

Pattern Overview
The Supervisor Swarm places a root orchestrator at the top of a supervision tree. It delegates sub-goals to specialized worker agents, each granted only a guarded subset of tools (blast-radius control). If a worker crashes, the supervisor detects the failure and restarts or replaces it — healthy branches stay unaffected.

This demo models a Loan Approval Pipeline: validation → credit check → risk assessment → compliance → final approval, all coordinated by a LoanOrchestratorAgent.
Submit Application
Conflict Detected: RiskAssessmentAgent flagged medium risk but ComplianceAgent flagged high regulatory concern. The Supervisor escalates to a tie-breaking review, favoring the more conservative assessment for safety.
Supervision Tree
Event Log
Guarded Capabilities