AI Assisted Software Development: The Debt Nobody Budgeted For When Most of Your Code Is Generated
← All insights
Engineering PracticeNovember 2026· 16 min read

AI Assisted Software Development: The Debt Nobody Budgeted For When Most of Your Code Is Generated

VVerensoft TeamEngineering & Strategy

A founder showed us a product earlier this year that was the purest example of AI assisted software development we had come across. It had been built in eleven days. One person, one coding agent, a long list of prompts, and at the end of it a working application with logins, payments, a dashboard, and an admin panel. It was a genuinely remarkable thing to look at. Two years ago the same scope would have been a three month engagement for a small team, and the founder knew it, which is why the demo was delivered with the quiet satisfaction of somebody who has found a door that everybody else is still queuing in front of.

Then we asked three questions. Where is a customer's card data handled, and which parts of the code can see it? What happens to an order if the payment succeeds and the confirmation step fails? If you needed to change how discounts work, which files would you open? The founder did not know the answer to any of them. Not because the founder was careless, but because nobody had ever needed to know. The agent had written all of it, the screens worked, and the questions had simply never come up. The product existed. The understanding of the product did not.

That gap is the subject of this article. We use AI coding agents every day, and AI assisted software development is now simply how we deliver custom software for clients. We would not go back. The speed is not hype. But the speed moves the cost rather than removing it, and most teams have not yet noticed where the cost went. It went into review, into specification, into testing, and into ownership, which are the four places a generated codebase either stays healthy or slowly becomes something nobody dares to touch.

What AI assisted software development changed, and what did not

For most of the history of software, writing the code was the expensive step. Everything about how teams are organised reflects that. Estimates are measured in developer days. Roadmaps are constrained by how much the team can type. Code review is a light check performed by a colleague who is busy with their own typing. The whole system assumes that producing code is slow and that reading it is a small tax on top.

Agents have inverted that. Producing a thousand lines of plausible, working code now takes minutes and costs very little. Reading a thousand lines carefully enough to know whether they are correct takes exactly as long as it always did. The scarce resource in software has moved from writing to understanding, and a team that keeps its old habits will find itself generating far more code than it can ever verify.

What did not change is everything that made software hard in the first place. Deciding what to build is still hard. Understanding how a business rule interacts with six other business rules is still hard. Knowing what will happen under load, during a partial failure, or when a user does the thing nobody anticipated is still hard. Agents are very good at the part of the job that was mostly labour. They are much weaker at the part that was always judgement, and the judgement is where expensive mistakes are made.

“Technical debt used to be code you wrote badly on purpose to hit a deadline. The new kind is code that works and that nobody on the team has ever understood.”

Vibe coding is a fine way to find out, and a poor way to build

The term vibe coding describes working with an agent conversationally, accepting what it produces as long as the result looks right, without reading the code in any detail. It gets criticised a great deal, and some of the criticism is unfair. For a prototype whose only job is to answer a question, it is the correct method. If you want to know whether customers will use a booking flow, a disposable version built in two days tells you more than a month of meetings. The key word is disposable.

The trouble starts when the prototype is not thrown away. It demos well, somebody important likes it, and it becomes the product by default. Now a codebase that was written to answer a question is being asked to handle real money, real personal data, and real growth. It was never designed for any of that, because it was never designed at all. It was accumulated, one accepted suggestion at a time.

We are not arguing against the method. We are arguing for knowing which mode you are in. Exploration and construction are different activities with different standards, and the most expensive mistake available in late 2026 is letting the first one silently turn into the second. Our rule is simple. A prototype built by feel earns the right to exist as a product only by being rebuilt, or at minimum read end to end, tested, and deliberately adopted by an engineer who is prepared to own it.

Review is the new bottleneck

On a team using agents well, every engineer can now open several times as many changes as before. Each of those changes still needs a human to confirm it does what was intended and nothing else. If review capacity stays the same, one of two things happens. Either a queue forms and the speed advantage evaporates while changes wait, or review quietly degrades into a glance and an approval. In our experience the second outcome is far more common, because a queue is visible and a degraded review is not.

