Skip to main navigation Skip to search Skip to main content

Augmenting Software Architecture Processes
: An Agentic GraphRAG Approach for Generating Architecture Decision Records

  • Robin Berger

    Student thesis: Master's Thesis

    Abstract

    Designing software architecture is a knowledge-intensive task that requires taking into
    account multiple, heterogeneous, and disconnected sources, often proprietary models and
    documentation, to which an Large Language Model (LLM) has no access, making it prone
    to hallucinations. Instead of an autonomous ReAct agent, a deterministic, event-driven
    agentic GraphRAG assistant was implemented to operate on-premises at ELGA GmbH,
    the organisation operating Austria’s national eHealth infrastructure, and generate drafts
    of Architecture Decision Records (ADRs). It uses both dense and sparse retrieval over
    confidential documentation, Austrian eHealth laws, and a property graph transformed
    from the relational database of an Sparx Enterprise Architect (Sparx EA) repository. The
    resulting graph holds 7,840 nodes, resolved from 2,196 architectural elements, 97.3% of
    them semantically typed and none discarded. Two retrieval configurations were compared:
    one over textual sources including the solution-concept corpus, and one in which those
    concepts were replaced by the property graph. Two complexity tiers were defined: an
    ADR synthesis tier that requires content not entailed by the sources, and a factual
    question-answering tier, where answers are fully contained within the retrieved material.
    Ragas evaluation was conducted on both tiers with reference-free metrics, and five
    practising architects evaluated the ADRs in a blinded A/B setup. All 36 generated
    records were schema-conformant, and experts rated the twelve shown to them 3.38/5
    on technical correctness and 3.27 overall. The graph configuration on the Q&A tier
    yielded higher Context Utilization scores, but no significant differences in the other
    metrics. On the ADR tier, it showed no measurable differences in any of the three
    metrics. Experts rated the graph-augmented variant lower on the system dependencies
    criterion on all six prompts. Faithfulness roughly halved on the ADR tier while Answer
    Relevancy held, showing that Faithfulness penalises the justified extrapolation the task
    requires. The rank agreement with expert judgement was weak and non-significant, and
    the inter-rater agreement among the experts was indistinguishable from chance, showing
    that the intended human reference did not materialise either. The Sparx EA repository
    is structurally rich but semantically thin, supplying component identity and adjacency,
    which is not what architectural decisions turn on. Modelling quality matters as much
    as the retrieval system does. The assistant is usable as a drafting aid, but generated
    artifacts cannot be adopted as issued.
    Date of Award2026
    Original languageEnglish (American)
    Awarding Institution
    • FH OÖ
    SupervisorSusanne Schaller (Supervisor) & Andreas Hannes Schuler (Supervisor)

    Studyprogram

    • Data Science and Engineering

    Cite this

    '