Anuja Lamahewa

Talk · 27 Nov 2026

Technical Debt in the AI Era

Open Tabs, a Nimbus Labs event · Shangri-La Connect

AI lets a developer write a thousand lines an hour. Whether that's progress or debt depends on whether anyone understands what gets merged. This talk looks at how AI changes technical debt, why it piles up, and five habits that keep it in check.

  1. Technical Debt in the AI Era: are we building faster, or breaking things faster?
  2. What is technical debt? The future cost of choosing a quick fix today over a better solution
  3. Technical debt isn't necessarily bad code: it's the cost of shortcuts that need correcting later
  4. Technical debt before AI: copy-paste code, missing tests, temporary hacks, outdated dependencies, god classes, no documentation
  5. The AI productivity paradox: two developers write 1,000 lines an hour; only one understands it
  6. The four kinds of debt: Fowler's quadrant; AI pushes us toward reckless, inadvertent debt
  7. AI writes fast, we pay later: generate, 400 lines in 30 seconds
  8. AI writes fast, we pay later: accept, tests pass and it's merged the same day
  9. AI writes fast, we pay later: accumulate, a new CSV library and a second date formatter
  10. AI writes fast, we pay later: maintain, months later a date bug takes two days to trace
  11. The root cause: why does the debt pile up? Listen to how we complain about AI
  12. The AI didn't do what I wanted. Fix 1: get grilled before you build
  13. The AI is too verbose. Fix 2: write down your language
  14. The AI is doing too much: 800 lines across 12 files. Fix 3: small steps, fast feedback
  15. Paying it back: so, what can we do about it?
  16. How we keep AI debt in check: five habits
  17. You can't AI your way out of bad architecture. Thank you, questions?

1 / 17

Key takeaways

  • AI doesn't create debt on its own: merging code nobody understands does.
  • AI pushes teams toward reckless, inadvertent debt: debt we don't even know we took on.
  • Agree the design first, write down a shared language, and ask for one small change at a time.

What technical debt is

Technical debt is the future cost of choosing a quick fix today over a better solution. In Martin Fowler's words, the extra effort it takes to add new features is the interest paid on the debt. It isn't necessarily bad code: it's the cost of shortcuts that need correcting later.

Before AI, the debt was familiar: logic copied into five places and fixed in two, missing tests, “temporary” hacks from years ago, outdated dependencies, god classes and no documentation. Same debt, slower pace: we wrote it by hand, so it grew at human speed.

The AI productivity paradox

Two developers with the same AI each write 1,000 lines an hour. One merges it unread; the other understands all of it. Same tool, same speed, but only one is adding debt.

Fowler's technical debt quadrant splits debt into deliberate or inadvertent, and reckless or prudent. AI pushes us toward the reckless, inadvertent corner.

How the debt piles up

Take a request to add CSV export to a reports page. The AI writes 400 lines in 30 seconds. The tests pass, so it's merged the same day. Along the way it added a new CSV library and a second date formatter. Months later, a date bug takes two days to trace.

Listen to how we complain about AI

“The AI didn't do what I wanted.” As The Pragmatic Programmer puts it, no one knows exactly what they want. Fix: get grilled before you build, and agree on the design first.

“The AI is too verbose.” Too many words sit between you and the AI: long prompts, long answers, long plans. “Can you look at the reports page and maybe add some way for people to download their data?” becomes “Add CSV export to Reports.” Fix: write down your language, because shared words make short prompts.

“The AI is doing too much.” 800 lines across 12 files for one requested change. Fix: small steps and fast feedback, one change at a time.

Five habits that keep AI debt in check

Get grilled before you build: agree on the design first.

Write down your language: one glossary for the team and the AI.

Small steps, fast feedback: your feedback loop is your speed limit.

Make the AI explain its change: if neither of you can explain it, don't merge it.

Show the AI what not to copy: it copies what it sees, so flag legacy shortcuts.

You can't AI your way out of bad architecture.

  • Technical Debt
  • AI-Assisted Development
  • Software Architecture