Guide

AI Agents Patterns Catalog

The AI agents patterns catalog: a complete, GoF-formal pattern language for AI agents across reasoning, planning, tool use, retrieval, memory, multi-agent, safety, and governance — browsable, composable, and callable over MCP. Licensed CC BY 4.0.

This is a catalog of AI agents patterns — a single, organised reference for the recurring shapes that AI-agent software is built from. It is not a blog post or a feature list for one framework; it is a pattern language, arranged the way Christopher Alexander (1977) arranged building patterns and the Gang of Four (1994) arranged software ones. Every entry has an intent, a context, a problem, the forces in tension, a therefore resolution, consequences, and the typed edges that connect it to its neighbours.

What makes it a catalog rather than a list is the structure. The patterns are grouped into Alexander-style books — one per concern: reasoning, planning and control flow, tool use and environment, retrieval, memory, verification and reflection, multi-agent coordination, routing and composition, safety and control, governance and observability. Alongside the patterns sit compositions (real frameworks, services, and protocols mapped to the patterns they instantiate), engineering methodologies, and enablement trainings — so a pattern is never an island but a node in a navigable graph.

Use it however you build: browse the books, open a single pattern to read its full GoF decomposition, follow the related edges to adjacent shapes, or assemble an agent from a curated recipe on the compose page. Every pattern, composition, and methodology is also available as live tools over a hosted Model Context Protocol (MCP) server, so an AI agent can query this catalog of AI agents patterns while it builds. Licensed CC BY 4.0 — free to ingest, quote, and reason over with attribution.

Field-tested patterns to start with

  • 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.
  • Tool UseLet the LLM produce typed calls against an external toolkit instead of producing free-form text the surrounding system has to parse.
  • 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.
  • Agentic RAGReplace static retrieve-then-generate with autonomous agents that plan, choose sources, retrieve iteratively, reflect, and re-query.
  • Agent-as-a-JudgeEvaluate an agent's full trajectory (steps, tool calls, intermediate states) by another agent rather than scoring only the final output.
  • SupervisorPlace a coordinating agent above a set of specialised agents and route work to them.
  • HandoffTransfer the active conversation from one agent to another, carrying context across the switch.
  • Step BudgetCap the number of tool calls or loop iterations the agent is allowed within a single request.
  • Decision LogPersist the agent's reasoning trace alongside its actions so post-hoc review can explain why.
  • Human-in-the-LoopRequire explicit human approval at defined points before the agent performs an action.
  • Subagent IsolationRun subagents in isolated workspaces so their writes do not collide and parallelism is safe.

Recommended reading

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

Related guides

  • AI Agents PatternsAI agents patterns: named, reusable shapes for building AI agents that reason, use tools, coordinate, and stay safe — single-agent loops an…
  • 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…
  • Agentic Design PatternsA GoF-formal catalog of agentic design patterns — named, reusable shapes for building autonomous AI agents: agent loops, tool use, planning…
  • Agentic AI Design PatternsAgentic AI design patterns for systems already in production — what to ship, what to observe, what to budget, what to gate. Augmented LLM,…
  • AI Agent Design PatternsHow to build an AI agent: the named shapes you reach for during design and implementation — reasoning (ReAct, plan-and-execute, reflection)…
  • Agent Design PatternsAgent design patterns treat the agent loop as a software-engineering primitive: an observe→reason→act cycle wrapped in tools, memory, super…
  • Agentic PatternsA complete pattern language for agentic systems, organised in Alexander-style books across reasoning, planning, tool use, retrieval, verifi…
  • Agentic AI ArchitectureHow to structure agentic AI: the architectural patterns that hold an LLM-powered system together. Supervisor, orchestrator-workers, augment…
  • 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 527 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