Conformal Agent Error Attribution

Naihe Feng, Yi Sui, Shiyi Hou, Ga Wu, Jesse C. Cresswell
5/7/2026
cs.LGcs.MA

Official code: layer6ai-labs/conformal-agent-error-attribution (0 stars, MIT, last commit 2026-05-12).

Abstract

When multi-agent systems (MAS) fail, identifying where the decisive error occurred is the first step for automated recovery to an earlier state. Error attribution remains a fundamental challenge due to the long interaction traces that large language model-based MAS generate. This paper presents a framework for error attribution based on conformal prediction (CP) which provides finite-sample, distribution-free coverage guarantees. We introduce new algorithms for filtration-based CP designed for sequential data such as agent trajectories. Unlike existing CP algorithms, our approach predicts sets that are contiguous sequences to enable efficient recovery and debugging. We verify our theoretical guarantees on a variety of agents and datasets, show that errors can be precisely isolated, then use prediction sets to rollback MAS to correct their own errors. Our overall approach is model-agnostic, and offers a principled uncertainty layer for MAS error attribution. We release code at https://github.com/layer6ai-labs/conformal-agent-error-attribution.

View on arXivView PDF

Code Implementations(1)

MIT

We implement conformal algorithms for detecting where agentic systems fail

00PythonMay 7, 20265 months agoMIT

Similar Papers

Cite this paper

@article{feng2026conformal,
  title  = {Conformal Agent Error Attribution},
  author = {Naihe Feng and Yi Sui and Shiyi Hou and Ga Wu and Jesse C. Cresswell},
  year   = {2026},
  eprint = {2605.06788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.06788v1}
}

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/2605.06788.svg)](https://codeofpaper.com/paper/2605.06788)

Discussion