Leanpub Header

Skip to main content

Architect the Agent: The CCAR-F Certification Guide

An independent, scenario-based study guide for the Claude Certified Architect Foundations (CCAR-F) exam

Architect the Agent: The CCAR-F Certification Guide
This book is 93% completeLast updated on 2026-11-28

Decide where to enforce identity checks before a support agent can issue a refund. Work through architecture decisions across the five CCAR-F domains, then sit two full practice exams.

Minimum price

$13.99

$29.99

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
WEB
APP
About

About

About the Book

Architect the Agent is for solution architects preparing for the Claude Certified Architect Foundations exam. In the customer support scenario, a refund depends on a verification step. You work out where to enforce that rule and what the refund tool should return when verification is missing. In the multi-agent research system, you trace how a researcher starts work without the facts its coordinator already knows.

Checked against the current CCAR-F exam guide (v1.0) in November 2026.

Across 22 chapters and 43 figures, you study the five domains in exam-guide order. Each percentage gives the weight of that domain on the exam.

  • Agentic Architecture and Orchestration (27%)
  • Tool Design and MCP Integration (18%)
  • Claude Code Configuration and Workflows (20%)
  • Prompt Engineering and Structured Output (20%)
  • Context Management and Reliability (15%)

The 79 chapter-quiz questions give you practice choosing between plausible answers. Use the distractor appendix to check why each alternative fails, even when you picked the right one. Chapter 21 has two 60-item practice exams with answer keys and explanations. Each question has a subdomain tag so you can find the material to revisit.

Thomas De Vos wrote this independent study guide. Anthropic has no affiliation with the book and does not publish, sponsor or endorse it.

What should I expect at a sitting?

You have 120 minutes for 60 items drawn from four of the six published scenarios. The passing score is 720 on a scale of 100 to 1,000. Each item tells you how many answers to select.

Can I skip a question and come back to it?

You must answer before you advance. Once you move on, you cannot return to an earlier question.

How should I use the two practice exams?

Sit Exam A closed book with a two-hour timer. Review the explanations for every answer and use the subdomain tags to choose what to study again. Chapter 21 suggests taking Exam B a week later.

Bundles

Bundles that include this book

Author

About the Author

Thomas De Vos

Thomas De Vos has spent over a decade building AI systems for regulated financial institutions and twenty-five years as a software engineer. He leads AI strategy and implementation for global banking, insurance, and fintech clients. He writes and speaks frequently on building autonomous systems.

Launch

Launch Video

Subscribe on YouTube

Clips

Clips

Contents

Table of Contents

Architect the Agent. Earn the Badge.

  1. Copyright and Disclaimer
  2. Preface
  3. How to Use This Book

Part I: Orientation

Chapter 1: The CCAR-F in Context

  1. The gap the badge measures
  2. The blueprint map
  3. What it validates
  4. Who it is for
  5. The exam at a glance
  6. The rules you agree to
  7. Validity, renewal, and the moving target
  8. Are you ready?
  9. ◎ Two-Minute Drill

Chapter 2: How the Exam Really Works

  1. The candidate who memorised everything and failed
  2. The blueprint map
  3. The mechanics that shape strategy
  4. The scenario engine
  5. Judgment, not recall
  6. The three distractor patterns
  7. The meta-rule
  8. A time strategy for a must-answer platform
  9. A quick diagnostic
  10. ◎ Two-Minute Drill

Chapter 3: The Six Production Scenarios

  1. A question you have seen before, wearing a mask
  2. The blueprint map
  3. How to read a scenario
  4. Scenario 1: The Customer Support Resolution Agent
  5. Scenario 2: Code Generation with Claude Code
  6. Scenario 3: The Multi-Agent Research System
  7. Scenario 4: Developer Productivity with Claude
  8. Scenario 5: Claude Code for Continuous Integration
  9. Scenario 6: Structured Data Extraction
  10. The map behind the six
  11. ◎ Two-Minute Drill
  12. ▶ Scenario quiz

Part II: Agentic Architecture and Orchestration

