LearnAI
Module 12 · Multi-agent systems (Pro) · Lesson 1/5
← Back to catalog
Task

When multiple agents are needed

When is multiple agents justified? Return JSON {"when_yes": [list of 2+ cases], "when_no": "when not needed"}.

Unlock access to submit solutions for instant AI review.Start for free
One good one is often better
💡 A bit of theory

Multi-agency is fashionable, but most tasks require ONE well-tuned agent. Multiple agents are justified when: the task breaks down into clearly DIFFERENT roles or skills (e.g., researcher plus critic plus writer); parallelism is needed (many independent subtasks at the same time); independent control is useful (one agent checks the other). It is not necessary when: the problem is solved by one prompt or a simple chain of steps; you split for the sake of “cool”, not for the sake of business - each agent adds cost, delay and points of failure. Rule: add agents only when the role or concurrency really requires it; the default is one good agent.

How it's graded · passing score 70

  • 1Valid JSON without text around it30%
  • 2There is an array when_yes and a field when_no35%
  • 3yes: different roles, parallelism, independent control; no: solves one prompt/chain35%
Your promptClaude ⌄