Reference

The book's glossary, searchable; Appendices B and C, which now live online with a PDF of each; and the agent briefs that produced the book, reproduced verbatim. All free.

Glossary

85 terms

Vendors stretch agent vocabulary to fit their products. These are the definitions this book uses; spec terms follow their source as of late 2026.

A to C

A2A (Agent2Agent)
Open protocol for agent-to-agent communication across vendors. v1.0 shipped March 2026; joined AAIF August 2026. MCP connects agents to tools, A2A to agents (Chapter 7).
AAIF (Agentic AI Foundation)
A Linux Foundation directed fund hosting MCP, A2A, Agent Skills, AGENTS.md and goose.
Agent
A model that directs its own process and tool use in a loop. Here: model, tools, loop and context in a harness (Chapter 1).
Agent Card
An A2A document describing an agent's identity, skills and endpoint. v1.0 cards can carry JWS signatures, proving integrity, not trustworthiness.
Agent registry
Inventory of every production agent with owner, purpose, tools, data classes, model and on-call path (Chapter 12).
Agent washing
Marketing chatbots or plain automation as "agentic" without real agent capabilities (Chapter 0).
Agents Rule of Two
Meta's guideline: per session, at most two of untrusted input, sensitive access, and external action.
AGENTS.md
A repository Markdown file telling coding agents how to build and test, contributed to AAIF by OpenAI; Claude Code reads CLAUDE.md (Chapter 15).
AI SRE
An agent that investigates alerts and proposes root causes and guarded fixes, as in Datadog's Bits AI SRE (Chapter 16).
Annex III
The EU AI Act's list of high-risk use cases, such as hiring, credit and education. Obligations apply from 2027-12-02.
Autonomy ladder
This book's scale from a single model call (L0) to long-running autonomous agents (L5); cost and risk rise each step (Chapter 1).
Canary release
Sending a small share of real traffic to a new version, with monitoring and rollback, before full rollout (Chapter 8).
CIMD (Client ID Metadata Documents)
The recommended MCP client registration: the client ID is a URL to a metadata document. Dynamic Client Registration is deprecated in 2026-07-28.
Citizen automation
No-code automations built outside engineering that touch company systems, governed by risk tiers and an inventory (Chapter 13).
Code mode (code execution with MCP)
MCP servers exposed as code APIs called from a sandbox, filtering data before the model sees it.
Compaction
Summarizing or clearing older context near the limit so a long session can continue (Chapter 5).
Confused deputy
An attack tricking a privileged component, such as an OAuth proxy, into using its privileges for an attacker.
Context engineering
Curating the smallest set of high-signal tokens the model needs next: instructions, tools, retrieved data, history (Chapter 5).
Context rot
The drop in recall and instruction-following as the context window fills.
Cost per successful task
Cost of all attempts plus failure handling, divided by successful tasks. This book's core unit-economics metric (Chapters 10, 14).

D to H

Dark factory
Level 5 of Dan Shapiro's five levels: humans neither write nor review code (Chapter 15).
Deterministic guardrail
A policy enforced in code (allowlist, schema check, hook) rather than requested in a prompt.
Digital Omnibus on AI
The 2026 EU regulation that postponed AI Act high-risk deadlines, in force since 2026-07-27.
Durable execution
Running agent steps as checkpointed workflow steps that resume after a crash, as in Temporal, Inngest, Restate or DBOS (Chapter 7).
Elicitation
An MCP feature letting a server ask the user for input via a form or URL, delivered through MRTR since 2026-07-28.
Escalation rate
Share of runs handed to a human because the agent could not finish or hit a policy.
Evals
Task datasets with expected outcomes and scoring, run offline in CI and online on production samples (Chapter 9).
Evaluator-optimizer
A pattern where one call generates and another critiques in a loop, with a stop condition and iteration cap.
Excessive agency
More tools, permissions or autonomy than the task needs. LLM03 in the OWASP LLM Top 10 2026 (LLM06 in 2025).
False heal
A self-healing test repair that passes but no longer checks intent (SD Times) (Chapter 9).
Function calling
A model API feature returning a structured request to call a named function with arguments; the mechanism under tools.
Gateway (MCP gateway)
One endpoint in front of MCP servers enforcing per-caller allowlists, handling upstream credentials and writing audit logs. Servers still validate tokens.
GEPA
A prompt optimizer evolving prompts by model reflection on traces (paper, DSPy); outputs pass human-edit gates (Chapter 16).
Guarded rollout
A progressive rollout that monitors metrics and rolls back automatically on regression; LaunchDarkly's term (Chapter 16).
Guardrails
Checks on what enters or leaves a model or tool call: input filters, output validation, action approvals.
Handoff
(1) In this book's harness, the status a run returns when a limit, kill switch or failure stops it, with a reason, so a human queue or workflow takes over (Chapter 8). (2) An agent passing a task to another agent, as in the OpenAI Agents SDK (Chapter 7).
Harness
The code around the model loop enforcing budget, guardrails, state and telemetry: what makes an agent production-grade.
Hook
A handler on an agent lifecycle event, such as before a tool call, that can allow, deny or modify it.
Human-in-the-loop (HITL)
A design where a human approves, edits or takes over specific steps of a run (Chapter 8).

I to O