Rubber stamped review is worse with generated code than it ever was with human code. A human author at least understood what they wrote, so one mind had checked it. With an agent, the reviewer may be the first and only person who ever reads the change. If that reading does not happen, the change enters the codebase having been understood by nobody.

Keep changes small enough to read

An agent will cheerfully produce a change that touches forty files. No reviewer can hold that in their head, so they stop trying. We instruct agents to work in small, single purpose steps and we reject changes that mix a feature with a refactor. A change that can be read in fifteen minutes gets read. A change that needs two hours gets approved unread on a Friday afternoon.

Let machines review what machines can review

Formatting, type errors, unused code, known insecure patterns, and missing test coverage should never reach a person. Automated checks and a second agent acting purely as a reviewer catch a large share of mechanical problems. That reserves human attention for the questions only a human who knows the business can answer. Is this the right behaviour? Does it match what we agreed with the client? What happens to existing data?

Review the intent first, then the code

The most effective change we made to our own process was requiring every change to begin with a short written statement of what it is meant to do and how that will be verified. The reviewer reads that statement before any code. Half of the problems worth catching are visible right there, in a misunderstanding of the requirement, before a single line has been examined.

Specifications before prompts

An agent given a vague request will not stop and ask what you meant. It will fill every gap with the most statistically ordinary answer and present the result with complete confidence. If you did not say what should happen when a payment is declined, it will invent something reasonable sounding. If you did not say who is allowed to see a record, it may let everybody see it. The output will run. The decisions inside it were made by nobody.

This is why the practice now called spec driven development has moved from a niche preference to something close to a requirement. Before an agent writes anything substantial, a person writes down what is being built: the behaviour, the edge cases, the data involved, the rules that must never be broken, and what done looks like. The agent then works against that document, and so does the reviewer.

It sounds like bureaucracy returning through the back door. In practice a useful specification for a feature is one or two pages and takes an hour, and it replaces days of discovering in review that the agent solved a slightly different problem. It also has a second benefit that matters more over time. The specification is a durable record of why the system behaves as it does. Six months later, when nobody remembers the conversation, the document is still there. A prompt history is not a substitute, because nobody will ever read four hundred messages to find out why refunds work the way they do.

  • State the behaviour in terms a non engineer could check. What does the user do, and what should they see?
  • Name the edge cases explicitly. Empty input, duplicate submission, a failure halfway through, a user without permission.
  • List the invariants. The things that must be true no matter what, such as an order total always matching its line items.
  • Say what is out of scope. Agents are eager, and an unbounded request invites unrequested features.
  • Define the evidence. Which tests must pass, and what will be demonstrated, before the work counts as finished.

Tests are the contract

When a person writes code slowly, they carry a mental model of what it should do, and that model acts as an informal check. When an agent rewrites a module in ninety seconds, there is no mental model. The only thing standing between a confident rewrite and a silent regression is the test suite. Tests have stopped being a nice discipline and become the mechanism by which a team keeps control of a codebase that changes faster than anybody can read.

There is a trap here that catches almost everyone once. Ask an agent to write code and then ask the same agent to write tests for it, and you will get tests that confirm the code does what the code does. If the code is wrong, the tests will faithfully assert the wrong behaviour and everything will pass. A wall of passing checks built this way is worse than no tests, because it manufactures confidence that has not been earned.

The tests have to come from the specification, not from the implementation. We write or at least review the important test cases before the feature code exists, derived from the stated behaviour and edge cases. The agent's job is then to make those tests pass without modifying them. Agents under pressure will sometimes weaken a failing test rather than fix the code, so changes to existing tests get more scrutiny in review than changes to anything else.

15 min
Longest a change should take to read properly
1 to 2 pages
A useful specification for a typical feature
0
Tests an agent may weaken to make its own code pass

Security and dependencies: the risks that do not show up in a demo

