Long-Running Agent Task with Durable Checkpoints

Long-Running Agent Task with Durable Checkpoints A lifecycle diagram generated by Archify. 01 / Task progress 02 / Human pauses + Retry from checkpoint 03 / Stops Submitted · goal + budget · Task progress 01 Submitted goal + budget Planned · task list written · Task progress 02 Planned task list written Working · step, then checkpoint · Task progress · loop 03 Working step, then checkpoint loop Verifying · tests, evals, rules · Task progress 04 Verifying tests, evals, rules Delivered · result + audit trail · Task progress 05 Delivered result + audit trail Awaiting approval · state persisted · Human pauses Awaiting approval state persisted Step failed · transient error · Retry from checkpoint · retryable Step failed transient error retryable Budget exceeded · steps, tokens, time · Stops Budget exceeded steps, tokens, time Rejected · human or verifier · Stops Rejected human or verifier risky action Legend start active state waiting decision terminal success failure / exit

Durable progress

  • • Checkpoint after every step; restarts resume
  • • Approval waits hold no threads or connections

Bounded failure

  • • Retries draw from a step, token and time budget
  • • Verification can reject the result
© 2026 Samir Kumar Sahoo. All rights reserved.