Idempotency key
A unique key sent with a write so retries do not repeat the side effect.
Indirect prompt injection
Malicious instructions reaching the model through content it reads (web pages, emails, issues, documents) rather than from the user.
Iteration cap
The maximum loop steps an agent may take in one run.
Lethal trifecta
Simon Willison's term for combining private data, untrusted content and external communication in one agent, which enables exfiltration.
LLM-as-judge
A model scoring another model's output against a rubric; needs calibration against human labels and a pinned judge version.
Loop contract
This book's one-page agreement on which changes the improvement loop may make alone, who approves the rest, and how to undo (Chapter 16).
Managed mode (vs agentic mode)
Zapier MCP's terms: agentic mode discovers tools; managed mode fixes actions and can lock fields. Use managed for writes (Chapter 13).
MCP (Model Context Protocol)
Open protocol connecting agents to tools, resources and prompts on servers. Revision 2026-07-28 makes the core stateless: no initialize handshake or session ID (Chapter 4).
MCP Apps
The first official MCP extension: a tool returns an interactive UI the host renders in a sandboxed frame.
MCP host, client, server
The host is the user's application; it creates a client per connection; the server exposes tools, resources and prompts.
MCP Registry
The official metadata registry for public MCP servers, in preview as of late 2026; no private servers.
Memory (long-term)
Information stored outside the context window and retrieved in later sessions, such as preferences or past decisions.
Merchant of record
A storefront selling in its own name and handling payment and EU VAT for a fee, like Gumroad, Paddle, Polar (Chapter 13).
METR time horizon
METR's measure of the task length, in skilled-human time, a model completes with 50% success (Chapter 18).
MRTR (Multi Round-Trip Requests)
The 2026-07-28 MCP mechanism: the server returns input_required and the client retries with answers, replacing server-initiated elicitation, sampling and roots.
Multi-agent system
Several agents with separate prompts, tools or contexts cooperating, such as a supervisor with workers.
Offline eval
An eval against a fixed dataset, typically in CI before a change ships.
Online eval
Scoring a sample of production traces, feeding failures back into the offline set.
OpenTelemetry GenAI conventions
Standard span and attribute names for model, agent and tool calls (invoke_agent, execute_tool). Still in development: pin a version.
Orchestrator-workers
A pattern where a central model splits a task and delegates parts to workers or subagents.

P to R

pass^k
The chance all k trials of a task succeed, from tau-bench; it measures consistency (Chapter 9).
Plan-and-execute
A pattern where the agent writes a plan, then executes its steps, often as a todo list.
Progressive disclosure
Loading short metadata first and full content when needed, as Agent Skills and code mode do to save context.
Prompt caching
Reusing a processed prompt prefix across calls at reduced price; works best with stable tools and system prompt first.
Prompt chaining
A workflow pattern of sequential model calls with code checks between steps.
Prompt injection
Input crafted to make the model ignore its instructions; LLM01 in the OWASP LLM Top 10 in 2025 and 2026.
RAG (retrieval-augmented generation)
Retrieving relevant documents into the context before answering; in agents, often a tool the model calls (Chapter 5).
ReAct
The loop of interleaved reasoning and actions most agent SDKs use by default.
Record and replay (cassette)
Recording a test's model and tool HTTP exchanges into a "cassette" replayed in CI (LangChain). Never store secrets in one (Chapter 9).
Reward hacking
Satisfying the score instead of the goal, such as editing tests, documented by METR (Chapters 15, 16).
Routing
A workflow pattern that classifies input and sends it to a specialized prompt, model or path.
Rug pull
An MCP attack where a server changes a tool description after approval.

S to Z

Sandbox
An isolated environment with restricted filesystem and network for running code or local servers. Some SDK local executors are not sandboxes.
Shadow mode
Running an agent on real inputs while humans still do the work, to compare outcomes safely.
Skill (Agent Skill)
A folder with a SKILL.md and optional scripts, loaded on demand; an open standard under AAIF (Chapter 3).
Software factory
A pipeline where agents do most station work (spec to monitor) and humans own intent, gates and exceptions (Chapters 15 to 17).
Spec-driven development (SDD)
A reviewed spec, plan and task list before agents code; Böckeler separates spec-first, spec-anchored and spec-as-source (Chapter 15).
Subagent
A child agent with a clean context, launched for a subtask, returning a condensed result.
Success rate
Share of runs ending in the defined success event; the input that moves ROI most (Chapter 14).
Tasks (MCP extension)
Official extension (io.modelcontextprotocol/tasks) for long-running requests: the server returns a handle, the client polls tasks/get. Moved out of core in 2026-07-28.
Tool
A function the model can call, with name, description and input schema: the agent's API to the world (Chapter 3).
Tool poisoning
Hidden instructions in a tool description that manipulate the agent.
Tool shadowing
An attack where one server's description manipulates how the agent uses another server's tools.
Trajectory eval
An eval scoring the steps and tool calls an agent took, not just the final answer.
User simulator
A model playing the user from a persona and goal in end-to-end tests, as in tau-bench (Chapter 9).
Workflow
Models and tools following predefined code paths. Default to one when you can draw the flowchart (Chapter 2).

Questions readers ask about the vocabulary

Where is the line between a chatbot, a copilot, an automation and an agent?

Ask who decides the next step. A chatbot only answers; a copilot drafts and a human accepts; an automation (Workflow) runs fixed steps; an agent picks its next step in a loop. Say "a workflow with one agent step", not "our AI agent" (Chapter 1).