A

  • Agent

    Agentic Systems

    An LLM call wrapped in three things: a scoped job, a set of tools it is allowed to call, and a clear output contract. Agents are not smarter models, they are narrowly focused models with defined inputs, outputs, and side effects.

  • Agentic workflow

    Agentic Systems

    An AI system that splits one job into steps, assigns each step to a specialized agent, and routes the work between them through a central orchestrator. The intelligence lives in how the pieces are wired together, not in any single model call.

  • Attention mechanism

    Model Architecture

    The method that lets each token look at other tokens in the sequence and decide which ones matter for understanding it.

B

  • Backpropagation

    Model Training

    The algorithm that calculates how each weight contributed to the loss, walking backward through the network so weights can be updated. Training-only. Not involved in generating a response once the model is deployed.

  • Batch size

    Model Training

    How many training examples are processed together before one weight update. Bigger batches give more stable gradient estimates but require more memory.

  • Behavior tree

    General Terms

    A way to structure game AI as a tree of tasks and conditions that is evaluated from the root on each tick. Selector nodes try children until one succeeds, sequence nodes run children in order until one fails, and the leaves are actions or checks.

  • Best-of-N

    Inference

    A sampling strategy that draws N independent completions from a model, scores each one (with a reward model, verifier, or log-probability), and returns the highest-scoring completion. Replaces voting with picking, which works well when the scoring function is trustworthy and badly when it is not.

  • BM25

    Search and Retrieval

    The standard ranking function for keyword search. It scores a document by how often it contains each query term, how rare that term is across the collection, and how long the document is, with diminishing returns for repeated terms.

C

  • Calibration

    Evaluation

    How closely a model's stated probabilities match how often it is actually right. A well-calibrated model that says 0.8 is correct about 80 percent of the time, which is what makes a threshold on its confidence meaningful.

  • Causal masking

    Model Architecture

    A mask applied inside attention that prevents a token from looking at future tokens. This is what makes the model autoregressive, so it can only condition on what came before.

  • Chain-of-thought

    Inference

    A prompting or decoding pattern where the model produces intermediate reasoning steps before its final answer, rather than jumping straight to a conclusion. Longer chains tend to improve accuracy on multi-step problems by letting the model factor the work into smaller subproblems.

  • Classifier-free guidance

    Inference

    A technique for making a diffusion model follow its prompt more closely. At each step the model predicts noise twice, once with the prompt and once without, and pushes the result further in the direction of the difference. A higher guidance scale means stronger prompt adherence and less variety.

  • Context window

    Model Architecture

    The maximum number of tokens the model can hold at once. Prompt, prior conversation, and output-so-far all live inside it.

  • Cosine similarity

    Search and Retrieval

    A measure of how closely two vectors point in the same direction, computed as their dot product divided by the product of their lengths. It ranges from -1 to 1 and is the usual way to compare embeddings, because it ignores vector length and looks only at direction.

  • Crawl budget

    Search and Retrieval

    The number of URLs a search engine crawler is able and willing to fetch from a site in a given period. It mostly matters for large sites, where slow pages, duplicate URLs, and redirect chains can use up crawling before important pages get visited.

D

  • Diffusion model

    Model Architecture

    A generative model trained to remove noise. It learns to predict the noise added to training images, then generates new images by starting from pure random noise and denoising it step by step into a picture that matches the prompt.

  • Draft model

    Inference

    The small, fast model in speculative decoding that proposes upcoming tokens for a larger target model to verify. The better its guesses match the target model, the more tokens get accepted per verification step and the bigger the speedup.

E

  • Embeddings

    Model Architecture

    High-dimensional vectors that represent tokens. Each token maps to a list of numbers that encodes its meaning, and similar meanings end up near each other in that space. These self-organize during pretraining without explicit labels.

  • Entropy

    Inference

    A measure of how spread out a probability distribution is, usually given in bits. A next-token distribution where one token holds nearly all the probability has entropy near zero; one spread evenly across many tokens has high entropy. Temperature raises or lowers it.

F

  • Few-shot

    Inference

    A prompting pattern where the model receives two to five example input-output pairs before the actual task. The examples shift the conditional distribution over next tokens toward the demonstrated format without any weight updates to the model.

  • Forward pass

    Model Architecture

    Data flowing input to output through the model. Tokens go in, embeddings get looked up, attention and feedforward layers transform things, a prediction comes out. Happens during both training and inference.

G

  • Gating network

    Model Architecture

    The small neural network inside a Mixture of Experts layer that scores every expert for a given token and picks the top-k to route through. The gating network is tiny compared to the experts but decides everything about which parameters a token actually activates.

  • Gradient descent

    Model Training

    The optimization procedure that uses the gradients from backprop to step weights in the direction that lowers loss. The ball-rolling-downhill image.

  • Greedy decoding

    Inference

    The simplest decoding strategy: always pick the highest-probability token at each step. Deterministic and fast, but tends to produce repetitive or bland output on longer generations because small probability gaps compound over many steps.

