State Machine EngineDeterministic FSM (Max 30 Steps)Inspect → Classify → Gate → Route → Stop
Human-in-the-Loop GateActive Guardrail (₹5k+)High-value refund policy
Loop Bound Constraint3 Max TransitionsInfinite recursion prevention
1. Finite-State Node Topology
INSPECT
CLASSIFY
ASK_APPROVAL
ROUTE
STOP
Agent Execution Step Trace
Step 1
INSPECTSuccess
Received ticket #T-8821: "Refund request for ₹7,500 due to cancelled order."
Step 2
CLASSIFYSuccess
Classified category as "High-Value Refund" (Confidence: 0.96).
Step 3
ASK_APPROVALPending
Gate triggered: Transactions > ₹5,000 require manager approval.
Step 4
HOLDBlocked
Execution paused awaiting manager sign-off.
Human Approval Intercept
Ticket #T-8821 exceeds ₹5,000 threshold. Do you authorize dispatch of refund?