WorksComputer Science
Agents as Architecture Evaluators: Automating ATAM and SAAM for Continuous Assessment
Abstract
The long-term success of a software system relies heavily on its underlying architecture, which dictates its performance with respect to quality attributes. Software Architecture Evaluation methods, such as the Architecture Tradeoff Analysis Method (ATAM) and the Software Architecture Analysis Method (SAAM), are widely recognized for their ability to mitigate risks and ensure reliable quality attributes. However, their widespread adoption remains limited due to the significant cost, time, and human expertise required for these processes. This paper investigates the potential of agentic AI to lower these barriers and facilitate architectural assessment. To enable this preliminary study, we established a dataset by extracting human conducted evaluations from existing academic literature into a structured format. Using this dataset, we developed an agentic workflow to synthesize ATAM and SAAM evaluation reports based on these high level architectural descriptions. This approach simulates the reasoning process of human evaluators when provided with structured architectural data. We validated the approach using automated metrics and human evaluation. Agentic workflows achieve strong relevance and completeness ratings of 4.5/5 and 3.9/5 respectively. The agents successfully automated the labor-intensive phases of scenario generation and risk identification, reducing the evaluation time from weeks to under 5 minutes at a cost of less than $0.50 per run. The results confirm that agentic AI effectively lowers adoption barriers, enabling continuous, high-coverage architectural assessment.
Introduction
Software architecture serves as the fundamental bridge between high-level requirements and technical implementation, providing the structural blueprint necessary to guide a system’s development and evolution [4]. Evaluating Architecture is essential for ensuring quality attributes such as performance, security, and maintainability are addressed. Over the past two decades, established evaluation methods like ATAM, SAAM, and ALMA have been used to identify architectural risks and manage the complex tradeoffs between competing quality scenarios [3, 10, 12, 25].
Despite the rigor of these traditional methods, they often demand exhaustive, manual brainstorming sessions between architects and stakeholders. The recent surge in Generative AI and Large Language Models (LLMs) offers a promising path toward automation, with LLMs demonstrating significant potential in decision support, code generation, and documentation synthesis [11]. Capilla et al. [6] developed an initial automation approach for architecture evaluation using single LLM interactions. However, given the inherently collaborative nature of architecture evaluations, we were motivated to design an agentic framework that better simulates multi-stakeholder collaboration.
We propose a multi agent workflow as an early step to simulate a human evaluation team. Instead of processing raw enterprise artifacts, this system takes structured architectural summaries as input and synthesizes evaluation reports. We break the evaluation process into specific roles and assign them to autonomous agents. These agents plan, review, and refine tasks to approximate the structured interactions described by Kazman et al. [16, 17].
A significant hurdle in validating software architecture related systems is the lack of structured datasets. Unlike code generation tasks, architectural knowledge is typically locked in unstructured PDF reports. To evaluate this workflow, we curated a dataset by extracting human conducted evaluations for SAAM and ATAM from academic literature into a structured JSON format. The main contributions of this paper include:
A dataset of 18 ATAM and 21 SAAM structured evaluations.
An agentic workflow to simulate the architectural evaluations.
The remainder of this paper is organized as follows: § 2 provides the necessary background while § 3 presents the related work. § 4 elaborates the construction of dataset. § 5 details the design of the agentic workflow. § 6 presents results, followed by a discussions in § 8 and threats to validity in § 9. § 10 concludes the study1.
ACM Reference Format:
Adyansh Kakran, Sathvika Miryala, and Karthik Vaidyanathan. 2026. Agents as Architecture Evaluators: Automating ATAM and SAAM for Continuous Assessment. In Proceedings of the 1st International Workshop on Agentic AI for Next-Generation Software Development (AgenticDev ’26), October 12–16, 2026, Munich, Germany. ACM, New York, NY, USA, 11 pages. https://doi.org/10.1145/3843282.3844431
This work is licensed under a Creative Commons Attribution 4.0 International License.
AgenticDev ’26, Munich, Germany
© 2026 Copyright held by the owner/author(s).
ACM ISBN 979-8-4007-985-0/2026/10
https://doi.org/10.1145/3843282.3844431
Background
Software Architecture Evaluation
Software architecture serves as the blueprint for a system. Software Architecture Evaluation (SAE) methods are designed to identify risks early by evaluating the extent to which a proposed architecture meets its quality attribute requirements.
Despite the benefits of early evaluation, widely accepted methods such as SAAM and ATAM face adoption challenges [1]. Their reliance on extensive stakeholder participation over multiple days makes them resource-intensive, which often leads to their omission from the Software Development Life Cycle (SDLC), particularly in constrained environments.
We focus on two of the most popular [3, 25] software architecture evaluation techniques:
2.1.1 Software Architecture Analysis Method (SAAM). This method of evaluation focuses primarily on the quality attribute of modifiability [16]. It employs a scenario-based approach where stakeholders enumerate potential future uses or changes to the system. The scenarios are classified as direct (supported by the current architecture) or indirect (requiring structural modification). The end result of the evaluation is a modifiability assessment and general architectural strengths and weaknesses of the proposed architecture.
2.1.2 Architecture Tradeoff Analysis Method (ATAM). Building upon the foundations of SAAM, ATAM expands the scope to evaluate multiple competing quality attributes [17]. ATAM is distinct in its focus on the interaction between these attributes. The method utilizes a Utility Tree to prioritize business drivers and map them to specific architectural decisions. The primary outputs of an ATAM evaluation are architectural risks, non risks, sensitivity points and tradeoff points.
LLMs and Agentic AI in Software Engineering
The application of LLMs in software engineering has expanded beyond code generation to include high-level architectural tasks. Recent research has demonstrated the utility of LLMs in managing architectural knowledge, such as recovering architectural information from legacy codebases [23]. While singular model interactions are effective for isolated queries, Software Architecture Evaluation requires maintaining extensive system context and reasoning.
To support these complex, multi-step processes, the field has moved toward Agentic AI. Unlike standard interaction models, agentic workflows utilize LLMs as reasoning engines within a framework that supports autonomous planning, memory management, and tool usage [33]. In software engineering, multi-agent systems have the advantage of role-based collaboration, which is particularly pertinent to architecture evaluation, as it mirrors the stakeholder interactions and varied perspectives required by methods like ATAM and SAAM.
Related Work
Although methods such as ATAM and SAAM effectively identify risks, their industrial adoption remains limited due to high resource demands [1]. Sahlabadi et al. highlight that the requirement for synchronous stakeholder participation often renders these methods incompatible with modern agile processes [27]. Consequently, organizations frequently omit formal evaluation, which leads to the silent accumulation of architectural debt [1].
To reduce the costs, earlier automation attempts, such as those by Alzamil et al., utilized quantitative metrics like coupling and cohesion [2]. However, rule-based approaches fail to capture the semantic nuances necessary to evaluate trade-offs against business drivers [32]. As shown by Scalabrino et al., while quantitative metrics effectively detect structural violations, they cannot fully replace qualitative judgment in assessing quality attributes or understanding code intent [30].
Recent advances in LLMs have introduced new avenues for semantic processing in software engineering [11]. In the realm of architectural knowledge, Dhar et al. utilized LLMs to generate Architectural Decision Records [9], while Santos et al. explored LLM augmentation across the full development lifecycle [29]. For architecture evaluations in particular, Capilla et al. analyzed the performance of Microsoft Copilot in conducting ATAM evaluations [6].
To overcome the reasoning limitations of single models, recent research has pivoted toward multi-agent systems that simulate human collaboration [26]. Frameworks like MetaGPT illustrate that assigning distinct roles significantly enhances performance on complex tasks [14]. While Wang et al. underscore the significant potential for agentic systems in software engineering [33], existing workflows predominantly focus on implementation and code generation rather than high-level architectural assessment. To the best of our knowledge, no prior work has leveraged role-based agentic workflows to automate the multi-stakeholder dynamics of ATAM and SAAM.
Dataset creation
To evaluate our approach, we required architectural descriptions and corresponding human conducted evaluations, which we can use as ground truth. A significant challenge in this domain is that public software architecture evaluation studies are predominantly available as unstructured PDFs. To the best of our knowledge, there is currently no publicly available dataset that maps architectural descriptions to their corresponding evaluations.
To address the gap and validate the efficacy of our agentic workflow, we curated a dataset by extracting structured evaluation reports from academic literature. This section details the dataset curation pipeline, from case study selection to human-verification of the data.
Figure 2. Experimental Design
Primary Study Selection
To ensure our dataset represents a diverse set of architectural styles, and complexity levels, we employed a systematic selection strategy. The selection workflow is visualized in Figure 1.
Figure 1. Workflow for Selection Process
Initial Search
To achieve comprehensive coverage of both academic literature and industrial technical reports, we utilized Google Scholar as our primary index. We used a query string for selection of case studies from the platform for both evaluation methods. The query for SAAM was “intext: SAAM OR intext: Software Architecture Evaluation Method AND intitle: case study“, with an analogous query constructed for ATAM.
These search terms were designed to prioritize precision over recall, ensuring a dataset of sufficient quality to validate our proposed methodology. The search strategy explicitly targeted papers documenting practical applications of ATAM or SAAM, thereby filtering out theoretical frameworks or methodological proposals lacking an execution of the evaluation. The initial search yielded a total of 334 candidate case studies.
Filtering Duplicates
Since Google Scholar aggregates different versions of the same publication (e.g., preprints, conference proceedings, and extended journal articles), the dataset contained some redundant entries. We applied a manual deduplication process, keeping the latest archival version of each eligible paper. This step reduced the candidate pool to 322 unique studies.
Selection Criteria
Each datapoint in the dataset should contain sufficient information for a general software architecture evaluation report. To this end, the case studies were screened against strict eligibility criteria.
Inclusion Criteria (IC):
IC1: The study explicitly applies ATAM or SAAM as the primary evaluations.
IC2: The study contains a concrete, real-world or academic case study (not just a theoretical proposal).
IC3: The study provides a sufficient description of the software architecture to allow for re-evaluation.
IC4: The study explicitly lists the evaluation results that serve as ground truth.
IC5: The full text is available in English.
Exclusion Criteria (EC):
EC1: Systematic Literature Reviews (SLRs), surveys, or meta-analyses were excluded as they lack evaluation data.
EC2: Studies that mention performing an ATAM but do not publish specific findings (e.g., stating “we found 5 risks” without detailing them) were excluded.
EC3: Studies performing variants of SAAM or ATAM that deviate significantly from the standard methodology were excluded.
Following this screening, the final dataset comprised 39 case studies, with 18 ATAM and 21 SAAM evaluations, suitable for extraction.
Template Creation
A major challenge in formalizing these evaluations is the heterogeneity of natural language. To convert unstructured academic articles into a structured and standardized format, we designed a JSON schema for both ATAM and SAAM. This standardization decouples the evaluation logic from the different writing styles of different authors. Due to space limitations, we present a summary of the templates in the text boxes. The complete JSON schemas for both ATAM and SAAM are available in our replication package repository. These schemas detail the strict data types and required fields that guide the agents during the data extraction and evaluation steps.
SAAM Evaluation Template
Metadata: Paper identification, Authors, venue, year
Evaluation Inputs
System Context: domain, purpose, maturity
Evaluation Setup: goal, type, architectures
Architecture Description: components, styles
Scenario Elicitation: sources, types
Evaluation Focus: quality attributes
Ground Truth Outputs
Scenarios and classifications
Scenario-based change analysis
Inter-scenario interactions
Overall assessment and recommendations
Another motivation to create this template was the separation of data into two logically distinct sections to prevent data leakage during experimentation: (1) Evaluation Inputs: The set of inputs only the information available to an evaluator before the analysis begins. It includes business drivers, architectural information, and stakeholder constraints.
(2) Ground Truth Outputs: It captures the findings of the human experts, including identified risks, prioritized scenarios and recommendations.
Data Extraction
Since their inception, large language models (LLMs) have demonstrated strong capability in transforming unstructured textual data into structured representations. There have been multiple studies that document and validate this use case for LLMs [5, 22]. This automation enables the generation of candidate templates with significantly reduced manual effort.
ATAM Evaluation Template
Metadata
System identification and date
Evaluator organization
Phase 1 & 2 attendees (roles/titles)
Evaluation Inputs
Business Context: goals, constraints, drivers
Phase 1 Discovery: documentation, questions
Phase 2 Context: hardware, runtime constraints
Quantitative Parameters: quantifiable attributes
Investigative Prompts: style probes, raw scenarios
Ground Truth Outputs
Utility Tree: attributes, refinements, priority tuples
Architectural Approaches: patterns and rationale
Analysis Records: decisions, reasoning
Findings: risks/non-risks, tradeoffs
Final Scenarios: prioritized scenarios
We employed a Context-Aware Few-Shot Prompting strategy, to enable in-context learning [18]. The prompt structure provided to the LLM included:
Process Definition: Description of the respective Software Architecture Evaluation Process.
Role Definition: Establishing the persona of a “Software Architecture Researcher.” and giving the details of the task at hand.
Template Definition: The strict JSON structure required for the output.
One-Shot Example: A manually extracted case study to demonstrate the desired level of granularity (e.g., how to summarize a ‘Risk’ without losing technical nuance).
The LLM processed the raw text and mapped the unstructured PDFs into our predefined JSON fields, effectively standardizing terminology across different studies.
Author Validation
While LLMs are great at syntactic structuring, they are prone to hallucinations or missing out details [34]. To ensure the integrity of our dataset, we implemented a human-in-the-loop verification process. Two of the authors performed verified every generated JSON file against the original source text.
This validation process focused on three key dimensions of data quality:
Factuality Check: We verified that every technical claim, risk, or scenario present in the JSON was supported by the source text. Any inferred or extrapolated details were removed to ensure the dataset reflects only the original authors’ intent.
Completeness: We cross-referenced the extraction against the paper’s diagrams and architecture description to ensure no critical architectural constraints or non-functional requirements were missed. This was crucial for the “Evaluation Inputs”, as missing context would unfairly penalize the agent.
Data Leakage: We checked for data leakage, ensuring that information belonging to the “Ground Truth Outputs” (e.g., a specific risk found during analysis) was not accidentally categorized into the “Evaluation Inputs”.
Methodology
Figure 3 illustrates the architecture of agentic framework. As shown in the figure, the framework is designed to autonomously execute the ATAM and SAAM through coordinated role-based agents. Further, we detail the orchestration logic, the phase-by-phase workflow, and the persona engineering strategy that collectively enable the automated evaluations.
Figure 3. Main Architecture for both Workflows
Agents for Architecture Evaluation
The workflow is governed by a deterministic Orchestrator script that manages the evaluation state and enforces task sequencing. This central controller directs four specialized LLM agents. The agents communicate strictly through a shared JSON blackboard rather than a direct chat interface. When the Orchestrator assigns a task, the designated agent reads the current state of the blackboard, processes its specific role, and writes updates back to the file. To manage context limits effectively during these interactions, each agent maintains its own interaction history using a sliding window approach. This step by step process allows the system to simulate a team working on a single evaluation document. The Customer agent provides architectural information and clarifies domain constraints. The Manager acts as a facilitator, translating vague stakeholder inputs into formal requirements. The Architect performs the core technical analysis and formalizes system descriptions. Finally, the Evaluation Team synthesizes these outputs to identify risks, trade-offs and conclude the whole analysis with the final results. The agents are designed to be generalisable, but are pertinent to the SAAM and ATAM evaluation techniques.
The interaction between agents is strictly controlled by the Orchestrator to prevent endless conversation loops. When an agent receives a turn, it is provided with its specific system prompt, the current state of the JSON blackboard, and a short memory of the last three actions. We use a structured debate approach to refine the outputs. For example, to gather stakeholder requirements, the Manager agent is prompted to read the business drivers from the blackboard and propose a scenario. The Architect agent is then prompted to read this proposed scenario and check it against the recorded system constraints. If the Architect finds a technical conflict, it writes a rejection note to the blackboard. The Orchestrator then assigns the task back to the Manager to revise the scenario. This review step ensures that outputs are checked by a different role before they are finalized in the template.
The SAAM Workflow
The workflow is divided into multiple phases according to major tasks as directed in the original SAAM study by Kazman et al. [16]. The flow is visualized in Figure 4.
Figure 4. Sequence Diagram for SAAM
Phase 1: Architecture Presentation and Understanding. The process begins with the Architect establishing a shared understanding of the system. The Architect compares the provided documentation against the required fields in the JSON template. If a required field is missing or unclear, the Architect formulates a question. For example, if the text mentions a database but lacks performance details, the Architect might ask, "What is the expected transaction volume for the database component?" and writes this query to the blackboard. The Orchestrator then prompts the Customer to check the blackboard. The Customer reads the question, reviews the raw domain descriptions, and posts the answer back to the blackboard. Once the details are clear, the Architect reads the answer and updates the strict JSON schema. This defines components, connectors, and their associated quality attributes for the whole workflow to use internally.
Phase 2: Scenario Elicitation. The Manager initiates a dialogue with the Customer to gather stakeholder needs. Unlike a simple transcription, the Manager uses the architecture description from Phase 1 to filter these requests. It distinguishes between simple feature requests and true architectural drivers. These are then formatted into standard SAAM scenarios, comprising a stimulus, response, and the primary quality attribute it affects.
Phase 3: Architecture Evaluation. The Architect assesses the impact of each scenario on the formalized architecture. It classifies scenarios as direct (supported) or indirect (requires modification). For indirect scenarios, the agent estimates the change effort and identifies the specific components involved. Following this, an interaction analysis to detect structural clustering, identifying components that are affected by multiple scenarios. This analysis identifies conflicts, where scenarios impose contradictory requirements and coupling. Finally the Manager then prioritizes these interactions against business goals, ensuring they address high value concerns and not small implementation details.
Phase 4: Synthesis and Recommendations. In the final phase, the Architect aggregates the interaction data and scenario classifications. It groups direct scenarios to highlight system strengths and indirect scenarios to pinpoint weaknesses. The agent calculates a qualitative modifiability metric based on the ratio of direct to indirect scenarios. Finally, the Evaluation Team generates a prioritized list of recommendations, ranking architectural changes by their estimated effort and impact on business goals.
5.1.2 The ATAM Workflow. To automate an ATAM, we split the standard process into four distinct phases, each managed by a specific agent as shown in Figure 5. This division of responsibilities was taken from the original ATAM paper by Kazman et al. [17], making each major task in the process a phase.
Figure 5. Sequence Diagram for ATAM
The workflow proceeds as follows: Phase 1: Architecture Extraction. The Architect’s first job is to synthesize raw documentation into a structured format. It actively queries the Customer to clarify system constraints and details before converting it into a structured section called “Architectural Approaches”. This output also forces the agent to map these styles to specific quality attributes, providing a rationale for why a certain approach was chosen.
Phase 2: Utility Tree Generation. Once the architecture is documented, the Manager takes over to build the Utility Tree. This step translates high level business goals into quality attributes and corresponding scenarios. To prevent the generation of unrealistic scenarios, we built an Internal Review Protocol. The Manager drafts a scenario and posts it to the blackboard for the Architect to validate. For instance, if the Manager proposes a scenario requiring zero downtime during major updates, the Architect reads the proposal from the blackboard and reviews the current architecture constraints to see if that is technically possible. If the Architect approves and updates the status on the blackboard, the scenario is finalized. The final output is a hierarchical tree where each quality attribute and corresponding scenario is ranked by a priority tuple. This captures the importance to the stakeholder and the difficulty of handling it.
Phase 3: Scenario Elicitation. With the priorities set, the Manager moves to broader scenario generation. While Phase 2 focuses on high-priority business items, Phase 3 is about coverage. The agent brainstorms a mix of use-case, growth, and scenarios to stress-test the system boundaries. These are saved into the scenarios schema, which pairs the full textual description of the event with its primary quality attribute.
Phase 4: Analysis & Risk Assessment. The final phase is handled by the Evaluation Team. This agent looks at the data holistically, identifying all possible avenues of architectural debt. It may request technical parameter estimates from the Architect to clarify uncertainties. The final output is recorded in the JSON schema, where findings are categorized into risks, non_risks, sensitivity_points and tradeoff_points.
Reasoning and Metric Collection
To understand not just the quality of the output but also the cost, we built two logging mechanisms into the framework:
Efficiency Tracker: Since agentic workflows are prone to trigger a cascade of API calls due to repeated back-and-forth communication between the agents, this tracker logs the token usage and latency for every interaction. This gave us the data needed to estimate the actual economic cost of running an automated ATAM versus a human one.
Reasoning Logger: We instructed every agent to prepend a reasoning block to their JSON outputs. This acts as a kind of internal monologue, explaining why a risk was flagged or a scenario was prioritized. This reasoning trail was helpful during validation, helping us distinguish between sound logical conclusions and occasional hallucinations.
Persona Design and Prompting Techniques
A major benefit of using multi agent systems is the ability to use multiple different roles for each task. We used Persona based prompting to enforce these role boundaries [31]. For example, the Architect is prompted to be defensive and technical, while the Evaluation Team is told to be skeptical and critical. This manufactured conflict prevents the agents from simply agreeing with each other, forcing the kind of debate that happens in real architectural evaluations.
Finally, enforcing our JSON schema was a significant challenge. To handle this, we used a Self-Correcting Prompt Loop. If an agent generated an invalid JSON, the error was caught and fed back to the Orchestrator, which then re-prompted the agent to fix the syntax. This loop ensured that the final outputs were always structured correctly.
Results
The experiments are designed to address the following research questions, which we use to evaluate the data extraction process and agentic workflow.
RQ1: How accurately can LLMs extract unstructured architectural data and populate formal evaluation templates?
RQ2: To what extent can agentic workflows replicate human-led software architecture evaluations?
RQ2.1: How do agent-generated evaluations compare to human baselines across automated metrics?
RQ2.2: How does the quality of agentic evaluations differ from human teams in terms of quality, as judged by humans?
RQ3: What are the cost and sustainability implications of automating software architecture evaluation?
Experimental Setup
To assess the capabilities of our agentic framework, we executed the evaluation pipeline against all the verified case studies in our dataset. To ensure reproducibility and minimize variance during the generation of the evaluation reports, we set the temperature to 0.2 for all model inferences.
Model Selection. Since our study utilizes LLMs in multiple distinct use cases, model selection was critical. We referenced the LMSYS Chatbot Arena Leaderboard2 to identify state-of-the-art models. Table 1 summarizes the models selected for different tasks in this study. We selected Gemini 3 Flash for high-volume tasks (Data Extraction, Judging) due to its cost-efficiency. For the core Agentic Workflow, we evaluated three distinct model families: Gemini 3 Flash, Claude 4.5 Sonnet, and DeepSeek v3.2. This selection allows us to benchmark proprietary efficiency models against open-weights alternatives, providing a representative snapshot of the state-of-the-art at the time our experiments were conducted.
| Task | Model | Context | Open Source |
| Data Extraction | Gemini 3 Flash | 1M | No |
| Agentic Workflow | Claude 4.5 Sonnet | 1M | No |
| Agentic Workflow | Gemini 3 Flash | 1M | No |
| Agentic Workflow | Deepseek v3.2 | 128K | Yes |
| LLM-as-a-judge | Gemini 3 Flash | 1M | No |
Table 1. Models Selected
Evaluation Metrics
Evaluating the output of a subjective process like software architecture evaluation is challenging. To address this, we employed a multifaceted evaluation strategy. We utilized four standard NLP metrics—ROUGE-L [21], BLEU [24], and METEOR [19], and BERTScore [37]. These metrics provide a quantitative baseline for lexical and semantic similarity between the agent-generated reports and the ground-truth human evaluations.
To bridge the gap between statistical similarity and human utility, we conducted both an LLM-as-a-Judge [20] evaluation and a Human Evaluation, performed by two of the authors. For both evaluations, we established a rubric based on a 5-point Likert scale across four dimensions:
Relevance: The degree to which the generated risks and scenarios pertain specifically to the architecture under review.
Coherence: The logical flow of the evaluation, ensuring that identified risks are linked to the final architectural decisions.
Completeness: The extent to which the agent identified critical risks and sensitivity points that were flagged in the ground-truth human expert reports.
Conciseness: The information density of the report, penalizing verbosity or repetitive filler text that dilutes technical insights.
In the following subsections, we analyze these results in detail, addressing each research question sequentially to validate both the quality of our ground-truth dataset and the efficacy of the agentic evaluations.
RQ1 Data Extraction Performance
The performance of the agentic workflow is predicated on the quality of the input data. Our extraction pipeline processed a total of 39 primary studies (18 ATAM and 21 SAAM). The results indicate that modern LLMs are highly suited for syntactic structuring, the extraction process yielded zero JSON schema violations, confirming that the model could strictly adhere to the complex template definitions provided in Section 4.2.
However, information retrieval required human intervention. During the validation phase, we identified two primary error categories:
Missing key information: In 7 of the 39 cases (), the LLM failed to capture niche scenarios that were present in the given reference texts, and the authors had to manually add them to the populated template.
Hallucination: In 2 cases (), the model fabricated minor details to fill fields where the original text was ambiguous, despite instructions in the prompt to mark such fields as “Unknown.”
The diverse dataset resulting from this human-verified extraction serves as the foundation for the subsequent performance analysis.
RQ2.1 Automated Metrics

