Back to feed
AR
arXiv CS.AI
7/21/2026
Deterministic Replay for AI Agent Systems

Deterministic Replay for AI Agent Systems

Short summary

agrepl is an open-source CLI framework for deterministic replay of AI agent executions, solving the reproducibility problem caused by LLM sampling variance and external API state. It intercepts all external interactions via a MITM proxy, serializes them as structured traces, and replays them in a fully isolated environment with zero network access. Evaluation across 250 replay instances shows perfect replay fidelity (F=1.0) and 98.3% median per-step latency reduction. The tool is implemented in Go and released under the MIT license.

  • Open-source CLI tool (MIT license) for deterministic replay of LLM agent executions
  • MITM proxy intercepts and serializes all external API interactions for isolated replay
  • Achieves perfect replay fidelity (F=1.0) with 98.3% latency reduction across 250 test instances

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more