Tag
The author shares lessons from putting an AI agent with write access into production, explaining that retry logic inside the agent loop fails when the process dies. They advocate for treating side-effectful tool calls as durable background jobs with idempotency keys.
A developer shares a lesson learned about capping tool retries per session rather than per call to prevent runaway costs from flaky endpoints, recommending a per-session retry budget that fails loud when exhausted.