Chronicle: Cut-Point Replay for Regression Testing of LLM Agents

Tisha Chawla, Susheem Koul
9/17/2026
2 citations
cs.CLcs.AI

Official code: theagentplane/chronicle (26 stars, Python, MIT, last commit 2026-10-27).

Abstract

Large language model responses are non-deterministic, so failures in LLM agents are hard to reproduce: a failure depends on inference that is not bitwise reproducible, on tools that read changing state, and on a multi-step trajectory that a re-run rarely repeats. Record-and-replay makes a run reproducible, but existing agent tooling records runs only to trace or score them, not to test a code change against them.

Show full abstract

We present Chronicle, which records an agent run at its non-deterministic boundaries as immutable envelopes and replays it from the record. Its central operation, cut-point replay, serves a chosen subset of boundaries from the record and executes the complementary subset live with new code, turning a recorded incident into a regression test that runs in continuous integration. On a benchmark of 6 recorded failures with simulated model boundaries, recording adds 23 μs per crossing (0.008% of an assumed 300 ms model call), full replay issues zero model calls and is bit-stable across 20 repetitions, and cut-point tests fail on faulty code and pass on guarded and benign changes for all 6 incidents. In a mutation study of the guarded tools, cut-point tests catch every mutant that lets the recorded unsafe action through, while a baseline that stubs every boundary, using the same assertion, catches none. Chronicle and the benchmark are publicly available at https://github.com/theagentplane/chronicle.

View on arXivView PDF

Code Implementations(1)

MIT

Record-and-replay for agent decision graphs: reproduce a prod agent failure as a committed regression test, and re-run your fix without live LLM calls.

265PythonJun 17, 20261 months agoMIT
agent-testingagentsaihacktoberfestlanggraph+6 more

Similar Papers

Cite this paper

@article{chawla2026chronicle,
  title  = {Chronicle: Cut-Point Replay for Regression Testing of LLM Agents},
  author = {Tisha Chawla and Susheem Koul},
  year   = {2026},
  eprint = {2609.20625},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.20625v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.20625.svg)](https://codeofpaper.com/paper/2609.20625)

Discussion