Architectural Patterns in AI-Assisted Code Generation: A Systematic Review

Authors

  • Jaime David Camacho Castillo Escuela Superior Politécnica del Chimborazo image/svg+xml
  • Christian Fernando Barragán Quizhpe Universidad Estatal de Bolívar image/svg+xml https://orcid.org/0000-0003-4699-9553
  • Alex Javier Canchignia Vasco University of the Armed Forces (ESPE) image/svg+xml
  • Enrique Marcelo Baño León Investigador Independiente. Ecuador
  • Santiago Enrique Paltan García Investigador Independiente. Ecuador

DOI:

https://doi.org/10.55204/trc.v6i2.e691

Keywords:

Health in older adults, Nutritional assessment, Web application, XP methodology, Software efficiency

Abstract

Software architecture plays a fundamental role in the development of complex computing systems, as it defines high-level structural decisions that directly influence quality attributes such as maintainability, scalability, and reliability. In parallel, recent advancements in generative artificial intelligence, particularly in large language models, have driven its adoption across different phases of software engineering, primarily in automatic code generation. However, current approaches tend to focus on the implementation level, paying limited attention to architectural decisions and the explicit use of architectural patterns. This work presents a structured review of the state of the art regarding the application of generative artificial intelligence in software architecture, emphasizing the relationship between requirements, architectural decisions, and AI-assisted code generation. The methodology is based on a qualitative and comparative analysis of recent scientific literature, identifying approaches, benefits, and reported limitations. The results show that generative AI can support early architectural design, architecture-code alignment, and architectural analysis, although challenges persist, such as the lack of architectural datasets, limited interpretability, and the absence of systematic evaluation mechanisms. It is concluded that the explicit integration of architectural patterns as structured knowledge is key to improving the consistency and quality of software development assisted by artificial intelligence.

Downloads

Download data is not yet available.

References

Abrahão, S., Grundy, J., Pezzè, M., Storey, M.-A., & Tamburri, D. A. (2025). Software Engineering by and for Humans in an AI Era. En ACM Transactions on Software Engineering and Methodology (Vol. 34, Número 5). https://doi.org/10.1145/3715111

Ajayi, O. O., Kurien, A. M., Djouani, K., & Dieng, L. (2025). A Multimodal Systematic Review of Drivers’ Fatigue Detection Methodologies, Datasets, and Models. En IEEE Access (Vol. 13, pp. 158266-158284). https://doi.org/10.1109/ACCESS.2025.3606900

Al-Azzoni, I., Iqbal, S., Al Ashkar, T., & Erum, Z. (2026). Integrating Model-Driven Engineering and Large Language Models for Test Scenario Generation for Smart Contracts. En Information (Switzerland) (Vol. 17, Número 1). https://doi.org/10.3390/info17010001

Autili, M., De Sanctis, M., Inverardi, P., Memon, M. A., Pelliccione, P., & Pettinari, S. (2026). A reference architecture for ethical-aware autonomous systems. En Journal of Systems and Software (Vol. 235). https://doi.org/10.1016/j.jss.2025.112749

Bhalla, J. S., & Jodhka, M. K. (2025). Leveraging Large Language Models in the Software Development Lifecycle: Opportunities and Challenges. En International Journal of Advanced Computer Science and Applications (Vol. 16, Número 11, pp. 43-51). https://doi.org/10.14569/IJACSA.2025.0161105

Cheng, H., Husen, J. H., Lu, Y., Racharak, T., Yoshioka, N., Ubayashi, N., & Washizaki, H. (2026). Generative AI for Requirements Engineering: A Systematic Literature Review. En Software—Practice and Experience (Vol. 56, Número 2, pp. 141-170). https://doi.org/10.1002/spe.70029

Compagnucci, I., Pinciroli, R., & Trubiani, C. (2026). Experimenting Architectural Patterns in Federated Learning Systems. En Journal of Systems and Software (Vol. 232). https://doi.org/10.1016/j.jss.2025.112655

Dhawan, M. (2026). Decoupling Deployment Velocity From Platform Governance: An Empirical Case Study of WebSocket-Enabled Gateway-Microservice Architecture. En IEEE Access (Vol. 14, pp. 9348-9358). https://doi.org/10.1109/ACCESS.2026.3654150

Erickson, J. S., Santos, H., Pinheiro, V., McCusker, J. P., & McGuinness, D. L. (2025). LLM experimentation through knowledge graphs: Towards improved management, repeatability, and verification. En Journal of Web Semantics (Vol. 85). https://doi.org/10.1016/j.websem.2024.100853

