Glossary
Plain-English definitions of the 73 key terms in the CCAR-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.3 Selecting an Architectural Pattern3.1 Choosing an Integration Mechanism3.3 Avoiding Capability Bloat
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 3.1 Choosing an Integration Mechanism7.3 Debugging and Operational Support
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 3.1 Choosing an Integration Mechanism
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.3 Selecting an Architectural Pattern5.4 Regulatory Compliance6.2 Communicating Decisions and Trade-offs
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 4.1 Defining Evaluation Metrics4.2 Evaluation Datasets and Test Frameworks5.5 Fairness, Bias and Transparency
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
Lessons 3.5 Designing a RAG Pipeline3.6 Matching Retrieval to Data and Queries4.4 Diagnosing System Issues
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
- 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.1 Selecting Claude Models2.2 System Prompts, Templates and Guardrails3.5 Designing a RAG Pipeline
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
Lesson 3.1 Choosing an Integration Mechanism
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 3.1 Choosing an Integration Mechanism3.4 Progressive Discovery versus Monolithic Context7.1 Configuring Claude Tools for Teams
Source: Claude Code 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.
Lesson 7.1 Configuring Claude Tools for Teams
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
Lesson 1.5 Decomposing Complex Problems
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 2.4 Context Windows and Token Usage4.4 Diagnosing System Issues4.6 Optimizing Tokens, Latency and Cost
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 4.1 Defining Evaluation Metrics4.2 Evaluation Datasets and Test Frameworks5.3 Human-in-the-Loop Validation
- 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.4 Multi-Agent Systems and Orchestration2.4 Context Windows and Token Usage3.5 Designing a RAG Pipeline
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.
Lessons 3.5 Designing a RAG Pipeline3.6 Matching Retrieval to Data and Queries
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.
Lesson 2.1 Selecting Claude Models
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 1.2 End-to-End Architectures and Feedback Loops3.5 Designing a RAG Pipeline3.6 Matching Retrieval to Data and Queries
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 1.6 Aligning Solutions to Business Value2.2 System Prompts, Templates and Guardrails7.3 Debugging and Operational Support
- 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 Defining Evaluation Metrics4.2 Evaluation Datasets and Test Frameworks4.5 Monitoring with Logging and Observability
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
Lesson 1.2 End-to-End Architectures and Feedback Loops
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 2.1 Selecting Claude Models2.3 Prompt Engineering Techniques3.7 Accuracy-Latency Trade-offs
Source: Claude API documentation
F
- Few-shot prompting
Putting a few worked examples, typically three to five, in the prompt to improve accuracy and consistency. The examples should vary, or Claude picks up patterns you did not intend.
Also: few-shot, multishot, few-shot examples
Lessons 2.1 Selecting Claude Models2.3 Prompt Engineering Techniques5.5 Fairness, Bias and Transparency
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 7.2 Improving Developer Workflows
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
Lessons 4.2 Evaluation Datasets and Test Frameworks4.3 A/B Testing and Iterative Improvement4.5 Monitoring with Logging and Observability
- 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 1.1 Translating Business Problems into Claude Solutions4.4 Diagnosing System Issues5.1 Risks, Limitations and Failure Modes
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 2.2 System Prompts, Templates and Guardrails4.3 A/B Testing and Iterative Improvement5.2 Guardrails and Safety Controls
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.4 Diagnosing System Issues5.1 Risks, Limitations and Failure Modes
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
Lessons 1.3 Selecting an Architectural Pattern6.4 Documenting Architectures for Handoff6.5 Supporting the Lifecycle
- 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 Configuring Claude Tools for Teams7.2 Improving Developer Workflows
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 1.3 Selecting an Architectural Pattern4.2 Evaluation Datasets and Test Frameworks5.3 Human-in-the-Loop Validation
- 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
Lessons 3.5 Designing a RAG Pipeline3.6 Matching Retrieval to Data and Queries4.4 Diagnosing System Issues
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
- 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
Lessons 3.1 Choosing an Integration Mechanism4.3 A/B Testing and Iterative Improvement6.5 Supporting the Lifecycle
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 2.1 Selecting Claude Models3.7 Accuracy-Latency Trade-offs4.6 Optimizing Tokens, Latency and Cost
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 3.2 Authentication, Authorization and Security Gaps5.1 Risks, Limitations and Failure Modes7.2 Improving Developer Workflows
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 Defining Evaluation Metrics
Source: Claude API documentation
M
- 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 3.1 Choosing an Integration Mechanism3.3 Avoiding Capability Bloat3.4 Progressive Discovery versus Monolithic Context
- 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 2.4 Context Windows and Token Usage
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.6 Aligning Solutions to Business Value3.7 Accuracy-Latency Trade-offs4.6 Optimizing Tokens, Latency and Cost
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
- 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 3.1 Choosing an Integration Mechanism3.3 Avoiding Capability Bloat3.4 Progressive Discovery versus Monolithic Context
- 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 6.4 Documenting Architectures for Handoff
Source: Claude API documentation
- Model tiers (Haiku, Sonnet, Opus)
Claude models come in tiers. Haiku has the lowest latency and price for high-volume work, Sonnet suits everyday coding and agent tasks, and Opus handles complex agentic work. Choose per task by testing quality, speed and cost.
Lesson 2.1 Selecting Claude Models
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.3 Selecting an Architectural Pattern1.4 Multi-Agent Systems and Orchestration4.4 Diagnosing System Issues
Source: Anthropic
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 3.8 Observability at Scale5.4 Regulatory Compliance7.3 Debugging and Operational Support
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.4 Multi-Agent Systems and Orchestration3.1 Choosing an Integration Mechanism4.4 Diagnosing System Issues
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.3 Avoiding Capability Bloat
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 3.8 Observability at Scale5.2 Guardrails and Safety Controls5.4 Regulatory Compliance
- 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 7.1 Configuring Claude Tools for Teams
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 3.5 Designing a RAG Pipeline3.6 Matching Retrieval to Data and Queries3.7 Accuracy-Latency Trade-offs
- 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.6 Aligning Solutions to Business Value2.5 Prompt Reuse: Caching, Modular Prompts and Skills3.5 Designing a RAG Pipeline
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 5.1 Risks, Limitations and Failure Modes5.2 Guardrails and Safety Controls5.5 Fairness, Bias and Transparency
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 System Prompts, Templates and Guardrails3.8 Observability at Scale6.4 Documenting Architectures for Handoff
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 1.2 End-to-End Architectures and Feedback Loops3.8 Observability at Scale7.3 Debugging and Operational Support
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 2.1 Selecting Claude Models4.3 A/B Testing and Iterative Improvement6.5 Supporting the Lifecycle
- 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 3.5 Designing a RAG Pipeline3.6 Matching Retrieval to Data and Queries3.7 Accuracy-Latency Trade-offs
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
Lessons 1.2 End-to-End Architectures and Feedback Loops3.5 Designing a RAG Pipeline3.6 Matching Retrieval to Data and Queries
Source: Claude API documentation
S
- 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
Lessons 3.8 Observability at Scale5.1 Risks, Limitations and Failure Modes
- 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 2.5 Prompt Reuse: Caching, Modular Prompts and Skills3.4 Progressive Discovery versus Monolithic Context7.1 Configuring Claude Tools for Teams
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 2.4 Context Windows and Token Usage3.8 Observability at Scale4.4 Diagnosing System Issues
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 1.6 Aligning Solutions to Business Value3.7 Accuracy-Latency Trade-offs4.6 Optimizing Tokens, Latency and Cost
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 1.1 Translating Business Problems into Claude Solutions1.2 End-to-End Architectures and Feedback Loops2.2 System Prompts, Templates and Guardrails
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.4 Multi-Agent Systems and Orchestration3.4 Progressive Discovery versus Monolithic Context4.4 Diagnosing System Issues
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 System Prompts, Templates and Guardrails2.5 Prompt Reuse: Caching, Modular Prompts and Skills3.2 Authentication, Authorization and Security Gaps
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.4 Context Windows and Token Usage3.8 Observability at Scale4.6 Optimizing Tokens, Latency and Cost
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 3.3 Avoiding Capability Bloat
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 2.4 Context Windows and Token Usage4.6 Optimizing Tokens, Latency and Cost5.1 Risks, Limitations and Failure Modes
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 End-to-End Architectures and Feedback Loops1.3 Selecting an Architectural Pattern3.1 Choosing an Integration Mechanism
Source: Claude API documentation
V
- Vector database
A store that indexes embeddings and returns those nearest to a query's embedding.
Also: vector store, vector index
Lesson 5.4 Regulatory Compliance
- 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 3.2 Authentication, Authorization and Security Gaps7.2 Improving Developer Workflows7.3 Debugging and Operational Support
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
Lesson 3.1 Choosing an Integration Mechanism
Source: Claude API documentation
X
- XML tags
Tags such as document or instructions, written in angle brackets, that wrap each kind of content in a prompt so Claude can tell instructions, context, examples and inputs apart.
Lesson 2.2 System Prompts, Templates and Guardrails
Source: Claude API documentation
Want the whole picture? Start with the CCAR-P learning guide, or revise with the cheat sheet. Ready to test yourself? Take the practice tests.