07. Supervisor Agents

Chapter 7 of 24 · 20 min
EXERCISE

Design a supervisor hierarchy for an e-commerce checkout system. The top-level supervisor handles the checkout orchestration. Beneath it, supervisors manage cart validation, payment processing, inventory reservation, and order confirmation. Specify task decomposition, failure handling policies, and how the system handles partial failures (e.g., payment succeeded but inventory reservation failed). (12 minutes)