Large Language Models have rapidly transformed how developers write and test code, yet their use in software architecture design remains limited. Current AI-powered assistants can generate useful snippets of code but lack a holistic view of how modules should interact to form reliable systems. We discuss ArchiLLM, an LLM-based framework that extends the capabilities of AI assistants from code generation to architecture synthesis. Given minimal textual input, such as requirements or user stories, ArchiLLM envisions a high-level microservice-based architecture before generating code, aiming to improve the reliability and coherence of AI-produced systems. The approach is validated using the Archi Dataset, built from academic and open-source microservice projects, and evaluated through quantitative metrics and expert feedback. Results suggest that ArchiLLM can effectively assist software designers in moving from abstract requirements to consistent architectures to better code, marking a step toward AI-supported software design and development.

From User Stories to Architectures: Using LLM-powered Agents to Design and Improve Microservice-based Software / Calamo, Marco; Monti, Flavia; Spaziani, Fabio; Leotta, Francesco; Mecella, Massimo. - In: IEEE SOFTWARE. - ISSN 0740-7459. - (2026), pp. 1-8. [10.1109/ms.2026.3668669]

From User Stories to Architectures: Using LLM-powered Agents to Design and Improve Microservice-based Software

Calamo, Marco
;
Monti, Flavia;Spaziani, Fabio;Leotta, Francesco;Mecella, Massimo
2026

Abstract

Large Language Models have rapidly transformed how developers write and test code, yet their use in software architecture design remains limited. Current AI-powered assistants can generate useful snippets of code but lack a holistic view of how modules should interact to form reliable systems. We discuss ArchiLLM, an LLM-based framework that extends the capabilities of AI assistants from code generation to architecture synthesis. Given minimal textual input, such as requirements or user stories, ArchiLLM envisions a high-level microservice-based architecture before generating code, aiming to improve the reliability and coherence of AI-produced systems. The approach is validated using the Archi Dataset, built from academic and open-source microservice projects, and evaluated through quantitative metrics and expert feedback. Results suggest that ArchiLLM can effectively assist software designers in moving from abstract requirements to consistent architectures to better code, marking a step toward AI-supported software design and development.
2026
Microservice architectures; Retrieval augmented generation; Large language models
01 Pubblicazione su rivista::01a Articolo in rivista
From User Stories to Architectures: Using LLM-powered Agents to Design and Improve Microservice-based Software / Calamo, Marco; Monti, Flavia; Spaziani, Fabio; Leotta, Francesco; Mecella, Massimo. - In: IEEE SOFTWARE. - ISSN 0740-7459. - (2026), pp. 1-8. [10.1109/ms.2026.3668669]
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1766934
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact