How It Works
Specialized agents call deterministic business tools on the server. The UI shows concise summaries and tool evidence — not private reasoning traces.
Workflow A — Autonomous service booking
- Planner→
- Intake→
- Triage→
- Business Tools→
- Supervisor→
- Customer Confirmation→
- Transactional Booking
Customer request → agents → scheduling and pricing tools → supervisor validation → customer confirmation → transactional confirm_workflow_booking RPC.
- Planner — workflow plan and clarification bounds (Sonnet)
- Customer Intake — identity, address, and preferences (Haiku)
- Triage — service code, urgency, and safety flags (Haiku)
- Supervisor — validates proposal vs catalogue and constraints (Sonnet)
Workflow B — Autonomous service recovery
- Impact Analysis→
- Strategy Generation→
- Recovery Planner→
- Supervisor→
- Manager Approval→
- Transactional Recovery
Technician unavailable → impact analysis → strategy comparison → supervisor validation → manager approval → transactional apply_recovery_plan_transactional RPC.
- Impact Analysis — affected appointments and value at risk
- Strategy generation — deterministic Customer / Revenue / Efficiency candidates
- Recovery Planner — narrative rationale and tradeoffs (Sonnet)
- Supervisor — deterministic validation plus optional LLM narrative
Deterministic tools
Pricing, eligibility, scheduling math, impact analysis, and database writes run in TypeScript with Zod validation — not invented by the LLM.
Human approval & evidence
Supervisor validation and manager approval gates precede mutations. Mission Control persists agent steps and tool execution records for audit.