Agent Design Patterns banner
huangjia2019 huangjia2019

Agent Design Patterns

Design community

Description

A 7×6 framework for agent architecture. 28 patterns, each placed at a coordinate, runnable Python code with verified engineering slices from Claude Code, Aider, OpenHands, DeerFlow. Companion to Designing AI Agents (Manning) by Jia Huang.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Agent Design Patterns

**A 7×6 framework for agent architecture. 28 patterns, each placed at a coordinate, each with runnable code and a verified engineering slice from real production codebases.**

*The model spends. The harness budgets. This repo is the vocabulary you can put in your project tomorrow.*

[简体中文 README](README.zh-CN.md) · [**Pattern Docs**](https://adpsagent.com/zh/patterns/) · [**Manning · *Designing AI Agents***](https://hubs.la/Q04hCsH10) · [Paper · arXiv:2605.13850](https://arxiv.org/abs/2605.13850) · [极客时间专栏](https://time.geekbang.org/) · [Newsletter](https://agentpatterns.substack.com) · [Author site](https://kage-ai.com)

**📖 Browse the full pattern documentation** — every pattern with its whitepaper, organized by cognitive function, with a left-rail index: **[adpsagent.com/zh/patterns](https://adpsagent.com/zh/patterns/)**. Enterprise case studies (蓝皮书) live at [adpsagent.com/zh/cases](https://adpsagent.com/zh/cases/).

**Looking for the full Argus running example as one evolving codebase, organized by book chapter?** See the companion repo [**huangjia2019/designing-ai-agents**](https://github.com/huangjia2019/designing-ai-agents) — Argus grows module by module from Ch2 to Ch10, with each chapter's `patterns/` + `argus/` side by side. That repo follows the book's narrative; this repo is the standalone pattern catalog.


The book

Designing AI Agents — Manning

**[*Designing AI Agents*](https://hubs.la/Q04hCsH10)** — the design-pattern catalogue for production AI agents. (Manning)


The framework comes from a paper

[![A Two-Dimensional Framework for AI Agent Design Patterns — arXiv:2605.13850](./docs/paper-card.png)](https://arxiv.org/abs/2605.13850)

The two-axis framework, the 27 named patterns, and the five pattern-selection laws are introduced in **[A Two-Dimensional Framework for AI Agent Design Patterns