Make retries recognize completed actions
A timeout does not prove a write failed. The receiving service may have completed the action before the response was lost. Design the workflow to identify the logical operation and check its state before repeating it. Use supported idempotency mechanisms or a durable application-level record where appropriate, and define how conflicts are resolved.
Worked example
Illustrative scenario; not a claim of measured client results.
Suppose an agent submits a support ticket and receives no response. Retrying with a fresh unrelated request can create a duplicate. Reusing the same logical operation identifier or checking the previously created record can distinguish completion from failure. The system should report the uncertainty while it reconciles the state rather than confidently saying nothing happened.
Checks, limitations and next decisions
Test the case where the write succeeds but the response is interrupted. Also test partial completion across multiple systems. Record which steps are confirmed and which remain uncertain. Do not rely on the model remembering a prior message as the only duplicate protection. The durable integration should enforce safe retry behavior even after the agent restarts or loses conversational context.
A practical starting point
Work through these checks in order. Use the results to decide what needs to change in your own workflow.
- Use a stable operation identifier for a logical action.
- Check the target system's supported idempotency behavior.
- Reconcile uncertain results before issuing another write.
A mistake to avoid
Do not treat every timeout as proof that nothing happened.
How to check progress
Track duplicate operations and unresolved uncertain outcomes.
Your action checklist
Use this checklist while reviewing your own setup. Checkmarks are temporary and stay in this open page.
For the wider decision process, read Choosing an agent when a workflow is not a fixed script.
Further reading
Official background resources for this topic. The workflow above is general guidance, not a guarantee of a particular result.
AI-assisted editorial content. Examples are illustrative, not client case studies. Read our editorial policy or report a correction.