H

  • Human in the loop

    Agentic Systems

    A workflow pattern where an AI drafts or proposes and a human approves, edits, or rejects before the work moves forward. The default for production AI today, and the pattern that LLM-as-judge selectively replaces for rubric-shaped validation steps.

  • Hybrid search

    Search and Retrieval

    Search that runs keyword ranking (such as BM25) and semantic ranking together and merges the two result lists, either by blending normalized scores or by rank-based methods like reciprocal rank fusion. It keeps exact matches on codes and names while still catching synonyms.

  • Hyperparameters

    Model Training

    Settings chosen by humans before training (learning rate, batch size, layer count, etc.). Not learned by the model.

J

  • JSON-RPC

    Agentic Systems

    A simple remote procedure call format that encodes every request and response as a JSON object with a method name, parameters, and an id. MCP uses JSON-RPC 2.0 as its wire format over both stdio and HTTP.

K

  • KV cache

    Inference

    Per-position keys and values from the attention layer, stored in GPU memory during generation so they do not have to be recomputed for every new token. Without a KV cache, autoregressive inference would scale quadratically with sequence length instead of linearly per step.

L

  • Latent space

    Model Architecture

    A compressed space of numbers where a model represents its data, so that similar inputs land near each other. Latent diffusion models such as Stable Diffusion denoise in this smaller space instead of on full-size pixels, then decode the result back into an image.

  • LLM as judge

    Evaluation

    Using one language model to grade or pick between outputs from another, scored against a written rubric or by pairwise comparison, instead of asking a human to evaluate. Cheap and scalable to run, but the judge inherits its own biases (position, length, self-preference) which have to be probed for.

  • llms.txt

    Search and Retrieval

    A proposed convention for a Markdown file at a site's root (/llms.txt) that gives language models a short, curated summary of the site and links to its most useful pages, ideally with clean Markdown versions. It is a voluntary proposal, not a standard that AI crawlers are required to follow.

  • Logits

    Model Architecture

    The raw, unnormalized scores a language model's final layer produces, one per token in the vocabulary. Softmax turns logits into a probability distribution, and most sampling parameters (temperature, top-k, top-p) are applied to the logits before that final normalization.

  • Loss function

    Model Training

    A score for how wrong the model's prediction was on a training example. Training aims to drive this down.

M

  • Majority voting

    Inference

    The aggregation step at the heart of self-consistency: take N independent samples, extract each final answer, and return the answer that appears most often. Works on discrete answers (math results, multiple choice, yes/no) but not on open-ended generation where no two samples produce the same string.

  • MCP host

    Agentic Systems

    The AI application (Claude Desktop, Claude Code, an IDE, an agent) that runs the model and speaks MCP to one or more servers. The host owns the conversation, the tool catalog, and any API keys.

  • MCP server

    Agentic Systems

    A small program that exposes tools, resources, and prompts to an MCP host. Servers run as separate processes (stdio child or remote HTTP) so a single host can plug many of them in without changing its code.

  • Min-p sampling

    Inference

    A sampling cutoff that keeps only tokens whose probability is at least a fraction p of the top token's probability. Because the bar scales with the leader, it trims more when the model is confident and less when it is unsure.

  • Mixture of Experts

    Model Architecture

    A transformer architecture that replaces each layer's feed-forward block with a bank of smaller feed-forward networks called experts, plus a gating network that routes every token through only a small top-k subset. This gives the model a huge total parameter count while keeping per-token compute small.

  • Model Context Protocol

    Agentic Systems

    An open standard from Anthropic that lets AI apps discover and call external tools, read external data, and invoke templated workflows through a common JSON-RPC interface. Abbreviated MCP.

  • Multi-head attention

    Model Architecture

    Running attention in parallel multiple times within the same layer, each head with its own learned projections. Different heads can specialize in different kinds of relationships.

O

  • Orchestrator

    Agentic Systems

    The component in an agentic workflow that holds the pipeline definition, passes outputs between agents, handles retries on failure, and decides when to drop a task. It is usually a few hundred lines of code, not a separate model, and it is where the business logic lives.

  • Overfitting

    Model Training

    When a model learns training data too specifically and fails to generalize. Good on training set, bad on new data.

P

  • Parallel training

    Model Training

    Training across many GPUs or TPUs at once. Can be data parallelism (same model copies, different batches), model parallelism (model split across devices), or hybrids.

  • Pretraining

    Model Training

    The initial training phase on massive text corpora, where the model learns general language patterns, before any fine-tuning or alignment work.

  • Procedural generation

    General Terms

    Building game content such as levels, maps or items from rules and a random seed instead of by hand. The same seed always reproduces the same result, so a game can store a number instead of a level, but most raw output is dull or broken, so generators are usually paired with tests that keep only the good candidates.

