# Explainable AI (XAI)

> Canonical: https://skillalmanac.com/glossary/explainable-ai | Last verified: 2026-11-25 | Index status: index-eligible

Explainable AI is a set of processes and methods that let people understand and trust the results of machine learning models, by showing why a model produced a particular output.

Also called: XAI, explainable artificial intelligence, AI explainability, interpretable AI.

## In plain language

Many AI systems give an answer without saying why. Explainable AI is the work of making the reasons visible enough that a person can check them. A lender should be able to say why a loan was refused. A doctor should be able to see what a model looked at. Explanations are not always complete or true to what happened inside the model, so they help people judge an answer but do not prove it is right.

## Technical definition

XAI covers methods that attribute or justify a model's output. Local, model-agnostic techniques such as LIME explain individual predictions of a classifier. Attribution methods such as DeepLIFT compare neuron activations with a reference to trace which inputs mattered. Interpretability refers to how well a human can predict the output, while explainability also describes how the result was reached. NIST's report frames the topic around principles for what makes an explanation useful to a person.

## How it shows up when you use agents

With a coding agent, the model's internal workings stay closed. What you can inspect is its visible work: the plan, the commands it ran, the files it changed and the evidence it cites. For agent users, explainability mostly means making that trail checkable. See [AI model](/glossary/ai-model).

IBM defines explainable AI as processes and methods that let people comprehend and trust a model's output. It names techniques for classic machine learning: LIME for individual predictions and DeepLIFT for tracing neuron activations. NIST's report on four principles of explainable AI, published as NISTIR 8312 in September 2021, treats the question as a human one, about what explanation a person needs. The NIST page cited here does not set out the principles, so read the full report before relying on them.

The risk with language models is the persuasive explanation. A model can write a fluent reason for an answer that is not how it reached it, and it can be wrong. See [Hallucination](/glossary/hallucination) and [Large language model](/glossary/large-language-model). Tie claims to evidence you can open, such as a test result, a file line or a source, rather than accepting a self-description.

## Common confusions

- **Explainability versus interpretability.** IBM draws the line this way: interpretability is how well a person can predict a model's output, and explainability goes further to describe how the result was reached.
- **Explanation versus correctness.** A clear explanation does not make an output right. It gives you something to check.
- **Myth.** A model that explains itself in chat is explainable. A written rationale is another output of the model, not a view of its internals.
- **Explainable AI versus transparency about data.** Knowing what data a model was trained on is a separate question from knowing why it gave one answer.

## Worked examples in this catalogue

### [systematic-debugging](https://skillalmanac.com/skills/skill-almanac/systematic-debugging)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A debugging session where the agent keeps a ledger of evidence, and a script checks the ledger before any bug is called fixed.

Why it exercises the concept: It makes an agent's reasoning inspectable: each conclusion must point to evidence. That is the human-facing aim of explainability applied to agent behaviour.

### [claim-evidence-map](https://skillalmanac.com/skills/skill-almanac/claim-evidence-map)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A map from factual statements in a draft to the supplied excerpts and source IDs that support them.

Why it exercises the concept: A claim you can trace to a source can be checked by a reader. This is a practical form of explanation for model-written text.

### [grill-with-docs](https://skillalmanac.com/skills/mattpocock/grill-with-docs)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: An interview about a plan or design, one question at a time, that writes decision records and a glossary as the answers come in.

Why it exercises the concept: A decision with a written record of what supported it can be reviewed later, which is the accountability explainability is meant to provide for automated choices.

## Related terms

- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [Neural network](https://skillalmanac.com/glossary/neural-network.md)
- [Deep learning](https://skillalmanac.com/glossary/deep-learning.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [AI hallucination](https://skillalmanac.com/glossary/hallucination.md)
- [AI model](https://skillalmanac.com/glossary/ai-model.md)
- [Interpretability](https://skillalmanac.com/glossary/interpretability.md)

## Sources

- [What is explainable AI?](https://www.ibm.com/think/topics/explainable-ai), IBM (accessed 2026-11-23)
- [Four Principles of Explainable Artificial Intelligence (NISTIR 8312)](https://www.nist.gov/publications/four-principles-explainable-artificial-intelligence), NIST (accessed 2026-11-23)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
