PrepCity

Agent state and checkpoints

Open the lab

By the last page, this is the design you will have built.

Lesson · 8 pages · about 5 min

Agent state and checkpoints

An agent’s task can take minutes or wait days for a person. Save each step as it happens, pause safely before side effects, and resume after a crash without doing anything twice.

Words you’ll learn

  • Request
  • Server
  • Event
  • Checkpoint
  • Fingerprint
  • Idempotency key
  • Retry
  • API
  • Stale read

Page by page