Skip to content

Select language

Current language: English

Agentic Patterns

Source: https://github.com/nibzard/awesome-agentic-patterns at 87538fdeccf6
License: Apache-2.0
Read the English original

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.


  • 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.


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/.


CategoryWhat you’ll find
Context & MemorySliding-window curation, vector cache, episodic memory
Feedback LoopsCompilers, CI, human review, self-healing retries
Learning & AdaptationAgent RFT, skill libraries, variance-based RL
Orchestration & ControlTask decomposition, sub-agent spawning, tool routing
Reliability & EvalGuardrails, eval harnesses, logging, reproducibility
Security & SafetyIsolated VMs, PII tokenization, security scanning
Tool Use & EnvironmentShell, browser, DB, Playwright, sandbox tricks
UX & CollaborationPrompt 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.



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)


  1. Fork & branch → git 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.


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!


Apache‑2.0. See LICENSE.


Star History Chart

HagiCode

HagiCode is an agentic coding workspace. Rich, convenient UI interactions make planning, agent execution, and project work approachable and easy to navigate, creating an engaging development experience.

Explore an engaging development experience through rich, convenient UI interactions.

Visit HagiCodeRead the documentation
  • SmartOpenSpec workflows turn intent into an executable path, from proposal to design, tasks, and a shipped change.
  • EfficientMulti-agent execution keeps research, implementation, and review moving in parallel, across several repositories and the Agent CLIs you already use.
  • InterestingRich, convenient UI interactions make planning, agent execution, and project work approachable and easy to navigate.

Download for Windows

Get it from Microsoft StoreAll downloads

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.

Leave Awesome Site?

You are about to visit an external website. We do not control its content or privacy practices.

Destination

Continue to website