Collaborative LLM Agents for C4 Software Architecture Design Automation
By: Kamil Szczepanik, Jarosław A. Chudziak
Potential Business Impact:
Builds software plans automatically from notes.
Software architecture design is a fundamental part of creating every software system. Despite its importance, producing a C4 software architecture model, the preferred notation for such architecture, remains manual and time-consuming. We introduce an LLM-based multi-agent system that automates this task by simulating a dialogue between role-specific experts who analyze requirements and generate the Context, Container, and Component views of the C4 model. Quality is assessed with a hybrid evaluation framework: deterministic checks for structural and syntactic integrity and C4 rule consistency, plus semantic and qualitative scoring via an LLM-as-a-Judge approach. Tested on five canonical system briefs, the workflow demonstrates fast C4 model creation, sustains high compilation success, and delivers semantic fidelity. A comparison of four state-of-the-art LLMs shows different strengths relevant to architectural design. This study contributes to automated software architecture design and its evaluation methods.
Similar Papers
Evaluating Software Process Models for Multi-Agent Class-Level Code Generation
Software Engineering
Helps AI write better, cleaner computer code.
From Idea to CAD: A Language Model-Driven Multi-Agent System for Collaborative Design
Artificial Intelligence
Computers design 3D models from your drawings.
Supporting architecture evaluation for ATAM scenarios with LLMs
Software Engineering
AI helps choose the best software ideas faster.