Rubric
Contents — domains, guide and mocks

Agent architecture and tradeoffs

CCDV-F 1.112 min read · checked 21 September 2026

Task statementAgent Architecture (4.5%) — principles, patterns and tradeoffs of agent and workflow architecture, including when to use a workflow versus an agent, manager/supervisor hierarchies, and the role of subagents

Choosing an architecture

What does the task actually need?
  • One well-scoped answer
    Single callAdd retrieval or examples first
  • Known, fixed steps
    WorkflowPredictable, cheap, testable
  • Steps vary by input
    AgentModel picks the next tool
  • Wide parallel search
    Manager + subagentsHighest cost, most capability
Work down the list and stop at the first row that fits. Anthropic's own guidance is to find the simplest solution and add complexity only when it demonstrably pays for itself.

Workflow or agent: the line Anthropic draws

“Building effective agents” splits agentic systems into two kinds. In a workflow, LLM calls and tools are orchestrated through predefined code paths — your code decides what happens next. In an agent, the model dynamically directs its own process and tool use, keeping control of how the task gets done. Both use a model; the difference is who holds the steering wheel.

That single distinction answers most architecture questions. Workflows give predictability and consistency for well-defined tasks. Agents are the better option when flexibility and model-driven decision-making are needed at scale. The cost side is just as blunt: agentic systems trade latency and cost for better task performance, and agents add the risk of compounding errors — one bad step feeding the next.

Who decides the next step

Workflow — your code decides

  • Steps are written down in advance
  • Same input takes the same path
  • Easy to unit-test and to price
  • A new kind of input needs new code

Agent — the model decides

  • The model chooses the next tool from context
  • Handles inputs nobody anticipated
  • Needs guardrails, budgets and a stopping rule
  • Higher latency and token cost per task
Notice what changes and what does not. Both designs call a model and both can call tools. Only the location of the control flow moves.

The five workflow patterns worth naming

Before you build an agent, check whether one of the composable workflow patterns already covers the case. The exam uses their names, and each has a signature situation:

PatternWhat it doesReach for it when
Prompt chainingEach call processes the previous call's outputThe task splits into fixed subtasks and you can trade latency for accuracy
RoutingClassify the input, then send it to a specialised follow-upInputs fall into distinct categories handled better separately
ParallelizationSectioning splits independent subtasks; voting runs the same task several timesYou need speed, or several attempts for confidence
Orchestrator-workersA central model breaks down the task, delegates, and synthesisesYou cannot predict the subtasks in advance
Evaluator-optimizerOne call generates, another critiques, repeatClear criteria exist and feedback measurably improves the output

Two of these are frequently confused. Parallelization runs subtasks you decided on when you wrote the code. Orchestrator-workers runs subtasks the orchestrator invents after seeing the input — that is the whole difference, and it is also the line between a workflow and a manager-style agent.

Manager and supervisor hierarchies

A manager (or supervisor, or lead, or orchestrator — the words are interchangeable) is an agent whose main tool is the ability to start other agents. Anthropic's research system works exactly this way: a lead agent analyses the query, forms a strategy, and spawns subagents that search different aspects in parallel; each returns findings, and the lead synthesises them. A separate citation agent then attaches sources before the answer goes out.

Lead agent with parallel subagents

Lead agentplans, delegates, synthesises
  • Subagent Asupplier filings
  • Subagent Bnews coverage
  • Subagent Cpricing data
  • Citation passattach sources
Each spoke has its own context window and its own tool budget. Only the spoke's final message travels back along the edge — never its intermediate searches.

The published numbers are worth carrying into the exam. Agents use roughly four times the tokens of a chat interaction, and multi-agent systems about fifteen times. Token usage alone explained about 80% of the variance in performance on the research evaluation, and a multi-agent system with Opus as lead and Sonnet as subagents outperformed a single Opus agent by 90.2% on that internal benchmark. Read those two facts together: the architecture wins because it spends more, in parallel, on tasks where spending more helps.

What subagents are actually for

A subagent is not just a second copy of the model. In the Agent SDK it is a separate agent instance with its own conversation, and it buys four specific things: context isolation (its tool calls and intermediate results stay inside it; only its final message returns to the parent), parallelization (independent subtasks finish in the time of the slowest, not the sum), specialised instructions (a system prompt full of expertise that would be noise in the main agent), and tool restriction (a reviewer given only Read, Grep and Glob cannot modify anything).

Context isolation is the one that changes designs. A subagent that reads forty files adds one summary to the parent's context, not forty files. That is why subagents appear in the documentation as a context-management technique as much as an orchestration one — the point is taken further in 1.3 and in the context-engineering objective in Domain 6.

Escalating complexity, one rung at a time

cheapest and most predictable at the top

  1. Single callprompt, retrieval, examples
  2. Workflowchaining, routing, parallelization
  3. Single agentmodel-driven tool loop
  4. Manager + subagentsparallel, isolated context
