AI terms, defined plainly
Short definitions of the words you meet when learning and building with AI, each linked to a fuller explanation and the pages that use it.
193 terms
Terms starting with A
Agent
A system where a model decides which actions or tools to use, in a loop, until a goal or stop condition is met, rather than following fixed steps.
Agent card
A JSON document an A2A server publishes to describe its agent: what it does, its skills, its endpoints and how clients must authenticate.
Agent Client Protocol (ACP)
An open protocol that standardises how code editors talk to coding agents, so a compatible agent runs in any compatible editor.
Agent harness
The software around a model that turns it into an agent: the loop, tools, prompts, context management, permissions and limits.
Agent loop
The repeating cycle of model call, tool call, observation and next decision that drives an agent until the task is done or a limit is hit.
Agent memory
Information an agent keeps beyond a single context window, such as user preferences, past decisions or task notes, and retrieves when needed.
Agent Skill
A folder with a SKILL.md file, plus optional scripts and references, that gives an agent instructions for a task and is loaded only when needed.
Agent2Agent (A2A)
An open protocol that lets agents built on different systems discover each other's capabilities and exchange tasks and results.
Agentic AI Foundation (AAIF)
A Linux Foundation fund, set up in December 2025, that hosts open agent projects such as MCP, AGENTS.md, goose and Agent Skills.
Agentic browser
A web browser with a built-in assistant that can click, type, fill in forms and move between sites for you, inside your own browsing session.
Agentic RAG
Retrieval-augmented generation in which an agent decides when and how to search, often running several searches and refining queries.
Agentic workflow
A mostly predefined sequence of LLM calls and tool steps, where the developer fixes the path and the model fills in each step.
AGENTS.md
An open, tool-neutral Markdown file of instructions for coding agents working in a repository, read by many different agents and editors.
AI alignment
The work of making AI systems pursue the goals and values their developers and users intend, and avoid harmful behaviour nobody asked for.
AI gateway
A proxy between apps and model providers that gives one API for many models and adds keys, logging, budgets, caching and fallbacks.
AI literacy
The knowledge and skills to use AI systems effectively and to understand their limits and risks. The EU AI Act requires it of staff.
AI watermarking
Embedding a hidden, machine-detectable signal in generated images, audio, video or text so software can later identify it as AI-made.
allowed-tools
An experimental SKILL.md frontmatter field listing tools the agent may use without asking while the skill is active. Support varies by agent.
Attention
The mechanism that lets a transformer weigh how much each token should draw on every other token when building its representation.
Terms starting with B
Batch API
A provider endpoint that takes many requests at once and returns results later, typically within 24 hours, at a lower price than live requests.
Benchmark
A public, standard test set used to compare models on a capability such as coding, maths or knowledge, under the same conditions.
BM25
A classic keyword relevance function that scores documents by term frequency and rarity, adjusted for document length. Still a strong baseline.
Browser agent
An agent that navigates websites and acts on them, such as filling forms, clicking through flows or extracting information from pages.
Terms starting with C
Chain-of-thought
Having a model work through intermediate reasoning steps before it gives a final answer, either by prompting or by training.
Chunking
Splitting documents into pieces sized for embedding and retrieval, ideally along natural boundaries such as sections or paragraphs.
CLAUDE.md
Claude Code's instruction file, read at the start of a session from the project and user directories, so standing rules apply every time.
Compaction
Summarising earlier parts of a long conversation and replacing them with the summary to free context space for the work still to do.
Computer use
A model controlling a computer or browser by looking at screenshots and issuing mouse and keyboard actions, step by step, like a person would.
Constitutional AI
A training method in which a model learns to be harmless by critiquing and revising its own answers against a written list of principles.
Constrained decoding
Masking out disallowed tokens during generation so a language model can only emit text matching a schema or grammar.
Context engineering
Deciding what information, tools and history a model sees at each step, and what to leave out, to get the result you want.
Context isolation
Running a subtask in a separate context window so raw tool output and intermediate noise never enter the parent conversation.
Context poisoning
When a wrong fact, hallucination or bad tool result enters an agent's context and keeps steering later steps in the wrong direction.
Context precision and recall
RAG retrieval metrics: precision is the share of retrieved chunks that are relevant, recall the share of needed facts found.
Context rot
The gradual decline in a model's accuracy and instruction-following as its context fills up with long, stale or irrelevant content.
Context window
The maximum number of tokens a model can consider in one request, covering both the input you send and the output it writes.
Contextual retrieval
Adding a short, model-written note on where each chunk sits in its source document before embedding and indexing the chunk.
Cosine similarity
A measure of how similar two vectors are based on the angle between them, ranging from -1 (opposite) to 1 (same direction).
Cursor rules
Instruction files in a project's .cursor/rules folder that tell Cursor's agent about conventions, applied always, by file pattern or on request.
Terms starting with D
Data contamination
When benchmark or test examples appear in a model's training data, so high scores reflect memorisation rather than ability.
Data poisoning
Tampering with the data used to train a model or build its retrieval index, so that it learns false, biased or hidden behaviour.
Deepfake
AI-generated or altered image, audio or video that shows real people, places or events in a way that could be mistaken for authentic.
Dev container
A container defined by a devcontainer.json file that gives a project a reproducible environment, often used to sandbox agents.
Diffusion model
A generative model that makes images, audio or video by starting from pure noise and removing it step by step, guided by a prompt.
Distillation
Training a smaller model to imitate the outputs of a larger one, keeping much of the quality at a lower cost and latency per request.
Document parsing
Converting PDFs, Office files, scans and web pages into clean text with structure, such as headings and tables, before indexing.
DPO
Direct Preference Optimization: training a model directly on pairs of preferred and rejected outputs, with no separate reward model needed.
Durable execution
Running code so that its progress is recorded step by step, letting it resume after a crash or restart instead of starting again.
Terms starting with E
Elicitation (MCP)
An MCP feature that lets a server ask the user for more information during a request, through a form in the client or a link to a web page.
Embedding
A vector representation of text or other data that places items with similar meaning close together, so they can be searched by similarity.
Error analysis
Reading a sample of real outputs, labelling what went wrong and grouping the failures before deciding what to measure or fix.
EU AI Act
The European Union regulation that classifies AI systems by risk level and sets legal obligations for their providers and deployers.
Eval
A repeatable test that measures how well an AI system performs on a defined set of cases, so you can compare versions instead of guessing.
Evaluator-optimizer
A loop where one model call writes an answer and another grades it against criteria, sending feedback until the answer passes.
Excessive agency
The risk that an AI system has more permissions, tools or autonomy than is safe, so a mistake or manipulation causes real harm.
Extended thinking
A model setting that gives it a budget of reasoning tokens to use before writing its final answer, trading time and cost for accuracy.
Terms starting with F
Faithfulness (RAG metric)
How far an answer's claims are supported by the retrieved context it was given, regardless of whether they are true in general.
Few-shot prompting
Including a few input and output examples in the prompt so the model can copy their pattern, format and level of detail.
Fine-tuning
Further training a pretrained model on task-specific examples to change its behaviour, format or style, rather than its general knowledge.
Flaky test
A test that sometimes passes and sometimes fails on the same code, usually because of timing, shared state, test order or external services.
Foundation model
A large model trained on broad data that can be adapted to many different tasks through prompting, retrieval or fine-tuning.
Frontmatter
A block of YAML metadata between two lines of three dashes at the top of a Markdown file, which tools read before the body that follows.
Terms starting with G
Generative AI
Models that produce new content, such as text, images, audio, video or code, modelled on the patterns in the data they were trained on.
GGUF
A single-file format from the llama.cpp project that stores model weights, often quantised, with the metadata needed to run them locally.
Git worktree
An extra working directory attached to the same Git repository, with its own branch checked out, created with `git worktree add`.
Golden dataset
A curated set of inputs with expected outputs or grading notes, used as the fixed reference that your evals are scored against.
GraphRAG
Retrieval-augmented generation that uses a knowledge graph of entities and relationships to connect related facts across many documents.
Grounding
Tying a model's answers to specific provided sources or retrieved data, so that each claim can be traced back to a source and checked.
GRPO
Group Relative Policy Optimization: an RL method that samples a group of answers to one prompt and learns from their relative rewards.
Guardrails
Checks placed around a model that filter, validate or block its inputs and outputs according to rules or classifiers, at run time.
Terms starting with H
Hallucination
A fluent, confident model output that is false or not supported by its sources, such as an invented citation, quote or API call.
Handoff (agents)
A transfer of control between agents: one agent passes the conversation and its history to another, which carries on with the user.
Headless mode
Running a coding agent non-interactively from a script or CI job, passing the task as an argument and reading the result from output.
HNSW
Hierarchical Navigable Small World: a graph-based index for fast approximate nearest-neighbour search, widely used by vector databases.
Hooks
User-defined commands that run automatically at set points in a coding agent's lifecycle, such as before a tool call or when a session ends.
Human in the loop
A design in which a person reviews or approves an AI system's actions or outputs at defined points before they take effect.
Hybrid search
Combining keyword search, such as BM25, with vector search and merging the results into one ranking, often with reciprocal rank fusion.
HyDE
Hypothetical Document Embeddings: a model writes a fake answer to the query, and that answer's embedding is used to search for real documents.
Terms starting with I
Indirect prompt injection
Prompt injection delivered through content the model reads, such as a web page, email or tool output, not typed by the user.
Inference
Running a trained model to produce outputs, as opposed to training it. Inference cost and speed decide what an AI feature costs to run.
Interpretability
Research into how a model works inside: which internal patterns stand for which concepts, and how they combine to produce an output.
ISO/IEC 42001
The international standard for AI management systems, setting requirements for how an organisation governs its development and use of AI.
Terms starting with J
Jailbreak
A prompt crafted to get a model to bypass its safety training and produce content it would normally refuse to write, often by role-play.
Terms starting with K
Knowledge cutoff
The date after which a model saw little or no training data, so it does not know about later events, releases or API changes.
Knowledge graph
A structured representation of entities and the relationships between them, sometimes used alongside vector search to improve retrieval.
KV cache
Memory where a transformer stores attention keys and values for tokens it has already processed, so it does not recompute them each step.
Terms starting with L
Large language model (LLM)
A neural network trained on very large amounts of text to predict the next token, which lets it generate and transform language.
Latency
The time from sending a request to a model to getting the response, often split into time to first token and total generation time.
Least privilege
Granting an agent or tool only the permissions and data access its task requires, and nothing more, so a mistake does less damage.
Lethal trifecta
Access to private data, exposure to untrusted content and a way to send data out: together they make data theft by prompt injection possible.
LLM observability
Collecting traces, costs, latency and quality signals from AI applications in production so you can debug and improve them.
LLM-as-a-judge
Using a model to grade another model's outputs against written criteria, ideally checked against a sample of human-labelled cases.
llms.txt
A proposed Markdown file at a website's root that summarises the site and links to its key documentation pages for language models.
Log probabilities (logprobs)
The log of the probability a model gave each token it generated, returned by some APIs to show how confident the model was.
LoRA
Low-Rank Adaptation: a fine-tuning method that freezes the model's weights and trains small added matrices instead, cutting memory needs.
Lost in the middle
The finding that language models use information at the start and end of a long context better than information buried in the middle.
Terms starting with M
Max tokens
A request setting that caps how many tokens a model may generate in its reply; the model can stop earlier but never goes past the cap.
MCP Apps
An official MCP extension that lets a tool return an interactive interface, such as a form or chart, shown in a sandboxed frame in the chat.
MCP client
The component inside a host application that holds a connection to a single MCP server and relays messages to and from that server.
MCP host
The AI application, such as a chat app, IDE or agent, that runs MCP clients and decides how server capabilities reach the model and the user.
MCP prompt
A reusable prompt template offered by an MCP server, which users usually pick explicitly, for example as a slash command in chat.
MCP resource
Data that an MCP server makes available by URI, such as a file, a database record or an API response, for the host to read into context.
MCP server
A program that exposes tools, resources or prompts to MCP clients, running locally over stdio or remotely over HTTP, so any MCP host can use them.
MCP tool
A function that a Model Context Protocol server exposes for a model to call, described by a name, a description and a JSON Schema for its input.
Metadata filtering
Narrowing a vector or keyword search with structured fields, such as date, language or access rights, before or during the search.
Mixture of experts (MoE)
A model architecture that routes each token through a few specialised sub-networks, so only part of the model runs per token.
Model card
A document describing a model's intended use, training data, evaluation results, limitations and risks, published alongside the model.
Model Context Protocol (MCP)
An open protocol that lets AI apps reach external tools, data and prompts through small servers that each wrap one service.
Model parameters
The numbers learned in training that determine what a model outputs; a model's size is usually quoted as how many of them it has.
Model routing
Choosing which model handles each request, often sending easy requests to a small, cheap model and hard ones to a larger model.
Multi-agent system
An application in which several agents, often with different roles, tools or instructions, cooperate or hand work to each other.
Multimodal model
A model that accepts or produces more than one kind of data, such as text, images, audio or video, within the same request.
Terms starting with N
Needle-in-a-haystack test
A long-context test that hides one fact in a large block of unrelated text and checks whether the model can find and repeat it.
NIST AI RMF
NIST's voluntary AI Risk Management Framework from the United States, organised into four functions: Govern, Map, Measure and Manage.
Terms starting with O
Online evaluation
Scoring a sample of real production traffic continuously, with automated checks or judges, to catch problems that offline test sets miss.
Open-weight model
A model whose trained weights are published for download, whatever the licence terms on their use. Training data and code may stay private.
Orchestrator-workers
A pattern where one model breaks a task into subtasks at run time, hands each to a worker model, and combines the results.
OWASP Top 10 for LLM Applications
OWASP's list of the most critical security risks in LLM applications, such as prompt injection and excessive agency.
Terms starting with P
Parallelisation (agent pattern)
A workflow pattern that runs several model calls at once, on parts or copies of one task, and combines their outputs in code.
pass@k
The probability that at least one of k generated solutions passes the tests, used to score code generation and other checkable tasks.
Permission mode
A setting in a coding agent that decides which actions it may take on its own, such as edits or shell commands, and which need approval.
Plan mode
An agent mode in which it reads and researches the code and proposes a plan, without editing any files until you approve the plan.
Plugin (Claude Code)
A package that bundles skills, agents, hooks and MCP server configuration so they can be installed together from a marketplace.
Plugin marketplace
A catalogue of installable plugins for a coding agent, usually a Git repository with a manifest file that lists each plugin.
Post-training
Training after pretraining that shapes a model's behaviour, including instruction tuning and preference or reinforcement learning.
Pretraining
The first, most expensive stage of training, in which a model learns general patterns by predicting the next token across a huge corpus.
Programmatic tool calling
A model using tools by writing a short program that makes several calls and filters the results, instead of one call per turn.
Progressive disclosure
Loading only skill names and descriptions up front, and the full instructions or bundled files only when a task needs them.
Prompt
The input given to a model: instructions, context, examples and the question or task itself, sent as one or more messages in a request.
Prompt caching
Reusing the processed form of a repeated prompt prefix, such as a long system prompt, across requests to reduce latency and cost.
Prompt chaining
Splitting a task into a fixed sequence of model calls where each call works on the output of the previous one, with checks in between.
Prompt engineering
Designing, testing and refining prompts so a model produces the output you need reliably, across many inputs and not just one.
Prompt injection
Input that overrides or subverts a model's instructions, either typed in directly or hidden in content the model reads while it works.
Prompt template
A prompt with placeholders, such as {question} or {context}, that code fills in at run time so the instructions are reused.
Terms starting with Q
QLoRA
LoRA fine-tuning applied to a base model loaded in 4-bit quantised form, cutting memory needs further so large models fit on one GPU.
Quantization
Storing model weights at lower numerical precision, such as 8 or 4 bits, to reduce memory use and speed up inference at a small quality cost.
Query rewriting
Using a model to turn a user's question into one or more better search queries before retrieval, to find more relevant results.
Terms starting with R
Rate limit
A provider's cap on requests or tokens per minute or per day; requests over the cap are rejected with an error until the window resets.
ReAct
A prompting pattern where a model alternates between writing out its reasoning and taking an action, then reads the observation before the next step.
Reasoning effort
An API setting that controls how much a reasoning model thinks before answering, trading cost and latency against accuracy.
Reasoning model
A model trained to spend extra tokens thinking through a problem before it answers, trading speed and cost for accuracy on hard tasks.
Reciprocal rank fusion (RRF)
A way to merge ranked result lists into one by scoring each document on its positions in the lists, not their raw scores.
Red-teaming
Deliberately attacking an AI system to find harmful, insecure or embarrassing behaviour before real users or attackers can find it.
Regression eval
An eval run automatically on every prompt, model or code change, so that a drop in quality is caught before it reaches users.
Reranking
Re-scoring an initial set of retrieved results with a slower, more accurate model before passing only the best few on to the LLM.
Retrieval-augmented generation (RAG)
Retrieving relevant documents and adding them to the prompt before the model generates an answer from them.
Reward model
A model trained to score responses the way human raters would, used as the signal when another model is tuned with reinforcement learning.
RLHF
Reinforcement learning from human feedback: training a model with a reward signal learned from people's preferences between two outputs.
Role prompting
Telling a model to take on a role, such as a security reviewer or a patient tutor, to shape its focus, tone and level of detail.
Routing (agent pattern)
A workflow pattern where a first step classifies the input and sends it on to a specialised prompt, tool or model for that type.
Terms starting with S
Sampling (MCP)
An MCP feature that lets a server ask the client's model to generate a response, so the server needs no model API key of its own.
Sandbox
An isolated environment that limits what an agent or its code can read, write or reach on the network, so any mistakes stay contained.
Scaling laws
Empirical rules showing that a language model's loss falls predictably, as a power law, when parameters, training data and compute grow.
Self-consistency
Sampling several reasoning paths for the same question and taking the most common final answer, instead of trusting a single response.
Self-healing tests
Automated tests whose broken locators or steps are repaired automatically when the application under test changes, so fewer runs fail.
Semantic caching
Reusing a stored model response when a new request means the same as an earlier one, judged by embedding similarity rather than exact text.
Semantic search
Search that ranks results by how close their meaning is to the query rather than by shared keywords, usually by comparing embeddings.
Shadow AI
Use of AI tools at work that the organisation has not approved or does not know about, such as pasting data into a personal chatbot.
SKILL.md
The required file in an Agent Skill: YAML frontmatter with at least a name and description, followed by the Markdown instructions.
Slash command
A command typed with a leading slash in a chat or coding agent, such as /review, that runs a built-in action or a saved prompt.
Small language model
A language model small enough, usually up to a few billion parameters, to run cheaply on a laptop, phone or modest GPU.
Spec-driven development
Writing a specification and implementation plan before letting an agent implement, then checking the result against the spec.
Speculative decoding
A speed-up where a small draft model proposes tokens and the large model checks them in one pass, keeping the ones it accepts.
Speech-to-text (STT)
A model that converts spoken audio into written words, used for transcripts, captions, voice commands and meeting notes.
stdio transport
The MCP transport in which the client launches the server as a local process and exchanges messages over standard input and output.
Stop sequence
A string sent with a request that makes the model stop generating as soon as it produces that text.
Streamable HTTP
The MCP transport for remote servers, using HTTP POST requests with optional streamed responses. It replaced the older HTTP+SSE transport.
Structured outputs
Constraining or validating model output so it matches a schema, usually JSON Schema, and can be parsed reliably by your code.
Subagent
A separate agent instance with its own context window, launched by a main agent to handle a focused task and report back a short result.
Supervised fine-tuning (SFT)
Fine-tuning on labelled input and output pairs so the model learns to produce the target output for each input.
Sycophancy
A model's habit of telling users what they want to hear, agreeing with their views or praising their work even when that means being wrong.
Synthetic data
Training or test examples generated by a model or program instead of collected from real users, used when real data is scarce.
System prompt
Instructions set by the application developer that frame every conversation, such as the assistant's role, rules and output format.
System prompt leakage
Exposure of the hidden instructions an app gives its model, usually because a user coaxes the model into repeating them.
Terms starting with T
Temperature
A sampling setting that controls randomness: lower values favour the most likely tokens, higher values spread probability more evenly.
Test-time compute
Computation a model spends while answering, such as longer reasoning or multiple samples, used to improve answers without retraining.
Text-to-speech (TTS)
A model that turns written text into spoken audio in a chosen voice, used for voice assistants, narration, audiobooks and accessibility.
Throughput (tokens per second)
How many tokens a model or serving system generates per second, measured per request or across all requests.
Time to first token
How long a model takes to return the first token of a response after a request, the main driver of how fast a streamed reply feels.
Token
The unit of text a model reads and writes, often a word or part of a word; in English a token averages about four characters of text.
Tokenizer
The algorithm and vocabulary that split text into tokens and map each one to the number a model processes. Each model family has its own.
Tool calling
A model emitting a structured request to call a defined function, which your code runs and whose result is then fed back to the model.
Tool poisoning
Malicious instructions hidden in a tool's description, parameters or output that manipulate the agent using it without the user seeing them.
Top-p
A sampling setting that restricts the model to the smallest set of likely tokens whose probabilities add up to p, then samples from that set.
Trace
A record of every step in one AI request or agent run: prompts, model responses, tool calls, retrieved context, tokens, timing and cost.
Trajectory evaluation
Evaluating the sequence of steps an agent took, its tool calls, arguments and order, rather than only its final answer.
Transformer
The neural network architecture, built on attention, that underlies most current language models. Google researchers introduced it in 2017.
Terms starting with V
Vector database
A database designed to store embeddings and quickly find the nearest neighbours to a query vector, often with metadata filtering.
Vibe coding
Building software mainly by prompting an AI and accepting its code with little or no reading or review. Fine for throwaway code.
Vision-language model
A model that takes images as well as text as input and answers in text, used for reading screenshots, charts, documents and photos.
Terms starting with Z
Zero data retention
An arrangement where a model provider does not store your prompts and outputs after responding, apart from contractual exceptions.
Zero-shot prompting
Asking a model to perform a task from instructions alone, without giving it any worked examples of the inputs and outputs.