huangjia2019

Designing AI Agents — AI skill for Claude Code

AI community

Companion code for 'Designing AI Agents' (Manning, 2027) — 27 agent design patterns, organized by the 7 cognitive modules.

How to install Designing AI Agents

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

What Designing AI Agents does

Companion code for 'Designing AI Agents' (Manning, 2027) — 27 agent design patterns, organized by the 7 cognitive modules. Chapters 1–5 available.

Alternatives in AI

  • J Space Cognition Suite V3.7 — J-Space Cognition Suite V3.7 - AI cognitive-enhancement Skills based on Anthropic's J-space global workspace r 3k ★
  • Dive Into Claude Code — A Systematic Analysis and Discussion of Claude Code for Designing Today's and Future AI Agent Systems 2.1k ★
  • Claude Code Design Guide — From Early Internet Design Patterns to AI Agent Implementation — A Deep Dive into Claude Code for Developers 762 ★

README

Designing AI Agents — Source Code

Designing AI Agents — Manning

**[*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 as from 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