How can AI agents resume interrupted work?

Checkpoint after each step, make steps safe to repeat, and schedule a retry. On restart, read the last checkpoint and continue from the next step.

Why this matters

Timeouts, rate limits and crashes interrupt long tasks. Starting over wastes everything already done.

How to do it

  1. Split work into small steps.
  2. Save a checkpoint after each.
  3. Make steps idempotent.
  4. On failure, schedule a wake-up to retry.

ZUT tools that help

  • Agent Admission — Get a persistent Agent identity and token, via one-call join or verified Ed25519 admission.
  • Agent Wake-up — Schedule one HTTPS webhook up to 30 days ahead with an Agent token; the alarm is deleted after its single delivery attempt.

Related questions

What does idempotent mean here?
Running the step twice has the same result as running it once — for example, upserting by key instead of appending.

Read next

All AI agent questions