CertPrep
CCDV-P Learning Guide · Glossary

Glossary

Plain-English definitions of the 83 key terms in the CCDV-P 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 Orchestrating Multiple Agents in Production8.1 Parallel Coding Agents8.3 Unattended and Event-Driven Agents

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

Lessons 1.3 Choosing and Evolving the Architecture2.1 Reliability Engineering for Claude Services6.2 Latency Engineering

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

Lessons 2.1 Reliability Engineering for Claude Services2.3 Production MCP and Change Management

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 4.2 Incident Response and Learning Loops7.3 Identity, Secrets and Audit

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

Lessons 5.2 Engineering LLM Judges5.3 Measuring Quality on Live Traffic

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 2.4 Retrieval and Grounding at Scale

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

Lessons 2.1 Reliability Engineering for Claude Services4.2 Incident Response and Learning Loops

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 1.3 Choosing and Evolving the Architecture2.4 Retrieval and Grounding at Scale3.1 Telemetry and Instrumentation

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 Orchestrating Multiple Agents in Production1.2 Durable Execution and State1.3 Choosing and Evolving the Architecture

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 Durable Execution and State1.3 Choosing and Evolving the Architecture8.4 Organization-Wide Coding Agent Configuration

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 Orchestrating Multiple Agents in Production1.2 Durable Execution and State1.3 Choosing and Evolving the Architecture

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 5.1 Designing Evaluation Systems7.1 Runtime Guardrail Systems8.2 Verification and AI Code Review

Source: Claude Code 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.1 Orchestrating Multiple Agents in Production1.2 Durable Execution and State1.4 Context and Memory Policies

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

Lessons 5.2 Engineering LLM Judges5.3 Measuring Quality on Live Traffic8.2 Verification and AI Code Review

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.2 Durable Execution and State2.1 Reliability Engineering for Claude Services

Source: Claude API documentation

Contextual retrieval

An Anthropic technique that adds a short, chunk-specific explanation of context to each chunk before it is embedded and keyword-indexed. Anthropic reports it cuts failed retrievals by about half, and by more when combined with reranking.

Lesson 2.4 Retrieval and Grounding at Scale

Source: Anthropic

E

Effort

A request setting that trades how thorough Claude's response is against how many tokens it uses, across text, tool calls and thinking. It guides behavior rather than setting a strict token budget, and its default differs by model.

Lessons 4.1 Diagnosing Complex Failures6.2 Latency Engineering7.1 Runtime Guardrail Systems

Source: Claude API documentation

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

Lessons 2.4 Retrieval and Grounding at Scale7.2 Threat Defense and Red Teaming

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 5.1 Designing Evaluation Systems6.1 Cost Architecture at Fleet Scale8.3 Unattended and Event-Driven Agents

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 2.3 Production MCP and Change Management5.1 Designing Evaluation Systems5.3 Measuring Quality on Live Traffic

Source: Claude API documentation

Excessive agency

A risk in the OWASP list: an AI system has more functions, permissions or autonomy than it needs, so unexpected or manipulated output can lead to damaging actions.

Lesson 7.2 Threat Defense and Red Teaming

Source: OWASP Gen AI Security Project

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 Reliability Engineering for Claude Services3.1 Telemetry and Instrumentation

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

Lesson 1.4 Context and Memory Policies

Source: Claude API documentation

G

Git worktree

A separate working directory with its own files and branch that shares the repository's history, so several Claude Code sessions can work in parallel without touching each other's files.

Also: worktree, worktrees

Lesson 8.1 Parallel Coding Agents

Source: Claude Code documentation

Golden dataset

A curated set of test cases with known correct answers that evaluations are scored against.

Also: golden set, gold set, ground truth

Lesson 5.1 Designing Evaluation Systems

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 2.4 Retrieval and Grounding at Scale3.1 Telemetry and Instrumentation4.1 Diagnosing Complex Failures

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 5.3 Measuring Quality on Live Traffic7.1 Runtime Guardrail Systems

H

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

