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

  1. Planner
  2. Intake
  3. Triage
  4. Business Tools
  5. Supervisor
  6. Customer Confirmation
  7. 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

  1. Impact Analysis
  2. Strategy Generation
  3. Recovery Planner
  4. Supervisor
  5. Manager Approval
  6. 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.