Chapter 4: Claude API Fundamentals for Agents

  1. The agent that forgot the conversation
  2. The blueprint map
  3. The Messages API and statelessness
  4. Tool use and function calling
  5. System prompts
  6. Context windows
  7. The Message Batches API
  8. Hands-on build: a two-turn exchange that remembers
  9. ✗ Why the Other Answer Fails
  10. ◎ Two-Minute Drill
  11. ▶ Scenario quiz

Chapter 5: The Agentic Loop

  1. The fix that looks right and ships the bug
  2. The blueprint map
  3. The loop, from a distance
  4. The one correct signal
  5. Feeding the loop: appending tool results
  6. The anti-patterns the exam plants
  7. ✗ Why the Other Answer Fails
  8. Hands-on build: a loop that fails well
  9. ◎ Two-Minute Drill
  10. ▶ Scenario quiz

Chapter 6: Agents versus Workflows and Task Decomposition

  1. The agent that should have been a script
  2. The blueprint map
  3. Agents versus workflows
  4. Model-driven versus pre-configured
  5. Task decomposition
  6. The four workflow patterns
  7. Agent design principles
  8. Hands-on build: the same task, two architectures
  9. ✗ Why the Other Answer Fails
  10. ◎ Two-Minute Drill
  11. ▶ Scenario quiz

Chapter 7: Multi-Agent Hub-and-Spoke

  1. The subagent that made things up
  2. The blueprint map
  3. The topology
  4. The Task tool and AgentDefinition
  5. The isolation rule, stated plainly
  6. Parallel spawning and fork_session
  7. Error propagation and synthesis
  8. Hands-on build: a parallel review with explicit context
  9. ✗ Why the Other Answer Fails
  10. ◎ Two-Minute Drill
  11. ▶ Scenario quiz

Chapter 8: Hooks, State, and Human-in-the-Loop

  1. The instruction the model skipped
  2. The blueprint map
  3. Programmatic enforcement versus prompt-based guidance
  4. The hook lifecycle
  5. Memory: in-context versus external
  6. Error classification, fallback, and retry
  7. Structured handoffs and escalation that fails safe
  8. Hands-on build: a guarantee and a clean handoff
  9. ✗ Why the Other Answer Fails
  10. ◎ Two-Minute Drill
  11. ▶ Scenario quiz

Part III: Tool Design and MCP Integration

Chapter 9: MCP Servers, Resources, and Built-in Tools

  1. The secret that shipped in the repo
  2. The blueprint map
  3. Server scoping and secrets
  4. Everything connects at once
  5. Resources: showing instead of searching
  6. Build versus buy, and descriptions that get used
  7. The built-in tools
  8. Hands-on build: a safe shared server plus a resource
  9. ✗ Why the Other Answer Fails
  10. ◎ Two-Minute Drill
  11. ▶ Scenario quiz

Chapter 10: Tool Boundaries, Schemas, and Errors

  1. The coordinator that could not decide
  2. The blueprint map
  3. Descriptions decide selection
  4. Splitting generic tools
  5. Distributing tools and tool_choice
  6. Structured error responses
  7. ✗ Why the Other Answer Fails
  8. Hands-on build: a tool with all three edges
  9. ◎ Two-Minute Drill
  10. ▶ Scenario quiz

Part IV: Claude Code Configuration and Workflows

Chapter 11: The CLAUDE.md Hierarchy

  1. The instruction the new teammate never received
  2. The blueprint map
  3. The three levels
  4. Modular instructions with @import
  5. Path-specific rules
  6. Diagnosing what is loaded
  7. Hands-on build: a hierarchy that behaves
  8. ✗ Why the Other Answer Fails
  9. ◎ Two-Minute Drill
  10. ▶ Scenario quiz

Chapter 12: Skills, Commands, and Plan Mode

  1. The command that polluted the conversation
  2. The blueprint map
  3. Custom slash commands
  4. Skills
  5. Plan mode versus direct execution
  6. Iterative refinement
  7. Hands-on build: the right mechanism for each need
  8. ✗ Why the Other Answer Fails
  9. ◎ Two-Minute Drill
  10. ▶ Scenario quiz

