agrepl: A New CLI Framework for Deterministic Replay of AI Agent Executions
Researchers introduced agrepl, a developer-first CLI framework that enables deterministic replay of AI agent executions by intercepting all external interactions, solving the non-determinism problem in LLM-based agent systems.

Researchers from arXiv cs.AI released agrepl, a developer-first CLI framework for deterministic replay of AI agent executions. AI agent systems that couple large language models (LLMs) with external tools and APIs are inherently non-deterministic due to LLM sampling variance, external API state changes, CDN infrastructure headers, and execution-environment noise. Existing observability platforms capture execution logs but cannot reproduce a run in isolation. agrepl solves this by intercepting all external interactions at the transport layer, enabling faithful re-execution of any prior agent run.
This matters because it makes debugging and improving AI agents much easier. Imagine trying to fix a recipe, but every time you follow it, the ingredients change slightly. With agrepl, developers can see exactly what happened and fix issues more reliably. This could lead to more stable and trustworthy AI systems for everyone.
If you're a developer working with AI agents, you can try agrepl today. Check out the tool's documentation on the arXiv cs.AI website and start using it to make your AI systems more reliable.