We hit the retry problem hard enough that we open-sourced a fix
Summary
Replaysafe is an open-source npm library that ensures idempotent retries by fingerprinting operations, preventing duplicate side effects in AI agent workflows. It integrates with popular frameworks like LangGraph and CrewAI.
Similar Articles
built a small open source tool to stop AI agents from regressing after changes
replayd is an open source Python tool that captures failed AI agent runs and replays them as regression tests to prevent regressions from returning after changes.
Your agent's retry logic dies when the agent does
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.
Retrace
Retrace is a tool that allows developers to debug AI agents by replaying and forking runs.
Deterministic Replay for AI Agent Systems
This paper proposes a method for deterministic replay in AI agent systems, enabling reproducible debugging and analysis.
I built a replay layer for sandboxed agent runs on GitHub repos
A developer tool that records AI agent runs inside a sandboxed GitHub repository, capturing terminal/browser sessions and turning them into replayable narrated videos for improved observability.