Skip to content
Book Open access

Understanding the Code and Architectural Smells Generated by LLMs and Autonomous Agents

Oct 2026 · Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering · pp. 1043-1053 · 0 citations · 29 references

TL;DR

A systematic audit of technical debt in AI-generated software is presented, revealing that AI does not eliminate flaws but rather introduces a distinct "machine signature" of defects.

Abstract

The promise of Large Language Models (LLMs) in automated software engineering is often measured by functional correctness, overlooking the critical issue of long-term maintainability. This paper presents a systematic audit of technical debt in AI-generated software, revealing that AI does not eliminate flaws but rather introduces a distinct "machine signature" of defects. Our multi-scale analysis—spanning single-file algorithmic tasks and complex, agent-generated systems—identifies a fundamental Reasoning-Complexity Trade-off: as models become more capable, they generate increasingly bloated and coupled code. This architectural decay is so pronounced that we establish a Volume-Quality Inverse Law, where code volume is a near-perfect predictor of structural degradation. Crucially, we demonstrate that neither functional correctness nor detailed prompting mitigates this decay. These findings challenge the current paradigm of prompt-driven generation, reframing the central problem of AI-based software engineering from one of code generation to one of architectural complexity management. We conclude that future progress depends on equipping agents with explicit architectural foresight to ensure the software they build is not just functional, but also maintainable.

Read PDF

Similar papers

#artificial intelligence Preprint Sep 2026

Code That Works, Environments That Don't: Measuring Environment Reproducibility in AI-Generated Software

The findings establish environment specification as a distinct, measurable axis of code generation quality that current benchmarks do not capture, and motivate training objectives and evaluation protocols that jointly optimize for functional correctness and environmental portability.

Bhanu Prakash Vangala, Tanu Malik · 0 citations
#large language models Book Open access Oct 2026

From Unfinished to Done: Bridging the MDE Implementation Gap with Constrained LLMs

Model-driven engineering (MDE) excels at ensuring architectural consistency and managing complexity, yet extending generated code skeletons with project-specific business logic often remains a time-consuming manual task. Conversely, large language models (LLMs) offer immense flexibility in coding but may produce vibe-c...

Jörg Christian Kirchhof, Lukas Netz, Dennis Mertens et al. · 0 citations
#artificial intelligence Preprint Oct 2026

Agent4Spec: An LLM-based Agentic System to Optimize API Specifications through Automated Validation and Market Analysis

Agent4Spec is presented, an autonomous multi-agent framework featuring two distinct pipelines: a validation pipeline that detects and self-corrects OpenAPI syntax errors, and a market analysis pipeline that conducts competitive research, identifies functional gaps against industry leaders, and automatically generates m...

Yong-Jian Tang, C. Moraru, Doruk Tuncel et al. · 0 citations
Review Open access Aug 2026

From Code Generation to Code Orchestration: Evaluating the Impact of Agentic AI on Software Development Productivity, Quality and Security

This paper reviews recent empirical literature to ask what the developer's job is shifting from typing code to directing agents that type code a change often summarized as a move from code generation to code orchestration.

P. N. Nesarajan, P. Thenmozhi, S. A. et al. · 0 citations
#artificial intelligence Preprint Sep 2026

E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch

E2E-SWE is introduced, a benchmark for evaluating whether coding agents can build complete, functional software repositories end to end and finds substantial variation in end-to-end repository generation ability, providing strong model differentiation while leaving considerable headroom for future progress.

Hantian Ding, Chloe Bi, Jia-Cheng Zhu et al. · 0 citations
Preprint Sep 2026

ASAD: Adaptive Software Agents for Debugging

ASAD is introduced, an adaptive agentic system for debugging that configures its team according to the nature and complexity of each bug, and dynamically adjusts the number and roles of agents.

Yacine Majdoub, Eya Ben Charrada, Haifa Touati · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.