← All stories
discussionr/AI_Agents · Oct 17, 2026

Handling agents that crash mid-task: checkpointing vs idempotent tools

A practitioner describes the hardest crash case: a worker dies after an external API created a record but before saving the response — resuming risks duplicates. Discussion covers journaling tool calls to durable storage with idempotency keys, and 'already exists?' guards before writes.

Read the full source →