软件工程中的AI辅助聚焦于实现与验证阶段,而设计阶段,尤其是架构文档的维护,相对未得到充分服务。架构即代码(Architecture as Code)使架构制品具备版本可控、可差异对比及机器可读的特性,但并未减少其更新所需的工作量,因此设计文档最终仍会成为碎片化、依赖作者、仅部分可信的记录,无法完整说明系统为何呈现当前形态。本文提出智能体软件架构工作流(Agentic Software Architecture Workflow,A-SAW),这是一种流程级制品,它在架构即代码的基础上扩展了持久智能体层:集成于IDE的智能体从版本控制的C4模型、类型化元素目录及带工具的模板中起草架构文档,每份草稿需通过强制人工审核关卡后方可被接受。我们在一家大型工业组织中沿两个方向对其进行评估:对45份架构文档的评分标准评估,其中包含13对匹配的源-再生对;以及13项以任务为锚点的从业者访谈。结果显示,该工作流消除了导致质量不可预测的作者间差异,内在质量也有所提升,匹配对的中位数提升了19分。该团队拥有58%的平均水平,结合了模板、目录、智能体及更丰富的再生上下文,因此我们是从上方限定智能体的贡献,而非将其孤立。在智能体生成的文档中,完整性(100%)、一致性(93%)及机器可读性(99%)达到或接近评分标准的最大值,可追溯性达到79%。13名参与者中有11人拒绝未经过人工审核的智能体输出,另有1人警告称,打磨后的输出可能导致审核人员跳过审核。我们的研究支持将人工审核保持为强制要求,并将其集中于智能体必须从仓库之外进行推断的环节。
英文摘要:
AI assistance in software engineering focuses on implementation and verification, leaving the design phase, and in particular the maintenance of architecture documentation, comparatively underserved. Architecture as Code makes architectural artifacts versionable, diffable, and machine-readable, but it does not reduce the effort of keeping them updated, so design documentation still ends up as a fragmented, author-dependent, and only partially trusted record of why a system looks the way it does.
In this paper we introduce the Agentic Software Architecture Workflow (A-SAW), a process-level artifact that extends Architecture as Code with a persistent agent layer: an IDE-integrated agent drafts architecture documents from a version-controlled C4 model, a typed element catalog, and instrumented templates. Every draft passes a mandatory human review gate before it is accepted. We evaluate it in a large industrial organization along two tracks: a rubric assessment of 45 architecture documents including 13 matched source-regeneration pairs, and 13 task-anchored practitioner interviews. Our results show that the workflow collapses the between-author variance that made quality unpredictable. Intrinsic quality also rises, by a median of +19 points across the matched pair. The cohort has a mean of 58% and 89% bundle templates, catalog, agent, and a richer regeneration context. So they bound the agent's contribution from above rather than isolating it. In the agent-generated documents, completeness (100%), consistency (93%), and machine-readability (99%) reach or approach the rubric maximum, while traceability reaches 79%. Eleven of the 13 participants rejected agent output that no human had reviewed, and one warned that polished output may lead reviewers to skip the review. Our work supports keeping human review mandatory and concentrating it where the agent must infer beyond the repository.
Diagnosis-Driven Automatic Repair for Agentic Workflow via Symbolic Inference
State Key Laboratory of Complex System Modeling and Simulation Technology, Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所复杂系统建模与仿真技术国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Singapore Management University(新加坡管理大学)
Graph-Based Agentic AI with LangGraph: Workflow Pathways for Long-Running Stateful Business Processes
Dhillon School of Business, University of Lethbridge(莱斯布里奇大学迪隆商学院);Universidad de Guadalajara(瓜达拉哈拉大学);Al Hussein Technical University(侯赛因技术大学);Universidad de Guanajuato(瓜纳华托大学)
Learning to Compose for Cross-domain Agentic Workflow Generation
Hong Kong University of Science and Technology(香港理工大学);Hong Kong University of Science and Technology (Guangzhou)(香港理工大学(广州));Southeast University(东南大学);University of Tsukuba(茨口大学)
DeepWisdom(深度智慧);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Renmin University of China(中国人民大学);Nanjing University(南京大学);Fudan University(复旦大学);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Mila(米拉研究所);The Hong Kong University of Science and Technology(香港科技大学)