Skip to content

nibzard/awesome-agentic-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

379 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Agentic Patterns

Awesome Agentic Patterns

A curated catalogue of agentic AI patterns — real‑world tricks, workflows, and mini‑architectures that help autonomous or semi‑autonomous AI agents get useful work done in production.

Why? Tutorials show toy demos. Real products hide the messy bits. This list surfaces the repeatable patterns that bridge the gap so we can all ship smarter, faster agents.


What counts as a pattern?

  • Repeatable – more than one team is using it.
  • Agent‑centric – improves how an AI agent senses, reasons, or acts.
  • Traceable – backed by a public reference: blog post, talk, repo, or paper.

If your link ticks those boxes, it belongs here.


🌐 Explore the Website

Visit: https://agentic-patterns.com

The website offers powerful discovery tools beyond this README:

  • Pattern Explorer: Browse, filter, and search all patterns by category, status, complexity, and more
  • Compare Tool: Side-by-side comparison of multiple patterns with shared attributes
  • Decision Explorer: Interactive guide to find the right pattern for your use case
  • Graph Visualization: Visual map of pattern relationships and connections
  • Pattern Packs: Curated collections of patterns for common agent architectures
  • Developer Guides: In-depth documentation on pattern selection and usage
  • Dark Mode: Full theme support for comfortable reading in any environment

Built with Astro, deployed on Vercel, source code in apps/web/.


Quick Tour of Categories

Category What you'll find
Context & Memory Sliding-window curation, vector cache, episodic memory
Feedback Loops Compilers, CI, human review, self-healing retries
Learning & Adaptation Agent RFT, skill libraries, variance-based RL
Orchestration & Control Task decomposition, sub-agent spawning, tool routing
Reliability & Eval Guardrails, eval harnesses, logging, reproducibility
Security & Safety Isolated VMs, PII tokenization, security scanning
Tool Use & Environment Shell, browser, DB, Playwright, sandbox tricks
UX & Collaboration Prompt hand-offs, staged commits, async background agents

Categories are fluid — open a PR if you see a better slice! The tables below are auto‑generated from the patterns/ folder.


Context & Memory

Feedback Loops

Learning & Adaptation

Orchestration & Control

Reliability & Eval

Security & Safety

Tool Use & Environment

UX & Collaboration


For AI Assistants (llms.txt)

This project includes llms.txt, a machine-readable documentation file designed to help AI assistants and LLMs understand and recommend appropriate patterns.

What's included:

  • Pattern categories and their purposes
  • Key patterns with concise descriptions
  • Usage guidelines for AI assistants
  • Pattern selection strategies based on use case requirements

For developers building AI assistants: The llms.txt file can be provided to LLMs as context to improve pattern recommendations. It's optimized for:

  • RAG systems indexing this catalogue
  • AI coding assistants suggesting patterns
  • LLM-powered tools that recommend agentic patterns

Access: https://agentic-patterns.com/llms.txt (also available in apps/web/public/llms.txt)


Contributing in 3 steps

  1. Fork & branchgit checkout -b add-my-pattern
  2. Add a pattern file under patterns/ using the template above.
  3. Run bun run build:data to refresh the generated README sections and site data.
  4. Open a PR titled Add: my-pattern-name.
  5. This repository is pattern-first: proposals that are primarily product announcements or promotions will be rejected, even if technically valid.

See CONTRIBUTING.md for the fine print.


Inspiration

This project started after the write‑up "What Sourcegraph learned building AI coding agents" (28 May 2025) and the ongoing Raising an Agent video diary. Many first patterns come straight from those lessons — thanks to everyone sharing their journey in the open!


License

Apache‑2.0. See LICENSE.


Star History

Star History Chart

About

A curated catalogue of awesome agentic AI patterns

Resources

License

Contributing

Stars

Watchers

Forks

Contributors