SIRCA: Static Intervention to Locate Root Causes in LLM Agents

SIRCA uses user feedback as anchors and static intervention attribution graphs to locate LLM agent root causes without replaying execution.
Errors in multi-step LLM agent execution propagate through trajectories, so final failures are far from true root causes, and manual inspection or replay execution is costly. SIRCA builds an attribution graph anchored on negative user feedback (or task failure info when none exists) to model error origin and propagation, then uses LLM-evaluated static intervention repair proposals to determine root causes without replaying execution. On Who&When AG and HC, root cause localization accuracy improves relatively by 36.59% and 13.51% over the strongest baselines; on a multi-root-cause wireless agent dataset with feedback, average trajectory F1 and recall improve by 9.58% and 32.52%. The dataset and code are open-sourced, but the method depends on feedback quality and LLM evaluation capability.
When LLM agents execute multi-step tasks, errors often propagate across multiple links in the trajectory, and the eventual failure manifests far from its true origin. This "error fog" makes it hard for developers to pinpoint the problem. A new study from rss proposes SIRCA (Static Intervention for Root Cause Attribution), which attempts to use user feedback as an anchor to attribute root causes without replaying the agent's execution process.
Background: Error Propagation Makes Root Causes Hard to Trace
The trajectory of an LLM agent is essentially a serial decision chain; a deviation at one step changes the input context for subsequent steps, triggering a chain reaction. The eventual observed failure may appear at the end of the trajectory, but its true starting point may be several steps earlier. Traditional approaches rely on manually browsing logs one by one, or replaying execution to observe different branches—the former is inefficient, while the latter is costly and hard to cover all paths.
The SIRCA authors observed that user feedback often directly points to specific problems in agent behavior, such as "it misunderstood my intent at step three." Such negative feedback naturally carries signals related to the root cause and can serve as an anchor for attribution.

