학술

Bridging Requirements and Architecture: Multi-Agent Orchestration with External Knowledge and Hierarchical Memory

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Abstract

Software architecture design is a critical yet inherently complex and knowledge-intensive phase that requires balancing competing QAs and adapting to evolving requirements.

Traditionally, this process has been time-consuming, labor-intensive, and heavily reliant on architects, often resulting in limited exploration of alternative architectural decompositions and styles.

While LLM-based agents have shown promising performance across various SE tasks, coordinating requirements analysis, multi-view modeling, and design documentation still requires explicit attention to consistency and decision rationale.

To address these challenges, we propose MAAD, a knowledge-driven framework that orchestrates four specialized agents (Analyst, Modeler, Designer, and Evaluator) to autonomously transform requirements specifications into multi-view architectural models, documentation, and preliminary evaluation reports.

MAAD incorporates RAG to inject recognized architectural standards and patterns into the workflow and leverages a hierarchical memory mechanism that captures design history for iterative refinement.

We evaluated MAAD using quantitative architecture-level metrics across 10 case studies, a comparison of configurations with and without external knowledge, a comparison of four foundational LLMs, and interviews with six practitioners.

Results show that MAAD produces more detailed architectural descriptions together with dedicated evaluation reports than the selected MetaGPT outputs, with differences in the reported structural indicators; the effects of knowledge infusion vary across metrics and cases.

The replication package of MAAD is available at [31] to support reproducibility and future extensions.

관련 뉴스