All glossary terms
A Evidence Responsible AI

Agent explainability

Two things get mistaken for explanations: the trace, and the agent's own account of its reasoning. Neither is one. A trace records what happened. A stated rationale is another generated output, and research shows it is often not what drove the answer.

Definition

Agent explainability is the ability to give a defensible account of the basis on which an agent reached a decision, in terms the recipient can act on. It is distinct from a trace, which records what happened rather than why it was justified, and from the agent's own stated reasoning, which is a further generated output rather than a disclosure of cause.

What is agent explainability?

The ability to give a defensible account of why a decision was justified, to somebody who needs to act on it. That is a different thing from being able to show what the agent did, which is why agent estates with excellent tracing frequently cannot explain anything.

Three capabilities get conflated, and separating them is the first useful move because they are built differently and satisfy different obligations.

Observability, audit trail and explainability compared by the question each answers and who it serves
Capability The question it answers Who it is for What it cannot do
Observability What steps occurred, in what order, with what arguments Engineers debugging Say whether any step was justified
Audit trail What happened, completely, and on whose authority A third party establishing accountability Convey the basis in terms a layperson can use
Explainability On what basis was this the right outcome, and what would change it A reviewer, a regulator, an affected person Substitute for either of the above

The relationship is one of dependency rather than overlap. You cannot explain a decision you did not record, so observability is the substrate and the audit trail is what makes the record defensible. Explainability is the layer that turns either into something a person outside the engineering team can use, and it does not come free with the other two.

Agents made this harder by appearing to make it easier. With a classical model you got a score and no visibility, so the gap was obvious and the field built attribution methods to close it. An agent hands you a full narrative of steps plus its own stated reasoning, which reads like an explanation and satisfies nobody who examines it. The richness of the output is what stops teams noticing they still have nothing.

Why is an agent's stated reasoning not an explanation?

Because it is produced by the same process that produced the answer, and research shows it frequently is not what drove the answer. There is a direct test: remove or alter the stated reasoning, and if the conclusion does not change, the reasoning was not load-bearing.

This is the finding that should change how you treat chain-of-thought output, and it is well established rather than speculative.

A test shown in three steps. First, the agent produces reasoning followed by a conclusion. Second, the reasoning is truncated or perturbed. Third, the conclusion is unchanged, which is marked as demonstrating the stated reasoning was not load-bearing. A second branch shows a mismatch case where the stated rationale supports one outcome while the agent selects another. A note reads that a coherent narrative can be a post-hoc rationalisation.

Work by Lanham and colleagues in 2023 demonstrated that chain-of-thought explanations can be systematically unfaithful: truncating or perturbing the stated reasoning often leaves the final answer unchanged, which indicates the explanation was not doing the work. A related failure documented in clinical settings, sometimes called chain-of-thought mismatch, has a model's stated rationale supporting one conclusion while the model selects a different one.

The mechanism is not mysterious. An agent asked to explain itself generates text that plausibly accompanies its answer, using the same next-token machinery that produced the answer. Nothing in the architecture connects the narrative to the computation. A fluent, coherent, internally consistent rationale is exactly what you would expect from a system optimised to produce fluent, coherent, internally consistent text, whether or not it reflects the actual basis.

Who needs an explanation, and what does each need?

Three audiences with genuinely different requirements, and most implementations build one artifact and offer it to all three. An engineer needs the mechanism, a reviewer needs the decisive factors, and an affected person needs a reason and a route to challenge it.

Giving the wrong audience the wrong artifact fails in a specific way each time, which is worth knowing before you build.

Three audiences with different needs. The engineer needs the full span tree and tool arguments to debug, and receives too little if given a summary. The reviewer needs the decisive factors and what would change the outcome, and cannot act on a raw trace. The affected person needs a plain reason, the consequence, and a route to challenge, and a trace is meaningless to them. A note reads that most teams build the engineer artifact and offer it to all three.
  1. 01
    The engineer, debuggingNeeds the full span tree: every model call, tool call, argument and retrieved document. Fails when: given a summary, which removes exactly the detail required to locate the fault. This audience is well served in most estates.
  2. 02
    The reviewer, deciding whether to overrideNeeds the small number of factors that actually determined the outcome, and what would have to differ to change it. Fails when: handed a raw trace, because reading forty spans under time pressure is not a review, and the reviewer approves rather than reads.
  3. 03
    The affected person, contesting itNeeds a plain statement of the decision, the reason, the consequence, and how to challenge it. Fails when: given anything technical at all. A span tree is not an explanation to somebody who has been declined a loan, and offering one reads as evasion.

The reviewer case is the one most worth designing for, because it is where explainability stops being a compliance exercise and starts affecting outcomes. A reviewer who cannot see why in the time available will rubber-stamp, and a rubber-stamping reviewer is an oversight control that exists on paper only. That connects directly to whether your approval gates do anything.

What does the law actually require?

