AI coding tools are getting better at generating code.

But as AI writes more of our application code, a different problem becomes increasingly important:

How much of the system does the AI need to understand before it can safely make a change?

This is where architecture starts to matter.

A Backend for Frontend (BFF) is usually introduced as a way to create APIs optimized for a specific frontend. But in AI-assisted development, it offers another interesting advantage: