Checkpoint and resume

Saves progress after every step, so a crash means continue, not start over.

What it is
After each step the loop stores the step index, the plan and the facts gathered so far. After a crash the agent reloads them and continues from the last saved step.
When to use it
  • Tasks longer than a few minutes
  • Background runs
When to skip it
  • Tasks under a minute: just retry them
Why (the trade-off)
Long tasks will hit restarts, timeouts and deploys. Without checkpoints every hiccup repeats all the work.
Where it sits
Memory layer, written by the loop after each step and stored with the agent's computer.
What it needs first
What can be added to it
Effect of adding it
  • cost —
  • latency —
  • reliability ↑↑
  • safety —
Risks it handles
  • The computer crashes mid-task · full
New risks it brings
  • If the crash happens after an action but before its checkpoint, resuming repeats that action
Free and open-source implementations