A reason, not a trace. The recurring standard across regimes is meaningful information about the logic of a decision, expressed so the affected person can understand it and contest it. Producing a complete technical record, however thorough, does not on its own satisfy that.

Two obligations are worth distinguishing because their timing differs and one is already live.

  • Data protection law already applies. The GDPR is long interpreted as requiring meaningful information about the logic involved in automated decisions, and the Court of Justice of the European Union confirmed a right to explanation under Article 15(1)(h) in Case C-203/22. That is settled and current, independent of any AI-specific timetable.
  • The EU AI Act adds a specific right. Article 86 establishes a right to explanation of individual decision-making for high-risk systems, alongside Article 13's requirement that providers supply instructions enabling users to interpret outputs. Article 86's individual right tracks the deferred high-risk timeline rather than the earlier obligations, and that timing has moved more than once, so verify the current date rather than relying on any secondary summary including this one.

What an explanation has to contain is more consistent than the timing. Across the guidance the same four elements recur: the origin of the decision, the rationale for it, its consequence, and the route to redress. Available, understandable and concrete, interrogable by a lay person as well as a regulator. Not a white paper about how the system works in general.

The practical implication for an agentic system is uncomfortable. Your trace can establish origin and consequence well. Rationale is the element you probably cannot produce faithfully, and redress is a process question your engineering team does not own. Whoever sets the obligation should be setting it explicitly, which is covered at AI governance.

Faithful, or merely plausible?

The distinction that decides whether an explanation is worth anything at all. A faithful explanation reflects the actual basis for the decision. A plausible one merely convinces. Optimising for user satisfaction optimises for the second, which raises trust without raising correctness.

This is the same trap as citations on a hallucinated answer, and it is more dangerous here because the artifact is being offered as evidence.

  • Plausibility is easy and measurable. Ask users whether an explanation was clear and helpful, and you can improve that score indefinitely without the explanation becoming any more accurate about your system.
  • Faithfulness is hard and rarely measured. It requires checking whether the stated basis actually determined the outcome, which means perturbation tests, counterfactual checks, or a grading step, none of which appear in a satisfaction survey.
  • Post-hoc attribution methods are not a clean escape. Established techniques such as local surrogate models and feature attribution are operationally available and do not guarantee faithfulness, stability, or comprehensibility, and they are themselves susceptible to adversarial manipulation. Useful tools rather than proofs.
  • Current regulation does not yet distinguish the two. Neither the main frameworks nor most guidance separates a faithful explanation from a merely plausible one, which is a gap several researchers expect to close.

The exposure worth understanding before it arrives. As faithfulness research matures, a documented explanation that can later be shown to misrepresent the system's actual basis may fail a meaningful-explanation standard regardless of how fluent it was. Which means an organization that has industrialised the production of persuasive, unvalidated explanations has been manufacturing liability rather than compliance. Grading a sample of your explanations for faithfulness now is considerably cheaper than discovering the gap in a proceeding.

What can you actually produce today?

More than nothing and less than people assume. The workable approach is to build explanations from things you can verify rather than from the agent's narrative, and to grade whatever narrative you do use before anybody outside the team sees it.

Five practices, ordered so the verifiable ones come first.

  1. Build the explanation from the trace, not from the narrative

    Which documents were retrieved, which policy version applied, which tool returned what, which threshold was crossed. These are facts you recorded rather than text the model generated, and they carry the origin and consequence elements the law asks for. Assemble them into a statement rather than asking the agent to describe itself.

  2. Use counterfactuals, which are both faithful and comprehensible

    What would have needed to differ for a different outcome, established by actually varying the input and observing the result rather than by asking. This is the most underused technique available: it is verifiable, it is what an affected person actually wants to know, and it doubles as a fairness probe.

  3. If you use the agent's rationale, grade it

    Prompt for an explanation, then check whether it logically supports the answer and whether the answer survives the explanation being altered. Without that grading step, self-generated explanations are unreliable, and the grading is itself an evaluation problem with its own caveats. See agent evaluation.

  4. Write the three artifacts separately

    An engineer view, a reviewer view carrying the decisive factors, and a person-facing statement with reason, consequence and redress. They are different documents from the same underlying record, and attempting one artifact for three audiences produces something that works for none.

  5. Prefer a simpler component where the explanation matters most

    The oldest answer in the field and still the strongest. If a step must be explained to a regulator, a deterministic rule or an interpretable model at that step is explainable by construction and needs no faithfulness argument. Reserve the agent's discretion for the steps where an explanation is less load-bearing.

One expectation to set with stakeholders. Full mechanistic explanation of why a model produced a particular output is an open research problem, not a procurement question, and no platform resolves it. What is achievable is a defensible account built from recorded facts and verified counterfactuals, delivered to the right audience in usable form. Promising more than that internally is how explainability commitments become undeliverable.

Frequently asked questions about agent explainability

