arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.04445cs.SE
收藏

代理AKM:迈向代理架构知识管理

AgenticAKM : Enroute to Agentic Architecture Knowledge Management

IIIT Hyderabad(印度信息技术研究所海德拉巴分校)

Rudra Dhar, Karthik Vaidhyanathan, Vasudeva Varma

AI总结:

本文提出AgenticAKM方法,通过代理协作自动化生成架构决策记录,提升架构知识管理的效率和实用性。

摘要:

架构知识管理(AKM)对于维护软件项目中的当前且全面的软件架构知识(AK)至关重要。然而,AKM往往是一个繁琐的过程,并且未被开发人员和架构师所采用。尽管大语言模型(LLMs)提供了一种自动化的机会,但一种简单的单提示方法通常效果不佳,受限于上下文限制和无法把握架构知识的分布式性质。为了解决这些限制,我们提出了一种AKM的代理方法,称为AgenticAKM,其中架构恢复和文档编写的复杂问题被分解为可管理的子任务。专门用于架构提取、检索、生成和验证的代理在结构化的流程中协作,以生成AK。为了验证,我们对我们的方法进行了初步实现,从代码库中生成架构决策记录(ADRs)。我们通过与29个仓库的用户研究验证了我们的方法。结果表明,我们的代理方法生成了更好的ADRs,并且是一种有前景且实用的自动化AKM方法。

英文摘要:

Architecture Knowledge Management (AKM) is crucial for maintaining current and comprehensive software Architecture Knowledge (AK) in a software project. However AKM is often a laborious process and is not adopted by developers and architects. While LLMs present an opportunity for automation, a naive, single-prompt approach is often ineffective, constrained by context limits and an inability to grasp the distributed nature of architectural knowledge. To address these limitations, we propose an Agentic approach for AKM, AgenticAKM, where the complex problem of architecture recovery and documentation is decomposed into manageable sub-tasks. Specialized agents for architecture Extraction, Retrieval, Generation, and Validation collaborate in a structured workflow to generate AK. To validate we made an initial instantiation of our approach to generate Architecture Decision Records (ADRs) from code repositories. We validated our approach through a user study with 29 repositories. The results demonstrate that our agentic approach generates better ADRs, and is a promising and practical approach for automating AKM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