Glossary

What is fail-then-retry?

Melvin Salas1 min readUpdated 3 December 2026Verified 3 December 2026

Short answer

Fail-then-retry is an AI agent tool call that fails and then succeeds when the agent tries again. Because the retry worked, the first failure was avoidable, and every session that hits it pays for it in calls and minutes. Seen once, it looks like bad luck.

Our reading: it hides because it ends well. The agent recovers, the task finishes, and nothing in the result says a call failed on the way. Seen across many sessions it is often the same tool failing the same way, which makes it a fix waiting to be made rather than bad luck.

At Riibon, the nightly review of agent tool calls counts it as a pattern once it appears in at least three separate sessions, and measures it as wasted calls and minutes lost. The causes we look for are a timeout on the first attempt, or an input format a tool rejects and the agent then corrects. An illustrative example, not a real incident: a reporting tool rejects a date format in five sessions across three brands, and each agent rewrites the date and tries again.

Not every retry is a fault. Anthropic's memory documentation designs one in: an update can carry a content hash precondition, and on a mismatch the code making the update is told to re-read the memory and retry against the fresh state.

Our reading: the difference is whether the failure tells you something new. A retry after a concurrent change is the system working; the same timeout in every session is a tool that needs fixing, and the fix belongs in the tool, not in a note teaching every agent to try twice.

This is how we work, not only what we write about

Riibon's AI surfaces what it finds with the evidence attached, and a person decides. Recommendations are stress-tested before anyone acts on them, and every change is recorded with what happened afterwards.

Ask the Riibon app what changed in your account, and what happened next. Access starts with a short call: we look at your ads together, then run them for you or set the app up with you.

← All glossary terms
Share this pageLinkedIn