AI Terms Glossary
The words you need to read about AI and agents, each in a sentence or three, with the posts that explain it. New to all of this? Start with the Foundations series.
- Agent
-
This site's working definition: a model, a harness and an outcome someone is held to, run as a loop until a check the model cannot fake says the work is done; what the check cannot cover goes to a named reviewer. The model chooses each step; the harness carries it out and decides when the work is done. Many agents stop when the model says so; this site counts them as agents with that failure unfixed.
- Agent loop
-
The cycle at the heart of every agent: call the model, do what it asks, put the result back in, repeat until done. Many agent failures are failures of the loop (stopping too early, never stopping, carrying stale context), not of the model's step.
Read: The Agent Is a While Loop; A Field Guide to Agent Loops
- Agentic AI
-
AI that works in a loop toward a goal: it chooses the next step, acts through tools, reads what happened and goes again until the goal is met; in a well-built system, something other than the model decides that. Agency is a property of that system, granted in degrees, not of a smarter model.
Read: What Makes AI Agentic
- Agentic thinking
-
Designing work around AI that acts rather than AI that answers, which moves you from operator, doing each step, to orchestrator, designing the system: say what, why and what done looks like rather than how, read what the model was given before blaming it, trust a check rather than a claim, and grant autonomy per action.
Read: Agentic Thinking in Four Habits; What is Agentic Thinking?
- Artificial intelligence (AI)
-
The whole field of software that does tasks we would call intelligent if a person did them, including systems built from hand-written rules. Machine learning (systems that learn from examples), deep learning (machine learning with large neural networks), generative AI (models that produce new text, images, audio or code) and large language models are successively narrower parts of it.
Read: What an LLM Actually Is
- Allowlist
-
A list of what is allowed, with everything not on it refused or sent to a person: the outside hosts an agent may send traffic to (an egress allowlist) or the actions it may run without asking. It is safer than a denylist, which has to predict every way of spelling what is forbidden.
Read: What an Agent Sandbox Bounds; Permissions Decide What Runs Unasked
- API (application programming interface)
-
The fixed format in which one program asks another for something. For AI, the provider's API is how a harness makes each call to a hosted model (system prompt, tools, messages) and gets its reply back, along with the reason the reply stopped.
- Attention
-
The step inside a transformer, the design almost every current language model uses, that lets each position in the input weigh every earlier position and mix in what is relevant to it, layer after layer. Each position also carries its place in the order. Attention is how a word near the end of a long input can depend on one near the start; how much weight each passage gets is learned in training, not set by you.
- Autonomy
-
How much an agent may do without asking. It is set per action, from suggest-only to act-alone, by how hard a mistake is to undo and whether something other than the agent would catch it, and it is enforced by the harness rather than requested in the prompt.
Read: What Makes AI Agentic; Agentic Thinking in Four Habits; Confidence Is Not Consent
- Blast radius
-
Everything a mistaken or misled agent could damage, given what it can reach and what it is allowed to do. This site splits it in four: the files it can touch, the hosts it can talk to, the secrets it holds and the systems it can act on. A sandbox bounds the first three; identity and permissions bound the fourth.
Read: What an Agent Sandbox Bounds; Prompt Injection Is a Design Problem; Permissions Decide What Runs Unasked
- Call
-
One trip to the model through the provider's API: one input in (the system prompt, the tool definitions, the history and the newest message) and one response out. The model keeps nothing between calls, so everything it needs must be in each call's input.
Read: Anatomy of a Turn; What Makes AI Agentic; What an LLM Actually Is
- Chat template
-
The fixed format that turns a conversation's roles (system, user, assistant, tool) into one sequence of tokens, with special marker tokens between the parts. A model learns to respect the markers in post-training, but to the model they are still tokens in the same input, which is why role labels alone do not stop prompt injection.
Read: How the Model Reads the Window; What Training Puts in the Weights
- Chatbot
-
A model behind a reply box, with the conversation history and little else around it. It answers; the person reads each answer and decides what to do next, so the person is the loop.
- Check
-
A test outside the model, such as a test suite, a reconciliation or a person's sign-off, that the harness runs or waits for before it lets an agent's run end, so the model's own "done" is not the last word. Unlike an eval, it runs inside every run and judges this piece of work.
Read: What Makes AI Agentic; Loop on the Gap, Not the Try-Count; The Clean Room
- Continuous integration (CI)
-
The automated build-and-test run a team's systems perform on every proposed change. Because it runs outside the author's machine and under its own identity, a green result on the exact commit is evidence, where the author's own report is a claim.
Read: Check the Work Before It Lands; What an Agent Sandbox Bounds; Agentic Thinking in Four Habits
- Classifier
-
A model, often small, that sorts its input into labels instead of writing text: suspect or not, allowed or blocked. Harnesses use classifiers to screen tool results for planted instructions and to approve actions in place of a person. They lower the rate of mistakes, but a classifier is still a model and can be fooled.
Read: Prompt Injection Is a Design Problem; Permissions Decide What Runs Unasked
- Compaction
-
Replacing older conversation history with a shorter summary so a long session fits in the context window. Prose tends to survive it; exact identifiers such as file paths and ticket numbers often do not.
- Connector
-
An integration that gives an agent tools for one outside system, such as a ticketing system or a document store, often packaged as an MCP server. Adding one adds its tool definitions to every call that offers it.
Read: What Context Engineering Means; One Request, End to End
- Container
-
An isolated group of processes with its own view of files and network that shares the host machine's kernel, the core of the operating system. Containers start quickly; because the kernel is shared, a flaw in it can let a process out, which is why shared hosts add gVisor (its own kernel layer in between) or a virtual machine.
Read: What an Agent Sandbox Bounds; The Agent Sandbox You Already Run
- Context engineering
-
The discipline of deciding, on every call, what the model sees: what goes into the context window, what stays outside it, and how it is brought in when the call needs it. Many failures that look like model failures are context failures, and reading what the model was actually given is how you tell them apart.
Read: What Context Engineering Means; Four Kinds of Context; How an Agent Builds Its Context; When Context Turns Against You
- Context rot
-
The measured drop in how well models use their input as it grows longer, even on simple tasks. A related effect, reported in the Lost in the Middle study, is that facts in the middle of a long input are used less than facts near its start or end. Both mean that a fact being in the window is not the same as the model using it.
Read: How the Model Reads the Window; When Context Turns Against You
- Context window
-
The most a model can see on one call, counted in tokens, with room left for its reply. What fills it is the system prompt, tool definitions, earlier messages, documents and tool results: an input rebuilt on every call, not a memory.
Read: What an LLM Actually Is; How the Model Reads the Window; Anatomy of a Turn; The Files Are the Memory
- Embedding
-
A list of numbers that places a piece of text so that similar meanings sit near each other. Retrieval uses embeddings to find passages related to a question; they capture similarity well, and negation and exact specifics poorly.
- Eval
-
A repeatable test of whether an AI system does its job, run against cases with answers or grading criteria fixed in advance. An eval means something only when it is graded by something other than the system under test.
- Git
-
The version-control system most software teams use. A commit is a saved snapshot of the code; a branch is a separate line of commits that leaves the main code alone until it is merged; a repository holds the code and its whole history. Because every change is recorded and can be compared or reverted, work an agent does on a branch is easy to check and undo.
Read: What Makes AI Agentic; Permissions Decide What Runs Unasked
- Hallucination
-
Fluent, confident output that is false. It follows from how models are built and graded: a model always predicts likely text, and training and tests have rewarded a confident guess over "I don't know", so it rarely says when it is guessing.
Read: What an LLM Actually Is
- Harness
-
Everything in an agent that is not the model: the code and configuration that assembles each call's input, runs the tools, enforces the limits and decides when the work is done. This site groups it in five layers: Context, Interfaces, Control, Boundaries and Direction.
Read: Model, Harness, Agent
- Hook
-
Code the harness runs on an event, such as before a tool call or when the agent tries to stop. Unlike an instruction in the prompt, a hook executes: it can record, add context, deny a tool call or refuse to let the run end.
Read: Hooks Are a Channel, Not a Rule; Model, Harness, Agent
- Inference
-
Running a trained model to produce output, as opposed to training it. Every call is inference: the weights are read and never changed, so nothing a model reads on one call teaches it anything for the next. The word also names the serving side, as in the cost or speed of inference.
Read: What an LLM Actually Is; How the Model Reads the Window; What Training Puts in the Weights
- JSON
-
JavaScript Object Notation: a plain-text format of named fields, lists and values that most APIs use for what is sent and returned on each call. Tool definitions and the model's tool calls are usually written in it.
- Knowledge cutoff
-
The date a model's training data ends. The model has seen nothing after it, so anything newer reaches it only through its input, by retrieval or a tool, on the call that needs it. Providers publish the cutoff for each model.
Read: What an LLM Actually Is; What Training Puts in the Weights
- KV cache
-
The working state a model holds during one call: for every token already processed, at every layer, the keys and values that attention reads. Holding it lets the model write each next token without re-reading the whole input. It lives in the serving machine's memory and is gone when the reply ends; prompt caching is a provider keeping that state for a prefix across calls.
- Least privilege
-
The security principle that a user, or a program acting for one, gets only the access its task needs. For an agent it means the fewest tools and the narrowest credentials, scoped in the systems that own the data, so that a misled agent can do little. OWASP calls its absence excessive agency.
Read: Permissions Decide What Runs Unasked; Prompt Injection Is a Design Problem
- Lethal trifecta
-
Simon Willison's name for the dangerous combination in one agent: access to private data, exposure to untrusted content and a way to communicate externally, which together let an injected instruction read your data and send it out. Meta's Agents Rule of Two generalises it: no session should hold more than two of untrusted input, sensitive access, and the ability to change state or communicate.
- Large language model (LLM)
-
A deep-learning model trained on a very large amount of text to predict the next token. Everything it produces, answers, code and tool requests alike, is that prediction repeated one token at a time.
Read: What an LLM Actually Is
- Logits
-
The raw scores a model gives every token in its vocabulary at each step, one number per possible next token. A function called softmax turns them into probabilities that add up to one; temperature and top-p then shape which token is drawn.
Read: From Logits to Response; How the Model Reads the Window
- MCP (Model Context Protocol)
-
An open protocol for connecting AI applications to tools and data. It makes a system's capabilities discoverable to an agent; it does not make the model smarter.
- Memory
-
For an agent, what it keeps between sessions, always outside the model: notes in files, a database or another store, written by the harness or the agent and put back into the input when relevant. A chat app's memory feature works this way; the model itself remembers nothing.
Read: The Files Are the Memory; How an Agent Builds Its Context; What an LLM Actually Is
- Model
-
In an agent, the part that reads what it is given on a call and writes a response, and does nothing else. It keeps nothing between calls; everything it seems to remember was put back into its input by the harness, the code around it.
- Permissions
-
Rules the harness enforces about which tools and actions an agent may use, and which need a person's approval. A permission is checked before an action runs and can refuse it; a sentence in the prompt only asks.
Read: Model, Harness, Agent; Permissions Decide What Runs Unasked; Confidence Is Not Consent
- Prefill and decode
-
The two phases of every call. In prefill the model reads the whole input in one parallel pass and fills the KV cache; in decode it writes the reply one token at a time, each against everything before it. A long input mostly delays the first token of the reply; a long reply costs time for every token written.
- Prompt
-
The text you send a model on a call. In an application it is only one part of the full input that the code around the model (the harness) assembles, alongside its standing instructions, tool definitions and history.
- Prompt caching
-
A provider feature that keeps the processed start of a call's input, so a later call that begins with exactly the same text is billed at a lower rate and starts answering sooner. The cached text is still in the model's input and still fills the context window. Anthropic prices cache reads at a tenth of the base input price, or less on some current models.
- Prompt injection
-
Instructions planted in text the model reads, such as a web page, an email or a tool result, or typed directly by a user, that try to change what it does. Models are trained to weigh who wrote each part of their input, but that is a tendency, not a wall, so the defence that holds is limiting what the agent may do.
Read: Prompt Injection Is a Design Problem; The Tool Call Is a Round Trip; Model, Harness, Agent
- Provider
-
The company that runs a model and serves it through an API, such as Anthropic, OpenAI or Google. The provider counts the tokens, draws the reply and reports why it stopped; your harness does the rest, unless the provider also runs tools or keeps the conversation for you.
- Proxy
-
A relay that every network connection from a sandbox must pass through. It enforces the egress allowlist by host name, keeps a record of every host contacted, and can attach a real credential on the way out so the agent never holds it. Unless it decrypts the traffic, it sees which host, not what is sent.
- Pull request
-
A proposed change to a repository, held for review before it is merged. Its diff, the exact lines added and removed, is what a reviewer reads, so small changes about one thing get real review. Branch protection rules can require passing checks and an approver before any merge.
Read: Agentic Thinking in Four Habits; Check the Work Before It Lands
- Reasoning model
-
A model trained, largely with reinforcement learning on tasks whose answers can be checked, to write out intermediate working, its thinking or reasoning tokens, before the answer. The thinking is drawn token by token like any output and billed as output, even when the provider shows only a summary of it or none; an effort setting controls how much of it the model writes.
Read: From Logits to Response; What Training Puts in the Weights
- Reinforcement learning (RL)
-
Training by trial and reward: the model produces outputs, something scores them, and the weights shift toward what scored well. The scorer can be a reward model trained on people's rankings (reinforcement learning from human feedback, RLHF) or a check such as an answer key or a test suite. A model trained against a check learns to satisfy that check, which is why the check must test the real outcome.
Read: What Training Puts in the Weights; Check the Work Before It Lands
- Request
-
What you ask an AI application or agent to do: one task, such as "fix this failing test", or one question typed into a chat. An agent may need many model calls to finish one request. API documentation often calls each call a request; on this site, request always means the ask, never a single call to the model.
- Retrieval (RAG)
-
Finding relevant passages, usually chunks cut from longer documents, by keyword search (such as BM25, which ranks by shared words), by embeddings, or both, and putting them into the model's input before it answers; often called retrieval-augmented generation. It changes what the model reads on that call, not what it knows, and a passage the search misses is invisible to the model.
Read: Where Retrieval Enters the Turn; What an LLM Actually Is; Embeddings: How Vectors Get Meaning
- Reward hacking
-
Scoring well on a check by exploiting it rather than doing the task: editing the test, special-casing the grader, or changing how results are compared. METR has documented frontier models doing it in its evaluations. The defence is to run the deciding check where the agent can neither see nor edit it.
Read: Check the Work Before It Lands; Agents Will Lie to Escape the Loop
- Sampling
-
Picking each next token from the probabilities the model produced. Temperature controls how random the pick is; top-p keeps only the likeliest tokens that together reach a probability p, and top-k only the k likeliest. Sampling is why the same prompt can give different answers; even temperature 0 does not guarantee identical output.
- Sandbox
-
An isolated environment, enforced by the operating system or a virtual machine, that limits which files, hosts and secrets an agent's commands can reach at all, whatever the model decides. It is enforced while a command runs, by what the command actually touches; permissions decide which of the reachable actions run without a person.
Read: What an Agent Sandbox Bounds; The Agent Sandbox You Already Run
- Schema
-
A fixed description of the shape data must have: which fields, of which types, and which are required. Tools declare their inputs as a JSON Schema, and checking a model's output against a schema catches a malformed reply, though not a wrong value in the right shape.
Read: The Tool Call Is a Round Trip; Prompt Injection Is a Design Problem
- SDK (software development kit)
-
A library for one programming language that builds each API call and reads the reply for you. AI providers' SDKs often include a tool runner that runs the agent loop on your behalf.
Read: Anatomy of a Turn
- Server tool
-
A tool the provider runs on its own infrastructure, such as web search or code execution, instead of your harness. The model asks for it the same way, but the round trip happens inside the provider's loop, and you see only the result it returns.
Read: The Tool Call Is a Round Trip; One Request, End to End
- Session
-
One continuous run of an agent's work, from the first call to the last, with one growing context: everything the model has seen and every tool it can call in that run. What should outlive a session has to be saved outside it, as memory, because the next session starts from a fresh context window.
Read: Prompt Injection Is a Design Problem; How an Agent Builds Its Context; The Files Are the Memory
- Skill
-
A packaged procedure, written as instructions and sometimes scripts, that the harness loads into the model's input only when a task calls for it, instead of on every call. In this site's five harness layers it belongs to Direction.
- Stop reason
-
The field in a model's reply that says why it stopped writing: it wants a tool run, it finished its answer, or it hit the output limit, among others. The harness reads it to decide whether to run a tool and call again or to finish. Anthropic's API lists seven values, including tool_use, end_turn and max_tokens.
- Structured outputs
-
A provider feature that constrains the draw so a reply, or a tool call's arguments, always match a schema you supply: only tokens that keep the output valid can be picked. It guarantees the shape, not that the values in it are right.
Read: From Logits to Response; The Tool Call Is a Round Trip
- Subagent
-
A separate agent run, with its own fresh context window, that an agent starts to do part of a task and report back. A named persona in the same conversation is not a subagent; it is the same model in the same context, under different instructions.
Read: The Multi-Agent Illusion; Subagents: Fresh Eyes on Demand
- System prompt
-
The instructions the builders of an AI application put into the model's input on every call. It is part of the harness, written as text, and it advises rather than enforces.
Read: Anatomy of a Turn; Instructions That Outlive the Model
- Temperature
-
A sampling setting that divides every logit before they become probabilities: below 1 the likeliest tokens gain share, at 0 the likeliest always wins, above 1 the odds flatten. Many current hosted models no longer let you set it: Anthropic's API version 2026-10-21 rejects it, OpenAI's GPT-6 with reasoning on and Google's newest Gemini models drop or ignore it. Even at 0, a served model's output is not guaranteed to repeat.
- Token
-
The unit a model reads and writes: a piece of text such as a short word, part of a longer word or a punctuation mark, often with its leading space attached. A model's vocabulary is its fixed set of tokens, typically tens or hundreds of thousands. Context limits and prices are counted in tokens, and the same text splits differently for different models.
Read: Tokens Are the Unit of Account; What an LLM Actually Is
- Tokenizer
-
The fixed program that splits text into a model's tokens and joins them back. Most use byte-pair encoding (BPE): start from single bytes and repeatedly merge the most frequent neighbouring pairs, so common words become one token while rare words, code and many non-English languages take more. Each model family has its own, so the same text counts differently on different models.
- Tool
-
A function the harness describes to the model, such as search, read a file or call an API. The model can ask for it by name; the harness runs it and returns the result.
Read: The Tool Call Is a Round Trip; Model, Harness, Agent; Anatomy of a Turn
- Tool call
-
The model's ask to use a tool, written as structured output with the tool's name and arguments. The harness checks it, runs it and puts the result into the next call as text.
- Tool result
-
The text the harness puts back into the model's input after running a tool the model asked for: search hits, a file's contents, an error. Tool results are often the largest part of a long session's input, and they are untrusted whenever their content came from outside your organization.
Read: The Tool Call Is a Round Trip; Prompt Injection Is a Design Problem
- Top-p
-
A sampling setting, also called nucleus sampling: keep only the smallest set of the likeliest tokens whose probabilities add up to at least p, and draw from those. It cuts the unlikely tail by probability rather than by a fixed count, as top-k does. Like temperature, current hosted models increasingly fix it at its default.
Read: From Logits to Response
- Training
-
Adjusting a model's weights from data. Pretraining on a large body of text teaches next-token prediction; post-training (fine-tuning on example replies, then learning from people's preferences and, increasingly, automated graders) teaches it to follow instructions and use tools. Its training data stops at a knowledge cutoff, and running the model afterwards, called inference, never changes the weights.
Read: What Training Puts in the Weights; What an LLM Actually Is
- Turn
-
One call plus the tool runs it triggers: the harness sends the input, the model responds, and if the response asks for tools, the harness runs them and holds their results for the next call. An agent finishes a request in one or more turns; the stop reason in each response says whether another turn follows.
Read: Anatomy of a Turn; The Tool Call Is a Round Trip; What Makes AI Agentic
- Virtual machine (VM)
-
A whole simulated computer with its own operating system and kernel, running on a host. It shares less with the host than a container does, so it isolates more strongly and costs more to start and run. A microVM is a stripped-down one that starts fast enough to give each job its own.
Read: What an Agent Sandbox Bounds; The Agent Sandbox You Already Run
- Weights
-
The billions of numbers inside a model, also called its parameters, set during training, that turn a sequence of tokens into scores for the next token. They are fixed once training ends: running the model reads them and never changes them. An open-weights model is one whose weights are published so anyone can run it.
Read: What an LLM Actually Is; What Training Puts in the Weights
- Workflow
-
Steps and branches written in advance (Anthropic's "predefined code paths") that may use a model to fill some of them. Unlike an agent, it does not choose its own steps; for known, regular work it is often the better choice.