Figure 6. Lexical and Semantic Evaluation Metrics
Figure 6 shows the performance of our agentic system on the lexical and semantic based metrics. Table 2 summarizes the performance for LLM-as-a-judge and human evaluations across all three models.
Lexical Similarity: Traditional lexical similarity metrics yielded low absolute scores across all models and both evaluation methods. Metrics such as ROUGE-L, BLEU, and METEOR rely heavily on word overlap, which make them less suited for this task, but help in identifying data leakages and give an idea of word matches. Relatively, all the models performed similarly, although the proprietary models take a slight edge over DeepSeek v3.2.
Semantic Similarity: The BERTScore provides a more accurate reflection of performance, measuring semantic embedding overlap rather than token matching. The consistent scores in the 0.55 – 0.60 range for both ATAM and SAAM suggest that while the wording differed, the evaluation generated by the agentic systems was similar to the human baselines in structure and sense.
LLM-as-a-Judge: In the automated qualitative assessment, Claude 4.5 Sonnet notably outperformed other models in Relevance and Completeness. However, the results highlight a distinct divergence in model strengths. While Claude achieved superior scores in identifying comprehensive risks, Gemini 3 Flash consistently scored higher in Coherence and Conciseness across both ATAM and SAAM tasks. This is known as “verbosity bias” [28], where some models prefer to give verbose outputs even if the information in the response is diluted. This shows us a tradeoff in model performance when it comes to performing such complex tasks.
Human Evaluation Insights
While automated metrics provide a baseline, the nuance of software architecture requires human judgment. Our human evaluation revealed that agentic systems are highly capable of replicating the form of an evaluation, but differ in the substance of their analysis. In this analysis, we concluded that even though all the models performed very closely, Claude 4.5 Sonnet produced the most complete software architecture evaluations, given our dataset as input.
A consistent trend observed across all models was the trade-off between coverage and focus. The agentic systems proved to be exhaustive, often identifying a higher volume of risks and scenarios than the human teams. As reflected in the Conciseness scores (Table 2), human evaluators penalized the models for listing low-impact risks alongside critical ones. The agents lacked the knowledge and experience required to filter out technically valid but business-irrelevant findings.
| Method | Model | LLM-as-a-Judge | Human Evaluation | |||||||
| Relevance | Coherence | Completeness | Conciseness | Relevance | Coherence | Completeness | Conciseness | |||
| SAAM | Gemini 3 Flash | 3.738 | 4.429 | 3.179 | 4.191 | 4.375 | 4.292 | 3.708 | 4.542 | |
| DeepSeek v3.2 | 3.886 | 4.648 | 3.239 | 4.102 | 4.292 | 4.375 | 3.750 | 4.292 | ||
| Claude 4.5 Sonnet | 4.466 | 4.83 | 4.227 | 3.886 | 3.917 | 4.292 | 3.875 | 2.958 | ||
| ATAM | Gemini 3 Flash | 4.444 | 4.931 | 3.583 | 4.875 | 4.545 | 4.227 | 3.455 | 4.364 | |
| DeepSeek v3.2 | 4.25 | 4.708 | 3.306 | 4.431 | 4.136 | 3.864 | 3.182 | 3.864 | ||
| Claude 4.5 Sonnet | 4.639 | 4.722 | 4.25 | 4.139 | 4.182 | 4.136 | 3.636 | 3.182 |
Table 2. Evaluation Metrics for Agent Generated Software Architecture Evaluations
Despite the prioritization challenges, the agents demonstrated instances of reasoning that surpassed the source material. For example, in the ATAM evaluation for the Wargame 2000 system, Claude 4.5 Sonnet generated a logistical scenario regarding the time-cost analysis of realistic missile simulations, a critical concern that was absent in the original human-conducted study. This suggests that the agents can leverage their domain knowledge to uncover risks that human teams might overlook due to scope constraints.
Cost and Sustainability Impact
To assess the practical viability of automating software architecture evaluation, we analyzed the computational and economic costs associated with each agentic workflow. Table 3 presents the average token consumption and execution time across our dataset.
| Method | Model | Input Tokens | Output Tokens | Time Taken (s) |
| SAAM | Gemini 3 Flash | 7129 | 2739 | 207 |
| DeepSeek v3.2 | 10282 | 4046 | 217 | |
| Claude 4.5 Sonnet | 26138 | 17901 | 391 | |
| ATAM | Gemini 3 Flash | 25730 | 7568 | 140 |
| DeepSeek v3.2 | 63167 | 7253 | 196 | |
| Claude 4.5 Sonnet | 4517 | 17290 | 291 |
Table 3. Efficiency Metrics for Agentic Systems
The data reveals a significant differentiation in efficiency driven by model architectures. Gemini 3 Flash demonstrated the most streamlined performance, requiring the lowest token count and execution time while simultaneously achieving the highest ratings in our human evaluation (refer to Table 2). In contrast, Claude 4.5 Sonnet exhibited a high degree of verbosity, consuming nearly double the time and significantly more output tokens. This correlation suggests that while larger, more verbose models may offer detailed reasoning, they do not necessarily yield higher utility in structured evaluation tasks where conciseness is preferred.
Beyond computational metrics, the economic implications of this workflow are substantial. A traditional human-led ATAM is a resource-intensive process, typically requiring 3 to 4 person-weeks of total effort as stated by Clements et al. [8]. Based on standard industry estimation techniques [15], a single evaluation can cost between $5,000 and $10,000 when factoring in the billable hours of architects and managers.
In comparison, our most expensive agentic run (Claude 4.5 Sonnet) incurred a compute cost of approximately $0.40 and completed the task in under 5 minutes. While the agentic workflow is not yet a complete replacement for human expertise, this order-of-magnitude reduction in cost and time lowers the barrier to entry for architecture evaluation. It allows organizations to treat evaluation not as a costly, one-time ritual, but as a routine, continuous check, where human experts are brought in to review the high-priority risks identified by the agent.
Discussion
Our results demonstrate that Agentic AI can effectively reduce the barriers to Software Architecture Evaluation.
Lessons Learned
We observed that agents perform well at broad risk identification but struggle with relevance filtering. During the human evaluation, we noted that the outputs often contained too many scenarios. The agents frequently prioritized minor details, such as dependency mismatches, over actual structural concerns. This indicates that while agents can follow the basic steps of an evaluation, they lack the business intuition needed to find the most critical flaws. A potential solution for future work is context engineering. By providing the agents with stricter business guidelines and explicit project constraints in their initial prompts, we might be able to guide the models to filter out irrelevant details before the human review stage.
Furthermore, the quality of the output was heavily dependent on the description of the input. In the SAAM workflow, agents often defaulted to generic non-functional requirements when the input context was sparse. Conversely, the ATAM workflow demonstrated significantly higher quality when the Evaluation Inputs included raw candidate scenarios extracted from the text. This suggests that agentic systems perform best when given specific stakeholder data, guiding them to the correct direction.
We also note that our inputs were structured summaries extracted from academic papers. In a real setting, architecture evaluation involves navigating missing information, conflicting stakeholder opinions, and large volumes of raw documentation. Because our agents received clean data, their performance likely represents a best case scenario. Applying this workflow in practice will require additional steps to process raw project documents before the core evaluation agents can begin their analysis.
Implications for Researchers
Capilla et al. [7] emphasized that widespread adoption of architecture knowledge management requires “intelligent” tools capable of semi-automating documentation and reasoning. This is essential to prevent “knowledge vaporization” in modern large scale software systems, where manually documenting is a major cause [13]. By demonstrating the potential of agents to act as active reasoning partners, we are moving closer towards the automation they envisioned.
To this end, the dataset curated in this study provides a starting point for validating specialized models for software architectural evaluation tasks. This dataset can be used to further create and evaluate such systems, validating their real-world applicability. Additionally, our observation that agents occasionally identified valid risks missed by human evaluators suggests a promising avenue for research into hybrid workflows, where the human is more involved in the agentic workflow, acting as a partner rather than basic enablers.
Implications for Practitioners
Our preliminary results suggest that agentic systems are best used as drafting tools rather than independent evaluators. Babar et al. [1] note that time and resource costs prevent many organizations from adopting evaluation methods. Our workflow helps lower this barrier by handling the initial phase of data collection and scenario generation.
In practice, a human architect would not accept the agent output as a final report. Instead, they would use the tool as a starting point. The human user would first provide the available architecture documents to the system. The agents then process this data to generate a draft containing potential scenarios and risks. At this point, the human architect must step in to review the generated JSON file. They will manually delete scenarios that are technically valid but practically unimportant for the business, and they will adjust the priority levels of the remaining items.
The most important human task in this workflow is writing the final recommendations. While the agents can list structural problems, preparing a convincing summary for management requires human experience. Proposing a realistic architectural change requires an understanding of company budgets and team capabilities, which the agents do not have. Therefore, the tool acts as a brainstorming assistant that helps reduce the initial blank page problem, rather than an autonomous decision maker. The human architect remains responsible for filtering the data and making the final decisions.
Threats to Validity
We follow the distinction outlined by Wohlin et al. [36] and discuss the efforts taken to mitigate identified threats to the validity of our study.
External Validity
The primary threat lies in the selection of specific LLMs and the design of the agent personas. Due to limitations with number of LLMs we can experiment with, the training data of selected LLMs might produce a bias. To mitigate this, we selected models based on the LMSYS Chatbot Arena Leaderboard to ensure they represent the state-of-the-art at the time of conducting the study. Furthermore, the design of our agents is strictly based on the stakeholder definitions and protocols defined by Kazman et al. in the original ATAM and SAAM studies [16, 17] to ensure the workflow remains methodologically sound.
Internal Validity
Internal validity threats arise from the configuration of the models and the inherent bias in automated evaluation metrics. We addressed this by maintaining identical hyperparameter configurations across all experimental runs. While the use of an LLM-as-a-Judge introduces self-preference bias [35], we mitigated this by contrasting these scores with manual human evaluation. Similarly, while a single model was utilized for the initial data extraction, the data was validated using manual author validation.
Construct Validity
The subjective nature of software architecture evaluation poses a challenge to construct validity. To minimize interpretation bias regarding the quality of the generated reports, the human evaluation was conducted independently by two authors. This separation ensured no personal bias influenced the scores. Additionally, the creation of the dataset involved a dual-verification process where both authors explicitly validated each extracted data point, ensuring that the ground truth represented the findings of the original case studies.
Another major threat to construct validity is the nature of our input data. Real software architectural evaluation involves navigating messy, incomplete, and sometimes contradictory documentation. It also involves speaking directly with stakeholders to uncover hidden requirements. In this study, the agents evaluate academic papers and case study summaries. These documents are already condensed and structured by human authors. In some cases within our dataset, the provided architecture descriptions are brief and lack the technical depth found in industrial settings.
As a result, the agents operate on simplified, pre-processed information rather than raw enterprise artifacts. Because they only know what is in the text, they cannot ask follow up questions to real users to fill in missing gaps. This limits the generalizability of our results. This study primarily tests if agents can follow the structured steps of ATAM and SAAM when given clean data. It does not prove that the system can currently handle the noise and complexity of a real world corporate environment. Future work must test this multi-agent approach on raw, unstructured enterprise data to better understand its practical limitations and fail cases.
Conclusion and Future Work
This paper investigated the feasibility of automating software architecture evaluation through the use of agentic AI workflows. By establishing a validated dataset and designing role-based agents, we demonstrated that LLMs in an agentic setup can effectively replicate the procedural steps of ATAM and SAAM. Our findings indicate that while these agents significantly reduce the time and cost associated with evaluation, they currently function best as helpers rather than replacements. They excel at broad risk identification and scenario generation, enabling organizations to transition from sporadic, high-cost reviews to continuous architectural assessment, provided that human expertise remains in the loop.
Future research should focus on expanding the open dataset to include a wider variety of architectural styles and domain-specific case studies. It can also be extended to other forms of software architecture evaluation methods, since it currently only supports SAAM and ATAM. Another possible direction is to evolve the current workflow into a fully dynamic, conversational system. Specifically, turning the Customer agent into an actual human who can provide any necessary information asked by the Evaluation Team. This will more closely simulate the conversational nature of such architectural evaluations.
Data Availability
The dataset consisting of 39 structured architectural evaluation case studies and the source code for the agentic workflow, including outputs and final results, are publicly available. These resources can be accessed via our replication package at https://zenodo.org/records/21374126. Received 2026-07-15; accepted 2026-08-20
References
- [1]Muhammad Ali Babar, Len Bass, and Ian Gorton. 2007. Factors Influencing Industrial Practices of Software Architecture Evaluation: An Empirical Investigation. In Software Architectures, Components, and Applications. Springer Berlin Heidelberg. doi:10.1007/978-3-540-74494-8_9
- [2]Zakarya Abdollah Alzamil. 2023. Software Coupling and Cohesion Model for Measuring the Quality of Software Components. Computers, Materials and Continua 77, 3 (2023), 3139–3161. doi:10.32604/cmc.2023.042711DOI
- [3]M.A. Babar, L. Zhu, and R. Jeffery. 2004. A framework for classifying and comparing software architecture evaluation methods. In 2004 Australian Software Engineering Conference. Proceedings. 309–318. doi:10.1109/ASWEC.2004.1290484DOI
- [4]Len Bass, Paul Clements, and Rick Kazman. 2021. Software Architecture in Practice (4th ed.). Addison-Wesley Professional. doi:10.5555/3329764
- [5]Jörg Brünnhäußer, Xiaoxu Zhang, Erik Paul Konietzko, and Stefan Kehl. 2025. Automated Information Extraction from Unstructured Documents Using Large Language Models and different Questioning Strategies. In 2025 5th International Conference on Electrical, Computer, Communications and Mechatronics Engineering (ICECCME). 1–6. doi:10.1109/ICECCME64568.2025.11277979
- [6]Rafael Capilla, J. Andrés Díaz-Pace, Yamid Ramírez, Jennifer Pérez, and Vanessa Rodríguez-Horcajo. 2025. Supporting architecture evaluation for ATAM scenarios with LLMs. arXiv:2506.00150 [cs.SE]. doi:10.48550/arXiv.2506.00150DOI
- [7]Rafael Capilla, Anton Jansen, Antony Tang, Paris Avgeriou, and Muhammad Ali Babar. 2016. 10 years of software architecture knowledge management: Practice and future. Journal of Systems and Software 116 (2016), 191–205. doi:10.1016/j.jss.2015.08.054DOI
- [8]Paul Clements, Rick Kazman, and Mark Klein. 2001. Evaluating Software Architectures: Methods and Case Studies. Carnegie Mellon University, Software Engineering Institute’s Digital Library. doi:10.5555/560789
- [9]Rudra Dhar, Karthik Vaidhyanathan, and Vasudeva Varma. 2024. Can LLMs Generate Architectural Design Decisions? - An Exploratory Empirical Study. In 2024 IEEE 21st International Conference on Software Architecture (ICSA). 79–89. doi:10.1109/ICSA59870.2024.00016
- [10]L. Dobricia and E. Niemela. 2002. A survey on software architecture analysis methods. IEEE Transactions on Software Engineering 28, 7 (2002), 638–653. doi:10.1109/TSE.2002.1019479
- [11]Matteo Esposito, Xiaozhu Liu, Sergio Moreschini, Noman Ahmad, Tomas Cerny, Karthik Vaidhyanathan, Valentina Lenarduzzi, and Davide Taibi. 2025. Generative AI for software architecture applications, challenges, and future directions. Journal of Systems and Software (2025), 112607. doi:10.1016/j.jss.2025.112379
- [12]Iffat Fatima and Patricia Lago. 2023. A Review of Software Architecture Evaluation Methods for Sustainability Assessment. In 2023 IEEE 20th International Conference on Software Architecture Companion (ICSA-C). 191–194. doi:10.1109/ICSA-C57050.2023.00050
- [13]Martin Feilkas, Daniel Ratiu, and Elmar Jurgens. 2009. The loss of architectural knowledge during system evolution: An industrial case study. In 2009 IEEE 17th International Conference on Program Comprehension. 188–197. doi:10.1109/ICPC.2009.5090042DOI
- [14]Sirui Hong, Mingchen Zhuge, Jonathan Chen, Xiaowu Zheng, Yuheng Cheng, Jinlin Wang, Ceyao Zhang, zili wang, Steven Yau, Zijuan Lin, Liyang Zhou, Chenyu Ran, Lengfeng Xiao, Chenglin Wu, and Jürgen Schmidhuber. 2024. MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework. In International Conference on Learning Representations, Vol. 2024. 23247–23275. doi:10.48550/arXiv.2308.00352DOI
- [15]Magne Jorgensen and Martin Shepperd. 2007. A Systematic Review of Software Development Cost Estimation Studies. IEEE Transactions on Software Engineering 33, 1 (2007), 33–53. doi:10.1109/TSE.2007.256943DOI
- [16]R. Kazman, L. Bass, G. Abowd, and M. Webb. 1994. SAAM: a method for analyzing the properties of software architectures. In Proceedings of 16th International Conference on Software Engineering. 81–90. doi:10.1109/ICSE.1994.296768
- [17]R. Kazman, M. Klein, M. Barbacci, T. Longstaff, H. Lipson, and J. Carrierе. 1998. The architecture tradeoff analysis method. In Proceedings. Fourth IEEE International Conference on Engineering of Complex Computer Systems (Cat. No.98EX193). 68–78. doi:10.1109/ICECCS.1998.706657
- [18]Alice Kwak, Clayton Morrison, Derek Bambauer, and Mihai Surdeanu. 2024. Classify First, and Then Extract: Prompt Chaining Technique for Information Extraction. In Proceedings of the Natural Legal Language Processing Workshop 2024. Association for Computational Linguistics, Miami, FL, USA, 303–317. doi:10.18653/v1/2024.nllp-1.25DOI
- [19]Alon Lavie and Abhaya Agarwal. 2007. METEOR: An Automatic Metric for MT Evaluation with High Levels of Correlation with Human Judgments. In Proceedings of the Second Workshop on Statistical Machine Translation. Association for Computational Linguistics, Prague, Czech Republic, 228–231. doi:10.3115/1626355.1626389
- [20]Haitao Li, Qian Dong, Junjie Chen, Huixue Su, Yujia Zhou, Qingyao Ai, Ziyi Ye, and Yiqun Liu. 2024. LLMs-as-Judges: An Comprehensive Survey on LLM-based Evaluation Methods. arXiv:2412.05579 [cs.CL]. doi:10.48550/arXiv.2411.15594
- [21]Chin-Yew Lin. 2004. ROUGE: A Package for Automatic Evaluation of Summaries. In Text Summarization Branches Out. Association for Computational Linguistics, Barcelona, Spain, 74–81. doi:10.3115/1218955.1218998
- [22]Pietro Marini, Aécio Santos, Nicole Pontaxis, and Juliana Freire. 2025. Data Gatherer: LLM-Powered Dataset Reference Extraction from Scientific Literature. In Proceedings of the Fifth Workshop on Scholarly Document Processing (SDP 2025). Association for Computational Linguistics, Vienna, Austria, 114–123. doi:10.18653/v1/2025.sdp-1.10
- [23]Rusheng Pan, Bingcheng Mao, Tianyi Ma, and Zhenhua Ling. 2026. Ar-chAgent: Scalable Legacy Software Architecture Recovery with LLMs. arXiv:2601.13007 [cs.SE]. doi:10.48550/arXiv.2503.05333
- [24]Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a Method for Automatic Evaluation of Machine Translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 311–318. doi:10.3115/1073083.1073135DOI
- [25]Anil Patidar and Ugrasen Suman. 2015. A survey on software architecture evaluation methods. In 2015 2nd International Conference on Computing for Sustainable Global Development (INDIACom). 967–972.
- [26]Chen Qian, Wei Liu, Hongzhang Liu, Nuo Chen, Yufan Dang, Jiahao Li, Cheng Yang, Weize Chen, Yusheng Su, Xin Cong, Juyuan Xu, Dahai Li, Zhiyuan Liu, and Maosong Sun. 2024. ChatDev: Communicative Agents for Software Development. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, 15174–15186. doi:10.18653/v1/2024.acl-long.810
- [27]mahdi Sahlakbadi, Ravie Chandren Muniyandi, Zarina Shukur, and Faizan Qamar. 2022. Lightweight Software Architecture Evaluation for Industry: A Comprehensive Review. Sensors 22, 3 (2022). doi:10.3390/s22031252
- [28]Keita Saito, Akifumi Wachi, Koki Wataoka, and Youhei Akimoto. 2023. Verbosity Bias in Preference Labeling by Large Language Models. arXiv:2310.10076 [cs.CL]. doi:10.48550/arXiv.2310.10047
- [29]Gonçalo Santos, Clara Silveira, Vitor Santos, Arnaldo Santos, and Henrique Mamede. 2025. Applying Large Language Models to Software Development: Enhancing Requirements, Design and Code. In New Trends in Disruptive Technologies, Tech Ethics and Artificial Intelligence. Springer Nature Switzerland, Cham, 226–239. doi:10.1007/978-3-031-78255-8_12
- [30]Simone Scalabrino, Gabriele Bavota, Christopher Vendome, Mario Linares-Vásquez, Denys Poshyvanyk, and Rocco Oliveto. 2017. Automatically assessing code understandability: How far are we?. In 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE). 417–427. doi:10.1109/ASE.2017.8115654
- [31]Nate Straub, Saara Khan, Katharina Jay, Brian Cabral, and Oskar Linde. 2025. Persona-based Multi-Agent Collaboration for Brainstorming. arXiv:2512.04488 [cs.AI] doi:10.48550/arXiv.2512.04488
- [32]Zhiyuan Wan, Yun Zhang, Xin Xia, Yi Jiang, and David Lo. 2023. Software Architecture in Practice: Challenges and Opportunities. In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (San Francisco, CA, USA) (ESEC/FSE 2023). Association for Computing Machinery, New York, NY, USA, 1457–1469. doi:10.1145/3611643.3616367
- [33]Yanlin Wang, Wanjun Zhong, Yanxian Huang, Ensheng Shi, Min Yang, Jiachi Chen, Hui Li, Yuchi Ma, Qianxiang Wang, and Zibin Zheng. 2025. Agents in software engineering: survey, landscape, and vision. Automated Software Eng. 32, 2 (Aug. 2025), 36 pages. doi:10.1007/s10515-025-00544-2DOI
- [34]Yu Watanabe, Koichiro Ito, and Shigeki Matsubara. 2025. Capabilities and Challenges for LLMs in Metadata Extraction from Scholarly Papers. In Sustainability and Empowerment in the Context of Digital Libraries, Gillian Oliver, Viviane Frings-Hessami, Jia Tina Du, and Taro Tezuka (Eds.). Springer Nature Singapore, Singapore, 280–287. doi:10.1007/978-3-031-58750-2_9
- [35]Koki Wataoka, Tsubasa Takahashi, and Ryokan Ri. 2025. Self-Preference Bias in LLM-as-a-Judge. arXiv:2410.21819 [cs.CL] doi:10.48550/arXiv.2410.21819DOI
- [36]Claes Wohlin, Per Runeson, Martin Host, Magnus C. Ohlsson, Bjorn Regnell, and Anders Wesslen. 2012. Experimentation in Software Engineering. Springer Publishing Company, Incorporated. doi:10.1007/978-3-642-20944-2
- [37]Tianyi Zhang, Varsha Kishore, Felix Wu, K Q Weinberger, and Yoav Artzi. 2020. BERTScore: Evaluating Text Generation with BERT. arXiv:1904.09675 [cs.CL] doi:10.48550/arXiv.1904.09675




