A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
29 essential agentic design patterns for building intelligent AI systems
This repository contains an interactive, single-file tutorial on essential agentic design patterns for building intelligent AI systems.
The included index.html file is a self-contained interactive tutorial and reference guide to various patterns used in modern AI development. It's designed to make complex architectural concepts accessible through simple visual representations, detailed explanations, and real-world examples.
Within a single file, it brings together an overview page, a pattern-relationships view, detailed pattern entries, and case studies.
Open https://zeljkoavramovic.github.io/agentic-design-patterns/ in your browser to load it.
Simply download the index.html file and open it in any modern web browser.
The following diagram illustrates how different agentic patterns often connect and rely on each other. This provides a high-level view of the ecosystem.
graph LR
subgraph "Core Patterns"
P1("Prompt Chaining")
P2("Routing")
P5("Tool Use")
P3("Parallelization")
P28("Dynamic Scaffolding")
P27("Code-Then-Execute")
end
subgraph "Reasoning & Strategy Patterns"
P4("Reflection")
P6("Planning")
P18("Reasoning Techniques")
P22("Exploration & Discovery")
P24("Parallel Fusion")
P21("Prioritization")
end
subgraph "Orchestration Patterns"
P11("Goal Setting & Monitoring")
P7("Multi-Agent Collaboration")
P15("Inter-Agent Communication")
P17("Resource-Aware Optimization")
P16("Awareness")
end
subgraph "Reliability & Control Patterns"
P19("Guardrails & Safety")
P13("Human-in-the-Loop")
P12("Exception Handling & Recovery")
P23("The Stop Hook")
P25("The Ralph Wiggum Loop")
P29("Spec-First Agent")
end
subgraph "Infrastructure & State Patterns"
P14("Knowledge Retrieval RAG")
P20("Evaluation & Monitoring")
P8("Memory Management")
P10("MCP")
P26("Session Isolation")
P9("Learning and Adaptation")
end
P7 -- "requires" --> P15
P7 -. "uses" .-> P6
P7 -. "uses" .-> P8
P6 -- "can be composed of" --> P1
P6 -- "often requires" --> P5
P14 -- "is a form of" --> P5
P2 -- "is used by" --> P17
P4 -- "is a form of" --> P20
P9 -- "is enabled by" --> P13
P13 -- "is triggered by" --> P19
P13 -- "is triggered by" --> P12
P18 -- "can be improved by" --> P4
P22 -- "is a form of" --> P6
P1 -- "often needs" --> P12
P6 -- "detects" --> P16
P17 -- "detects" --> P16
P7 -- "detects" --> P16
P16 -- "provides facts for" --> P6
P16 -- "provides facts for" --> P17
%% New Connections
P23 -- "is a form of" --> P19
P25 -- "relies on" --> P23
P25 -- "requires" --> P26
P24 -- "requires" --> P26
P24 -- "is an evolution of" --> P3
P5 -- "is used by" --> P23
%% Connections for New Patterns
P26 -- "supports" --> P27
P26 -- "supports" --> P28
P5 -- "evolves to" --> P27
P23 -- "validates" --> P29
P18 -- "is a form of" --> P27
P5 -- "extended by" --> P28
P19 -- "enforces" --> P29
The tutorial covers the following 29 patterns, grouped into categories:
MIT - use freely, improve openly, credit kindly.
If this project has helped you, support is most welcome:
The patterns and diagrams are distilled from extensive research on agentic AI systems. For more information visit the following links:
Special thanks to user Thaddy from the Lazarus forum for pointing out the Brahms research.
An AI-powered custom node for ComfyUI designed to enhance workflow automation and provide intelligent assistance
Deterministic multi-agent pipeline for end-to-end software development, orchestrating CLI-based AI tools (e.g. Gemini, C
💻 A curated list of papers and resources for multi-modal Graphical User Interface (GUI) agents.
npx CLI installing 100+ agents, commands, hooks, and integrations in one command