CCARP-D1.3 · Solution Design & Architecture17% of CCA-P6 min read

Workflow vs Agent: Choosing the Right Architecture.

Pick the cheapest tier that actually satisfies the task: an augmented LLM call for a single unaided prompt, a workflow when the steps are known in advance, an agent only when the model must dynamically decide its own path. The exam trap is treating "agent" as strictly more advanced - it's a tradeoff, not an upgrade.

Loading your plan…
Mental modelTreating "agent" as strictly superior to "workflow" because it sounds more advanced.
Workflow vs Agent: Choosing the Right Architecture, hero illustration featuring Loop mascot in a warm gallery scene.
Share
On this page
01 · Summary

TLDR

Pick the cheapest tier that actually satisfies the task: an augmented LLM call for a single unaided prompt, a workflow when the steps are known in advance, an agent only when the model must dynamically decide its own path. The exam trap is treating "agent" as strictly more advanced - it's a tradeoff, not an upgrade.

3
Architecture tiers
5
Named workflow patterns
CCA-P D1
Exam domain
CCD-F D1
Also tested in
Dec 2024
Canonical source
02 · Definition

What it is

Anthropic's own canonical taxonomy ("Building Effective Agents", Dec 2024 - still the reference doc for this objective) names three tiers of increasing autonomy. An augmented LLM is a single call enhanced with retrieval, tools, or memory but no orchestration layer. A workflow is LLMs and tools orchestrated through predefined code paths - the sequence is fixed by the architect, not the model. An agent is a system where models dynamically direct their own process and tool use, maintaining control over how they accomplish a task - the number and order of steps can't be predetermined.

The architect's job is picking the cheapest, most predictable tier that satisfies the requirement, not defaulting to the most autonomous option available. Anthropic states this directly: "Success in the LLM space isn't about building the most sophisticated system. It's about building the right system for your needs. Start with the simplest solution possible, and only increase complexity when needed." The enterprise framing sharpens this further - the choice is justified by task unpredictability and value at stake, not technical preference.

03 · Mechanics

How it works

Within the workflow tier, Anthropic names five specific patterns. Prompt chaining runs sequential steps, optionally with a programmatic checkpoint between them. Routing classifies the input first, then dispatches to a specialized downstream path. Parallelization runs simultaneous LLM calls, either sectioning a task into independent pieces or voting across redundant attempts. Orchestrator-workers has a central LLM decompose a task and delegate pieces to workers, then synthesizes their results. Evaluator-optimizer pairs a generator with a critic in an iterative refine loop.

Agents differ structurally, not just in degree: "as agents gain complexity, they begin to make more autonomous decisions... their control flow is directed by the LLM itself" rather than by predefined code. That single fact drives the tradeoff - a workflow's fixed path is cheaper, faster, and easier to evaluate for a genuinely predictable task; an agent earns its cost only when the task is open-ended enough that no fixed path could cover it.

A manager/supervisor architecture - one coordinator LLM that decomposes work and dispatches it to subagents - looks like orchestrator-workers on the surface, but which pattern it actually is depends on who decides the decomposition, not on whether subagents are involved. If the split is fixed code ("always send billing questions to worker A, technical to worker B"), it's a workflow using the routing pattern - the branches are predetermined, so this is not orchestrator-workers even though it dispatches to "workers." Orchestrator-workers specifically requires the manager LLM to decide, at run time, how to split and re-split the work as it learns more; only that dynamic-decomposition case earns the orchestrator-workers name (and, if the re-planning is genuinely open-ended, may cross into agentic territory). Either way, subagents improve task execution by giving each worker a clean, narrow context window focused on one piece of the problem - the tradeoff is that a standard subagent does not see the coordinator's conversation history, so the manager must pass every fact a worker needs explicitly in its task string.

Because the three tiers share primitives (an LLM call, optional tool use, optional multi-step orchestration), a single production system routinely mixes them: an agent's one tool call can itself trigger a fixed workflow, and a workflow step can be an augmented LLM call with no further orchestration. The decision is per-component, not a single label for the whole system.

Workflow vs Agent: Choosing the Right Architecture mechanics, painterly diagram featuring Loop mascot.
Exam trap

Treating "agent" as strictly superior to "workflow" because it sounds more advanced. The objective tests the opposite instinct: recognizing that a fixed-path workflow is the correct choice - not a compromise - whenever the task's steps are genuinely predictable, because it is cheaper, faster, and easier to evaluate than an agent solving the same fixed problem.

04 · In production

Where you'll see it

Support ticket routing

Classify into billing/technical/sales, then run a fixed downstream prompt per category - a workflow (routing pattern), not an agent, because the paths are known in advance.

Autonomous coding agent

Explores an unfamiliar codebase, decides which files matter, and iterates on a fix - an agent, because the step count and order can't be fixed ahead of time; may delegate file-level investigation to narrowly-scoped subagents.

05 · Compare

Side-by-side

↔ scroll to compare
TierControl flowPredictabilityBest for
Augmented LLMNone - single call, optional tools/retrievalHighestOne-off task, no orchestration needed
WorkflowPredefined code path (one of 5 named patterns)High - fixed stepsTask steps are known in advance
AgentLLM directs its own process and tool useLower - open-endedSteps can't be predetermined; task needs exploration or iteration
06 · When to use

Decision tree

01

Does the task need zero orchestration - one prompt, maybe with retrieved context, no chained tool calls?

YesAugmented LLM - no orchestration layer needed at all.
NoCheck the axes below; they combine.
02

Is the sequence of steps, and their order, knowable and fixed in advance?

YesWorkflow - implement as one of the 5 named patterns; the predefined path is cheaper and more debuggable.
NoLean toward an agent, but confirm with the next question.
03

Can the number and order of tool calls NOT be predetermined (the task is exploratory or open-ended)?

YesAgent - let the LLM direct its own process and tool use.
NoA workflow's fixed path likely suffices even if it feels more complex.
04

Does the task need to be decomposed across a manager and multiple subagents?

YesScope each subagent narrowly and pass it every fact it needs explicitly - a standard subagent does not see the manager's conversation history. Naming the pattern still depends on who decides the decomposition: fixed, hand-written dispatch is the routing pattern (a workflow); the manager LLM deciding the split at run time is orchestrator-workers.
NoA single LLM path is enough - no manager/subagent split needed.
07 · Per certification

How each cert tests this

CCA-P

Practitioner (D1 · Solution Design & Architecture): tests the business-facing decision of which tier to propose to a client - justifying workflow-vs-agent by task predictability and value at stake, not technical preference.

CCD-F

Developer (D1 · Agents & Workflows): tests the implementation-facing decision criteria plus manager/supervisor hierarchy structure and how subagents improve task execution, including their context-isolation tradeoff.

08 · On the exam

Question patterns

Workflow vs Agent: Choosing the Right Architecture exam trap, painterly cautionary scene featuring Loop mascot.

6 V2 questions wired to this concept. Tap an answer to check it instantly - you'll see whether it's right and why - then expand the full breakdown for the mental model and all four rationales.

Question 1 of 6 · D1Choose the best answer

An employee-help application retrieves relevant passages from an approved handbook and makes one Claude call to answer with citations. Claude does not choose tools or plan additional steps. Which pattern best describes this design?

09 · FAQ

Frequently asked

Showing 2 of 2 questions

Help someone pass

Share this concept.

One share is one less person stuck on the same question.

Last reviewed: ·Refresh cadence: monthly