Chapter 13: The CLI and CI/CD Pipeline

  1. The job that hung forever
  2. The blueprint map
  3. Running headless
  4. Machine-readable output
  5. Project context in CI
  6. The self-review limitation
  7. Avoiding duplicate noise
  8. Hands-on build: a headless review step
  9. ✗ Why the Other Answer Fails
  10. ◎ Two-Minute Drill
  11. ▶ Scenario quiz

Part V: Prompt Engineering and Structured Output

Chapter 14: Prompt Precision and Few-Shot

  1. The reviewer that flagged half the codebase
  2. The blueprint map
  3. Explicit criteria over vague instructions
  4. Few-shot examples
  5. Distinguishing genuine issues from acceptable patterns
  6. Hands-on build: a reviewer you can trust
  7. ✗ Why the Other Answer Fails
  8. ◎ Two-Minute Drill
  9. ▶ Scenario quiz

Chapter 15: Structured Output and Validation

  1. The pipeline that shipped perfect, invented data
  2. The blueprint map
  3. Schemas guarantee syntax, not semantics
  4. Schema design that prevents fabrication
  5. Validation, retry, and the limits of retry
  6. Batch processing
  7. Review that does not trust one pass
  8. Hands-on build: an extractor that will not invent
  9. ✗ Why the Other Answer Fails
  10. ◎ Two-Minute Drill
  11. ▶ Scenario quiz

Part VI: Context Management and Reliability

Chapter 16: Context Management

  1. The summary that lost the number that mattered
  2. The blueprint map
  3. The case-facts block
  4. Lost in the middle
  5. Trim the tool outputs
  6. Scratchpad and delegation
  7. Resuming, forking, and recovering
  8. Hands-on build: a session that survives itself
  9. ✗ Why the Other Answer Fails
  10. ◎ Two-Minute Drill
  11. ▶ Scenario quiz

Chapter 17: Reliability, Review, and Provenance

  1. The agent that was confidently wrong
  2. The blueprint map
  3. Error propagation
  4. Escalation without unreliable signals
  5. Human review and calibration
  6. Provenance and uncertainty
  7. Hands-on build: a research pipeline that keeps its receipts
  8. ✗ Why the Other Answer Fails
  9. ◎ Two-Minute Drill
  10. ▶ Scenario quiz

Part VII: Passing

Chapters 18 and 19: The Capstone Builds

  1. Why build when the exam has no editor
  2. Build 1: A multi-tool agent with escalation logic
  3. Build 2: Claude Code for a team workflow
  4. Build 3: A structured data extraction pipeline
  5. Build 4: A multi-agent research pipeline
  6. ◎ Two-Minute Drill

Chapter 20: The Exam-Day Playbook

  1. The routine that survives the clock
  2. The blueprint map
  3. Pacing
  4. The per-question routine
  5. Hunting the violated principle
  6. When you are unsure
  7. Before and during
  8. ◎ Two-Minute Drill

Chapter 21: Scenario-Based Practice Exams

  1. How to sit these
  2. Practice Exam A
  3. Practice Exam B
  4. The Official Sample Set
  5. ◎ Two-Minute Drill

Chapter 22: Study Calendars and Beyond the Badge

  1. Two plans, one threshold
  2. The two-week intensive
  3. The four-week steady plan
  4. The ready-to-book threshold
  5. The book as a working reference
  6. Renewals and beyond
  7. ◎ Two-Minute Drill

Appendix: The Exhaustive Distractor Appendix

  1. Chapter 3: The Six Production Scenarios
  2. Chapter 4: Claude API Fundamentals for Agents
  3. Chapter 5: The Agentic Loop
  4. Chapter 6: Agents versus Workflows
  5. Chapter 7: Multi-Agent Hub-and-Spoke
  6. Chapter 8: Hooks, State, and Human-in-the-Loop
  7. Chapter 9: MCP Servers, Resources, and Built-in Tools
  8. Chapter 10: Tool Boundaries, Schemas, and Errors
  9. Chapter 11: The CLAUDE.md Hierarchy
  10. Chapter 12: Skills, Commands, and Plan Mode
  11. Chapter 13: The CLI and CI/CD Pipeline
  12. Chapter 14: Prompt Precision and Few-Shot
  13. Chapter 15: Structured Output and Validation
  14. Chapter 16: Context Management
  15. Chapter 17: Reliability, Review, and Provenance

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub