Manuscript Offprint

arXiv:2610.07948

Confidence Reasoning Graphs: Structured Confidence Estimation for LLM Agents

Brendan King, Farima Fatahi Bayat, Jean-Flavien Bussotti, Pouya Pezeshkpour, Estevam Hruschka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

When using an LLM agent in a consequential domain, making an informed decision about whether to trust its output or intervene requires calibrated confidence in the agent's success. Confidence estimation for agents is difficult because evidence about success is distributed across heterogeneous, interdependent steps of an agent's trajectory. Practical agentic deployments introduce further challenges: frontier LLMs often provide limited access to internal signals, agent roll-outs are costly, and training data may be unavailable or quickly become outdated. To address these challenges, we introduce Confidence Reasoning Graphs (CRGs), an inference-time framework that estimates the probability an agent accomplished its task from a single trajectory, without privileged model access or training data. Rather than compressing an execution into a single holistic judgment, a CRG begins with the claim that the agent accomplished its task, decomposes it into contextualized sub-claims grounded in trajectory evidence, estimates confidence for each terminal claim, and finally aggregates these into an overall confidence estimate. Across three agentic benchmarks, three backbone models, and three agent frameworks, CRGs yield better-calibrated confidence and stronger risk-aware decision making than verbalized, sampling-based, and white-box surrogate baselines. We further find that calibration error alone can be misleading: a white-box surrogate baseline appears well calibrated while providing near-chance discrimination. Ablations attribute CRG's improvements to claim-level confidence estimation and aggregation rather than graph construction alone. Finally, a CRG exposes the claims and trajectory evidence underlying each confidence estimate, enabling it to be audited at decision time. 1^{1}

1 INTRODUCTION

Increasingly, consequential real-world tasks are being delegated to LLM agents: autonomous systems that combine LLM reasoning with tools, memory, and skills to solve complex, multi-step tasks through interaction with an environment. Such agents are often used in domains where their decisions have real-world consequences, and users must correspondingly make inference-time decisions about whether to trust their output. An agent's average success rate offers little guidance for this decision: it does not reveal whether a particular output is correct, and checking that output can be difficult because it results from a chain of decisions, tool calls, and observations in which one mistake can affect everything that follows. What is needed is calibrated confidence for agents.

While confidence estimation for LLMs is well-studied (Geng et al., 2024), the agentic setting poses new challenges. Confidence in a single LLM output can often be estimated from sequence log-probabilities or from agreement across repeated samples (Wang et al., 2023). An agent trajectory, in contrast, is a heterogeneous trace that interleaves LLM-generated text, tool calls, skill, memory use, and observations from the environment. Estimating confidence in task success therefore requires reasoning jointly over a long trajectory with different sources of uncertainty: from the model, retrieval, tool failures, or environmental stochasticity (Liu et al., 2024; Zhao et al., 2025).

*Work done while interning at Megagon Labs.

1^{1}Code available at https://github.com/megagonlabs/crg_ce

Real-world agent deployments further impose three constraints that make many existing confidence estimators for agents impractical. First, many agents use black-box LLMs that do not expose internal states, token probabilities, or even LLM reasoning text, making estimators that rely on these privileged signals unusable. Second, even a single agent run may be costly, making estimators requiring multiple roll-outs highly impractical. Finally, training a separate estimator requires labeled trajectories, which are costly to collect and can become stale as agents, models, tools, and environments evolve. Estimators reliant on token probabilities therefore cannot be applied to agents that use black-box LLMs (Zhao et al., 2025; Zhang et al., 2026; Bouchard & Chauhan, 2026), and estimators based on agreement require an impractical number of runs for many real-world tasks (Duan et al., 2025). While verbalized confidence estimators satisfy these constraints, the resulting estimates are often substantially overconfident (Kaddour et al., 2026).

To overcome these limitations, we introduce Confidence Reasoning Graphs (CRGs), a confidence estimation method for agents that evaluates a single trajectory without requiring privileged model access, repeated roll-outs, or labeled training data. A CRG recursively decomposes the claim that the agent successfully accomplished its task into a set of contextualized sub-claims that define success for the task, then estimates confidence in each leaf sub-claim grounded in evidence from the trajectory, before finally aggregating the resulting leaf confidences into a root confidence. Together, these steps yield an overall confidence estimate and a structured argument supporting it.

We evaluate CRGs on trajectories produced by three strong agent LLMs across three challenging agent benchmarks: SWE-Bench Verified (Chowdhury et al., 2024), EnterpriseOps-Gym (Malay et al., 2026), and SkillsBench (Li et al., 2026). CRGs achieve the lowest adaptive ECE and Brier score and the highest decision utility on every benchmark, outperforming both verbalized and surrogate-probability baselines. Ablations attribute these gains to leaf-level confidence estimation and aggregation rather than graph construction alone. Additional experiments show that the gains transfer across agent frameworks and that CRGs are the best-calibrated method on the cost-calibration Pareto frontier.

Our contributions are as follows:

• We introduce CRGs, a structured, inspectable framework for training-free confidence estimation from a single black-box agent trajectory.

• We evaluate CRGs across diverse agentic benchmarks, agent frameworks, and backbone models, and show that they provide substantially better calibrated confidence than strong verbalized and surrogate-probability baselines.

• We validate each design component through ablations and show that CRGs lie on the cost-calibration Pareto frontier: the best-performing instantiation costs only 0.04–0.04–0.07 per estimate, a fraction of the cost of generating a trajectory with a strong LLM.

References (37)