Agent Run Lifecycle

Agent Run Lifecycle A lifecycle diagram generated by Archify. Queued · request accepted · Lifecycle state · entry 01 Queued request accepted entry Planning · build task graph · Lifecycle state · model 02 Planning build task graph model Executing · tool calls · Lifecycle state · work 03 Executing tool calls work Reviewing · quality gate · Lifecycle state · check 04 Reviewing quality gate check Completed · final response · Lifecycle state · done 05 Completed final response done Needs Approval · human gate · Lifecycle state · pause Needs Approval human gate pause Failed · recoverable error · Lifecycle state · retryable Failed recoverable error retryable Blocked · missing input · Lifecycle state · wait Blocked missing input wait Cancelled · user stopped · Lifecycle state · terminal Cancelled user stopped terminal Expired · timeout · Lifecycle state · terminal Expired timeout terminal start plan ready steps done pass risky tool approved user denies tool error retry needs input input given no reply 24h Legend initial state active waiting decision success failure / exit final state