Q

  • Q/K/V framework

    Model Architecture

    The three projections inside attention. Each token produces a Query (what am I looking for?), a Key (what do I offer?), and a Value (the actual info to pass along). Q times K produces match scores, and those scores weight the sum of Vs.

R

  • Retrieval-augmented generation

    Search and Retrieval

    A pattern where a system first retrieves relevant passages from an outside source, such as a document index or database, and adds them to the prompt before the model answers. The model grounds its answer in the retrieved text instead of relying only on what it memorized during training.

  • robots.txt

    Search and Retrieval

    A plain text file at a site's root that tells crawlers which paths they may or may not fetch, using User-agent, Allow, and Disallow rules. Well-behaved crawlers follow it, but it is a request, not access control, and it does not by itself remove pages from search results.

S

  • Self-consistency

    Inference

    A sampling strategy that asks the model for many independent reasoning chains on the same question and returns the most common final answer. The intuition is that wrong answers tend to disagree with each other while correct answers tend to agree, so majority voting concentrates the signal.

  • Semantic search

    Search and Retrieval

    Search that ranks results by meaning rather than shared words. The query and documents are turned into embedding vectors, and the closest vectors win, so a search for "sofa" can find a document that only says "couch".

  • Softmax

    Model Architecture

    The function that turns a vector of raw scores (logits) into a probability distribution by exponentiating each score and normalizing so the results sum to 1. It is the last step before a language model either picks or samples a token.

  • Sparse activation

    Model Architecture

    Using only a fraction of a model's parameters for any given input. In Mixture of Experts, only the top-k experts per layer are touched for each token, so compute scales with active parameters rather than total parameters. Memory still scales with the total.

  • Speculative decoding

    Inference

    A way to speed up text generation without changing the output. A small draft model guesses several tokens ahead, and the large target model checks all of them in one forward pass, accepting the matching prefix. Accepted tokens cost far less than generating each one with the large model.

  • Structured output

    Inference

    Model output that is guaranteed to fit a machine-readable shape, such as JSON matching a schema or one option from a fixed list, so code can use it without parsing free text. It is enforced either while a model generates (constrained decoding) or by a model built to answer only typed questions.

  • System One model

    Inference

    A model that answers typed questions about an input instead of generating text. It takes a state (a string or JSON) and returns a choice, a score, or a probability for each question, along with the full probability distribution and a confidence value, so code can act on the answer directly.

  • System prompt

    Inference

    Instructions placed at the start of a conversation, separate from the user's messages, that set the model's role, rules, and context for every reply. Applications use it for persona, tone, tool instructions, and facts the model should always have, such as saved memories.

T

  • Temperature

    Inference

    An inference-time sampling parameter. Zero means always pick the highest-probability token. Higher values spread probability across alternatives for more varied output.

  • Test-time compute

    Inference

    Compute spent at the moment a model answers a question, rather than during training. Scaling test-time compute, through longer reasoning chains, more parallel samples, or search over branches, can raise accuracy without changing the weights. The core idea behind self-consistency, best-of-N, and the o1, o3, and R1 reasoning-model family.

  • Tokens

    Model Architecture

    The discrete units a model actually processes. Text is broken into tokens (usually subword chunks, not whole words) before anything else happens.

  • Tool use

    Agentic Systems

    The pattern where an LLM emits a structured call to an external function (a pricing API, a database lookup, a code runner) and incorporates the result into its next response. Tool use is what turns a text generator into an agent that can actually change the state of the world.

  • Top-k sampling

    Inference

    A sampling strategy that keeps only the K highest-probability tokens at each step, discards the rest, renormalizes, and draws a token from what is left. The cutoff is rank-based, so the same K can feel too loose on peaked distributions and too tight on flat ones.

  • Top-p sampling

    Inference

    A sampling strategy, also called nucleus sampling, that keeps tokens in descending probability order until their cumulative mass crosses a threshold P, then samples from that set. The eligible set grows and shrinks with the shape of the distribution, which is why it handles uncertainty better than top-k.

  • Training loop

    Model Training

    The repeated cycle of forward pass, compute loss, backpropagation, weight update, then repeat, over billions of examples.

  • Transformer layers

    Model Architecture

    Stacked blocks of attention plus feedforward. Each layer refines token representations based on the layer below. Modern LLMs stack dozens to 100+.

Z

  • Zero-shot

    Inference

    A prompting pattern where the model receives only the task description with no examples of the desired input-output format. The model relies entirely on its pretrained knowledge to produce a response.