AI-assisted programming lets teams build systems so convoluted that no one — not even an AI — can understand or fix them.
Florian Herrengt has a name for a failure mode he thinks AI coding assistants are creating: cognitive debt. His observation is that teams using AI to write code can end up in a situation where the accumulated complexity outruns everyone's ability to reason about it:
This project has become so convoluted, with so many layers and services, that no one on your team could possibly start to understand what's going on.
The analogy is to technical debt, the familiar idea that shortcuts in code pile up and have to be paid off later. Cognitive debt is different in kind, not just degree. Technical debt is code that's ugly but understood — someone wrote it and could explain why. Cognitive debt is code nobody wrote, in a sense. It was generated, accepted, and shipped by people who reviewed the output of a machine rather than building the thing themselves. The debt isn't in the code's quality; it's in the gap between what the system does and what any human can hold in their head about it.
Why does this matter more now than it did before AI assistants? Because the bottleneck used to be writing code, and that bottleneck forced a kind of discipline. A team could only produce complexity at the speed its members could type and think. An assistant removes that constraint. It will happily generate another service, another abstraction layer, another pile of boilerplate, faster than anyone can absorb what it did. The output looks fine — it compiles, tests pass, the feature works — so it ships. Repeat this for months and you get a system whose size is set by how fast an AI can generate it, while the team's understanding is still set by how fast humans can read.
Herrengt's sharper point is what happens when something breaks. The traditional fix for convoluted code is to sit down and untangle it — slow, but possible. His claim is that these systems can get so tangled that even the AI can't help. Debugging a system requires the assistant to load enough of it into context to reason about, and the same generation speed that created the mess also makes the mess bigger than any model's working memory. The tool that dug the hole can't climb out of it.
Who is this for? Plainly: people who use AI coding assistants to build software they don't fully understand, which in practice means developers, technical founders, and teams shipping AI-generated code. If you are not building software, this idea mostly doesn't apply to you — a chatbot summarizing your documents can't accumulate this kind of hidden structural debt, because there's no running system whose internal connections can surprise you. The closest non-developer version is a warning about delegating any complex, ongoing artifact — a business's books, a legal setup — to an assistant without anyone tracking how the pieces fit together, but that is a loose analogy, not what Herrengt is describing.
Is it usable? There's nothing to use. This is an idea — a warning people in the AI-coding discussion are circulating, not a tool, a study, or a measured result. No benchmarks are attached to it, and "even the AI can't fix it" is a claim about where this ends, not a documented incident. What it offers is a useful question to ask of your own projects: if you accept generated code you couldn't have written, you are borrowing understanding you may never repay. The honest check is whether someone on the team could explain the system, or at least the part that's currently on fire, without asking the assistant first.