AWS Builder Center
The Janitor Problem: Why AI Velocity Creates Debt Faster Than It Ships Features

The Janitor Problem: Why AI Velocity Creates Debt Faster Than It Ships Features

Building software faster doesn't mean maintaining it faster. AI coding tools create technical debt at the same rate they ship features. Deprecated runtimes, orphaned functions, dependency drift. The only janitor that can keep up is another agent. This post breaks down the basic math, names the problem, and shows how teams are using AWS Transform's continuous modernization to clean code at the pace it's being written.

The Janitor Problem: Why AI Velocity Creates Debt Faster Than It Ships Features

There's a thing nobody's talking about clearly enough, so let me say it: AI coding tools are creating technical debt faster than they're shipping features.
Not intentionally. Not obviously. But mathematically.
If you can produce code 10x faster, and your team still only reviews, tests, and maintains at 1x speed, you just manufactured a debt mountain that compounds every sprint. Deprecated runtimes. Orphaned functions. Drift from best practices. Security patches that nobody applied because the code was "done" before anyone thought about long-term ownership.
 Dan Fox called it when I talked to him at TechCon . He leads the App Mod team at AWS (containers and serverless), and his framing hit me square: "We can produce more things faster, but we can create a lot more junk faster. We have to think about how to mitigate that with agents."
The tool that creates the mess is the only tool fast enough to clean it up.


The One-Time Migration Myth

Here's where it gets interesting.  I talked to Everett Dolgner  a few weeks later about  AWS Transform , and he said something that connected directly to Dan's point but from the other end of the pipe.
The old model of migration was: assess, plan, migrate, done. Close the ticket. Move on.
That's dead.
What replaced it is  continuous modernization . Transform now scans repos on a schedule. Security issues, outdated packages, dependency drift. The migration never ends. It just becomes maintenance. One-time migration becomes ongoing vigilance.
And that's the right framing for the janitor problem too. You don't clean up code once. You build a system that cleans continuously. Because the mess is continuous.


The Math

Let me put some rough numbers on this to make it concrete.
Say your team ships 50 Lambda functions a month. Standard, pre-AI velocity. At that pace, you can reasonably keep track of runtimes, dependencies, security patches. You have a human-scale handle on what you own.
Now you're shipping 200 a month. Same team. AI-assisted. Each function works. Each function passed its tests at creation time. But nobody is going back to check whether the Node 18 runtime you picked three months ago is now deprecated. Nobody is checking if that SDK version you pinned has a CVE. Nobody is auditing whether those 200 functions have consistent error handling, logging, or timeout patterns.
At human speed, you can't. The only thing that can audit 200 functions for drift at the pace they're being created is another agent.

Agents Cleaning Up After Agents

Dan's team is actually doing this.  Amazon Transform Custom  with  Kiro  runs agentic Lambda runtime upgrades at scale. Customers with hundreds of thousands of functions aren't manually bumping runtimes. An agent does it. Validates it. Proposes the PR. (AWS wrote about this in detail:  Proactively reduce tech debt autonomously with AWS Transform .)
But here's what I think most teams miss: this isn't optional. It's not a nice-to-have. If you're using AI to ship faster and you're not using agents to maintain faster, you're planting seeds without weeding. And every farmer knows what happens to a field you don't weed. It doesn't just stay messy. It chokes out the good stuff.

What This Means for Your Team

Three things I'd tell any engineering leader thinking about this:
1. Your velocity metric is lying to you. Features shipped per sprint looks great on a dashboard. But if you're not tracking freshness, compliance, and dependency health at the same rate, you're accumulating invisible debt. Measure both or you're flying blind.
2. Build the janitor before you need it. Don't wait until you have 500 stale functions to think about automated maintenance. Set up scanning, alerting, and automated remediation now, while your footprint is still manageable. It's a lot easier to maintain a clean codebase than to clean a dirty one. (If you want a head start,  AWS Transform's continuous modernization  does exactly this out of the box.)
3. The specialist's job is changing. Dan said something that stuck with me: specialists need to shift from writing blog posts to scaling their expertise through agents. The knowledge that lived in one person's head now needs to live in a system that can apply it at scale, continuously, without fatigue.

The Paradox

The paradox is real: the tool that makes you faster also makes your problems faster. But the solution isn't to slow down. It's to accept that maintenance is no longer a phase. It's a continuous operation. Just like the code it maintains.
One-time migrations are dead. One-time cleanups are dead. The only thing that works at AI velocity is AI-powered maintenance running alongside AI-powered development.
Build the janitor.


Dan Fox is Domain Lead for App Mod (Containers & Serverless) at AWS. Everett Dolgner is a Customer Success Specialist on  AWS Transform . Watch their conversations on  AWS Specialist Tech Bites .
Related resources:
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article