Practice & Reference · Glossary

Glossary

Every term this course leans on, gathered into one page — model basics, the Messages API, tools and structured output, agent patterns, MCP, safety, and production vocabulary. Skim it top to bottom, or jump to the group you need.

☺ Explain it like I'm 10

Think of this page as Nutty's giant filing cabinet. Every drawer holds one word from the course, cracked open so you can peek at what's inside without digging back through ten lessons. Forgot what "temperature" or "prompt caching" means? Pull the drawer, read the card, move on.

🐿️Your host for this topic: Nutty the Squirrel (gathers and files every term so you don't have to hunt for it).

Models & the platform

☺ Like you're 10: This is the vocabulary for Claude itself — the model, the knobs you can turn, and the account stuff around it.

TermDefinition
ClaudeAnthropic's family of large language models, offered in different capability/speed tiers and accessed mainly through the Messages API.
AnthropicThe company that researches and builds Claude, with a mission centered on AI safety.
Model tier (Opus, Sonnet, Haiku)Anthropic's naming scheme for trading off capability, speed, and cost — Opus is the most capable, Haiku the fastest, Sonnet balances the two.
Context windowThe maximum number of tokens (input plus output) a model can hold in view during a single request.
TokenThe basic unit of text Claude reads and generates — roughly a chunk of a few characters, not exactly a word or a character.
TokenizationThe process of splitting text into tokens before it's sent to, or generated by, the model.
Knowledge cutoffThe date after which a model's training data ends, meaning it has no built-in awareness of events past that point.
System promptInstructions passed via the system parameter that set Claude's role, tone, and constraints for the whole conversation, kept separate from user turns.
TemperatureA sampling parameter controlling randomness in output — lower values give more focused, deterministic answers; higher values give more varied ones.
top_p / top_kAdditional sampling controls that narrow the pool of candidate next-tokens, used alongside or instead of temperature.
max_tokensA request parameter capping how many tokens Claude is allowed to generate in its response.
stop_sequenceA string that, if generated, tells Claude to stop producing further output immediately.
API keyThe credential used to authenticate requests to the Anthropic API — kept secret and never hardcoded into shared or client-side code.
Rate limitA cap on requests or tokens per minute for an account, used to keep the API stable and fairly shared across users.

The Messages API

☺ Like you're 10: This is the actual shape of a conversation with Claude — who says what, and how the reply comes back.

TermDefinition
Messages APIAnthropic's primary API for sending a conversation to Claude and getting a response — the foundation nearly every other feature builds on.
messages arrayThe list of turns in a conversation, each with a role and content, sent with every Messages API request.
roleMarks each message as either "user" or "assistant"; messages must alternate between the two.
Content blockA structured unit inside a message's content — text, image, document, tool_use, or tool_result are the common kinds.
Message object (response)What the API returns: an assistant-authored message containing one or more content blocks, plus metadata like stop_reason and usage.
stop_reasonA field on the response explaining why Claude stopped generating — it finished naturally, hit max_tokens, or hit a stop sequence.
usageA field on the response reporting how many input and output tokens the request consumed.
StreamingReceiving Claude's response incrementally as it's generated, instead of waiting for the full message to complete.
Server-Sent Events (SSE)The streaming protocol the Messages API uses to push incremental events, like content_block_delta, to the client.
Multi-turn conversationA back-and-forth exchange built by appending each new user and assistant message to the messages array and resending the whole history.

Prompting techniques

TermDefinition
Prompt engineeringThe practice of crafting instructions, examples, and structure to reliably get the output you want from Claude.
Zero-shot promptingAsking Claude to perform a task with instructions alone, no worked examples.
Few-shot promptingIncluding a handful of example input/output pairs in the prompt so Claude can follow the pattern.
Chain of thought (CoT)Prompting Claude to reason step by step before giving a final answer, which tends to improve accuracy on harder tasks.
XML tags (in prompts)Tags like <example> or <document> used to clearly delimit parts of a prompt, which Claude is trained to parse reliably.
PrefillingStarting Claude's own response for it, to steer format or skip preamble — Claude continues from wherever the prefill leaves off.
Role prompting / personaAsking Claude to answer "as" a particular role or perspective to shape tone and framing.
Prompt templateA reusable prompt structure with placeholders swapped in per request, useful for consistent production prompts.

Tools, structured output & context

☺ Like you're 10: This is how Claude reaches beyond just talking — calling tools, reading images, remembering long documents cheaply, and showing its work.

TermDefinition
Tool use (function calling)Giving Claude a set of defined tools it can request to call mid-conversation, letting it take actions or fetch information beyond its own knowledge.
Tool definitionThe name, description, and input_schema that tells Claude what a tool does and what parameters it expects.
tool_use blockA content block Claude returns when it wants to call a tool, containing the tool's name and the input Claude chose.
tool_result blockThe content block a caller sends back with a tool's output, continuing the conversation after a tool_use request.
tool_choiceA request parameter controlling whether Claude decides freely whether to use a tool, must use some tool, or must use one specific tool.
Parallel tool callsClaude requesting multiple tool_use blocks in a single turn, so several actions can run before it continues.
JSON SchemaThe schema format used to describe a tool's expected input (or a desired structured output), which Claude uses to produce well-formed arguments.
Structured outputsGetting Claude to return data in a predictable, parseable shape — typically JSON — often by defining a schema via a tool or explicit instructions.
Vision / multimodal inputSending images or PDFs as content blocks alongside text so Claude can reason about visual material.
Prompt cachingMarking reusable chunks of a prompt, like a long system prompt or document, with cache_control so repeated requests skip reprocessing that portion.
Extended thinkingA mode where Claude produces a visible internal reasoning trace — a thinking block — before its final answer, useful on harder problems.

Agents, workflows & MCP

☺ Like you're 10: A workflow is a recipe you wrote; an agent is Claude deciding its own recipe as it goes, calling tools until the job's done.

TermDefinition
Retrieval-augmented generation (RAG)Retrieving relevant external documents or data and inserting them into the prompt so Claude can answer using up-to-date or private information.
EmbeddingA numeric vector representation of text used to measure semantic similarity — the basis for retrieval in RAG systems.
Vector databaseA datastore optimized for storing embeddings and finding the nearest (most similar) ones to a query, commonly used as the retrieval layer in RAG.
ChunkingSplitting long documents into smaller pieces before embedding and indexing them, so retrieval returns focused, relevant sections.
AgentA system where Claude runs in a loop, deciding its own next steps and calling tools repeatedly until a task is complete, rather than following a fixed script.
Agentic loopThe cycle of Claude receiving context, deciding on an action (often a tool call), observing the result, and deciding again.
Workflow vs. agentA workflow is a predefined sequence of LLM and tool steps; an agent dynamically decides its own path. Building Effective Agents recommends starting with the simplest workflow that works before reaching for a full agent.
Prompt chainingA workflow pattern that breaks a task into sequential steps, each an LLM call, where one step's output feeds the next.
RoutingA workflow pattern where an initial step classifies the input and sends it down a specialized path suited to that category.
ParallelizationA workflow pattern that runs multiple LLM calls simultaneously, either splitting a task into subtasks or getting several independent takes to combine.
Orchestrator-workersA pattern where a central LLM call breaks a task into subtasks and dispatches them to worker calls, then synthesizes their results.
Evaluator-optimizerA pattern where one LLM call generates a response and a second evaluates and critiques it, looping until the response passes.
Model Context Protocol (MCP)An open protocol for connecting Claude, or any LLM, to external tools, data, and resources through a standardized client-server interface.
MCP serverA service that exposes tools, resources, or prompts to an MCP client, following the protocol's spec.
Agent SDKAnthropic's SDK for building agents around Claude, providing scaffolding for the agentic loop, tool orchestration, and MCP integration.

Claude Code & developer tooling

TermDefinition
Claude CodeAnthropic's agentic coding tool that runs in the terminal or IDE, giving Claude the ability to read, edit, and run code directly in a project.
CLAUDE.mdA project-level file Claude Code reads automatically for persistent context about a codebase's conventions, commands, and structure.
SubagentA separately-scoped Claude Code session spawned to handle a subtask, keeping its context and work isolated from the main session.
Slash commandA shorthand, reusable prompt — like /review — that a user or team defines to trigger a common Claude Code workflow.
HookA configured script that runs automatically at a point in Claude Code's workflow, such as before a tool call or after a session stops.
Permission modeClaude Code's setting for how much it can do without asking, ranging from confirming every action to running autonomously within defined bounds.

Safety & evaluation

☺ Like you're 10: Before you trust an answer, check it — safety terms are about stopping bad behavior, eval terms are about proving good behavior.

TermDefinition
Constitutional AIAnthropic's training approach that shapes model behavior using a set of principles — a "constitution" — rather than relying only on human feedback on individual examples.
Red teamingDeliberately probing a model with adversarial inputs to find ways it can be misused or broken, before those weaknesses reach real users.
JailbreakA prompting technique designed to bypass a model's safety training and get it to produce disallowed content.
Prompt injectionAn attack where untrusted content — a document, webpage, or tool output — contains hidden instructions intended to hijack the model's behavior.
HallucinationWhen a model states something false or fabricated with unwarranted confidence, a key risk to check for in evaluation.
GuardrailsChecks and constraints, in prompts, code, or system design, that catch or prevent unsafe or incorrect model behavior before it reaches a user.
Responsible Scaling Policy (RSP)Anthropic's public framework for evaluating catastrophic risk levels in its models and committing to safety measures proportionate to that risk.
Eval (evaluation set)A curated set of test cases with known-good answers or criteria, used to measure how well a prompt or system performs before shipping it.
LLM-as-judgeUsing a separate Claude call to grade or score another response against a rubric, useful for evaluating outputs at scale where human review would be too slow.
Groundedness / faithfulnessA measure of whether a model's answer is actually supported by the provided context, like retrieved documents, rather than invented.
Human-in-the-loopKeeping a human reviewer in the workflow to approve, correct, or override model outputs, especially for high-stakes actions.

Production & deployment

TermDefinition
LatencyThe time between sending a request and receiving a complete (or first-token) response — a key factor in choosing model tier and whether to stream.
Streaming (production use)Sending output token-by-token to the user as it's generated, reducing perceived latency for long responses.
ObservabilityLogging, tracing, and monitoring requests, tool calls, and outputs in production so issues can be diagnosed and performance tracked over time.
Fallback logicAutomatically retrying or switching to a different model or approach when a request fails, times out, or hits a rate limit.
Exponential backoffA retry strategy that waits progressively longer between attempts after a failed request, easing pressure on a rate-limited or failing service.
Prompt versioningTracking changes to prompts over time, like code, so regressions can be identified and rolled back.
Cost optimizationTechniques such as prompt caching, choosing a smaller model tier, or trimming context to reduce the token spend of a production system.
Batch processingSubmitting a large set of requests to be processed asynchronously and cost-effectively, rather than one at a time in real time.
A/B testingComparing two prompt or model configurations against real traffic, or an eval set, to see which performs better before fully rolling it out.
🐿️ Nutty's checkpoint

You've now got the full vocabulary of this course in one filed, cross-referenced place — from model tiers and Messages API fields through tool use, agent patterns, MCP, safety terms, and production concerns. If a term still feels fuzzy, jump back to the lesson it came from using the links in Reference, or test yourself with Flashcards and the Self-check.

Check your answers
  1. What's the difference between a workflow and an agent? A workflow is a predefined sequence of steps you design in advance; an agent decides its own steps dynamically, looping and calling tools until it judges the task done. Building Effective Agents recommends reaching for the simplest workflow that works before building a full agent.
  2. What do a tool_use block and a tool_result block each carry? A tool_use block is Claude's request to call a specific tool with specific input; a tool_result block is what you send back with that tool's actual output, so Claude can continue the conversation with the new information.
  3. What does prompt caching's cache_control actually save you? It lets you mark a reusable, unchanging chunk of a prompt — like a long system prompt or reference document — so that on repeated requests, Claude doesn't have to reprocess that portion from scratch, saving time and cost on the cached tokens.