Beyond the Fundamentals

Claude Code Agents: Advanced Orchestration

Chapter 1 · Beyond the Fundamentals

Claude Code Agents: Fundamentals covered the mental model behind a single agent — what it is, how it's defined, how to brief it well — and applied that model to seven distinct agent types, one at a time. This course assumes all of that is comfortable working knowledge, and goes further into what happens once agents stop being used one at a time: building them programmatically, chaining them together, and running them at real production scale.

A Quick Recap of What Fundamentals Covered

  • The core mental model — subagents vs. the default assistant, tool-permission isolation, agent-definition anatomy (Chapters 1–2)
  • Communicating with an agent — writing a self-contained brief, foreground vs. background invocation, reading a final report critically (Chapter 3)
  • Seven individual agent types — teaching, coding, code-review, testing, refactoring, documentation, and research (Chapters 4–10)
  • A capstone applying all seven to one real project, one at a time, by hand (Chapter 11)

If any of that feels shaky rather than second nature, it's worth revisiting those chapters directly — this course builds on each of them without re-teaching them.

What This Course Adds

  • Building agents programmatically with the Claude Agent SDK — moving beyond hand-written agent definitions (Chapter 2)
  • Parallel vs. sequential orchestration — running several agents at once versus one after another, and when each is right (Chapter 3)
  • Background & autonomous agents — long-running and self-scheduling work (Chapter 4)
  • Specialized agent types — security/compliance review agents, and planning/architecture agents (Chapters 5–6)
  • Agent-to-agent handoffs & shared state — passing results and context directly between agents (Chapter 7)
  • Debugging and evaluating agent behavior — what to do when an agent gets something wrong (Chapter 8)
  • Cost, context & efficiency tradeoffs — when orchestration is actually worth its own overhead (Chapter 9)
  • Capstone — a production-style multi-agent pipeline built for the `website-content` project itself, formalizing Chapter 11's own capstone into a real, chained pipeline (Chapter 10)
Claude Code Agents: FundamentalsClaude Code Agents: Advanced Orchestration
One agent, hand-written, used at a timeMultiple agents, chained and coordinated together
Agents defined by hand, one definition file eachAgents built and configured programmatically via the SDK
You launch each step yourselfA pipeline hands work from one agent to the next automatically
"Does this one agent work correctly?""Does this whole chain of agents behave correctly together?"
Orchestration is a different skill, not just "more agents"
Designing one good agent well (Fundamentals' own entire focus) is necessary but not sufficient for orchestrating several together. New failure modes only appear once agents interact — Chapter 1's own "an agent starts cold" problem, for instance, doesn't just apply once; in a chain of agents, each handoff is a fresh place for context to get lost unless it's deliberately carried forward. This course is about exactly those chain-level concerns, not a repeat of single-agent design.
What this course deliberately does not cover
Three things are out of scope on purpose. First, this course does not re-teach the Claude API from first principles — Chapter 2's SDK material assumes either Advanced AI Workflows & the Claude API or equivalent existing familiarity with API basics like authentication and requests. Second, it does not cover fine-tuning a model's own weights to change its behavior — every technique here works with models as they already are, through prompting, tools, and orchestration, not retraining. Third, it does not attempt to build a general-purpose agent framework from scratch outside Claude Code's own agent system — everything here works within the tools and patterns Claude Code itself already provides.

Who This Course Is For

Anyone comfortable with Claude Code Agents: Fundamentals' own eleven chapters — the mental model, the seven agent types, and briefing an agent well. No new software is required beyond what Fundamentals already assumed; this course goes deeper into coordination and scale, not into new prerequisite tools.

Hands-On Exercises

Exercise 1

A colleague who finished Claude Code Agents: Fundamentals asks why orchestration needed a whole second course rather than one more chapter added to the first. Using this chapter's own tip box, explain the reasoning.

📄 View solution
Exercise 2

Explain why Chapter 1's "an agent starts cold" problem is described in this chapter as getting worse, not just repeated, once several agents are chained together.

📄 View solution
Exercise 3

A learner asks whether this course will teach them to fine-tune a model so it behaves better as part of an agent pipeline. Using this chapter's own warning box, explain why that falls outside this course's scope, and what it teaches instead for improving agent behavior.

📄 View solution

Chapter 1 Quick Reference

  • This course assumes Fundamentals' eleven chapters (the mental model, seven agent types, the capstone) as comfortable working knowledge
  • Nine chapters follow: the Agent SDK, parallel/sequential orchestration, background/autonomous agents, two specialized agent types, handoffs/shared state, debugging agent behavior, cost/efficiency tradeoffs, and a production-pipeline capstone
  • Orchestration is a genuinely different skill from single-agent design — new failure modes emerge only once agents interact
  • Out of scope, on purpose: re-teaching the Claude API from scratch, fine-tuning models, and building a general agent framework outside Claude Code