A Finite State Machine (FSM) is a mathematical model of computation comprising a finite number of states, transitions between those states triggered by events or conditions, and optional actions performed during transitions or within states. It is a fundamental abstraction for modeling deterministic behavior in software, hardware, and multi-agent systems, where an agent's operational mode is explicitly defined by its current state. In orchestration observability, FSMs provide a clear, traceable model for an agent's lifecycle and decision logic.
