Glossary
Plain-English definitions of the 77 key terms in the CCDV-F learning guide, each linked to the lessons that teach it.
Last updated . Each definition with a source link was checked against that official page, most of them Anthropic's documentation, on this date. Terms without a link are general industry terms.
A
- Agent
A system in which a model directs its own process and tool use to reach a goal, instead of following a path set in code, as a workflow does.
Also: agents, AI agent
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime1.2 Building Agents with the Agent SDK and Hooks1.3 Diagnosing a Misbehaving Agent
Source: Anthropic
- Agentic loop
The cycle an agent runs: Claude replies, the code runs any tools it asked for, the results go back, and this repeats until Claude replies without a tool call or a turn or budget limit is reached.
Also: agent loop
Lesson 1.2 Building Agents with the Agent SDK and Hooks
Source: Claude Code documentation
- Amazon Bedrock
AWS's managed service for foundation models, through which Claude runs on AWS infrastructure inside an AWS account.
Also: Bedrock
Lesson 2.2 The Application Boundary
Source: Claude API documentation
- Audit log
A record of who did what and when, including an agent's actions and tool calls, kept for review, compliance and investigating incidents.
Also: audit logs, audit trail
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime1.2 Building Agents with the Agent SDK and Hooks
B
- Bias
A systematic skew in output, such as favoring certain groups, viewpoints or answer positions. Found by testing varied inputs and reviewing the results.
Also: biased
C
- Chunking
Splitting documents into smaller passages for indexing and retrieval. Chunk size, boundaries and overlap all affect how well retrieval works.
Also: chunk, chunks
Lesson 6.4 Grounding Answers and Citing Sources
Source: Anthropic
- Circuit breaker
A safeguard that stops calling a failing tool or service after repeated errors, so the system fails fast instead of piling up retries.
Also: circuit breakers
Lesson 2.4 Resilient Integrations: Errors, Streams and Files
- Citations
References from Claude's answer to the exact passages in the source documents behind it, so a reader can check each claim.
Also: citation, cite sources
Lessons 2.2 The Application Boundary4.1 Designing Evaluations That Measure the Goal6.4 Grounding Answers and Citing Sources
Source: Claude API documentation
- Claude Agent SDK
Anthropic's library, for Python and TypeScript, for building agents on the same agent loop, tools and context management that power Claude Code. It was formerly called the Claude Code SDK.
Also: Agent SDK, Claude Code SDK
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime1.2 Building Agents with the Agent SDK and Hooks8.2 Building and Integrating MCP Servers
Source: Claude Code documentation
- Claude Code
Anthropic's agentic coding tool. It reads code, edits files and runs commands, in the terminal, an IDE, the desktop app or the browser.
Lessons 1.2 Building Agents with the Agent SDK and Hooks3.1 Operating Claude Code8.2 Building and Integrating MCP Servers
Source: Claude Code documentation
- Claude Managed Agents
An Anthropic service, in beta, that runs Claude as an autonomous agent in an Anthropic cloud sandbox or your own self-hosted one, with sessions and events, so you do not build the agent loop or tool execution yourself.
Also: Managed Agents
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime2.2 The Application Boundary
Source: Claude API documentation
- CLAUDE.md
A Markdown file of persistent instructions, such as build commands and coding conventions, that Claude Code reads at the start of a session. It can be set by managed policy, for the user, the project or locally, and files in subdirectories load when Claude works there.
Lessons 2.3 Configuration Across Environments and CI3.1 Operating Claude Code3.2 Extending Claude Code for a Team
Source: Claude Code documentation
- Code execution tool
A server tool that lets Claude run Python and Bash in a sandboxed container with no internet access, to analyze data, do calculations and create files.
Also: code execution
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime5.1 Tokens, Sampling, Thinking and Effort8.3 Choosing Tools, Skills or MCP
Source: Claude API documentation
- Compaction
Replacing the older turns of a long conversation with a summary Claude writes, so the work stays within the context window. A summary can drop details a later turn needs, so a custom summarization prompt is allowed.
Also: compact, auto-compact
Lessons 1.3 Diagnosing a Misbehaving Agent3.1 Operating Claude Code6.1 Keeping Long Sessions on Track
Source: Claude API documentation
- Confidence calibration
How well a stated confidence matches real accuracy. Well-calibrated scores can be used to send low-confidence cases to a person.
Also: calibration, calibrated, well-calibrated
- Context window
The total number of tokens a model can work with in one request: the system prompt, messages, tool definitions and results, and its own output, including any thinking. If the input alone is too large, the API returns an error instead of dropping text.
Also: context length
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime1.3 Diagnosing a Misbehaving Agent3.1 Operating Claude Code
Source: Claude API documentation
E
- Embedding
A list of numbers that represents the meaning of a text, so similar texts have similar embeddings. Used for semantic search. Anthropic does not offer its own embedding model; its docs point to Voyage AI.
Also: embeddings
Lesson 6.4 Grounding Answers and Citing Sources
Source: Claude API documentation
- Escalation
Routing a case from the automated system to a person, triggered by rules such as low confidence, high value, a policy exception or the customer asking for one.
Also: escalate, escalated, escalates
Lessons 3.1 Operating Claude Code5.2 Choosing a Model Tier and Planning Upgrades5.3 Finding and Fixing the Cost Driver
- Evaluation (eval)
A repeatable test of a model, prompt or agent against a set of cases with success criteria, graded by code, by people or by a model. Used to compare versions and catch regressions.
Also: eval, evals, evaluation, evaluations
Lessons 4.1 Designing Evaluations That Measure the Goal5.2 Choosing a Model Tier and Planning Upgrades6.2 Revising a Prompt That Evaluations Flag
Source: Claude API documentation
- Exponential backoff
Waiting progressively longer after each failed request before retrying. Anthropic's SDKs do this automatically, from half a second up to eight seconds, when the error response has no retry-after header.
Also: backoff, retry with backoff
Lessons 2.1 Messages API Mechanics2.4 Resilient Integrations: Errors, Streams and Files
Source: Claude API documentation
- Extended thinking
Claude reasoning in thinking blocks before its final answer. The original form, with a fixed budget_tokens target, is now a deprecated legacy mode that Claude 4.7 and later models reject; they use adaptive thinking instead.
Also: thinking budget, thinking blocks, adaptive thinking
Lessons 1.2 Building Agents with the Agent SDK and Hooks2.1 Messages API Mechanics5.1 Tokens, Sampling, Thinking and Effort
Source: Claude API documentation
F
- Files API
Uploading a file once and referring to it by its file ID in later requests, instead of sending its content every time.
Lessons 2.1 Messages API Mechanics2.4 Resilient Integrations: Errors, Streams and Files8.2 Building and Integrating MCP Servers
Source: Claude API documentation
G
- Golden dataset
A curated set of test cases with known correct answers that evaluations are scored against.
Also: golden set, gold set, ground truth
- Grounding
Telling Claude to base its answer only on documents you supply, and to say plainly when they do not contain enough information.
Also: grounded
Lessons 4.1 Designing Evaluations That Measure the Goal4.2 Diagnosing Failure Modes from Traces6.4 Grounding Answers and Citing Sources
Source: Claude API documentation
- Guardrail
A check outside the model's own judgment that blocks or corrects unsafe or invalid actions, such as input validation, an allow list or a hook.
Also: guardrails
Lessons 3.2 Extending Claude Code for a Team7.2 Deterministic Guardrails and Least Privilege
H
- Hallucination
Output that is factually wrong or does not match the material provided. Reduced by restricting answers to supplied documents, asking for supporting quotes or citations, and allowing the answer "I don't know".
Also: hallucinate, hallucinated
Lessons 4.2 Diagnosing Failure Modes from Traces6.4 Grounding Answers and Citing Sources7.1 Defending Against Prompt Injection
Source: Claude API documentation
- Handoff
Passing a task, together with the context needed to continue it, from one agent to another or from an agent to a person.
Also: handoffs, hand off
- Headless mode
Running Claude Code non-interactively with the -p (--print) flag, for scripts and CI pipelines. Output is plain text by default, or JSON or streaming JSON.
Lessons 1.2 Building Agents with the Agent SDK and Hooks2.3 Configuration Across Environments and CI3.1 Operating Claude Code
Source: Claude Code documentation
- Hook
A handler, such as a shell command, HTTP endpoint or prompt, that runs automatically at a lifecycle point, for example before a tool call (PreToolUse) or after a successful one (PostToolUse). Unlike a prompt instruction it does not depend on the model choosing to follow it.
Also: hooks, PreToolUse, PostToolUse
Lessons 1.2 Building Agents with the Agent SDK and Hooks3.2 Extending Claude Code for a Team7.2 Deterministic Guardrails and Least Privilege
Source: Claude Code documentation
- Human in the loop (HITL)
A design in which a person reviews or approves certain actions or outputs before they take effect, usually the high-impact or low-confidence ones.
Also: human-in-the-loop, HITL, human review, human approval
Lessons 4.1 Designing Evaluations That Measure the Goal7.2 Deterministic Guardrails and Least Privilege
- Hybrid search
Combining keyword search, such as BM25, with embedding search. Embeddings alone can miss exact matches such as error codes or product IDs, which keyword search finds.
Also: BM25
Lesson 6.4 Grounding Answers and Citing Sources
Source: Anthropic
I
- Idempotency
The property that doing an operation twice has the same effect as doing it once. An idempotency key lets an agent retry a write, such as a payment, without making it twice.
Also: idempotent, idempotency key, idempotency keys
Lessons 1.3 Diagnosing a Misbehaving Agent8.1 Designing Tools and Shaping Their Results
- Iteration
Improving a prompt or an output over several rounds, changing one thing at a time and checking the effect of each change against your success criteria.
Also: iterate, iterating, iterative
L
- Latency
The time a model takes to process a prompt and produce its output. Time to first token, the wait before output starts, matters most when streaming to keep a chat responsive.
Also: time to first token, TTFT
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime5.2 Choosing a Model Tier and Planning Upgrades6.4 Grounding Answers and Citing Sources
Source: Claude API documentation
- Least privilege
Giving an agent or tool only the capabilities and permissions its task needs, which limits the damage a mistake or an attack can do.
Also: least-privilege
Lessons 7.1 Defending Against Prompt Injection7.2 Deterministic Guardrails and Least Privilege
Source: Claude Code documentation
- LLM as a judge
Using a model to grade outputs against a rubric, which scales to judgments that code cannot check. Its grades should be spot-checked against people's, since judges have biases of their own.
Also: LLM-as-judge, LLM judge, LLM-as-a-judge, model-graded
Lesson 4.1 Designing Evaluations That Measure the Goal
Source: Claude API documentation
M
- MCP connector
A Messages API feature, in beta, that connects a request to remote MCP servers directly, without running your own MCP client. It supports tool calls only, and servers must be reachable over HTTP.
Lesson 8.2 Building and Integrating MCP Servers
Source: Claude API documentation
- MCP server
A program that provides context to MCP clients by offering tools, resources or prompts, for example in front of a database, a file system or a business application.
Also: MCP servers
Lessons 7.2 Deterministic Guardrails and Least Privilege8.2 Building and Integrating MCP Servers8.3 Choosing Tools, Skills or MCP
- MCP transport
How an MCP client and server exchange messages: stdio when the client launches the server as a local process, Streamable HTTP for a remote server.
- Memory tool
A tool that lets Claude store and read information in a directory of memory files that persists between conversations. Claude asks for the file operations and your application carries them out.
Lesson 1.3 Diagnosing a Misbehaving Agent
Source: Claude API documentation
- Message Batches API
An API for submitting large groups of requests that run asynchronously at half the standard price. Most batches finish within an hour, and any request not done within 24 hours expires. Suited to work that does not need an answer straight away.
Also: Batch API, batch processing, Message Batches
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime2.1 Messages API Mechanics5.3 Finding and Fixing the Cost Driver
Source: Claude API documentation
- Messages API
The Claude API for direct access to the model: you send the conversation so far as user and assistant messages, plus an optional system prompt and tools, and receive the next assistant message. Each request carries the full history.
Lessons 1.2 Building Agents with the Agent SDK and Hooks2.2 The Application Boundary7.3 Handling API Keys and Credentials
Source: Claude API documentation
- Model Context Protocol (MCP)
An open-source standard for connecting AI applications to external systems such as data sources, tools and workflows. An MCP server offers tools, resources and prompts; an MCP client inside the application connects to it.
Also: MCP
Lessons 1.2 Building Agents with the Agent SDK and Hooks8.2 Building and Integrating MCP Servers8.3 Choosing Tools, Skills or MCP
- Model migration
Moving an application to a newer model. Anthropic publishes a migration guide for each model listing what changes; test the switch with your own prompts and data before rolling it out.
Also: migrating to a new model, model upgrade
Lessons 2.3 Configuration Across Environments and CI4.2 Diagnosing Failure Modes from Traces
Source: Claude API documentation
O
- Observability
Being able to see what a system is doing from its traces, metrics and logs, such as each tool call, model request timing, token use and cost in an agent run.
Also: tracing, traces
Lessons 1.3 Diagnosing a Misbehaving Agent4.2 Diagnosing Failure Modes from Traces6.1 Keeping Long Sessions on Track
Source: Claude Code documentation
- Orchestrator
A central model that breaks a task into subtasks it chooses as it goes, hands them to worker models or subagents, and combines their results.
Also: coordinator, lead agent, orchestrator-workers
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime1.3 Diagnosing a Misbehaving Agent
Source: Anthropic
P
- Permission mode
The Claude Code setting for which actions run without asking: default (asks before most edits and commands), acceptEdits, plan, auto, dontAsk and bypassPermissions.
Also: permission modes
Lesson 3.1 Operating Claude Code
Source: Claude Code documentation
- PII
Information that can identify a person, such as a name, address, ID number or health record. Often removed or masked before text reaches a model or a log.
Also: personally identifiable information, personal data
Lesson 2.2 The Application Boundary
- Plan mode
A Claude Code mode in which Claude reads files and explores the code but does not edit source files until you approve its plan.
Lesson 3.1 Operating Claude Code
Source: Claude Code documentation
- Plugin
A package of Claude Code extensions, such as skills, agents, hooks and MCP servers, that installs and loads as one unit, so a person or team can share a setup.
Also: plugins
Lessons 2.3 Configuration Across Environments and CI3.2 Extending Claude Code for a Team8.2 Building and Integrating MCP Servers
Source: Claude Code documentation
- Plugin marketplace
A catalog, usually a repository with a marketplace.json file, that lists plugins and where to fetch each one.
Also: marketplace
Lesson 3.2 Extending Claude Code for a Team
Source: Claude Code documentation
- Precision and recall
Precision is the share of flagged items that really are positive; recall is the share of real positives that were flagged. Raising one usually lowers the other.
Lessons 4.1 Designing Evaluations That Measure the Goal6.4 Grounding Answers and Citing Sources
- Prefilling
Writing the start of Claude's reply yourself so it continues from there, often to force a format. Claude 4.6 and later models reject a prefilled reply, so use structured outputs or instructions in the system prompt instead.
Also: prefill, prefilled
Lesson 2.1 Messages API Mechanics
Source: Claude API documentation
- Prompt caching
Reusing the processed form of a repeated prompt prefix, such as long instructions or a reference document, across requests. Cached reads cost a fraction of normal input and return faster; any change before the cache point invalidates it, and entries expire after 5 minutes without use by default.
Also: cache breakpoint, cache_control
Lessons 2.1 Messages API Mechanics5.3 Finding and Fixing the Cost Driver6.4 Grounding Answers and Citing Sources
Source: Claude API documentation
- Prompt chaining
Splitting a task into separate calls in which each step's output feeds the next, such as draft, review and refine, so you can inspect and check each intermediate result.
Also: chained prompts
Lesson 1.1 Choosing a Workflow, an Agent and a Runtime
Source: Claude API documentation
- Prompt injection
An attempt to override or manipulate an AI system's instructions with malicious text placed in what it reads, such as a file, web page or user input.
Also: indirect prompt injection, injection
Lesson 7.1 Defending Against Prompt Injection
Source: Claude Code documentation
- Prompt template
A reusable prompt with fixed instructions and placeholders for the parts that change, so a team gets consistent results from the same kind of request.
Also: prompt templates, template, templates
Lessons 6.2 Revising a Prompt That Evaluations Flag8.2 Building and Integrating MCP Servers
R
- Rate limit
A cap on how many requests and input and output tokens an organization can use per minute. Going over it returns HTTP 429; if the response has a retry-after header, wait that many seconds before retrying.
Also: rate limits, HTTP 429, 429
Lessons 2.4 Resilient Integrations: Errors, Streams and Files4.2 Diagnosing Failure Modes from Traces7.3 Handling API Keys and Credentials
Source: Claude API documentation
- Regression testing
Running an evaluation suite again after a change, such as a new prompt, model or tool, to confirm that what worked before still works.
Also: regression test, regression tests, regression suite
Lessons 4.1 Designing Evaluations That Measure the Goal5.2 Choosing a Model Tier and Planning Upgrades
- Reranking
A second pass in which a reranking model scores the retrieved chunks for relevance to the query and keeps only the top few for the prompt.
Also: reranker, rerank
Lesson 6.4 Grounding Answers and Citing Sources
Source: Anthropic
S
- Sandboxing
An operating-system boundary around the shell commands an agent runs that limits their file and network access, so commands can run with fewer approval prompts. In Claude Code it is off by default.
Also: sandbox, sandboxed
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime7.1 Defending Against Prompt Injection7.2 Deterministic Guardrails and Least Privilege
Source: Claude Code documentation
- settings.json
The JSON file for Claude Code settings such as permissions, hooks and environment variables. There are user, shared project and local project copies, plus optional managed settings set by an organization.
Lessons 2.3 Configuration Across Environments and CI3.1 Operating Claude Code
Source: Claude Code documentation
- Skill
A folder with a SKILL.md file of instructions, plus optional scripts and resources. Its name and description are always loaded; the rest loads only when a task needs it. Skills work in Claude Code, the API and claude.ai, uploaded separately to each.
Also: skills, Agent Skills, SKILL.md
Lessons 1.2 Building Agents with the Agent SDK and Hooks3.2 Extending Claude Code for a Team8.3 Choosing Tools, Skills or MCP
Source: Claude API documentation
- Slash command
A command typed as /name in Claude Code. Built-in commands control the session. Custom commands have been merged into skills, though existing command files still work.
Also: slash commands, custom command, custom commands
Lesson 8.2 Building and Integrating MCP Servers
Source: Claude Code documentation
- Stop reason
The field in an API response that says why generation ended, for example end_turn, max_tokens, stop_sequence, tool_use, pause_turn or refusal. Code reads it to decide whether to use the response, run a tool, continue or retry.
Also: stop_reason, end_turn
Lessons 1.2 Building Agents with the Agent SDK and Hooks2.1 Messages API Mechanics2.4 Resilient Integrations: Errors, Streams and Files
Source: Claude API documentation
- Streaming
Receiving a response in pieces, as server-sent events, while it is being generated, so users can watch the text appear instead of waiting for the full message.
Lessons 2.1 Messages API Mechanics2.4 Resilient Integrations: Errors, Streams and Files3.1 Operating Claude Code
Source: Claude API documentation
- Structured outputs
Constraining a response to a JSON schema so code can parse it reliably. Setting strict on a tool gives the same guarantee for that tool's inputs, which are otherwise not guaranteed to match its schema.
Also: structured output, strict tool use
Lessons 2.1 Messages API Mechanics4.2 Diagnosing Failure Modes from Traces6.3 Structured Output and Defensive Parsing
Source: Claude API documentation
- Subagent
A specialized agent that Claude, or a user, starts to handle one subtask in its own context window. Only its result returns to the parent, which keeps the parent's context small. In Claude Code the tool that starts one is called Agent.
Also: subagents, sub-agent
Lessons 1.1 Choosing a Workflow, an Agent and a Runtime1.3 Diagnosing a Misbehaving Agent3.2 Extending Claude Code for a Team
Source: Claude Code documentation
- System prompt
Instructions sent in the request's system field, separately from the conversation, that set Claude's role, rules and background. Even one sentence of role can focus its behavior and tone.
Also: system prompts
Lessons 2.2 The Application Boundary5.3 Finding and Fixing the Cost Driver6.2 Revising a Prompt That Evaluations Flag
Source: Claude API documentation
T
- Temperature
A sampling setting that controls randomness: lower values give more predictable output, higher values more varied output, and even zero is not fully deterministic. Claude 4.7 and later models no longer accept a custom value.
Lessons 1.2 Building Agents with the Agent SDK and Hooks5.1 Tokens, Sampling, Thinking and Effort6.4 Grounding Answers and Citing Sources
Source: Claude API documentation
- Token
The smallest unit a model reads and writes text in: a word, part of a word or a single character. Recent Claude models average about 3.5 English characters per token. Context windows, rate limits and prices are counted in tokens.
Also: tokens
Lessons 5.1 Tokens, Sampling, Thinking and Effort5.3 Finding and Fixing the Cost Driver8.2 Building and Integrating MCP Servers
Source: Claude API documentation
- Tool result
The message that returns a tool's output to Claude, matched to its request by the tool_use_id. Setting is_error tells Claude the call failed, so it can retry or explain.
Also: tool_result, is_error
Lessons 1.2 Building Agents with the Agent SDK and Hooks1.3 Diagnosing a Misbehaving Agent2.2 The Application Boundary
Source: Claude API documentation
- Tool use
Letting Claude call tools. For tools you define, Claude returns a tool_use request with arguments, your code runs it and sends the output back as a tool result; server tools such as web search run on Anthropic's side.
Also: function calling, tool call, tool calls, tool calling
Lessons 1.2 Building Agents with the Agent SDK and Hooks3.1 Operating Claude Code5.2 Choosing a Model Tier and Planning Upgrades
Source: Claude API documentation
- tool_choice
An API setting that lets Claude decide whether to use a tool (auto), requires a tool (any), forces a named tool, or turns tools off (none). The newest models, such as Opus 5.5 and Sonnet 5.5, reject any and forced tools; use auto with strict tool use.
Lessons 2.1 Messages API Mechanics8.1 Designing Tools and Shaping Their Results
Source: Claude API documentation
V
- Verification
Checking AI output against a trusted reference, such as supporting quotes from the source documents, before it is used, especially for high-stakes decisions.
Also: verify, verified, fact-check, fact-checking
Lessons 1.3 Diagnosing a Misbehaving Agent4.2 Diagnosing Failure Modes from Traces6.4 Grounding Answers and Citing Sources
Source: Claude API documentation
- Vertex AI
Google Cloud's AI platform, now part of Google Cloud's Agent Platform, through which Claude models can be used inside a Google Cloud project.
Also: Google Vertex AI, Google Cloud Vertex AI, Agent Platform
Lessons 2.2 The Application Boundary5.2 Choosing a Model Tier and Planning Upgrades
Source: Claude API documentation
W
- Workload identity federation
Letting a workload call the Claude API with short-lived tokens from an identity provider it already uses, such as AWS, Google Cloud, GitHub Actions or Kubernetes, instead of a long-lived API key.
Lesson 7.3 Handling API Keys and Credentials
Source: Claude API documentation
Want the whole picture? Start with the CCDV-F learning guide, or revise with the cheat sheet. Ready to test yourself? Take the practice tests.