Skip to main content
intermediate

TestPilot AI: Exam Prep for the Claude Certified Architect – Foundations

Design, build and harden a real Claude-powered QA assistant, then map every part of it to the Claude Certified Architect – Foundations exam domains.

Learning path · step 7 of 7 The last step of the path.

Independent training from Learn Automated Testing. Not affiliated with or endorsed by Anthropic.

New course. All eight modules are online, with quizzes, two short mock exams and a full 60-question mock exam. Every module with code has a worked solution in the example repository (see Worked solutions below), and the lessons show real runs, including the bugs those runs found and how they were fixed.

💡 Why this course

Because a demo that works once is not an architecture.

Calling a model is easy. Deciding what belongs in the prompt, what belongs in a tool, what must be enforced in code and when a human has to step in, that is the actual job. It is also exactly what the Claude Certified Architect – Foundations exam tests: every question puts you inside a production scenario and asks which design you would choose, and why.

Testers already think this way. You know that “it passed once” proves nothing, that flaky is worse than red, and that someone has to decide what “done” means. This course turns that instinct into architecture skills by building one realistic system end to end: an AI assistant that helps a QA team make sense of its test results.

🧭 How you learn it

  • One real application, start to finish. Every lesson extends TestPilot AI, a QA assistant that triages failed test runs, with worked solutions on branches so you can compare your result with ours.
  • Prove it, do not trust it. Prompts get evaluation datasets, outputs get schema validation, and agent loops get gates and tests, so you can show that the assistant behaves, not just hope it does.
  • Decisions, not recipes. Each module ends with a short quiz and scenario questions written by us in the style of the exam: a situation, several plausible designs, and an explanation of why one is the best fit.
  • Real output, not slides. The screenshots show the real app, real API responses, real tool calls and real CI runs.

📦 What you get

This self-paced course takes you from your first Claude API call to a multi-agent QA assistant with production reliability patterns, and ends with an exam-readiness review that maps TestPilot AI to every exam domain. You can follow every exercise in your own repository as well.

🎯 What You’ll Learn

  • Turn a failed test run into a trustworthy verdict with the Claude API: system prompts, conversation history and output that is checked against a schema
  • Write prompts you can measure: separate instructions from evidence with XML, add examples, and grade every change against a dataset of real failures
  • Give the model hands: design tools for logs, git history and the issue tracker, serve them over MCP and run them in an agentic loop
  • Split triage across a coordinator and specialist subagents, and decide exactly what context each one gets and hands back
  • Make Claude Code a reliable team member with project context, rules, skills, plan mode and automated review in CI
  • Know which rules belong in code instead of in the prompt: validation with retries, human approval before a bug is filed, and evidence for every conclusion
  • Walk into the exam knowing how each part of TestPilot AI maps to its domains, and practise the trade-off questions it asks

👥 Target Audience

Test automation engineers, QA leads, developers and solution architects who build (or are about to build) applications on Claude, and anyone preparing for the Claude Certified Architect – Foundations certification.

⏱️ Estimated Time

About 20 hours (8 modules, self-paced)

🧪 Example Project

Every lesson uses the open example repository TestPilot AI: a QA assistant that reads failed test runs and their logs, classifies each failure (product bug, test bug, flaky, environment), drafts a bug report with evidence, hands deeper investigations to specialised subagents and escalates to a human when the stakes are high.

git clone git@github.com:learn-automated-testing/testpilot-ai.git
cd testpilot-ai
npm install
cp .env.example .env   # add your ANTHROPIC_API_KEY
npm run check

The main branch is the starting point. The exercises per lesson are listed in docs/exercises.md.

Worked solutions

Try each exercise yourself first, then compare with our solution branch:

BranchLessonsWhat it adds
solution/lesson-09-structured-output9A severity field in the verdict, test first
solution/lesson-10-flaky-guard10A rule enforced in code: no flaky without failure history, one retry, then fail safe
solution/lesson-11-ask11npm run ask: follow-up questions in one conversation
solution/lesson-18-eval17–22The golden set and npm run eval with scorecard, confusion table and diff
solution/lesson-31-mcp-server24–31The toolbox, the agent loop, scripted-model tests and the testpilot-mcp server
solution/lesson-40-triage-team34–40A triage team on run-1099: grouping, briefs, hand-off schemas, conflicts, the bug-writer gate, specialists on the Agent SDK
solution/lesson-52-claude-code42–52Claude Code for TestPilot: rules, a skill, permissions, a hook that protects the golden set, a reviewer agent, a headless CI review, and a guided demo session
solution/lesson-60-reliability54–60Gates, escalation rules, a case file, evidence checks, injection cases in the golden set, and tracing with npm run trace
git checkout solution/lesson-18-eval
git diff main...solution/lesson-18-eval   # three dots: only the changes made for the lesson

More solution branches follow as the course grows.

📋 Prerequisites

  • Comfortable with git and the command line
  • You write code in at least one language (TypeScript, Python or similar) and have run an automated test suite before
  • An Anthropic API key (Claude Console) for the example project
  • Claude Code installed, with at least a Claude Pro subscription or API access (module 6)

📚 Course Modules

Lessons marked free are open to everyone.

  1. Before you build - The Monday-morning problem, where AI belongs in a QA team (and where it does not), setting up TestPilot AI, a model explained with a failing test, picking the right Claude for the job, and thinking like the exam.
  2. Building with the Claude API - Reading the request before you send it, structured output test first, a rule enforced in code, follow-up questions, screenshots as evidence, API errors and retries, and the cost of tokens including caching.
  3. Prompt engineering and evaluation - How a triage prompt is built, a golden set of labelled failures, a scorecard per category, tuning for the cost of a wrong verdict, teaching by example (and when examples backfire), a model as grader, and prompt regression checks in CI.
  4. Tools, MCP and the agent loop - Designing TestPilot’s toolbox, tool descriptions the model can act on, read-only versus write tools, the loop from tool call to verdict, errors the model can recover from, testing a loop with a scripted model, and serving the tools over MCP to TestPilot and Claude Code.
  5. From one agent to a team - Deciding whether you need a team at all, the Agent SDK, a coordinator with three specialists for a whole red pipeline, briefs and toolboxes per agent, hand-offs as contracts, and what to do when agents disagree or fail.
  6. Claude Code for architects - Where settings live (organisation, user, project, local), a CLAUDE.md that earns its place, rules for the tests folder, QA skills, permissions and hooks, exploring before changing, plan mode, sessions, tests as the spec, and headless review in CI.
  7. Production reliability - Gates before actions, when to escalate (and when not), a case file for long sessions, big logs and lost details, a source for every claim, untrusted content in logs and test names, and tracing a run.
  8. Exam readiness: TestPilot AI meets the exam - A decision routine for scenario questions, TestPilot mapped to the exam domains, the distinctions that decide answers, two short mock exams and a full 60-question mock exam written by us, and exam day with a study plan.

🎓 About the certification

The Claude Certified Architect – Foundations certification is Anthropic’s technical credential for people who design and build production systems with Claude. The exam is scenario-based: it rewards sound architectural judgment rather than recall. Registration currently runs through the Claude Partner Network; check Anthropic’s official exam guide for the latest eligibility, format and domain details.

This course does not use or reproduce real exam questions, and completing it does not grant any Anthropic certification.

This course is independent training from Learn Automated Testing and is not affiliated with or endorsed by Anthropic.

Course Modules

Course Info

Level
intermediate
Modules
8
Lessons
69

Skills

Claude API Prompt engineering Tool use and MCP Multi-agent architecture Production reliability Exam preparation

Tools

Claude API Claude Code MCP Playwright GitHub Actions