Esposito, M., Li, X., Moreschini, S., Ahmad, N., Cerny, T., Vaidhyanathan, K., Lenarduzzi, V., & Taibi, D. (2026a). Generative AI for software architecture. Applications, challenges, and future directions. En Journal of Systems and Software (Vol. 231). https://doi.org/10.1016/j.jss.2025.112607

Esposito, M., Li, X., Moreschini, S., Ahmad, N., Cerny, T., Vaidhyanathan, K., Lenarduzzi, V., & Taibi, D. (2026b). Generative AI for software architecture. Applications, challenges, and future directions. En Journal of Systems and Software (Vol. 231). https://doi.org/10.1016/j.jss.2025.112607

Fuentes-Quijada, G., Ruiz-González, F., & Caro, A. (2025). Enterprise Architecture and IT Governance to Support the BizDevOps Approach: A Systematic Mapping Study. En Information Systems Frontiers (Vol. 27, Número 3, pp. 865-888). https://doi.org/10.1007/s10796-024-10473-2

Gacitúa, R., Pereira, J., & Klafft, M. (2026). Explainability in Software Architectural Decisions: The ADR-E Framework and Empirical Evaluation. En IEEE Access (Vol. 14, pp. 9038-9061). https://doi.org/10.1109/ACCESS.2025.3648573

Hyun, S., & Hurtado, J. A. (2023). Traceability of Architectural Design Decisions and Software Artifacts: A Systematic Mapping Study. En Foundations of Computing and Decision Sciences (Vol. 48, Número 4, pp. 401-423). https://doi.org/10.2478/fcds-2023-0018

Le, D. M., Dang, D.-H., & Vo, H. D. (2025). Layered microservices architecture: A multitree-based domain-driven approach. En Information and Software Technology (Vol. 183). https://doi.org/10.1016/j.infsof.2025.107720

Liu, Z., Cheon, S., Stanbury, A., Jiao, X., Xing, W., & Kang, H. (2026). Towards contextual-based AI: A scoping review of artificial intelligence in X reality for personalized learning. En Computers and Education: Artificial Intelligence (Vol. 10). https://doi.org/10.1016/j.caeai.2025.100523

Nguyen, V.-V., Nguyen, H.-K., Nguyen, K.-S., Luong, T. M.-H., Vu, D.-Q., Phung, T.-N., & Nguyen, T.-V. (2026). A Novel Unified Framework for Automated Generation and Multimodal Validation of UML Diagrams. En CMES - Computer Modeling in Engineering and Sciences (Vol. 146, Número 1). https://doi.org/10.32604/cmes.2025.075442

Nouman, M., Azam, M., Saleh, A. M., Alsaeedi, A., & Abuaddous, H. Y. (2023). A systematic review of non-functional requirements mapping into architectural styles. En Bulletin of Electrical Engineering and Informatics (Vol. 12, Número 2, pp. 1226-1236). https://doi.org/10.11591/eei.v12i2.4081

Oruthotaarachchi, C., & Wijayanayake, J. (2025). Aligning Software Product Management with Software Engineering Concepts: A Systematic Literature Review. En Journal of Information Systems Engineering and Business Intelligence (Vol. 11, Número 2, pp. 143-159). https://doi.org/10.20473/jisebi.11.2.143-159

Rodrigues, H., Rito Silva, A., & Avritzer, A. (2025). Assessment of performance and its scalability in microservice architectures: Systematic literature review. En Journal of Systems and Software (Vol. 230). https://doi.org/10.1016/j.jss.2025.112500

Shaon, Md. S. H., & Akter, M. S. (2025). Modern Approaches to Software Vulnerability Detection: A Survey of Machine Learning, Deep Learning, and Large Language Models. En Electronics (Switzerland) (Vol. 14, Número 22). https://doi.org/10.3390/electronics14224449

Downloads

Published

2026-07-03

Issue

Section

Review Articles

How to Cite

Camacho Castillo, J. D., Barragán Quizhpe, C. F., Canchignia Vasco, A. J., Baño León, E. M., & Paltan García, S. E. (2026). Architectural Patterns in AI-Assisted Code Generation: A Systematic Review. Tesla Revista Científica, 6(2), e691. https://doi.org/10.55204/trc.v6i2.e691

Similar Articles

11-20 of 496

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)