Lessons 1.1 Orchestrating Multiple Agents in Production4.1 Diagnosing Complex Failures

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 Durable Execution and State1.3 Choosing and Evolving the Architecture8.3 Unattended and Event-Driven Agents

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 7.1 Runtime Guardrail Systems8.2 Verification and AI Code Review8.4 Organization-Wide Coding Agent Configuration

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 3.3 Trace Analysis at Scale5.2 Engineering LLM Judges8.2 Verification and AI Code Review

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.2 Durable Execution and State2.1 Reliability Engineering for Claude Services

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

Lesson 1.3 Choosing and Evolving the Architecture

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.3 Choosing and Evolving the Architecture3.2 Monitoring, SLOs and Alerting6.2 Latency Engineering

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.2 Threat Defense and Red Teaming7.3 Identity, Secrets and Audit

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 5.2 Engineering LLM Judges

Source: Claude API documentation

LLM gateway

A proxy between applications, or Claude Code, and model providers that centralizes credentials, usage tracking, cost controls, audit logging and switching between providers.

Also: LLM gateways, AI gateway

Lessons 2.3 Production MCP and Change Management7.3 Identity, Secrets and Audit8.4 Organization-Wide Coding Agent Configuration

Source: Claude Code 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 2.3 Production MCP and Change Management

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 2.3 Production MCP and Change Management3.3 Trace Analysis at Scale8.4 Organization-Wide Coding Agent Configuration

Source: Model Context Protocol documentation

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.

Lessons 1.4 Context and Memory Policies7.2 Threat Defense and Red Teaming

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 2.2 Scale and Throughput6.1 Cost Architecture at Fleet Scale

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 Durable Execution and State1.3 Choosing and Evolving the Architecture2.3 Production MCP and Change Management

Source: Claude API documentation

Metadata filter

Restricting retrieval to documents whose metadata, such as date, product, region or access rights, matches the request, before or alongside similarity search.

Also: metadata filters, metadata filtering

Lesson 2.4 Retrieval and Grounding at Scale

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 2.3 Production MCP and Change Management7.2 Threat Defense and Red Teaming8.4 Organization-Wide Coding Agent Configuration

Source: Model Context Protocol documentation

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

Lesson 2.3 Production MCP and Change Management

Source: Claude API documentation

Multi-agent system

Several agents, usually an orchestrator and specialized subagents, working on one task. They work in parallel with separate contexts, at the cost of many more tokens than a single chat.

Also: multi-agent

Lessons 1.1 Orchestrating Multiple Agents in Production4.1 Diagnosing Complex Failures

Source: Anthropic

N

NIST AI RMF

The US National Institute of Standards and Technology's voluntary AI Risk Management Framework, which organizes AI risk work into four functions: Govern, Map, Measure and Manage.

Also: AI Risk Management Framework, NIST AI Risk Management Framework

Lesson 7.2 Threat Defense and Red Teaming

Source: NIST

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.1 Orchestrating Multiple Agents in Production3.1 Telemetry and Instrumentation3.3 Trace Analysis at Scale

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 Orchestrating Multiple Agents in Production1.3 Choosing and Evolving the Architecture4.1 Diagnosing Complex Failures

Source: Anthropic

OWASP Top 10 for LLM Applications

A widely used list of the most critical security risks for applications built on language models, such as prompt injection, sensitive information disclosure and excessive agency.

Also: OWASP

Lesson 7.2 Threat Defense and Red Teaming

Source: OWASP Gen AI Security Project

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

Lessons 7.1 Runtime Guardrail Systems8.3 Unattended and Event-Driven Agents

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

Lessons 1.4 Context and Memory Policies7.1 Runtime Guardrail Systems

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

Lesson 8.4 Organization-Wide Coding Agent Configuration

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

Lessons 1.3 Choosing and Evolving the Architecture8.4 Organization-Wide Coding Agent Configuration

Source: Claude Code documentation

Position bias

A judge's tendency to prefer an answer because of where it appears, first or second. Countered by running the comparison in both orders.

Lesson 5.2 Engineering LLM Judges

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 2.4 Retrieval and Grounding at Scale5.2 Engineering LLM Judges8.2 Verification and AI Code Review