Generated code tends to be functionally right and defensively thin. It handles the path you described. It is less reliable about the paths an attacker would try, because nobody described those. We regularly see generated endpoints that check whether a user is logged in but not whether that user is allowed to see the specific record they asked for. The screen works perfectly in every demonstration. It also lets any customer read any other customer's data by changing a number in the address bar.

Dependencies are the second quiet risk. An agent asked to solve a problem will often reach for a library, and it does not weigh whether that library is maintained, whether its licence suits a commercial product, or whether it is the fourth package in the project doing roughly the same job. Occasionally it will reference a package that does not exist at all, which is an opening for anybody who registers that name with malicious contents. Every dependency is code you are now responsible for without having read.

  • Treat authorisation as a specification item for every feature that touches data. Who may see this, who may change it, and how is that enforced on the server.
  • Require approval for any new dependency. A person confirms it exists, is maintained, is licensed appropriately, and is actually needed.
  • Scan automatically for secrets, vulnerable packages, and insecure patterns on every change, and block the merge on findings.
  • Limit what the agent itself can reach. It should not hold production credentials or be able to run destructive commands without a person confirming.
  • Keep personal and payment data handling in a small, clearly marked part of the codebase that receives slower, stricter review.

None of this is new security thinking. What is new is the volume. A team producing five times the code needs these checks to be automatic, because there is no realistic prospect of catching them by hand. That is why the pipeline matters as much as the editor, and why we treat continuous integration and delivery as part of the cost of adopting agents rather than an optional extra.

Ownership: somebody has to be able to explain it

Every part of a system needs a person who can answer the question why does it do that. Not the person who prompted it into existence. A person who has read it, who knows what it depends on, and who would be comfortable changing it at short notice. When that person does not exist, the code has no owner, whatever the commit history says.

Unowned code shows itself in predictable ways. Fixes get layered on top rather than made at the source, because nobody is confident about the source. The same logic appears in three places in slightly different forms, because the agent wrote it fresh each time rather than finding the existing version. Simple changes start taking longer, not shorter, as each new prompt has to navigate the contradictions left by the last hundred. Eventually the team reaches the point where it is afraid to touch a product it built only months earlier.

The remedy is unglamorous. Engineers read what they merge. Architecture is decided by people and written down, and agents work inside it rather than inventing structure as they go. Duplicated logic is consolidated as routine work, not saved for a clean up that never comes. And the team keeps a short, current description of how the system fits together, which serves the humans and, usefully, gives the agent the context it needs to stop reinventing things that already exist.

What a healthy agent assisted team looks like

The teams we see getting durable value from agents have not removed engineering discipline. They have moved it earlier and automated more of it. Their engineers spend less time typing and noticeably more time specifying, reading, and deciding. If anything the work has become more senior in character, which is one reason the idea that agents let you replace experienced engineers with inexperienced ones has aged so badly. Somebody still has to know what good looks like.

  1. 01Work starts from a written specification, however brief, that a person has thought about.
  2. 02Important tests are derived from that specification and exist before or alongside the code.
  3. 03Agents work in small steps inside an architecture that people chose.
  4. 04Automated checks handle style, types, coverage, security scanning, and dependency rules on every change.
  5. 05A human reviews intent and behaviour on every change that reaches the main branch, and that review is given real time.
  6. 06Each area of the system has a named person who has read it and can explain it.
  7. 07The team measures outcomes such as defects reaching users and time to make a safe change, not the number of lines produced.

That last point deserves emphasis. Lines of code and features shipped per week both look spectacular after agents arrive, and both are close to meaningless. The measures that tell the truth are slower and less flattering. How often does a change break something? How long does it take to make a modification safely in a part of the system that is six months old? If those numbers are holding steady while output rises, the team is healthy. If output is rising and those numbers are getting worse, the team is borrowing.

What AI assisted software development really costs, and how long it takes

