arXiv:2605.13850cs.AIcs.MA2026-05被引 1

用二维框架统一AI代理的设计模式,让复杂系统更易理解。

A Two-Dimensional Framework for AI Agent Design Patterns: Cognitive Function and Execution Topology

  • 从认知功能与执行拓扑两个维度划分代理设计模式
  • 提出28种命名模式,覆盖金融、法律等四大领域应用
  • 揭示环境压力如何影响架构选择,适合系统设计者参考

现有基于大模型的智能体架构框架多从单一视角出发:行业指南(如Anthropic、Google、LangChain)关注执行拓扑——数据如何流动;而认知科学综述则聚焦认知功能——智能体做什么。单一维度无法区分结构上不同的系统:相同的‘协调者-工作者’拓扑可实现计划执行、分层委派或对抗验证三种模式,其失败模式与设计权衡截然不同。本文提出一个二维分类框架,包含(1)七个认知功能类别(感知、记忆、推理、行动、反思、协作、治理),和(2)六种执行拓扑原型(链式、路由、并行、编排、循环、层级)。由此生成7×6矩阵,共识别出28种命名模式,其中15种为新命名。通过跨轴系统性分析证明其正交性,详细定义八种代表性模式,并在金融贷款、法律尽职调查、网络运维、医疗分诊四个真实领域验证其描述覆盖能力。跨领域分析归纳出五条经验性规律,揭示环境约束(时间压力、动作权限、失败成本不对称性、数据量)与架构选择之间的关系。该框架提供一种无框架依赖、模型无关的智能体架构设计语言。

原文摘要 · Abstract (English)

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.

智能体设计架构框架认知功能拓扑结构

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。