Programmatic tool calling

Letting Claude write code that calls your tools inside the code execution environment, so intermediate results are handled in code instead of passing through the context window.

Lessons 1.4 Context and Memory Policies6.1 Cost Architecture at Fleet Scale

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 1.4 Context and Memory Policies6.2 Latency Engineering

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

Lessons 7.1 Runtime Guardrail Systems7.2 Threat Defense and Red Teaming

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 2.2 Scale and Throughput6.1 Cost Architecture at Fleet Scale

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.1 Reliability Engineering for Claude Services2.2 Scale and Throughput3.1 Telemetry and Instrumentation

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

Lesson 7.2 Threat Defense and Red Teaming

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

Lessons 2.4 Retrieval and Grounding at Scale6.2 Latency Engineering

Source: Anthropic

Retrieval-augmented generation (RAG)

Fetching relevant passages from a knowledge source when a question arrives and placing them in the context window, so the answer is grounded in that content rather than in what the model memorized.

Also: RAG

Lesson 2.4 Retrieval and Grounding at Scale

Source: Claude API documentation

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.3 Choosing and Evolving the Architecture7.1 Runtime Guardrail Systems8.4 Organization-Wide Coding Agent Configuration

Source: Claude Code documentation

Sensitive data

Information whose exposure could harm people or the organization, such as personal, financial, health or client-confidential data. It belongs only in approved tools, and only as much as the task needs.

Also: confidential data, confidential information, sensitive information

Lesson 7.2 Threat Defense and Red Teaming

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.

Lesson 8.4 Organization-Wide Coding Agent Configuration

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.3 Choosing and Evolving the Architecture5.1 Designing Evaluation Systems8.4 Organization-Wide Coding Agent Configuration

Source: Claude API 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 Durable Execution and State2.1 Reliability Engineering for Claude Services3.1 Telemetry and Instrumentation

Source: Claude API documentation

Stratified sampling

Sampling from each category, such as document type or risk level, so that rare but important cases are checked too.

Also: stratified sample

Lessons 3.3 Trace Analysis at Scale5.3 Measuring Quality on Live Traffic

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 Reliability Engineering for Claude Services3.1 Telemetry and Instrumentation6.2 Latency Engineering

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

Lesson 8.3 Unattended and Event-Driven Agents

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 Orchestrating Multiple Agents in Production3.1 Telemetry and Instrumentation8.1 Parallel Coding Agents

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 1.1 Orchestrating Multiple Agents in Production1.4 Context and Memory Policies7.2 Threat Defense and Red Teaming

Source: Claude API documentation

T

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 2.2 Scale and Throughput3.1 Telemetry and Instrumentation6.1 Cost Architecture at Fleet Scale

Source: Claude API documentation

Tool description

The text in a tool definition that says what the tool does, when to use it and what each parameter means. Anthropic calls it the most important factor in tool performance; merging overlapping tools reduces wrong choices.

Also: tool descriptions

Lesson 7.2 Threat Defense and Red Teaming

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.4 Context and Memory Policies3.3 Trace Analysis at Scale4.1 Diagnosing Complex Failures

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.3 Choosing and Evolving the Architecture3.1 Telemetry and Instrumentation6.2 Latency Engineering

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.1 Orchestrating Multiple Agents in Production1.2 Durable Execution and State8.2 Verification and AI Code Review

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.1 Reliability Engineering for Claude Services2.3 Production MCP and Change Management

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 Identity, Secrets and Audit

Source: Claude API documentation

Z

Zero data retention (ZDR)

An arrangement, enabled per organization on request, under which Anthropic does not store API prompts and responses after the response is returned, apart from legal and safety exceptions. It does not cover the consumer apps, and some newer models are excluded.

Also: ZDR, zero data retention

Lessons 1.3 Choosing and Evolving the Architecture3.1 Telemetry and Instrumentation

Source: Claude API documentation

Want the whole picture? Start with the CCDV-P learning guide, or revise with the cheat sheet. Ready to test yourself? Take the practice tests.