Why Current Frontier Models Cannot Architect Complex Systems Autonomously

BK

BK

—

Nov 01, 2026

Why Current Frontier Models Cannot Architect Complex Systems Autonomously

(Just to make it clear: this article wants to be a testimony on how much I love this stuff. I owe only respect and gratitude to Open AI, Anthropic, Google and to all the other guys that have worked on this stuff, is not at all a slander)

We all know by now.

You ask a coding agent to build a feature. Within minutes, it produces hundreds of lines of code. The structure looks reasonable. The feature works. Sometimes the result is genuinely impressive.

But then something starts to feel wrong.

Yes, the agent understood what you wanted. But it understood it in its own way

You ask for a modification. Suddenly, things aren't quite so simple.

The agent that seemed so capable starts struggling. It modifies the wrong abstraction, introduces another dependency, duplicates existing logic, or fixes one problem while creating two others.

You explain the architecture again. It understands. It proposes a solution. Then, several changes later, the same problem returns.

At some point, you're no longer developing the feature. You're managing the agent's understanding of the system.

This is becoming a familiar experience in AI-assisted software development. Developers discuss it in forums, document it in technical blogs, and increasingly recognize the same recurring patterns.

And now, research is beginning to show that these aren't simply isolated frustrations.

What developers already know

There are several recurring problems that anyone working extensively with coding agents might probably recognize.

This is my personal classification with no presumption to make it an universally accepted scientific finding. But some practitioner experience behind them start emerging of the same tone

1. Architectural Amnesia

You spend an hour establishing the architecture. You explain the dependencies, the existing abstractions, the boundaries between components, and why certain decisions were made.

The agent seems to understand.

Then the conversation grows, another task begins, or the agent starts working in a different part of the repository.

And suddenly, architectural decisions that were clear a moment ago seem to have disappeared.

The agent creates a new function where an existing service should have been reused. It introduces another state-management mechanism. It implements behavior locally, without accounting for the wider system.

Incomplete architectural context, disappearing implementation plans, and dependencies that are missed when agents work with only part of the system: the problem isn't necessarily that the agent has forgotten *everything*. It's that the repository-wide relationships and constraints needed for the next decision are no longer reliably available.

2. The 20% Wall

The first 80% arrives remarkably fast.

A few prompts, a few minutes, and you've got a working feature. The UI renders, the API responds, and the happy path passes its tests.

Then comes the last 20%.

Integration with existing components. Error handling. Unexpected application states. Security constraints. Concurrency. Production requirements. Changes that must preserve everything that already works.

Suddenly, progress slows.

You discover that the impressive initial implementation wasn't necessarily the hardest part of the job. Making it fit into a real system is.

This is what might be sometimes referred as ***The 80/20 problem ***of AI coding (just an observation, not a universal measurement): when a feature generated in minutes that required hours of additional work. Augment Code identifies a similar gap between the visible functionality agents generate quickly and the production requirements they frequently leave behind.

3. The Helpful Assistant Trap

Coding agents are extraordinarily willing to help.

Sometimes, a little too willing.

Ask for a fix and the agent may propose a refactor. The refactor introduces a new abstraction. The abstraction needs another helper. The helper duplicates functionality that already exists somewhere else.

Left unchecked, the model keeps expanding scope, multiplying changes, confidently steering the codebase into chaos.

Effort shifts from implementation toward review, validation, and correction.

The immediate problem may eventually be resolved, but the codebase has become more complicated.

And an initial burst of code production can leave teams with growing complexity and a widening gap between the code they own and the code they fully understand.

4. Complexity Avoidance

You present the agent with a difficult problem involving multiple layers of the system: state propagation, asynchronous processes, data dependencies, existing services, or architectural constraints.

It might start modifying the visible component. To rewrite a nearby function. To clean up the interface.

The response looks productive. Code has changed. Tests might even pass.

But the original architectural difficulty remains unresolved.

You ask again. The agent maybe says “Now I got it!” and tries another local solution but again, the actual issue is avoided.

Please feel free to throw your rotten tomatoes…but not so fast :)

The productivity paradox: more code, surprisingly modest returns

