Lesson 50.1 · 1 of 4 · 4 min read · Reviewed 24 Nov 2026
Start simple
By the end, you can
- Apply 'start simple' to agent design.
- Know the ladder from single call to multi-agent.
The ladder
1. Single call prompt + context -> answer
2. Workflow fixed steps in code (chains, routing, parallel calls)
3. Single agent a model choosing tools in a loop
4. Multi-agent several agents coordinated
Anthropic’s guidance on building agentsAgent: A system where a model decides its own next steps, calling tools in a loop until the task is done. makes the same point: find the simplest solution, and add complexity only when it clearly improves results.
What each step costs
| Step up | You gain | You pay |
|---|---|---|
| Call -> workflow | Structure, checks between steps | More calls, more code |
| Workflow -> agent | Flexibility for open-ended tasks | Less predictability, more tokens, harder testing |
| Agent -> multi-agent | Parallelism, context isolation | Coordination, much more cost, harder debugging |
Prove you need the next rung
- Build the simpler version.
- Run your evalEval: A repeatable test that measures how well an AI system performs on a set of cases with defined success criteria. (Part 3).
- Look at failures. Are they things the next rung fixes (needs to adapt, needs parallel exploration), or things better prompts or retrieval would fix?
- Only then move up.
Common over-builds
- Agents for tasks with a fixed sequence of steps (use a workflowWorkflow: A system where LLM calls and tools follow a path defined in code, rather than chosen by the model.).
- Multi-agent systemsMulti-agent system: A design where several agents with different roles or contexts work together on a task. for tasks one agent handles fine.
- RAGRetrieval-augmented generation (RAG): Retrieving relevant documents at request time and adding them to the prompt so the answer is grounded in them. pipelines for documents that fit in the context windowContext window: The maximum number of tokens a model can consider at once, counting the input and the output it generates..
Key points
- Use the simplest design that meets the need: a single call, then a workflow, then one agent, then several.
- Each step up adds cost, latency and new ways to fail.
- Move up only when you can show the simpler design falls short on your eval.
- Many 'agent' problems are solved by better prompts, retrieval or a fixed workflow.
Prove you need the next rung
Use an eval set to decide whether a more complex architecture earns its cost.
You will have: An eval run over two designs and a decision rule that prints its reason.
Steps
- Run the starter: it recommends moving up without looking at the results.
- Read the eval results for both designs.
- Write decide() so it moves up only on a real accuracy gain.
- Note which question both designs miss, and what would fix it (hint: the handbook, not the architecture).
Done when
- Both designs score 6 of 7.
- The multi-agent design uses 4x the calls.
- The decision is to stay with the single call, with the reason printed.
Open in the Playground No API key needed.
Starter code (Python)
# Prove you need the next rung: compare a single call with a multi-agent design on the same eval set.
HANDBOOK = {"leave": "25 days a year", "expenses": "submit within 30 days", "laptop": "replaced every 3 years",
"parking": "first come, first served", "training": "5 days a year", "remote": "up to 3 days a week"}
EVAL = [("How much leave do I get?", "leave", "25 days"), ("When must I submit expenses?", "expenses", "30 days"),
("How often is my laptop replaced?", "laptop", "3 years"), ("Is parking reserved?", "parking", "first come"),
("How many training days?", "training", "5 days"), ("Can I work remotely?", "remote", "3 days"),
("What is the pension match?", "pension", "6%")] # not in the handbook
def single_call(topic):
"""Simulated: one call with the whole (cached) handbook in context."""
return HANDBOOK.get(topic, "I don't know"), 1
def multi_agent(topic):
"""Simulated: router, retriever and answer agent, plus a reviewer. Same facts, four calls."""
return HANDBOOK.get(topic, "I don't know"), 4
def evaluate(design):
correct = calls = 0
for _, topic, want in EVAL:
answer, n = design(topic)
correct += want in answer
calls += n
return correct, calls
def decide(simple, complex_, min_gain=1):
# TODO: move up only if the complex design gets at least min_gain more answers right
return "move up to multi-agent"
s, m = evaluate(single_call), evaluate(multi_agent)
print(f"single call: {s[0]}/{len(EVAL)} correct, {s[1]} calls")
print(f"multi-agent: {m[0]}/{len(EVAL)} correct, {m[1]} calls")
print("decision:", decide(s, m))
Show a solution
# Prove you need the next rung: compare a single call with a multi-agent design on the same eval set.
HANDBOOK = {"leave": "25 days a year", "expenses": "submit within 30 days", "laptop": "replaced every 3 years",
"parking": "first come, first served", "training": "5 days a year", "remote": "up to 3 days a week"}
EVAL = [("How much leave do I get?", "leave", "25 days"), ("When must I submit expenses?", "expenses", "30 days"),
("How often is my laptop replaced?", "laptop", "3 years"), ("Is parking reserved?", "parking", "first come"),
("How many training days?", "training", "5 days"), ("Can I work remotely?", "remote", "3 days"),
("What is the pension match?", "pension", "6%")] # not in the handbook
def single_call(topic):
"""Simulated: one call with the whole (cached) handbook in context."""
return HANDBOOK.get(topic, "I don't know"), 1
def multi_agent(topic):
"""Simulated: router, retriever and answer agent, plus a reviewer. Same facts, four calls."""
return HANDBOOK.get(topic, "I don't know"), 4
def evaluate(design):
correct = calls = 0
for _, topic, want in EVAL:
answer, n = design(topic)
correct += want in answer
calls += n
return correct, calls
def decide(simple, complex_, min_gain=1):
if complex_[0] - simple[0] >= min_gain:
return "move up to multi-agent"
return f"stay with single call (no accuracy gain, {complex_[1] // simple[1]}x the calls)"
s, m = evaluate(single_call), evaluate(multi_agent)
print(f"single call: {s[0]}/{len(EVAL)} correct, {s[1]} calls")
print(f"multi-agent: {m[0]}/{len(EVAL)} correct, {m[1]} calls")
print("decision:", decide(s, m))