| name | hierarchy |
| description | Display PAI agent hierarchy and command structure |
Agent Hierarchy
Purpose: Display the PAI agent organizational structure
Trigger: /hierarchy
Updated: 2026-01-03
Full Command Structure (Left โ Right)
ORCHESTRATOR โโฌโ ARCHITECT โโฌโ COORD_PLATFORM โโฌโ DBA
(99/1 Rule) โ โ โโ BACKEND_ENGINEER
โ โ โโ API_DEVELOPER
โ โ
โ โโ COORD_ENGINE โโโโฌโ SCHEDULER
โ โ โโ SWAP_MANAGER
โ โ โโ OPTIMIZATION_SPECIALIST
โ โ
โ โโ COORD_QUALITY โโโฌโ QA_TESTER
โ โโ CODE_REVIEWER
โ โโ CI_LIAISON
โ
โโ SYNTHESIZER โฌโ COORD_OPS โโโโโโฌโ META_UPDATER
โ โ โโ RELEASE_MANAGER
โ โ
โ โโ COORD_RESILIENCE โฌโ RESILIENCE_ENGINEER
โ โ โโ COMPLIANCE_AUDITOR
โ โ โโ SECURITY_AUDITOR
โ โ
โ โโ COORD_FRONTEND โโโฌโ FRONTEND_ENGINEER
โ โ โโ UX_SPECIALIST
โ โ
โ โโ COORD_TOOLING โโโโฌโ TOOLSMITH
โ โโ TOOL_QA
โ โโ TOOL_REVIEWER
โ
โโ G-STAFF โโโโโฌโ G1_PERSONNEL
โ โโ G2_RECON โโโโโโโโ /search-party (120 probes)
โ โโ G3_OPERATIONS
โ โโ G4_CONTEXT_MGR โโฌโ G4_LIBRARIAN
โ โ โโ KNOWLEDGE_CURATOR
โ โโ G5_PLANNING โโโโโ /plan-party (10 probes)
โ โโ G6_SIGNAL
โ โโ IG (AUDITOR) โโโโ /qa-party (120 agents)
โ โโ PAO (HISTORIAN)
โ
โโ SPECIAL โโโโโฌโ FORCE_MANAGER โโโโโ Team assembly
STAFF โโ COORD_AAR โโโโโโโโโโ After Action Review
โโ COORD_INTEL โโโโโโโโ Full-stack forensics
โโ DEVCOM_RESEARCH โโโ R&D / exotic concepts
โโ MEDCOM โโโโโโโโโโโโโโ Medical advisory
โโ INCIDENT_COMMANDER โ Crisis response
โโ BURNOUT_SENTINEL โโโ Workload monitoring
Coordinators (COORDs)
| Coordinator | Domain | Specialists |
|---|
| COORD_PLATFORM | Infrastructure | DBA, BACKEND_ENGINEER, API_DEVELOPER |
| COORD_QUALITY | Testing/QA | QA_TESTER, CODE_REVIEWER, CI_LIAISON |
| COORD_ENGINE | Scheduling | SCHEDULER, SWAP_MANAGER, OPTIMIZATION_SPECIALIST |
| COORD_OPS | Operations | META_UPDATER, RELEASE_MANAGER |
| COORD_RESILIENCE | Compliance | RESILIENCE_ENGINEER, COMPLIANCE_AUDITOR, SECURITY_AUDITOR |
| COORD_FRONTEND | UI/UX | FRONTEND_ENGINEER, UX_SPECIALIST |
| COORD_TOOLING | Tools/Skills | TOOLSMITH, TOOL_QA, TOOL_REVIEWER |
| COORD_INTEL | Investigation | Full-stack forensics |
| COORD_AAR | After Action | Session review (auto-trigger) |
G-Staff (Army Doctrine)
| Position | Agent | Role |
|---|
| G-1 | G1_PERSONNEL | Personnel & roster tracking |
| G-2 | G2_RECON | Intelligence/Reconnaissance (/search-party) |
| G-3 | G3_OPERATIONS | Operations & workflow coordination |
| G-4 | G4_CONTEXT_MANAGER | RAG/vector context (+ G4_LIBRARIAN) |
| G-5 | G5_PLANNING | Strategic planning (/plan-party) |
| G-6 | G6_SIGNAL | Signal/Data Processing |
| IG | DELEGATION_AUDITOR | Inspector General (session end) |
| PAO | HISTORIAN | Public Affairs - significant sessions |
Special Staff
| Agent | Role |
|---|
| FORCE_MANAGER | Team assembly, coordinator assignment |
| COORD_AAR | After Action Review (auto-trigger at session end) |
| COORD_INTEL | Full-stack forensics & investigation |
| DEVCOM_RESEARCH | R&D - exotic concepts, cross-disciplinary |
| MEDCOM | Medical Advisory - ACGME, clinical implications |
| INCIDENT_COMMANDER | Crisis response |
| BURNOUT_SENTINEL | Workload monitoring |
Specialists (Sample)
| Domain | Agents |
|---|
| Scheduling | SCHEDULER, SWAP_MANAGER, OPTIMIZATION_SPECIALIST, CAPACITY_OPTIMIZER |
| Platform | DBA, BACKEND_ENGINEER, API_DEVELOPER, ARCHITECT |
| Quality | QA_TESTER, CODE_REVIEWER, CI_LIAISON |
| Resilience | RESILIENCE_ENGINEER, COMPLIANCE_AUDITOR, BURNOUT_SENTINEL |
| Knowledge | KNOWLEDGE_CURATOR, G4_LIBRARIAN, META_UPDATER |
| Frontend | FRONTEND_ENGINEER, UX_SPECIALIST |
The 99/1 Rule
ORCHESTRATOR delegates 99%, executes 1%
| ORCHESTRATOR Does | ORCHESTRATOR Delegates |
|---|
| Git commits/push | All code changes |
| PR creation | All implementation |
| Branch management | All testing |
| Final synthesis | All exploration |
Routing Quick Reference
| Task Type | Route |
|---|
| Database/API | ARCHITECT โ COORD_PLATFORM |
| Tests/CI | ARCHITECT โ COORD_QUALITY |
| Scheduling | ARCHITECT โ COORD_ENGINE |
| Docs/Releases | SYNTHESIZER โ COORD_OPS |
| Resilience | SYNTHESIZER โ COORD_RESILIENCE |
| Frontend | SYNTHESIZER โ COORD_FRONTEND |
| Recon | G2_RECON (/search-party) |
| Planning | G5_PLANNING (/plan-party) |
IDE Safety
Max 2 direct spawns from ORCHESTRATOR - route through coordinators to prevent IDE crash.
Run /hierarchy anytime for this reference.