So how much faster is it really? For well understood work with clear requirements, such as standard screens, integrations with documented services, data transformations, and test scaffolding, the gain is large and we see it on every project. For novel logic, tangled legacy code, and anything where the difficulty is working out what is wanted, the gain is modest. A blended and sustainable figure across a real product is a meaningful improvement in delivery time, not the tenfold number that circulates in announcements.

Teams that report the dramatic multiples are usually measuring the first weeks of a new project, when everything is fresh and nothing depends on anything else. The cost of weak discipline arrives later, typically between the third and the ninth month, when the product has real users and each change has to coexist with every earlier one. That delay is what makes the debt so easy to take on. The saving is immediate and visible. The repayment is deferred and lands on somebody else's budget.

For a business buying software rather than building it in house, this translates into practical expectations. A custom software development company that uses agents well can usually offer a noticeably shorter timeline than the same scope would have carried two years ago, with most of the gain on the routine parts of a product. What should not shrink is the share of the budget given to discovery, testing, and security review. If a proposal is dramatically cheaper than every other quote and the saving comes from skipping those, the AI software development cost has not gone down. It has been moved to the year after launch, where you will pay it as rework.

The sensible way to think about it is as a reallocation. Some of the time agents save on writing should be spent on specification, testing, and review. Spend none of it there and you get a brief period of astonishing speed followed by a long period of slowing down. Spend a reasonable share and you keep most of the speed indefinitely. The same reasoning applies when the product itself contains AI features, which is why our AI software development work puts so much weight on evaluation and guardrails around the model rather than on the model alone.

How to choose a software development company that builds with AI

Almost every agency and contractor now says they use AI to deliver faster and cheaper. Many of them do it well. Some are passing generated code straight through with a thin layer of testing, and the client will not find out until the first serious change request. A few questions separate the two quite quickly.

  • Who reads the generated code before it is merged, and how much of it do they read? Listen for a specific process rather than reassurance.
  • Where do the tests come from? You want to hear that they come from requirements, not that the tool writes them afterwards.
  • Can one of your engineers walk me through how a particular feature works, without the tool open? This single request is remarkably revealing.
  • How do you control which libraries end up in my product, and who checks their licences?
  • What does your pipeline check automatically on every change, and what blocks a release?
  • What documentation will I hold at the end, and could another team take over the codebase from it?
  • Which data of mine is sent to which model providers while you work, and under what terms?

A good vendor will answer these without discomfort and will probably volunteer more than you asked. A vendor who treats the questions as a lack of trust, or who answers each one with a statement about how capable the tools have become, is telling you that the tools are doing the engineering. The tools are excellent. They are not accountable for your product, and they will not be there when it needs to change.

Inherited a codebase that was built fast?

If you have a product that was generated quickly and you are no longer sure what is inside it, we can read it properly and tell you where it is sound, where the risk sits, and what it would take to make it something a team can own. Sometimes the answer is that it is in better shape than you feared.

Talk to our engineers

Speed you can keep

The founder with the eleven day product was not wrong to build it that way. It proved the idea, attracted the first customers, and cost a fraction of the traditional route. What it could not do was carry the business forward unchanged. We spent a few weeks reading it, writing the specifications that had never existed, putting tests around the parts that handled money, and fixing two authorisation problems that would have been serious. Most of the code survived. What changed is that people now understood it.

That is the pattern we expect to define the next few years of software. Writing code has become cheap, and it will get cheaper. Understanding, deciding, and verifying have not, and they are now most of the job. The teams that do well will be the ones that take the time agents give back and spend a sensible portion of it on knowing what they have built.

None of this requires heroics. It requires a process that puts thinking before generating and checking before merging, applied consistently on ordinary days. If you would like to see how we structure that from the first conversation to launch and beyond, our digital product development process sets it out phase by phase.

V
Verensoft TeamEngineering & Strategy

We build AI systems and custom software for businesses that want results, not decks. Questions about this article? Get in touch.

Motion Branding: How to Build a Motion First Brand Identity That Works Everywhere
Read next

Motion Branding: How to Build a Motion First Brand Identity That Works Everywhere