Designing Ai Agents
Description
Companion code for 'Designing AI Agents' (Manning, 2027) — 27 agent design patterns, organized by the 7 cognitive modules. Chapters 1–5 available.
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
Designing AI Agents — Source Code
**[*Designing AI Agents*](https://hubs.la/Q04hCsH10)** — the design-pattern catalogue for production AI agents. (Manning)
This repository is the official source code for the book. It contains two tracks living side by side inside each chapter:
argus/— Argus, the running-example PR-review agent, evolves cumulatively from Ch2 to Ch10. Each chapter adds one cognitive module and ships a self-contained snapshot that imports asfrom argus import ...so the reader runs the chapter's Argus directly:python -m argus.cli --project.patterns/— independent pattern demos for everything the chapter introduces. Not every pattern integrates into Argus. Those patterns live here as runnable references.
中文版:[README.zh-CN.md](README.zh-CN.md)
Need a separate **pattern-only catalog organized by the two-axis matrix instead of by chapter?** See [**huangjia2019/agent-design-patterns**](https://github.com/huangjia2019/agent-design-patterns) (ADPS asset, not part of the book).
Argus evolution at a glance
| Chapter | Argus += | Module added | What you can run |
|---|---|---|---|
| Ch2 architecture | single-pass PRA loop | argus/core.py |
(seed; one LLM call) |
| Ch3 perception | + gather & triage code context | argus/perception.py |
python -m argus.cli |
| Ch4 memory | + cross-session memory (RAG) | argus/memory.py |
... --project myapp |
| Ch5 reasoning | + complexity-routed CoT | argus/reasoning.py |
tier=simple/moderate/complex |
| Ch6 action | + tool dispatch + Guardrail Sandwich | argus/action.py |
lint / test / fix_apply |
| Ch7 reflection | + critic loop + skill library |
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI