Did the Action Happen? Designing Confirmation Logic for Agent Tool Calls That Time Out

felix_baron · reddit · 2026-09-22

The author tackles a gap in agent engineering: when a tool call times out, did the action execute? Blind retries can be dangerous for orders or payments.

They propose a small open-source example around one CRM update (via both API and browser):

The reusable layer handles action records, approval checks, status tracking, and an evidence log (without raw customer values), with tests for wrong customer, changed arguments after approval, and connection drops. System-specific code stays with the user. Starts with LangChain/LangGraph.

Original post →

More from coding & agent

coding & agent channel →