Notes Work in progress #ai-agents#multi-agent#architecture

AI Agent Design Patterns: From a Single Agent to Agents as Tools

Six ways to structure agents, when to use each one, and what they cost.

Written November 22, 2026

These are my notes from Google Cloud Tech’s AI Agent Crash Course on YouTube, plus a few articles I read alongside it, with my own takeaways added along the way. All sources are listed under References at the end.

Most agent systems are built from a handful of patterns. Choosing one is mostly a trade-off between control (predictable steps you define) and flexibility (letting the model decide what to do next). These are the six I find myself reaching for.

1. Single agent

One LLM with a set of tools, running in a loop: think, call a tool, look at the result, repeat until done.

User ──▶ Agent ──▶ answer
          │  ▲
          ▼  │
         Tools
  • Use it when: the task is focused and one set of instructions can cover it.
  • Watch out for: as you add more tools and responsibilities, the prompt gets long and the agent starts picking the wrong tool. That is usually the sign to split it up.

2. Sequential agents

A fixed pipeline. Each agent does one step and passes its output to the next.

Input ──▶ Agent A ──▶ Agent B ──▶ Agent C ──▶ Output
         (extract)   (analyze)   (write)
  • Use it when: the steps are always the same and always in the same order.
  • Strength: easy to test and debug, because each step has one job.
  • Watch out for: it cannot adapt. If step B is not needed for some inputs, it still runs.

3. Sequential with parallel steps

A pipeline where some steps fan out to run at the same time, then a later step gathers the results.

               ┌──▶ Agent B1 ──┐
Input ──▶ A ───┼──▶ Agent B2 ──┼──▶ Merge ──▶ Output
               └──▶ Agent B3 ──┘
  • Use it when: several independent pieces of work can happen at once, like researching three sources or checking three policies.
  • Strength: faster, and each parallel agent stays focused.
  • Watch out for: the parallel agents should not depend on each other, and the merge step needs a clear way to combine or resolve conflicting results.

4. Loop (generator + reviewer / critic)

One agent produces a draft, another reviews it, and the loop repeats until the reviewer is satisfied or a limit is reached.

             ┌───────── feedback ──────────┐
             ▼                             │
Input ──▶ Generator ──▶ draft ──▶ Reviewer ┘
                                     │ approved
                                     ▼
                                   Output
  • Use it when: quality matters more than speed, like writing, code generation, or checking an answer against rules.
  • Strength: the critic catches mistakes the generator misses.
  • Watch out for: always set a maximum number of iterations, and give the reviewer clear criteria, or the loop can run forever or keep “improving” in circles.

5. Coordinator

A coordinator agent reads the request and routes it to the right specialist agent. The specialist handles the work.

                      ┌──▶ Billing agent
User ──▶ Coordinator ─┼──▶ Tech support agent
                      └──▶ Account agent
  • Use it when: requests vary a lot and each kind needs different instructions and tools.
  • Strength: each specialist has a small, focused prompt and toolset.
  • Watch out for: routing mistakes. The coordinator needs clear descriptions of what each specialist does, and a fallback when nothing fits.

6. Agent as a tool

One agent calls another agent the same way it calls any tool: send a request, get a result back, and keep going. The calling agent stays in charge the whole time.

User ──▶ Main agent ──▶ answer
            │   ▲
  call      ▼   │  result
        Research agent (wrapped as a tool)
  • Use it when: you want to reuse a capable sub-agent for one part of the job while the main agent keeps control of the conversation.
  • Coordinator vs. agent as a tool: a coordinator hands off the request to a specialist. With agent-as-a-tool, the main agent delegates a sub-task and gets the answer back to use in its own reasoning.

Comparing them

Pattern Who decides the flow Best for Main risk
Single agent The model Focused tasks Too many tools in one prompt
Sequential You (fixed order) Repeatable pipelines Can’t skip or reorder steps
Sequential + parallel You Independent sub-tasks Merging results
Loop You set the loop, model judges quality High-quality output Endless loops, cost
Coordinator The model routes Varied requests Wrong routing
Agent as a tool The main agent Reusing specialist agents Hidden cost and latency of nested calls

What I want to explore next

  • Combining patterns, like a coordinator whose specialists each run a review loop
  • How to evaluate multi-agent systems end to end, not just each agent alone

References

  1. AI agent design patterns ↗ · Google Cloud Tech · Video
  2. 3 Advanced AI agent design patterns ↗ · Google Cloud Tech · Video
  3. AI Agent Crash Course (full playlist) ↗ · Google Cloud Tech · Video
  4. Choose a design pattern for your agentic AI system ↗ · Google Cloud Architecture Center · Docs
  5. AI Agents Design Patterns Explained ↗ · Kerem Aydın · Article