Each rung costs more per task than the one above it. Move down only when you can say what the rung above cannot do.

Traps the wrong answers are built from

Tempting but wrongDo this instead
Starting with a multi-agent design because the task sounds hardStart at the cheapest rung and move down only when you can name what the rung above cannot do.
Using an agent where the inputs fall into a few known categoriesRoute to specialised workflows and keep the agent for the uncategorisable remainder.
Splitting work across subagents that need to see each other's findingsKeep dependent work in one context; parallelise only genuinely independent subtasks.
Delegating with a one-line brief such as “look into the supplier issue”State the objective, the output format, the tools to use and the boundary of the subtask.
Treating higher token spend as a defect of multi-agent systemsPrice it deliberately: the extra spend is what buys the parallel breadth, so use it where breadth pays.

You should now be able to

  • State the difference between a workflow and an agent in terms of who controls the next step.
  • Name the five workflow patterns and match each to the situation it suits.
  • Decide when an orchestrator or manager hierarchy is justified, and when shared context rules it out.
  • Explain the four benefits subagents provide, starting with context isolation.
  • Argue the latency, cost and predictability tradeoffs of each architecture to a non-specialist stakeholder.

Practice questions

Original questions written for this lesson, in the exam’s style. Answer first, then open the reasoning — every option is explained, including why the wrong ones are tempting.

  1. Question 1

    A retailer's support tool answers questions about deliveries. Every request is one of six intents, each with a documented resolution path, and volume is 20,000 a day. The team proposes a manager agent that spawns a subagent per request.

    What is the strongest objection to the proposal?

    1. ASubagents cannot call external APIs, so every delivery lookup would fail.
    2. BKnown intents route to fixed paths more cheaply and predictably.
    3. CA manager agent cannot handle 20,000 requests a day at any price.
    4. DSubagents would each need their own API key, which is a security problem.
    Show answer and reasoning
    1. AIncorrect. Subagents can be given tools, including tools that reach external systems; the restriction is whatever you configure.
    2. BCorrect. Predefined categories are the textbook routing case. Model-driven decomposition adds cost and variance while buying nothing.
    3. CIncorrect. Throughput is an infrastructure question, not the architectural flaw here; the design would be wrong at 200 a day too.
    4. DIncorrect. Credentials are managed by the host application, not per subagent, so this is not the objection.
  2. Question 2

    A market-research team runs a lead agent that spawns subagents to investigate different aspects of a question in parallel. Costs are roughly fifteen times a plain chat, and leadership wants that justified.

    Which two statements correctly describe what the extra spend buys? (Select 2.)

    1. AEach subagent explores in its own context window, so the system covers more ground than one sequential agent.
    2. BToken usage correlates strongly with performance on this kind of open-ended browsing work.
    3. CMulti-agent runs are deterministic, so results can be reproduced for audit.
    4. DSubagents return their full transcripts, giving the lead agent complete evidence.
    5. EParallel subagents reduce total token consumption compared with one agent doing the work.
    Show answer and reasoning
    1. ACorrect. Separate contexts are precisely what makes parallel breadth-first exploration possible.
    2. BCorrect. Anthropic reports that token usage alone explained about 80% of the variance in performance on their research evaluation.
    3. CIncorrect. Agents are non-deterministic between runs even with identical prompts; determinism is not on offer.
    4. DIncorrect. Only the final message returns to the parent. Returning full transcripts would defeat the context isolation that makes the pattern work.
    5. EIncorrect. They increase it — around fifteen times a chat interaction. Speed and breadth improve, not token count.
  3. Question 3

    A platform team is refactoring a service that renames variables across a codebase. The change is mechanical, the files are known up front, and the current single agent occasionally edits the wrong file.

    Which redesign best matches the guidance on architecture selection?

    1. AAdd an evaluator-optimizer loop so a second model reviews every edit.
    2. BSpawn one subagent per file so mistakes are isolated to a single context.
    3. CDo the rename deterministically and call the model only where judgement is needed.
    4. DKeep the agent and raise the turn limit so it can re-check its own work.
    Show answer and reasoning
    1. AIncorrect. Review adds cost and latency to a task whose correctness can be checked deterministically by tests or a linter.
    2. BIncorrect. Isolation does not prevent a wrong edit; it just makes it harder to see. The task does not need model-driven decomposition at all.
    3. CCorrect. When the steps are fixed and knowable, predefined code paths give consistency that a model-driven loop cannot, and remove the failure entirely.
    4. DIncorrect. More turns spend more tokens on a problem caused by giving the model discretion it does not need.

Sources

Drafted with AI assistance and checked against the sources above; expert review is in progress. Spotted an error? Tell us and it gets fixed, dated and listed on how this is written.