Home / Articles

AI · Software architecture

Why AI won't replace architecture decisions

AI writes code faster and faster, and often very well. That makes what it doesn't do all the more valuable: understanding a context, making trade-offs and deciding.

David RenaudNovember 20266 min read

I use AI every day: coding assistants, agents, test generation, analysis of existing code. I follow these tools closely and have been using them for several years. Let's be honest: on many tasks, AI writes code faster than I do, and sometimes better.

For a while, that worried me. If writing code becomes almost free, what is a developer still worth? Then I looked at what actually mattered over my seventeen-year career. It was almost never how fast code got written.

What AI doesn't decide

The decisions that weighed most on our product's life were of another kind:

Answering requires knowing the product's history, its customers, its team, its budget constraints and its risks. And it requires owning the decision. AI can suggest options, sometimes brilliant ones. It doesn't carry responsibility for the choice.

An example: modernizing without breaking everything

Faced with legacy code without a framework, the "obvious" answer would be to migrate to a full framework. That's probably what an assistant would suggest. We made another choice: introduce Slim, a lightweight framework, to structure routing and REST APIs inside the existing code.

That choice didn't come from an abstract technical comparison. It came from a context: a full rewrite attempt that had failed, a small team, a product that had to keep evolving every week. The right answer depended on everything the code doesn't say.

Another example: modeling an organization

When I designed our approval workflow engine, the hardest part wasn't writing the code. It was understanding how companies really work: a first approver who decides for everyone, successive opinions where the last one decides, a sequential chain where a single rejection stops everything. And above all, what happens in real life: an approver on leave, who left the company, who doesn't answer.

An AI can implement those rules in minutes. Identifying them requires listening to users, anticipating situations and choosing a model flexible enough for very different organizations.

AI is an amplifier

On a good architecture, AI saves an enormous amount of time. On a bad one, it produces technical debt faster than ever.

Without automated tests, generated code multiplies regressions instead of reducing them. Without code review, it introduces subtle vulnerabilities. Without a clear architecture, it adds inconsistent layers. Paradoxically, the more code AI writes, the more Software Engineering fundamentals matter: architecture, tests, review, security, documentation.

How I would bring AI into a team

Key takeaways

  • AI speeds up writing code, not understanding a context.
  • Responsibility for an architecture choice remains human.
  • The more code AI writes, the more tests, review and architecture matter.
  • Technical judgment is becoming the rarest and most valuable skill.

AI augments developers, it doesn't replace judgment. My goal isn't to compete with it on writing speed, but to use it to go further, while keeping control of what makes software last.