A Two-Dimensional Framework for AI Agent Design Patterns: Cognitive Function and Execution Topology
Organizations: Agency for Science, Technology and Research (A*STAR), Singapore · Centre for Frontier AI Research (CFAR), A*STAR
Abstract
Existing frameworks for LLM-based agent architectures describe systems from a single perspective: industry guides (Anthropic, Google, LangChain) focus on execution topology -- how data flows -- while cognitive science surveys focus on cognitive function -- what the agent does. Neither axis alone disambiguates architecturally distinct systems: the same Orchestrator-Workers topology can implement Plan-and-Execute, Hierarchical Delegation, or Adversarial Verification -- three patterns with fundamentally different failure modes and design trade-offs. We propose a two-dimensional classification that combines (1) a Cognitive Function axis with seven categories (Perception, Memory, Reasoning, Action, Reflection, Collaboration, Governance) and (2) an Execution Topology axis with six structural archetypes (Chain, Route, Parallel, Orchestrate, Loop, Hierarchy). The resulting 7x6 matrix identifies 28 named patterns, 15 with original names. We demonstrate orthogonality through systematic cross-axis analysis, define eight representative patterns in detail, and validate descriptive coverage across four real-world domains (financial lending, legal due diligence, network operations, healthcare triage). Cross-domain analysis yields five empirical laws of pattern selection governing the relationship between environmental constraints (time pressure, action authority, failure cost asymmetry, volume) and architectural choices. The framework provides a principled, framework-neutral, and model-agnostic vocabulary for AI agent architecture design.
Figures & tables
| ID | Category | Core Question |
|---|---|---|
| C1 | Perception | What information enters the agent’s working memory? |
| C2 | Memory | How does the agent store, retrieve, and update knowledge? |
| C3 | Reasoning | How does the agent deliberate and decide? |
| C4 | Action | How does the agent act on the world through tools? |
| C5 | Reflection | How does the agent evaluate and improve its own outputs? |
| C6 | Collaboration | How do multiple agents coordinate to solve a problem? |
| ID | Archetype | Structure |
|---|---|---|
| T1 | Chain | Linear sequential pipeline; output of step feeds step |
| T2 | Route | Conditional branching; a classifier dispatches to specialized handlers |
| T3 | Parallel | Concurrent fan-out with aggregation; independent subtasks run simultaneously |
| T4 | Orchestrate | Central coordinator delegates to workers and synthesizes results |
| T5 | Loop | Iterative refinement with explicit exit conditions |
| T6 | Hierarchy | Nested multi-level delegation; each level can use any other topology |
| T1 Chain | T2 Route | T3 Parallel | T4 Orchestrate | T5 Loop | T6 Hierarchy | |
|---|---|---|---|---|---|---|
| C1 | Semantic Compact. | Context Triage | Multi-Modal Fusion | Progressive Disc. | — | — |
| C2 | RAG Pipeline | Hierarchical Ret. | — | Progress Track. | Failure Journal | — |
| C3 | Chain-of-Thought | Complexity Rte. | Parallel Explor. | — | Iterative Hyp. | — |
| C4 | Prompt Chaining | Tool Dispatch | — | Plan-and-Execute | — | Guardrail Sand. |
| C5 | Generator-Critic | Skill Package | — | — | Self-Heal Loop | Exp. Replay |
| C6 | Handoff Chain | — | Fan-Out/Gather | — | Adversarial Rev. | Hier. Deleg. |
| Resource | Cognitive Axis? | Topology Axis? | # Patterns | Framework-Neutral? |
|---|---|---|---|---|
| Anthropic [ 1 ] | No | Yes (6) | 6 | Yes |
| Google ADK [ 2 ] | No | Yes (8) | 8 | No |
| LangChain [ 3 ] | No | Yes (4) | 4 | No |
| Andrew Ng [ 4 ] | Yes (4) | No | 4 | Yes |
| Wang et al. [ 5 ] | Yes (4) | No | — | Yes |
| Sumers et al. [ 7 ] | Yes (4) | No | — | Yes |
| Financial Lending | Legal Due Diligence | Network Operations | Healthcare Triage | |
|---|---|---|---|---|
| Task | SME loan assessment | M&A contract review | NOC alert handling | ED patient triage |
| Time budget | 4 hours | 8 hours | 5 minutes | 60 seconds |
| Volume | 1 case | 500 contracts | Continuous stream | 1 patient |
| Primary topology | Orchestrate | Hierarchy | Route | Chain |
| Patterns selected | 7 | 8 | 9 | 7 |
| Action authority | Recommend only | Recommend only | Auto (P3/P4) | Recommend only |