explaingit

nibzard/awesome-agentic-patterns

4,519HTMLAudience · developerComplexity · 2/5Setup · easy

TLDR

A curated catalogue of proven design patterns for building AI agents, grouped into eight categories covering memory, feedback, orchestration, security, and more, each backed by real-world usage and public references.

Mindmap

mindmap
  root((repo))
    What It Does
      Curated pattern catalogue
      Eight categories
      Public references required
    Key Categories
      Context and Memory
      Orchestration and Control
      Security and Safety
      Feedback Loops
    Tools and Site
      Astro website
      Compare tool
      Decision explorer
      Graph view
    Audience
      AI builders
      Product teams
      Researchers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Find a proven pattern for giving your AI agent a memory across long sessions without blowing up the context window.

USE CASE 2

Discover how other teams handle agent self-correction so your AI catches its own mistakes before returning bad output.

USE CASE 3

Pick the right orchestration approach when you need one AI agent to break a task into sub-tasks and hand them off.

USE CASE 4

Compare multiple agent design patterns side by side on the companion site to decide which fits your product best.

Tech stack

HTMLMarkdownAstroVercel

Getting it running

Difficulty · easy Time to first run · 5min

No installation needed, browse the markdown files directly on GitHub or visit agentic-patterns.com for the full site with compare, decision explorer, and graph views.

No license information was mentioned in the explanation.

In plain English

This is a curated catalogue of design patterns for building AI agents. The focus is on practical, repeatable techniques that show up in real products, not toy demos. Each entry must meet three criteria: more than one team is using it, it improves how an agent perceives, reasons, or acts, and it is backed by a public reference such as a blog post, talk, paper, or repository. The patterns are grouped into eight categories. Context and Memory covers approaches to managing what information an agent holds during a session, such as sliding-window curation, episodic memory retrieval, and prompt caching. Feedback Loops covers techniques where the agent receives signals to self-correct, including CI-based feedback, reflection loops, and self-critique evaluators. Learning and Adaptation covers reinforcement fine-tuning and skill library evolution. Orchestration and Control covers how agents decompose tasks, spawn sub-agents, route between tools, and manage cost budgets. Reliability and Eval covers guardrails, evaluation harnesses, logging, and reproducibility. Security and Safety covers isolated execution environments, PII handling, and security scanning. Tool Use and Environment covers shell, browser, and database integration patterns. UX and Collaboration covers prompt hand-offs, staged commits, and async background agent patterns. Each pattern lives in its own markdown file in the patterns folder of the repository. A companion website at agentic-patterns.com provides additional ways to browse the collection, including a compare tool for putting multiple patterns side by side, a decision explorer to match patterns to use cases, and a graph view of how patterns relate to each other. The site is built with Astro and deployed on Vercel, and its source code is included in the repository.

Copy-paste prompts

Prompt 1
I'm building an AI agent that needs to remember context across a long conversation without exceeding token limits. Based on the sliding-window curation and episodic memory retrieval patterns from nibzard/awesome-agentic-patterns, suggest a concrete implementation plan.
Prompt 2
Using the reflection loop and self-critique evaluator patterns from nibzard/awesome-agentic-patterns, show me how to add a self-correction step to an AI agent that reviews its own output before returning it to the user.
Prompt 3
I need my AI agent to use a web browser and run shell commands. Based on the Tool Use and Environment patterns from nibzard/awesome-agentic-patterns, what are the key design decisions I should make and what pitfalls should I avoid?
Prompt 4
Based on the Security and Safety patterns in nibzard/awesome-agentic-patterns, help me design an isolated execution environment for an AI coding agent so it cannot accidentally damage the host system.
Prompt 5
Using the Orchestration and Control patterns from nibzard/awesome-agentic-patterns, help me design a system where a main AI agent decomposes a complex task and delegates sub-tasks to specialist agents while staying within a cost budget.
Open on GitHub → Explain another repo

← nibzard on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.