Until recently, these conversations were mostly about developer experiences.

Now we have data.

And the numbers tell a much more complicated story than the usual promises of 3×, 5×, or 10× engineering productivity.

DX's 2026 longitudinal analysis, covering more than 400 engineering organizations between November 2024 and February 2026, reported AI coding-tool usage increased by an average of 65%.

Median pull-request throughput increased by only 7.76%.

That is significant, but nowhere near the multiplication of engineering output that many organizations anticipated.

McKinsey found another revealing contrast. In its 2026 survey of product and engineering leaders found out that only 25% of director-level and more senior respondents reported broad, meaningful acceleration, defined as at least a quarter of their teams achieving productivity gains of 2× or more.

Meanwhile 30% reported declining team productivity.

But perhaps the most interesting evidence comes from looking at what happens over time.

Researchers at Carnegie Mellon University studied open-source repositories adopting Cursor and compared them with similar repositories that hadn't adopted it.

The initial acceleration was dramatic.

In the first month, lines of code added increased by 281.3%, while commits increased by 55.4%.

In the second month, those gains dropped to 48.4% and 14.5%, respectively.

Afterward, the statistically significant velocity gains disappeared.

But two other effects persisted.

Static analysis warnings increased by 30.3%, while measured code complexity increased by 41.6%.

The researchers also found evidence that accumulated complexity and warnings contributed to subsequent velocity slowdowns.

That's an uncomfortable combination: a burst of development activity, followed by increasing maintenance burdens that can eat into future progress.

And the productivity gap doesn't end there.

The 2026 NBER study Writing Code vs. Shipping Code, using data from more than 500,000 GitHub developers, found that autonomous coding agents substantially increased coding activity. But the gains became much smaller further down the delivery pipeline: a cumulative 240% increase in commits corresponded to approximately 80% more projects and 30% more releases.

In other words, **the acceleration of code production doesn't translate proportionally into the delivery of finished software.**

Where does the effort go?

Increasingly, into the work that happens *after* the code is generated.

In the 2026 Sonar developer survey, 59% of developers characterized their effort reviewing, testing, and correcting AI-generated code as moderate or substantial. And 38% said that reviewing AI-generated code required more effort than reviewing code written by human colleagues.

Black Duck's 2026 research tells a similarly mixed story. Although 92% of surveyed teams reported productivity or release-velocity improvements, they also identified substantial bottlenecks: manual review (52%), security testing (51%), and code rework (48%).

Meanwhile, Harness's survey of 700 engineering practitioners and managers found that 81% reported developers spending more time in code review after AI adoption. Respondents estimated that roughly 31% of developer time went into work that conventional productivity metrics often failed to capture.

These studies measure different things, and they certainly don't say that AI coding tools are useless.

Quite the opposite. Their benefits are real.

But together, they expose a recurring problem:

We have become extraordinarily good at accelerating code generation without necessarily accelerating the entire process of software engineering at the same rate.

And that brings us to the elephant in the room.

Current Frontier Models Cannot Architect Complex Systems Autonomously

Ok, again: this is my hypothesis over the causes of the problems above. But both Claude And ChatGPT told me that makes sense, so i feel kosher 😁

Why does an agent that can generate hundreds of lines of apparently correct code struggle when asked to maintain or extend a complex system?

Think about a simple example coming from my personal experience (one of the many).

A user clicks a button, and a popup opens.

From the outside, it's one interaction.

Inside a real application, that behavior might depend on a state-store update, a reactive subscription, an asynchronous callback, a server request, another state change, and finally the UI rendering the popup.

Every piece may be individually straightforward.

The difficulty lies in understanding the complete chain, how the pieces interact, and what happens when one of them changes.

And here LLMs sometimes struggle. That's architecture. Not merely choosing components, but establishing the relationships, responsibilities, constraints, and dependencies that make them behave as one coherent system.

And recent benchmarks suggest that this is precisely where frontier models still encounter serious difficulties.

The models recognize the components. The relationships are another story.

R2ABench, introduced in 2026 evaluates how well LLMs generate software architecture views from requirements.

