# Natural language understanding (NLU)

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

Natural language understanding (NLU) is a type of natural language processing focused on interpreting human-language input, including intent, meaning and context, so that software can act on what a person wrote or said.

Also called: NLU, nlu ai, language understanding.

## In plain language

Natural language understanding is the part of language software that works out what a message means. If you type 'move my meeting to Friday', an NLU component tries to identify that you want to reschedule and that the new day is Friday. It is paired with natural language generation, which produces the reply. Its limit is that interpreting language is hard: ambiguous wording, slang or missing context can lead a system to the wrong reading, so a person should check any action that matters. Whether a given system truly understands, or only handles patterns well, is a debated question, and the term is used for the task rather than as a claim about the machine.

## Technical definition

IBM describes NLU as a type of natural language processing concerned with interpreting input by intent, meaning and context, with natural language generation as the counterpart that produces output. In research, NLU is measured with task suites: the GLUE benchmark (Wang et al.) was introduced as a tool for evaluating models across a diverse range of NLU tasks. Classic pipelines add intent classification and entity extraction on top of text. IBM says modern systems use transformer-based models, such as GPT.

## How it shows up when you use agents

When you type an instruction to [Claude Code](/tools/claude-code), Codex or Cursor, something has to interpret it. Today that is usually a [large language model](/glossary/large-language-model) rather than a separate NLU module. Older assistants and chatbot builders did split the job: a classifier picked an intent, an extractor pulled out details, and a script acted.

What breaks when this is misunderstood: you assume the agent read your request as you meant it. Ambiguous wording gets resolved silently, and the action follows the reading, not your intent. The safer habit is to state the goal, the constraints and what should not change, and to read any plan before approving it.

For structured inputs, check what a tool actually does. A rule-based extractor finds patterns; it does not judge meaning. See [Natural language processing](/glossary/natural-language-processing) for the wider field and [Named entity recognition](/glossary/named-entity-recognition) for one common NLU task.

## Common confusions

- **NLU versus NLP.** According to IBM, NLU is a subset of NLP. NLP also covers other language tasks.
- **NLU versus NLG.** NLU interprets input; natural language generation produces output. Systems often pair them.
- **Understanding versus pattern matching.** The term names a task. It does not prove that a system comprehends language the way a person does.
- **Benchmark versus real use.** A benchmark such as GLUE tests models on a set of tasks. Results on it do not guarantee your own messages will be read correctly.
- **Intent detection versus entity extraction.** One decides what you want; the other picks out details such as dates or names.

## Worked examples in this catalogue

### [What Is an LLM? The Facts Agent Users Need](https://skillalmanac.com/learn/what-is-an-llm-for-agent-users)

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

What you see: The current guide contrasts the original Transformer decoder's autoregressive generation with BERT's masked pretraining, and distinguishes runtime context from learned parameters.

Why it exercises the concept: An agent's reading of your instruction is usually done by a language model. The guide helps judge how far to trust that reading. It is adjacent to NLU rather than an NLU tutorial.

### [text-entity-extractor](https://skillalmanac.com/skills/skill-almanac/text-entity-extractor)

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

What you see: The skill extracts URLs, hashtags, @mentions and ISO or numeric dates from one plain UTF-8 text file, reporting counts, first line and every line number.

Why it exercises the concept: It is a rule-based extraction step, a small cousin of entity recognition. It does not interpret meaning, which makes it a useful contrast with NLU.

### [chatbot-conversation-flow-design](https://skillalmanac.com/skills/skill-almanac/chatbot-conversation-flow-design)

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

What you see: The skill writes a support chatbot conversation flow for up to five customer intents, with a step table per intent, a fallback, a human handoff payload and replies.

Why it exercises the concept: Intents are the unit a conversation system must recognise. The skill designs the flow around them and does not implement recognition itself.

## Related terms

- [Natural language processing (NLP)](https://skillalmanac.com/glossary/natural-language-processing.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [BERT](https://skillalmanac.com/glossary/bert.md)
- [Sentiment analysis](https://skillalmanac.com/glossary/sentiment-analysis.md)
- [Named entity recognition (NER)](https://skillalmanac.com/glossary/named-entity-recognition.md)
- [Question answering (QA)](https://skillalmanac.com/glossary/question-answering.md)

## Sources

- [What is natural language understanding (NLU)?](https://www.ibm.com/think/topics/natural-language-understanding), IBM (accessed 2026-11-24)
- [GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding](https://arxiv.org/abs/1804.07461), arXiv (accessed 2026-11-24)

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).