If your question is not here, our team will answer it directly.


Talk to a Specialist →
What is agent explainability?

Being able to set out defensibly why a decision was justified, for whoever has to act on it. That is different from being able to show what the agent did, which is why estates with excellent tracing often cannot explain anything. Agents made the problem harder by appearing to make it easier: you get a full narrative of steps plus a stated rationale, which reads like an explanation and satisfies nobody who examines it closely.

Is explainability the same as observability?

No, and they relate as dependency rather than overlap. Observability records what steps occurred, in what order, with what arguments, and is built for engineers debugging. Explainability establishes on what basis the outcome was right and what would change it, for a reviewer, a regulator or an affected person. You cannot explain a decision you did not record, so tracing is the substrate. It does not produce an explanation on its own.

Can you trust an agent's own explanation of its reasoning?

Not as evidence. It is produced by the same next-token process that produced the answer, and nothing in the architecture connects the narrative to the computation. Research by Lanham and colleagues in 2023 showed chain-of-thought explanations can be systematically unfaithful: truncating or perturbing the stated reasoning often leaves the answer unchanged, which indicates the reasoning was not load-bearing. Treat it as a debugging aid and an input to a faithfulness check, not as a compliance artifact.

What is unfaithful chain-of-thought?

Stated reasoning that does not reflect what actually determined the output. There is a direct test: alter or truncate the reasoning and see whether the conclusion changes. If it does not, the reasoning was not doing the work. A related failure documented in clinical settings has the model's stated rationale supporting one conclusion while it selects another. A fluent, coherent rationale is exactly what a system optimised for fluent coherent text produces, faithful or not.

What is the difference between a faithful and a plausible explanation?

A faithful explanation reflects the actual basis for the decision; a plausible one merely convinces. The distinction matters commercially because plausibility is easy to measure and improve, since you can raise a clarity score indefinitely without the explanation becoming more accurate about your system. Faithfulness requires perturbation tests, counterfactual checks or a grading step, none of which appear in a satisfaction survey. Optimising for user satisfaction raises trust without raising correctness.

Does the law require AI explanations?

Yes, and one obligation is already live. The GDPR is long interpreted as requiring meaningful information about the logic involved in automated decisions, and the Court of Justice of the European Union confirmed a right to explanation under Article 15(1)(h) in Case C-203/22. The EU AI Act adds Article 86, a right to explanation of individual decision-making for high-risk systems, which tracks the deferred high-risk timeline. That timing has moved more than once, so verify the current date directly.

What must an AI explanation contain?

Four elements recur across the guidance: the origin of the decision, the rationale for it, its consequence, and the route to redress. It must be available, understandable and concrete, interrogable by a lay person as well as a regulator, and it is not satisfied by a general document about how the system works. For an agentic system the uncomfortable part is that a trace establishes origin and consequence well, while rationale is the element you probably cannot produce faithfully.

Is a trace an acceptable explanation for a regulator?

Not on its own. What regulators ask for is an account of the reasoning a person could actually follow and argue with, and a span tree is not that. A complete technical record is necessary and insufficient: it establishes what happened without establishing why the outcome was justified, and offering one to somebody who has been declined a loan reads as evasion rather than as transparency.

Who needs an agent explanation?

Three audiences with genuinely different requirements. An engineer debugging needs the full span tree and would be underserved by a summary. A reviewer deciding whether to override needs the few factors that determined the outcome and what would change it, and cannot act on a raw trace under time pressure. An affected person needs a plain reason, the consequence, and a route to challenge. Most teams build the engineer artifact and offer it to all three.

Why does the reviewer case matter most?

Because it is where explainability stops being a compliance exercise and changes outcomes. A reviewer who cannot see why in the time available will approve rather than read, and a rubber-stamping reviewer is an oversight control that exists on paper only. So the decisive-factors artifact is what determines whether your human approval gates do anything at all, which makes it the highest-value explanation to build and the one most often skipped.

What is a counterfactual explanation?

A statement of what would have needed to differ for a different outcome, established by actually varying the input and observing the result rather than by asking the model. It is the most underused technique available and arguably the best: it is verifiable rather than asserted, it is what an affected person actually wants to know, and it doubles as a fairness probe when you vary attributes correlated with protected characteristics.

Can agent decisions ever be fully explained?

Full mechanistic explanation of why a model produced a particular output is an open research problem rather than a procurement question, and no platform resolves it. What is achievable is a defensible account assembled from recorded facts, which documents were retrieved, which policy applied, which threshold was crossed, combined with verified counterfactuals and delivered to the right audience in usable form. Promising more than that internally is how explainability commitments become undeliverable.

Build it from facts
Can your reviewer see why, in the time they have?

An explanation assembled from recorded facts needs those facts to exist. CAMS traces every model call and tool call per agent with actor attribution, so which documents were retrieved and which policy applied are things you can cite rather than reconstruct.