# Glossary

Every AI engineering and AgenticMind term, A to Z, defined in plain language with links to the chapter or feature that covers it.

Source: https://glamorous-boar.cloudvent.net/learn/glossary/

---

[A](#a) · [B](#b) · [C](#c) · [D](#d) · [E](#e) · [F](#f) · [G](#g) · [H](#h) · [I](#i) · [J](#j) · [K](#k) · [L](#l) · [M](#m) · [N](#n) · [O](#o) · [P](#p) · [Q](#q) · [R](#r) · [S](#s) · [T](#t) · [U](#u) · [V](#v) · [W](#w) · [Z](#z)

## A

### Agent
A system in which a language model decides, in a loop, which action (usually a tool call) to take next, observes the result, and continues until it can answer or hits a limit. See [Agents](/learn/agents/) and the **Agent** node.

### Agentic workflow
A workflow in which some steps are decided by a model at run time (agents, routers, planners) rather than all being fixed in advance.

### AND-join
A merge point that waits until *all* incoming paths have run. AgenticMind's **Join** node. Contrast with [OR-join](#or-join).

### Approximate nearest neighbour (ANN)
Search algorithms that find *almost* the closest vectors far faster than checking every vector. HNSW is the most common. See [Embeddings](/learn/embeddings-and-vector-search/).

### Artifact
An uploaded project file (PDF, image, database…), stored outside the graph and referenced by ID.

### Attention
The transformer mechanism that lets each token weigh every other token when computing its representation; the core of modern LLMs.

### Autoregressive generation
Generating text one token at a time, each conditioned on everything generated so far.

## B

### Backtracking
A reasoning strategy: depth-first search over reasoning steps with a validity check per step; invalid steps try alternatives, dead ends back up.

### Beam search / beam width
Keeping only the best *k* partial solutions at each step of a search. Tree of thoughts uses a beam width.

### Bi-encoder
A model that embeds the query and each document *separately* (an embedding model), enabling fast vector search over precomputed vectors. Contrast with [cross-encoder](#cross-encoder).

### BM25
The classic keyword ranking function (Okapi BM25): scores documents by term frequency with saturation, inverse document frequency and length normalisation. Great for exact terms. **Keyword Search** node.

### Branch (control branch)
A named control output of a node (`done`, `true`/`false`, a route name, `approved`/`rejected`) from which control edges start.

## C

### Chain of thought (CoT)
Prompting a model to reason step by step before answering. See [Reasoning strategies](/learn/reasoning-strategies/).

### Checkpoint
The saved outputs of a finished step, used to resume a run without repeating completed work.

### Chunk / chunking
A piece of a document used as the unit of retrieval; chunking is splitting documents into chunks (recursive, fixed, sentence, markdown, layout, semantic, document, parent-child).

### Chunk overlap
Text repeated between neighbouring chunks so a fact is not cut in half.

### Citation
A marker such as `[2]` linking a claim in an answer to the source passage it came from. **Citation Builder** verifies them.

### Classifier
A component that assigns labels to input (single- or multi-label, with confidence). **Classifier** node; each label is a branch.

### Context builder
The RAG step that numbers retrieved chunks, removes duplicates, fits a token budget and writes the prompt.

### Context compression
Removing irrelevant sentences from retrieved chunks before they reach the model.

### Context engineering
The practice of putting the right information, and only that, into the model's context window: prompts, retrieval, memory, tool results, compression.

### Context window
The maximum number of tokens a model can consider at once, input and output combined.

### Control edge
An edge from a branch to a node's `trigger` that decides *whether* the node runs. Distinct from a [data edge](#data-edge).

### Cosine similarity
Similarity of two vectors measured by the angle between them; 1 means same direction. The standard measure for text embeddings.

### Cost budget
A maximum spend per run or per agent, after which it stops.

### Critic
A component that reviews output against rules and criteria and returns feedback; the evaluator in an evaluator-optimizer loop. **Critic** node.

### Cross-encoder
A model that reads a query and a document *together* and outputs a relevance score: slower but more accurate than a bi-encoder, used for reranking.

## D

### Data edge
An edge that carries a typed value from an output port to an input port.

### Debate (multi-agent debate)
Several agents answer, read each other's answers and revise over rounds; the majority or a judge decides.

### Decomposition (least-to-most)
Breaking a hard question into simpler sub-questions answered in order.

### Diagnostic
A structured validation message with a stable code (e.g. `EDGE_TYPE_MISMATCH`), severity, message and hint.

### Durable execution
Running workflows so they survive crashes and restarts, using persisted queues, leases and checkpoints.

## E

### Embedding
A vector of numbers representing the meaning of text (or an image), such that similar meanings are close.

### Embedding model
A model that produces embeddings, e.g. `BAAI/bge-small-en-v1.5`. **Embedding Model** node.

### Evaluation (evals)
Systematically measuring an AI system on a test set with metrics. **Evaluation Lab**.

### Evaluator-optimizer
A pattern where one model generates and another critiques, looping until the output passes.

### Exact match
A metric: 1 if the answer equals the reference exactly, else 0.

## F

### F1 score
The harmonic mean of precision and recall; for text, computed over overlapping tokens between answer and reference.

### Faithfulness
See [groundedness](#groundedness).

### Few-shot prompting
Including a few input → output examples in the prompt. Contrast with [zero-shot](#zero-shot-prompting).

### Fine-tuning
Further training a model on your examples to change its behaviour, style or narrow skills. Not ideal for keeping facts fresh (use RAG).

### Function calling
A model returning a structured request to call a named tool with JSON arguments matching a schema. Also called tool calling. See [Tools and structured output](/learn/structured-output-and-tools/).

## G

### Graph of thoughts (GoT)
A reasoning strategy where thoughts form a graph: solutions can be aggregated and refined, not only branched.

### Grounding
Basing a model's answer on provided evidence (retrieved documents, tool results) rather than its memory.

### Groundedness
Whether every claim in an answer is supported by the provided sources; usually measured by an LLM judge. Also called faithfulness.

### Guardrail
A check or constraint around a model: input validation, output validation, PII redaction, topic control, limits. See [Guardrails](/learn/guardrails-and-safety/).

## H

### Hallucination
A fluent, confident output that is false or unsupported.

### Handle
In AgenticMind, a value that describes a resource rather than containing data (embedding model, vector store, tool, database), possibly carrying secret *references*.

### Handoff
A supervisor agent delegating a task to a sub-agent.

### Hit rate
A retrieval metric: whether at least one relevant result appears in the top K.

### HNSW
Hierarchical Navigable Small World: a graph-based ANN index used by most vector databases.

### Human in the loop (HITL)
A person reviewing, approving, editing or rejecting a step before the workflow continues. **Human Approval** node.

### Hybrid search
Combining vector (semantic) and keyword (BM25) search and fusing the results. **Hybrid Search** node.

### HyDE
Hypothetical Document Embeddings: embed a model-written hypothetical answer instead of the question to improve retrieval.

## I

### Idempotent
An operation that has the same effect whether run once or many times. Safe to retry; non-idempotent steps (sending email) are not.

### Indirect prompt injection
Malicious instructions hidden in content the model reads (web pages, documents, emails, tool results) rather than typed by the user.

### Inference
Running a trained model to get outputs (as opposed to training it).

### IR (intermediate representation)
AgenticMind's canonical, versioned JSON format for a workflow graph: the source of truth that is validated, executed, diffed and exported. See [The IR](/architecture/ir/).

## J

### Jailbreak
An attempt to make a model ignore its safety rules, often through role-play, encoding or elaborate scenarios.

### JSON Schema
A standard vocabulary for describing the shape of JSON data; used for tool arguments, structured output and validation.

## K

### Keyword search
Search by matching words rather than meaning; see [BM25](#bm25).

## L

### Latency
Time to respond. For LLMs: time to first token (TTFT) and tokens per second.

### Lease
A time-limited claim on a job by a worker, renewed by heartbeats; if it expires, another worker can take over.

### LLM (large language model)
A neural network (a transformer) trained on vast text to predict the next token, usable for generation, reasoning and tool use. See [LLM fundamentals](/learn/llm-fundamentals/).

### LLM-as-a-judge
Using a model to grade outputs against a rubric; useful but an estimate with known biases.

### Long-term memory
Facts remembered across conversations, stored per user and recalled by relevance. See [Memory](/learn/memory/).

### Loop (Loop / Loop End)
AgenticMind's paired nodes for iteration: `for_each` over a list, or `repeat` until a condition.

## M

### Manifest
A node's machine-readable contract: ports, types, branches, config schema, permissions, execution policy.

### MCP (Model Context Protocol)
An open protocol for connecting AI applications to tool servers. See [MCP](/learn/mcp/).

### MCTS (Monte Carlo tree search)
A search algorithm balancing exploration and exploitation with UCT, expansion, simulation (value estimates) and back-propagation; used as a reasoning strategy.

### Memory
Information an AI application keeps and re-supplies to a stateless model: conversation history and long-term facts.

### Metadata filter
A restriction on retrieval by fields such as filename, page, language or tenant.

### Mixture of agents (MoA)
Layers of proposer models refining answers, combined by an aggregator.

### Mock provider
A deterministic fake model for tests and offline demos.

### Model router
A component that sends each request to the most suitable model (by keywords, a classifier, or both). **Model Router** node.

### MRR (mean reciprocal rank)
A retrieval metric: the average of 1 / rank of the first relevant result.

### Multi-agent system
Several specialised agents cooperating (supervisor/sub-agents, orchestrator-workers, critics, debate). See [Multi-agent systems](/learn/multi-agent-systems/).

### Multimodal
Handling more than text: images, audio, video.

## N

### Namespace
A partition of data (e.g. memories per end user) so different users never see each other's data.

### NDCG (normalised discounted cumulative gain)
A retrieval metric rewarding relevant results near the top, normalised against the ideal order.

### NL-to-SQL (text-to-SQL)
Turning a natural-language question into a SQL query, ideally grounded in the schema and validated. **NL-to-SQL** node.

### Node
One step in an AgenticMind graph: an instance of a versioned node type with ports and configuration.

## O

### OCR (optical character recognition)
Extracting text from images and scanned documents. AgenticMind uses RapidOCR locally.

### Ollama
A tool for running open-weight models locally with an OpenAI-compatible API.

### OpenRouter
A service that gives access to many model providers through one API and key; AgenticMind's default provider.

### OpenTelemetry (OTel) and OTLP
The vendor-neutral standard for traces, metrics and logs, and its wire protocol. AgenticMind exports runs as OTel traces with GenAI attributes.

### OR-join
The default control rule: a node with several incoming control edges runs if *any* was activated.

### Orchestrator-workers
A pattern in which a planner splits a goal into tasks, workers execute them (often in parallel), and a synthesiser combines results.

## P

### Parallel tool calls
A model requesting several tool calls in one turn, executed concurrently.

### Parent-child chunking
Indexing small child chunks for precise matching and returning their larger parent sections to the model. **Parent Expander** node.

### PII (personally identifiable information)
Data identifying a person: emails, phone numbers, card numbers, national IDs, IBANs, addresses, names.

### Plan-and-execute
An agent architecture that writes a plan first, executes each step, then composes the answer.

### Port
A typed input or output of a node (String, JSON, DocumentSet, Tool…).

### Precision@K
The fraction of returned results (up to K) that are relevant.

### Pre-training
The first, largest stage of LLM training: predicting the next token over vast text.

### Program of thought (PoT / PAL)
Having the model write an expression or program that an interpreter evaluates, for exact computation.

### Prompt
Everything sent to the model: system instructions, context, conversation, the request.

### Prompt caching
Provider-side reuse of a repeated prompt prefix to cut cost and latency.

### Prompt chaining
Splitting a task into a sequence of smaller prompts, each with one job.

### Prompt engineering
Designing prompts that make a model reliably do what you want. See [Prompt engineering](/learn/prompt-engineering/).

### Prompt injection
Input that tries to override the system's instructions.

### Prompt template
A prompt with variables (`{{question}}`) filled at run time.

### Provider
A company or server that serves models through an API (OpenAI, Anthropic, Google, OpenRouter, Ollama…).

## Q

### Quantisation
Storing numbers (model weights or vectors) at lower precision to save memory and speed up computation, at a small accuracy cost.

### Query rewriting
Reformulating a user question for retrieval: making follow-ups standalone, generating variants. **Query Rewriter** node.

## R

### RAG (retrieval-augmented generation)
Retrieving relevant passages from your data at question time and having the model answer from them, with citations. See [RAG](/learn/rag/).

### Rate limit
A provider's cap on requests or tokens per minute; exceeding it returns HTTP 429 (retry with backoff).

### ReAct
Reason + Act: an agent architecture alternating written thoughts, tool actions and observations.

### Reasoning effort
A setting controlling how long a reasoning model thinks (none … max). Lower is faster and cheaper; higher is more accurate on hard tasks.

### Reasoning model
A model trained to produce hidden reasoning tokens before its answer; better at multi-step problems, slower.

### Recall@K
The fraction of relevant items found in the top K results; the key RAG retrieval metric.

### Redaction
Replacing sensitive data with a placeholder (`[EMAIL]`), a mask or a hash tag.

### Reflexion
A strategy where the model attempts, self-evaluates, writes a lesson and retries with accumulated lessons.

### Reranker
A second-stage model (usually a cross-encoder) that rescores the top retrieved candidates. **Reranker** node.

### Retrieval
Finding the most relevant items for a query: vector, keyword or hybrid search.

### Revision
An immutable saved version of an AgenticMind project's graph.

### RLHF
Reinforcement learning from human feedback: tuning a model toward answers people prefer.

### Router
A component that sends execution down one of several paths, by rules or by a model. **Router** node.

### RRF (reciprocal rank fusion)
Merging ranked lists by summing 1 / (k + rank) for each item; robust and scale-free. Default fusion in Hybrid Search.

### Run
One execution of a saved revision with given inputs, producing outputs and a trace.

### Run target
Running only one Output node and its dependencies.

## S

### Sandbox
An isolated environment for executing untrusted code: AgenticMind uses locked-down Docker containers.

### Schema validation
Checking data against a schema (e.g. JSON Schema) and rejecting or repairing what does not match.

### Secret reference
A pointer like `{"$secret": "OPENROUTER_API_KEY"}` used in configuration instead of the secret value.

### Self-consistency
Sampling several reasoning chains and taking the majority answer.

### Self-refine
Draft → self-critique → revise, repeated until good enough.

### Semantic chunking
Splitting a document where the topic changes, detected with embeddings or lexical similarity.

### Semantic layer
A mapping from business vocabulary (terms, measures, relationships) to database tables and SQL, used to ground analytics and text-to-SQL. NVIDIA Auto Ontology builds one. See [NVIDIA Auto Ontology](/auto-ontology/).

### Semantic search
Search by meaning using embeddings.

### Server-Sent Events (SSE)
A simple HTTP streaming protocol from server to browser; used for run events and tokens.

### Short-term memory
The recent turns of the current conversation.

### Skip propagation
In AgenticMind, a node whose required inputs all came from skipped nodes is skipped too.

### Span
One timed operation within a trace (a node, a model call, a tool call).

### SSRF (server-side request forgery)
Tricking a server into making requests to internal addresses (such as cloud metadata). Web Fetch, S3 and MCP block these.

### Step-back prompting
Asking first for the general principle, then solving the specific question with it.

### Streaming
Sending output tokens to the client as they are generated.

### Structured output
Model output constrained to a schema (via function calling, forced tool calls or native response formats).

### Subagent
An agent offered as a tool to a supervisor agent. **Subagent** node.

### Supervisor
An agent that delegates tasks to sub-agents and combines their results.

### System prompt
The instruction message that frames the model's role, rules and output format.

## T

### Temperature
A sampling setting controlling randomness: 0 is near-deterministic, higher is more varied.

### Text-to-SQL
See [NL-to-SQL](#nl-to-sql-text-to-sql).

### Token
The unit of text a model reads and writes (roughly ¾ of an English word). Prices, limits and latency are measured in tokens.

### Token budget
A maximum number of tokens a run, agent or search may consume.

### Tool
A function a model can ask to call, described by a name, description and JSON Schema.

### Tool choice
A setting controlling whether the model may, must, or must not call tools (auto, required/any, a specific tool, none).

### Top-k (retrieval)
The number of results returned by a search.

### Top-p (nucleus sampling)
Sampling only from the smallest set of tokens whose probabilities sum to p.

### Trace
The full record of a run: a tree of spans or an ordered list of events with inputs, outputs, durations, tokens and errors.

### Transformer
The neural network architecture, built on attention, that underlies modern LLMs (Vaswani et al., 2017).

### Tree of thoughts (ToT)
A reasoning strategy exploring several candidate steps per level and keeping the best (beam search).

### Trigger
Something that starts a run automatically: a webhook, a schedule, a queue message, a chat message.

### Trust level
In AgenticMind, how much a node package is trusted (`core`, `community`, `private`, `verified`), which decides where it may run.

## U

### UCT (upper confidence bound for trees)
The selection rule in MCTS that balances choosing high-value nodes with exploring rarely visited ones.

## V

### Vector
An ordered list of numbers; embeddings are vectors.

### Vector database (vector store)
A database that stores vectors with metadata and finds nearest neighbours quickly. **Vector Store** node (12 backends).

### Vision model
A multimodal model that accepts images as input.

## W

### Webhook
An HTTP callback: one system calls a URL on another when an event happens. **Webhook Trigger** node.

### Wingman
AgenticMind's built-in assistant that builds and edits graphs from natural-language descriptions, with validation and undo.

### Workflow
A predefined sequence (or graph) of steps orchestrating models and tools. Contrast with an [agent](#agent), which chooses its own steps.

## Z

### Zero-shot prompting
Asking a model to perform a task with instructions only, no examples.