One of its most striking findings concerns the gap between identifying architectural components and reconstructing their relationships.

For GPT-5 under direct prompting, reference-component coverage reached 79.5%.

But when measuring how well it reconstructed the relationships between those components, the score was just 7.9%

These are different evaluation metrics, not directly interchangeable accuracy percentages. Nevertheless, the gap is striking.

And the structural errors tell an equally interesting story.

Across the evaluated architectures, 39.1% of classified structural errors involved invented relationships, 30.2% involved invented components. Other errors included missing connections, missing components, and incorrect layer assignments.

The models could produce architecture diagrams that looked structurally plausible while failing to recover many of the dependencies that actually defined the reference systems.

The benchmark also tested agentic frameworks. They sometimes improved individual metrics, but did not consistently resolve the relationship-reconstruction problem.

This doesn't mean there is only one valid architecture for every requirement. R2ABench itself recognizes that different designs can be reasonable.

What it does show is that producing convincing architectural components is much easier for these systems than reliably reconstructing their integration as a whole system.

Understanding a function isn't the same as understanding a running system

Another revealing study is SWE-Flux which evaluates models against 480 execution-grounded questions from 12 real Python repositories.

Instead of asking whether a model can generate plausible code, it asks something more demanding:

Can the model correctly explain what happens when real code actually runs?

For GPT-5.4, accuracy reached 69.6% on local, within-function control-flow questions.

But it dropped to 25.6% on cross-function control flow, and just 6.8% on single-test runtime dataflow questions.

On multi-test dataflow questions, the model scored **0% **(to be fair I don't think that Claude did much better)

The problem becomes much harder when the model has to trace what happens across functions, preserve intermediate states, identify runtime dependencies, or aggregate behavior across multiple executions.

This is especially important because real software systems are full of precisely those interactions.

A function calling another function. A state update triggering a subscriber. An event crossing a service boundary. A value propagating through several layers before producing an observable result.

You can understand every individual component and still misunderstand the system.

And SWE-Flux suggests that current models are considerably better at recognizing local behavior than reconstructing complex runtime behavior across a repository.

The difficulty continues from design to implementation

The same broader limitation appears in several other benchmarks.

SpecBench evaluates whether coding agents can identify incomplete, ambiguous, inconsistent, or incorrect requirements in real software design proposals. Its strongest evaluated agent, GPT-5.4, achieved 44.4% accuracy against issues identified during expert reviews.

APPFORGE asks models to implement complete Android applications from natural-language specifications. Its best-performing evaluated model, GPT-5, produced fully functionally correct applications in only 18.8% of benchmark cases.

NL2Repo-Bench evaluates agents building complete repositories from natural-language requirements. Its leading evaluated configuration achieved an average 40.2% test-pass rate—not a 40.2% rate of fully completed repositories.

And SlopCodeBench takes the problem into evolving software: agents must keep extending their own implementations while satisfying new requirements without breaking previous ones. Even powerful coding agents achieve relatively low strict checkpoint-success rates under these conditions.

These aren't identical tests, and they don't establish one universal explanation for every failure.

But they point toward a consistent boundary.

Recognizing familiar code, generating local implementations, and solving isolated problems are things modern models can do remarkably well.

Maintaining architectural consistency across requirements, dependencies, runtime behavior, and repeated modifications is considerably harder.

The missing bridge between code generation and software engineering

None of these studies, individually or collectively, proves that architectural reasoning is the sole cause of the productivity gap we talked about earlier.

But they do establish that architectural reasoning is a significant, independently observable limitation—and a compelling candidate for explaining part of the gap between generated code and engineered software.

This isn't an argument that LLMs cannot write good code.

They can.

It isn't an argument that coding agents don't improve productivity.

They do.

But software architecture is not simply a collection of boxes, functions, services, or files.

It is the set of relationships and decisions that allow those pieces to work together reliably, satisfy requirements, and continue doing so as the system changes.

And until those relationships can be established, preserved, verified, and evolved reliably, current frontier models cannot be treated as autonomous architects of complex systems.

We have already accelerated the production of code. The harder challenge is automating the engineering that makes that code a system.