Guide

Agentic AI Architecture

How to structure agentic AI: the architectural patterns that hold an LLM-powered system together. Supervisor, orchestrator-workers, augmented LLM, handoff, decision log, and more.

An agentic AI architecture is the structural answer to "what kind of system is this?". An LLM by itself is a generator; an agent is a generator that decides what to do next, holds state, talks to tools, hands off to other agents, and is observable enough that humans can intervene. The architecture is the set of commitments that lets all of those things happen without colliding.

These commitments come from patterns, not from a single diagram. A supervisor over orchestrator-workers is not the same architecture as a swarm; a ReAct loop with a step budget and decision log is not the same as plan-then-execute. The catalog gives you the vocabulary to make that distinction precise — and to defend it when a stakeholder asks "why did you build it this way?"

Field-tested patterns to start with

  • SupervisorPlace a coordinating agent above a set of specialised agents and route work to them.
  • Orchestrator-WorkersAn orchestrator dynamically breaks a task into subtasks at runtime and delegates each to a worker LLM, then synthesises results.
  • Augmented LLMBuild the foundational agent block as an LLM augmented with retrieval, tools, and memory that the model actively chooses to use, rather than a bare-model call.
  • ReActInterleave a single thought, a single tool call, and a single observation per step so the agent reasons over fresh evidence.
  • Plan-and-ExecutePlan all the steps once with a strong model, then execute each step with a cheaper model under the plan.
  • HandoffTransfer the active conversation from one agent to another, carrying context across the switch.
  • Subagent IsolationRun subagents in isolated workspaces so their writes do not collide and parallelism is safe.
  • Decision LogPersist the agent's reasoning trace alongside its actions so post-hoc review can explain why.
  • Agent ResumptionPersist agent execution state so a long-running run survives restarts, deploys, or user disconnects.
  • Step BudgetCap the number of tool calls or loop iterations the agent is allowed within a single request.

Recommended reading

Or open the full contents for all 421 patterns in 14 books.

Related guides

  • LLM Agent Design PatternsA GoF-formal catalog of LLM agent design patterns: ReAct, tool use, plan-and-execute, reflection, step budget, and more. Each pattern decom…
  • RAG Agent PatternsPatterns for building retrieval-augmented generation agents: naive RAG, agentic RAG, hybrid search, cross-encoder reranking, contextual ret…
  • Multi-Agent PatternsPatterns for coordinating multiple LLM agents: supervisor, orchestrator-workers, handoff, debate, hierarchical agents, swarm, role assignme…
  • AI Agent Safety PatternsSafety patterns for LLM agents: step budget, kill switch, constitutional charter, approval queue, sandbox isolation, input/output guardrail…

About this catalog

The Agent Patterns Catalog is an open, GoF-formal reference of 421 design patterns for building LLM agents. Each pattern is decomposed in the manner of Christopher Alexander (1977) and the Gang of Four (1994). Source of truth at github.com/agentpatternscatalog/patterns — CC BY 4.0.

Open the contents