Addressing the problem that agentic retrieval-augmented generation (RAG) systems produce seemingly grounded answers that nevertheless fail at multiple operational layers, this paper constructs LayerRAG-Bench, a controlled cross-layer reliability benchmark comprising 8 enterprise domains, 240 tasks, 9 failure scenarios, and 2 contract modes, and conducts a large-scale empirical evaluation.
The failure risk of agentic retrieval-augmented generation systems is not concentrated in the final answer generation stage, but is distributed across multiple independent technical layers. Such systems often output answers that appear fully consistent with the retrieved evidence, even though hidden failures have already occurred at the evidence layer, the tool contract layer, the authorization layer, or the session state layer.
Such cross-layer failures cannot be fully covered by any single local optimization. For example, schema normalization raises task success rate from 0.000 to 0.913 under the schema drift scenario, but failure scenarios such as stale evidence, missing tool output, permission denial, and erroneous session context cannot be repaired by schema normalization. Evaluation approaches that focus solely on answer groundedness also produce large numbers of false positives under the stale evidence and erroneous session context scenarios.
LayerRAG-Bench, the benchmark proposed in this study, is positioned as a controlled evaluation framework for cross-layer reliability assessment of agentic RAG. Its corpus is built in a synthetic policy style, enabling controlled injection of failures at different layers.
The benchmark's core outputs can be summarized as three items: a layered evaluation task set of 240 task rows derived from 80 base policy units, a reproducible enterprise-grade benchmark covering 9 scenario types mapped to different operational layers with paired strict and repair contrast conditions, and a privacy-safe archive and layered uncertainty analysis framework supporting recomputation of all aggregated results.
The public repository includes benchmark construction, deterministic evaluation, table export, testing, and aggregate recomputation modules, and produces the corpus, tasks, and failure scenarios needed for evaluation through a fixed generation specification.
The benchmark's live execution mode sets explicit quota constraints on all external calls. The other mode, a deterministic workflow with public result recomputation, requires no access to any LLM provider API: relying solely on the privacy-safe archive files released alongside the benchmark, it fully reproduces all measured results, including scenario aggregate statistics for layered failure mappings, provider-dimension aggregates, failure repair gains, groundedness false positive counts, layered bootstrap intervals, and the targeted LangChain integration.
Among the benchmark's full run records there are 38880 execution traces, of which 28080 carry hash values of their corresponding input prompts. The remaining records terminated at the prompt construction stage because retrieval was unavailable or invalid, and no subsequent call requests were generated.
This full cross-provider evaluation produced 38880 valid measured records with binary success labels, and system performance across different failure scenarios shows clear layered differences. Schema drift is the dominant repairable failure, with a success rate of 0 under strict success mode and 0.913 under repair mode; the four failure types of stale index, missing tool output, permission denial, and erroneous session state all have a strict success rate of 0 under both evaluation modes; some timeout failures remain in a partially degraded state under both modes, with a strict-mode success rate of 0.314 and a repair-mode success rate of 0.308, yielding almost no repair gain.
The measured results confirm that groundedness metrics alone cannot complete a full reliability assessment, as there are many false positives where answers are grounded but the task fails. Under the erroneous session state scenario, 77.6% of strict-mode records and 78.8% of repair-mode records satisfy groundedness requirements yet ultimately fail the task; all stale-index records that satisfy groundedness requirements likewise fail strict success validation. In contrast, schema repair raises paired-task success rate by 91.3 percentage points, because in this scenario the evidence required by the task is fully present and only the interface contract format is corrupted, making it a failure type solvable through targeted repair.
Measured results from the targeted LangChain integration show that the baseline LangChain achieved a strict task success rate of 34.7% and a safe parsing rate of 50.0%; after integrating LayerRAG, the strict task success rate remained at 33.3% with no performance loss on answerable scenarios, while the safe parsing rate rose to 100%. In the LayerRAG integration group, all 24 tasks under answerable conditions passed strict success validation, and all 48 tasks under unsafe conditions output structured, compliant non-error responses; both groups maintained a 100% strict success rate on clean tasks, and LayerRAG triggered no incorrect control interventions.
All results from this full evaluation rely on the three core outputs proposed by the study: a reproducible enterprise-grade benchmark covering 9 scenario types mapped to different operational layers, paired strict and repair contrast conditions, and a privacy-safe archive and layered uncertainty analysis framework supporting recomputation of all aggregated results.
LayerRAG-Bench treats agentic RAG reliability as a layered systems problem, and all conclusions are based on 38880 cross-provider measured records.
Combined with the preceding large-scale cross-provider evaluation conclusions, it is confirmed that schema repair raises task success rate from 0.000 to 0.913 under the schema drift scenario, and has no repair effect on the other cross-layer failure types such as stale evidence, missing output, permission denial, partial timeout, and erroneous session context.
The measured results show that validating groundedness alone is insufficient to support a judgment of end-to-end operational reliability; groundedness evaluation on its own is engineering-wise inadequate.