Tech Debt in the LLM Era

The implications of LLM on tech debt

Posted by Krystian Wojcicki on Friday, November 27, 2026 Tags:   6 minute read

Every Software Engineering team has an ever growing backlog filled with tech debt: upgrade X to version Y, security patches, migrate from deprecated platform X to platform Y, cleanup messy component X, fix bug Y. Teams take an ostrich approach where tech debt is ignored until deemed necessary by the business, which makes sense, otherwise we would perpetually be fixing tech debt and never providing more customer value. Thats why, in the past, it’s been critical for new projects to bundle in tech debt tasks or for senior leadership to back initiatives cleaning up tech-debt.

The beauty of tech debt is it boils down to the application functioning outwardly as it did before, but with its internals rewritten. LLMs are great at this, “Upgrade this projects version of react from 19.x”, and a little bit later the upgrade is “done”.

Confidence

It’s easy for an LLM to say it’s completed a task, the necessary validation and verification is less straightforward.

An exciting area for me in this regard is advances in code review tools. A Java 8 to Java 25 migration will largely be the same type of hunk changes over and over again, synthesizing what those are and reviewing that will provide much higher confidence than glazing over a 10,000 line PR. Creating catalogs of expected/permitted changes per group of tech debt tasks will be a rewarding endeavour. Alternatively assigning files a risk category and reviewing those in descending fashion.

Agents may not legally (depending on the industry) be able to autonomously create and then push code straight to production without human review, the process of code review is not the panacea here. As I’ve written in a new age of dev-ex teams will need to invest in processes to safely rollout changes with shadow validation and staggered deployments to minimize the chance and blast-radius of production breakages. They’ll also need tooling to autonomously catch, triage and mitigate issues. This gives developers more freedom to push code that largely looks or seems to be correct and to test in production, the only real way to know if something works.

We can’t ostrich anymore

Security tech debt often gets ignored as software security bases its foundations on obscurity and time. 5 years ago if I had given anyone my work laptop it would have taken them ages to do anything harmful, even if I was right there helping them on.

LLMs have lowered the barrier to entry for exploiting unsecured compute, by exploiting existing vulnerabilities faster as well as finding fresh zero day exploits.

As well, the proliferation of AGENT.MD files and broad access MCP tools are giving nefarious actors a guided map of your production systems. While MCP security and isolation will improve over time, it is unlikely that MCP tool reach will shrink. Meaning there will be a constant tension between giving agents more context and lowering blast radius.

Bad practices

We are all familiar with xkcd’s standards. There is an exuberate time loss due to competing paths, both on the users and the owners. Think of a team that has re-envisioned their service with a v2 offering, now they constantly need to: keep feature parity between the two or push users to the v2 offering (predictably failing to do this as users have higher priority business initiatives to work on) and think of inter-operability between v1 and v2. Users can’t just fall into the pit of success and have to actively decide which standard meets their current and future product needs.

Parts of this can be solved via AGENT.MD files, proper golden path documentation and allowlists. But inevitably bad patterns will proliferate at an increasing pace as LLMs make it easier to ignore best intentions and repeat what already exists.

Leverage

Tech debt may be the result of another team not having the time to fully complete their work and dumping it onto other teams.

For example a Java runtime team may not have sufficient bandwidth to perform a Java 8 to 25 migration for all services owned by the company. Instead they will pilot several migrations, provide documentation and office-hours while having every other team own their own migrations.

Pre-LLMs this work model made sense, the runtime team realized some of the migrations gains to justify their project with the longtail not worth pursuing compared to other initiatives.

With the advancement of software factories this arrangement no longer makes sense. The runtime team is most familiar with what is considered safe and correct during this migration and will be able to build the set of tools they need to perform this migration all themselves. Overtime, potentially, with each new migration their tooling will improve and a company wide Java upgrade company may become an easy task you hand off to an intern.

Tech debt interest is increasing

As the name implies, tech debt is a debt you need to paid off for previous velocity gains. The longer the tech debt is kept around the higher the interest (the higher the developer time to keep around and pay off).

With LLMs increasing code production rates tech debt is becoming increasingly more expensive and dangerous to keep around. While tech debt will never go to zero engineers have a lot to be excited about, on how they can build new systems that cleans up or prevents new tech debt.