[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655725-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655725-en":130,"doc-similar-655725":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","collaborative-llm-agents-for-c4-software-architecture-design-automation","Collaborative LLM Agents for C4 Software Architecture Design Automation","","Software architecture design remains a foundational, but often manual and time-consuming, process—especially when producing C4 architecture models. The work presents an LLM-based multi-agent system that automates C4 Context, Container, and Component generation by simulating dialogue among role-specific experts analyzing requirements. A hybrid evaluation framework combines deterministic structural, syntactic, and C4 rule checks with LLM-as-a-Judge semantic and qualitative scoring, showing fast creation, high compilation success, and semantic fidelity across canonical system briefs.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/collaborative-llm-agents-for-c4-software-architecture-design-automation/655725/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/collaborative-llm-agents-for-c4-software-architecture-design-automation/655725.png","ImageObject",300,407,{"name":42,"@type":43},"sagouaw","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why is generating C4 software architecture models typically difficult?","Question",{"text":63,"@type":64},"Producing C4 models is manual and time-consuming, and complex systems can still lead to inconsistencies and errors across abstraction levels.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What does the proposed system automate?",{"text":68,"@type":64},"It automates C4 model generation and evaluation by simulating requirement analysis and producing Context, Container, and Component artifacts including textual analysis, YAML structure, and PlantUML diagrams.",{"name":70,"@type":61,"acceptedAnswer":71},"How is the quality of the generated C4 model evaluated?",{"text":72,"@type":64},"Evaluation uses deterministic checks for structural and syntactic integrity plus C4 rule consistency, and complements them with semantic and qualitative scoring using an LLM-as-a-Judge approach.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655725,1793052244,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":55,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},3985747862151,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Collaborative LLM Agents for C4 Software Architecture Design Automation  \narXiv :2510 .22787v1 [ cs . SE] 26 Oct 2025  \nKamil Szczepanik Warsaw University of Technology  [kamil.szczepanik.stud@pw.edu.pl](kamil.szczepanik.stud@pw.edu.pl)  \nAbstract  \nSoftware 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.  \nKeywords: LLM agents, Multi-Agent Systems, Software Architecture Design, C4 Model  \n1. Introduction  \nDesigning software architecture is a fundamental process at the start of every software system. Software Architecture Design (SAD) is a stage of software creation when all the main components, stakeholders, and all the elements for fulfilling functional and non-functional requirements are addressed (Bass et al., 2021) . This is when engineers define interactions between components, the technology stack, and how it could achieve scalability, maintainability, and security.  \nJarosław A. Chudziak Warsaw University of Technology [jaroslaw.chudziak@pw.edu.pl](jaroslaw.chudziak@pw.edu.pl)  \nMethodologies and frameworks have been developed to make this process more structured and controlled, e.g., the C4 model (Brown, 2018), TOGAF (Josey, 2016), and the 4+1 view model (Kruchten, 2002) . The C4 model is a framework for visualizing and communicating the architecture at different levels of abstraction — Context, Container, Component, Code. By well-made decomposition of the system into abstraction levels, it is possible to parallelize work and narrow its scope. The C4 model has been and still is oneof the most important tools in architecting software.  \nFor experienced engineers, this task may not be particularly hard, but it is still effortful when designing complex systems. Usually, it requires professionals with different expertise. Moreover, different levels of abstraction often demand different areas of expertise (Pargaonkar, 2023); e.g., at the Context level, a business perspective is required to correctly define all stakeholders of the system. Although the C4 model was made to control the design process, the complexity of systems can still lead to inconsistencies and errors in definition. The development of C4 levels is relatively slow, especially when drafting the first version of a complex system. Automation of the process could significantly help engineers and accelerate the work. These challenges motivate this research. By providing a first draft of a C4 model at an early stage, developers could simply validate or correct the diagrams according to their knowledge. An evaluation of the draft would be valuable as well, because it could tell the users about the flaws and quality of the model they received. This could allow skilled engineers to focus on higher-level critique and refinement rather than routine diagramming.  \nThe recent advances in Large Language Models (LLMs) show their substantial potential in analytical, creative, and routine tasks. To tackle more complex  \ntasks, researchers study LLM-based multi-agent systems (MAS) in various domains such as problem solving and","cbCaifLZCfvOtFNJ","https://ap.wps.com/l/cbCaifLZCfvOtFNJ","pdf",941812,"English","# Introduction\n# Background and Motivation\n## Software architecture and C4 model\n## LLMs and multi-agent systems in software engineering\n# Proposed Method and Contributions","[{\"question\":\"Why is generating C4 software architecture models typically difficult?\",\"answer\":\"Producing C4 models is manual and time-consuming, and complex systems can still lead to inconsistencies and errors across abstraction levels.\"},{\"question\":\"What does the proposed system automate?\",\"answer\":\"It automates C4 model generation and evaluation by simulating requirement analysis and producing Context, Container, and Component artifacts including textual analysis, YAML structure, and PlantUML diagrams.\"},{\"question\":\"How is the quality of the generated C4 model evaluated?\",\"answer\":\"Evaluation uses deterministic checks for structural and syntactic integrity plus C4 rule consistency, and complements them with semantic and qualitative scoring using an LLM-as-a-Judge approach.\"}]","Collaborative LLM Agents for C4 Software Architecture Design Automation | PDF",1792963487,25,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9171ba738eba9a7cbb0e8a4e19f0b751.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f060f19dbf65477ed1600348a524b357.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6857e29e5dc19b7c0003004ac995ca05.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/89246ed7710e4a7ed6671f41383d083f.webp",980,1268,{"list":163,"token":11},[164,170,176,183,190,197,203,210,216,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":118,"category_name":29,"create_tm":169},135757,"TwinVoice - A Multi-dimensional Benchmark Towards Digital Twins via LLM Persona Simulation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229862182808/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=7dmYmxFpM5no30SWX4K9YfDZQwI%3D","twinvoice-a-multi-dimensional-benchmark-towards-digital-twins-via-llm-persona-simulation",1787319346,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":33,"category_name":29,"create_tm":175},678100,"A Modular Multi-Agent LLM Architecture for Text-to-Diagram Generation and User-Guided Refinement","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994793281/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=4GYZB6%2BsX97Zq0xzVFuJiv3a%2FSw%3D","a-modular-multi-agent-llm-architecture-for-text-to-diagram-generation-and-user-guided-refinement",1793784219,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":29,"create_tm":182},656424,"Paper2SysArch - Structure-Constrained System Architecture Generation from Scientific Papers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975309603/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=IctCfUDkjFC5VTZx%2FUrwFdFp2g4%3D","paper2sysarch-structure-constrained-system-architecture-generation-from-scientific-papers",11,1792968416,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":29,"create_tm":189},83415,"Do You Need a Frontier Model as a Citation Verifier Benchmarking Rubric LLMs for Deep Research Source Attribution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808972518/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=BEcMDU8jZtdMkIsuMmP9hIn5hS0%3D","do-you-need-a-frontier-model-as-a-citation-verifier-benchmarking-rubric-llms-for-deep-research-source-attribution",29,1784187419,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":29,"create_tm":196},83560,"As It Was Aligning LLM Search Evaluation with Historical User Preferences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808867423/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=n6ZdBJbcuM6FgWUfrducLN340F0%3D","as-it-was-aligning-llm-search-evaluation-with-historical-user-preferences",31,1784188832,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":97,"category_name":29,"create_tm":202},656217,"Integration Definition for Function Modeling (IDEF0) - Federal Information Processing Standards Publication 183 - 1993 December 21","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975303163/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=3xdmGYdKNhJRhrab1zzEbvEgDmo%3D","integration-definition-for-function-modeling-idef0-federal-information-processing-standards-publication-183-1993-december-21",1792967056,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":29,"create_tm":209},85191,"What Does Your Short-Answer VQA Score Actually Measure Evaluator-Dependent Instability in Multimodal Short-Answer Benchmarks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809294249/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=4vmjtzTAWu6ReYB4MuajQ%2FDrwCM%3D","what-does-your-short-answer-vqa-score-actually-measure-evaluator-dependent-instability-in-multimodal-short-answer-benchmarks",27,1784201645,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":188,"category_name":29,"create_tm":215},84399,"Workflow as Knowledge: Semantic Persistence for LLM-Mediated Workflows","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809168558/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=TIJI9IG5U7w7EXpG5s7XZKLHZhs%3D","workflow-as-knowledge-semantic-persistence-for-llm-mediated-workflows",1784195324,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":30,"category_name":29,"create_tm":221},699340,"Your Harness is Not Secure - Benchmarking Real-world Threat of Command Line Interface Agent","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010898856/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=676vm%2FCg3Ni%2B37bjnAEvg5e8Z0c%3D","your-harness-is-not-secure-benchmarking-real-world-threat-of-command-line-interface-agent",1794464935,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":188,"category_name":29,"create_tm":227},82778,"Candidate Constrained Retrieval Augmented Generation for LongEval RAG System Design and Empirical Analysis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808788874/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108099&Signature=ViCQQ1zmlQ769U%2FW5xZKbXbWV%2BM%3D","candidate-constrained-retrieval-augmented-generation-for-longeval-rag-system-design-and-empirical-analysis",1784182881]