Automated Agents - Finite State Machine