When should teams choose workflows over agents?
Anthropic's engineering guidance explores whether simpler LLM calls and fixed workflows can solve most tasks better than agents, and when added complexity becomes justified for open-ended problems.
Anthropic's engineering post, co-authored by Erik S. and Barry Zhang and published 2024-12-19, draws a hard line between "workflows" and "agents": workflows are "systems where LLMs and tools are orchestrated through predefined code paths," while agents are "systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks." The post's central recommendation is to "find the simplest solution possible, and only increas[e] complexity when needed," which for many applications means "optimizing single LLM calls with retrieval and in-context examples is usually enough" before reaching for either workflows or full agents.
The reasoning given is a tradeoff, stated plainly: "Agentic systems often trade latency and cost for better task performance." Workflows earn their keep on well-defined tasks because they "offer predictability and consistency," while agents are justified only "when flexibility and model-driven decision-making are needed at scale." The post operationalizes this with named workflow patterns — prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer — each paired with a "when to use" condition keyed to how decomposable, classifiable, or iterable the task is; agents proper are reserved for "open-ended problems where it's difficult or impossible to predict the required number of steps, and where you can't hardcode a fixed path."
This sits alongside When should you actually deploy an AI agent instead of simpler automation? — both refuse to treat "agent" as the default unit of automation, but where McKinsey ties the choice to task variance and standardization at the business-process level, Anthropic ties it to decomposability and predictability at the system-architecture level, and adds a named taxonomy of intermediate workflow patterns McKinsey doesn't specify. It also gives an architectural vocabulary for why Can algorithms control LLM reasoning better than LLMs alone? works: that pattern is one instance of what Anthropic calls prompt chaining or orchestrator-workers, with "a classic program" supplying the predefined code path Anthropic's workflows are defined by.
The post is a practitioner's design argument, not a measured study — it reports what "we've worked with dozens of teams" and found, without naming the teams, the tasks, or any comparative numbers for workflows versus agents. It does not establish that simpler-first is optimal in any measured sense, only that Anthropic's engineers recommend it as a starting discipline. The implication, at the strength the post supports, is that a team reaching for an "agent" by default — rather than first checking whether the task is decomposable into a workflow — is adding latency, cost, and compounding-error risk the post argues is often avoidable.
Inquiring lines that read this note 2
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
How should context management strategies balance efficiency with agent reliability? How should organizational structure guide multi-agent system design?Related concepts in this collection 3
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
When should you actually deploy an AI agent instead of simpler automation?
This explores how to match automation type to workflow characteristics. Understanding when agents add value versus when simpler tools suffice helps teams avoid over-engineering solutions and wasting resources on unnecessary complexity.
both argue against defaulting to agents, at different levels (business process vs. system architecture)
-
Can algorithms control LLM reasoning better than LLMs alone?
Explores whether embedding LLMs within algorithmic control flow—where programs manage state and context filtering—enables complex task decomposition beyond what LLMs achieve through self-managed reasoning chains.
one concrete instance of what this source names prompt chaining or orchestrator-workers
-
Can environmental feedback and iteration limits prevent agent errors?
Anthropic proposes grounding agent decisions in real environment feedback and setting explicit stopping conditions to mitigate compounding errors and task failures. The question is whether these mechanisms actually reduce risk in practice.
sibling note from the same source, on controlling an agent once the agent choice is made
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Building Effective AI Agents
- Long-Horizon-Terminal-Bench: Testing the Limits of Agents on Long-Horizon Terminal Tasks with Dense Reward-Based Grading
- Measuring Agents in Production
- A practical guide to building agents
- Why Do Multi-agent LLM Systems Fail?
- LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Tasks
- Beyond Context Limits: Subconscious Threads for Long-Horizon Reasoning
- Plan-Then-Execute: An Empirical Study of User Trust and Team Performance When Using LLM Agents As A Daily Assistant
Original note title
Anthropic recommends starting with the simplest LLM call and reserving agents for open-ended tasks that resist a fixed path