Author: Dr. Ali Arsanjani, Juan Pablo Bustos | Chapters: 16 | Generated: 2025-07-11
supervisor pattern, robustness, FCoT, or another indexed topic; I find and read the relevant chapterch05; I load that specific chapterWhen you ask about a topic not covered in Core Patterns below, I will read
the relevant chapter file before answering.
Six-level progression: Basic LLM apps → RAG-enhanced → Single-agent → Multi-agent → Autonomous collectives → Self-improving. Use to assess organizational readiness and plan adoption. Don't skip levels.
Core loop every agent follows. Sense = perceive environment; Reason = interpret and decide; Plan = decompose goals; Act = execute via tools. An agent is NOT just an LLM call — it maintains state, pursues goals, and acts autonomously.
Central manager agent plans workflow, delegates to specialist agents, monitors progress, synthesizes results. Best for regulated, auditable workflows. Specialists do one thing exceptionally well. Use when you need clear chain of command.
Decentralized peer-to-peer coordination without central orchestrator. Best for creative, exploratory tasks. More adaptive but harder to audit. Use when predictability matters less than emergence.
Agent outputs structured JSON "thought" objects citing data and rules at each reasoning step. Enables auditability, self-correction, and compliance verification. Use for any agent making decisions that need to be explained.
Separate auditing agent inspects output against original instructions before finalization. Catches "silent failures" where sub-tasks succeed but overall intent is misaligned. Essential in hierarchical multi-agent systems.
Core objectives and constraints repeated throughout task execution. Prevents instruction drift — goals being "lost in the middle" of long contexts. Use for any multi-step task.
Wrap all agent calls with timeout. Prevents a single hanging agent from freezing the entire system. Non-negotiable safety net for any production agent calling external APIs.
Retry failed tasks with modified prompts — same input + same context = same error. Mutate the prompt on retry (rephrase, add context, simplify). Use for transient failures.
Human-in-the-Loop escalation. Agent pauses → notifies human with context → waits for decision → continues. Escalation is a core feature, not a failure. Use for ambiguity, high-stakes decisions, and safety boundaries.
Generate → Evaluate → Learn → Deploy. Closed-loop system for agents that improve over time. Balance exploitation (refine known strategies) with exploration (try novel approaches). Requires Hybrid Planner+Scorer Architecture.
Start with architectural patterns, then write prompts — not the reverse. Identify risk → Select pattern → Implement → Measure. Use this loop for every design decision.
| # | Title | Key Patterns |
|---|---|---|
| --- | ------- | -------------- |
| ch01 | GenAI in the Enterprise | GenAI Maturity Model, Agent Anatomy, Agentic Stack |
| ch02 | Agent-Ready LLMs | LLM Selection Dimensions, Serving Architecture, AgentOps |
| ch03 | Spectrum of LLM Adaptation | RAG, Fine-tuning, ICL, PEFT, Agentic AI Maturity Model |
| ch04 | Agentic AI Architecture | Hierarchy of Autonomy, Agent Characteristics, Function Calling |
| ch05 | Multi-Agent Coordination | Supervisor, Swarm, Agent Router, Consensus, Negotiation |
| ch06 | Explainability & Compliance | FCoT, Instruction Fidelity Auditing, Shared Epistemic Memory |
| ch07 | Robustness & Fault Tolerance | Watchdog, Adaptive Retry, Canary Testing, Self-Defense |
| ch08 | Human-Agent Interaction | HITL Escalation, Agent Delegates, Proxy Agent |
| ch09 | Agent-Level Patterns | Single Agent Baseline, Memory, RAG, Self-Correction, Multimodal |
| ch10 | System-Level Patterns | Registry, Auth, Compliance Monitoring, Event-Driven |
| ch11 | Advanced Adaptation | Self-Improvement Flywheel, R⁵ Model, Coevolution, DPO |
| ch12 | Practical Roadmap | 3-Level Enterprise Rollout, Pattern Selection by Maturity |
| ch13 | Use Case: Single Agent Loan | FCoT in Practice, Monolithic Agent Design |
| ch14 | Use Case: Multi-Agent Loan | Supervisor + Specialists, Level 3→4 Evolution |
| ch15 | Agent Frameworks | Google ADK, CrewAI, LangGraph Implementations |
| ch16 | Conclusion | Pattern-First Thinking, Action Plan |
This skill covers the book content only. For hands-on implementation, combine with
framework-specific tools (Google ADK, CrewAI, LangGraph). For topics beyond this book,
check related skills or ask the agent directly.
共 1 个版本