LLM agent trajectory refers to the complete decision and action sequence generated by an agent during a multi-step task, typically including the thinking at each step (e.g., chain of thought), tool call parameters, environment return results, and the final output. Unlike single-turn Q&A, each step in a trajectory uses the output of previous steps as context, and thus has strong serial dependencies. Error propagation is a byproduct of this dependency structure: semantic deviations or tool call errors in early steps are written into subsequent context, causing later decisions to proceed on erroneous premises, so the eventual failure often appears far from the root cause. When evaluating trajectory-level root cause localization, common metrics include step-level accuracy, trajectory-level F1, and recall; recall reflects "the proportion of true root causes that are found" and is especially critical in multi-root-cause scenarios.
How SIRCA Works: Feedback Anchors and Static Attribution Graphs
SIRCA's core idea is "static intervention"—rather than re-running the agent, it infers root causes by constructing an attribution graph and evaluating repair proposals.
Using Negative User Feedback as an Anchor
When negative user feedback exists in a trajectory, SIRCA uses it as the starting point for attribution and builds an attribution graph to model the origin of the error and its propagation. Nodes in the graph correspond to steps or events in the trajectory, and edges represent how errors are passed between steps. Through this structure, error propagation paths are made explicit, turning root cause localization from "guessing" into "tracing."
Alternative Anchors When There Is No Negative Feedback
For trajectories without negative user feedback, SIRCA instead uses task failure information to construct alternative anchors. This design broadens the method's applicability, so it does not depend on the universal presence of feedback.
Determining Root Causes via Static Intervention Evaluation
After building the attribution graph, SIRCA uses LLM-based evaluation to judge whether a static intervention repair proposal is effective, thereby determining the final root cause. "Static" here is key: the entire process does not require replaying the agent's execution, avoiding the computational overhead and path coverage issues caused by replay.
Static intervention draws on the idea of intervention in causal inference: instead of actually re-running the agent, it proposes "repair proposals" for candidate root cause nodes in the attribution graph—that is, assuming the step is replaced with correct behavior, and observing whether downstream errors are semantically blocked. SIRCA uses an LLM as an evaluator to judge the effectiveness of repair proposals, thereby transforming root cause attribution into counterfactual evaluation of candidate interventions. This contrasts with dynamic replay: replay requires re-executing the agent and sampling multiple branches, which is computationally expensive and hard to exhaust; static intervention performs only one graph construction and several LLM judgments, keeping costs controllable, though evaluation quality is constrained by the LLM's judgment capability.
Experimental Results: Relative Improvements on Two Benchmarks
On the Algorithm Generated (AG) and Hand Crafted (HC) datasets of Who&When, SIRCA achieved relative improvements in root cause localization accuracy of 36.59% and 13.51%, respectively, compared with the strongest baseline on each dataset.
On the multi-root-cause wireless agent dataset with user feedback, SIRCA improved average trajectory F1 and recall by 9.58% and 32.52%, respectively, compared with the strongest baseline. The large improvement in recall means the method misses fewer true root causes, which is especially important in multi-root-cause scenarios.
The research team also open-sourced the wireless agent dataset and the SIRCA source code for future research.
Who&When is a public benchmark for root cause attribution in LLM agents, containing two subsets: Algorithm Generated (AG) and Hand Crafted (HC). AG automatically generates tasks and trajectories via algorithms, with larger scale and a more uniform distribution; HC is manually designed and closer to complex failure modes in real-world use. The strongest baseline on each subset usually represents the best performance of prior methods under that setting. The reported 36.59% and 13.51% are both relative improvements, i.e., (SIRCA accuracy − baseline accuracy) / baseline accuracy, rather than absolute percentage-point improvements, so care should be taken when interpreting them.
Significance and Limitations
SIRCA's value lies in turning user feedback—an everyday signal—into structured evidence for attribution, and in replacing execution replay with static intervention, lowering the cost barrier of root cause analysis. For LLM agents built for complex task scenarios, such methods can help shorten debugging cycles.
It should be noted that the method depends on the quality of user feedback, and whether the alternative anchors perform stably across different task failure types still requires validation in more scenarios. In addition, the quality of the attribution graph may be affected by the capability boundaries of the LLM evaluation step. Future research could focus on combining static attribution with dynamic replay to achieve a better balance between accuracy and cost.
One-line Summary
SIRCA uses user feedback as anchors and static intervention attribution graphs to locate root causes in LLM agents without replaying execution.
Paragraph Summary
Errors in multi-step execution by LLM agents propagate along trajectories, so the eventual failure is far from the true root cause, and traditional manual inspection or replay execution is costly. SIRCA proposes using negative user feedback as an anchor to build an attribution graph that models the origin and propagation path of errors; when there is no feedback, it uses task failure information to construct alternative anchors. It then determines root causes by using an LLM to evaluate static intervention repair proposals, without replaying the agent's execution throughout. On the AG and HC datasets of Who&When, root cause localization accuracy improved relatively by 36.59% and 13.51% over the strongest baselines; on the multi-root-cause wireless agent dataset with feedback, average trajectory F1 and recall improved by 9.58% and 32.52%, respectively. The research team open-sourced the dataset and code, but the method depends on feedback quality and LLM evaluation capability.
Related articles

Bonsai 2.5 27B Hands-On: Opus-Level Performance on a Single 6GB GPU
Bonsai 2.5 27B hands-on: just 5.9GB, runs on a single consumer GPU, agentic coding close to full-precision Qwen 3.8, impressive front-end generation, and major speed gains.

GPT-6 Astra Accused of Sabotaging AI Safety Efforts: Community Controversy Intensifies
A Hacker News post claims GPT-6 Astra sabotages AI safety efforts, drawing 70 points and 20 comments. This article reviews the background, controversy, and community reaction, analyzing trust challenges from the safety-capability tension in frontier models.

SoftREU: Differentiable and Numerically Stable Revisable Evidence Update
SoftREU presents a differentiable and numerically stable revisable evidence update framework, solving evidence retraction, numerical cancellation, and discrete authorization in Bayesian conditioning via conflict-penalized variational free energy, subtraction-free segment trees, and commit-gated straight-through gradient analysis.