Strong AI Agents Cut Project Costs, but Humans Spend 88–90% of Their Time Fixing Bugs
Does spending more on tokens make a project cheaper? Not always. Steffen Herbold from the University of Passau ran 432 mixed-team scenarios, varying agent prices and developer speed, and calculated the full cost of a feature including code review and bugs. Strong agents usually make projects cheaper, but in these teams people spent 88–90% of their time fixing errors. Choose an agent based on code quality; token price is secondary.
AI-processed from Habr AI; edited by Hamidun News
The usual logic goes like this: the more a company spends on tokens, the more code an AI agent produces, and the faster and cheaper the project moves. Steffen Herbold from the University of Passau tested this with an economic model. He ran 432 scenarios of mixed team work, varying agent price and capability, developer speed, the flow of new tasks, and accumulated technical debt.
The result: in most scenarios, strong agents do make a project cheaper, but they do not replace people. In teams with the most capable agents, developers spent 88–90% of their working time fixing errors, and 61% of the agent budget went to finding bugs. Simply put, the savings on code generation are quickly eaten up by review.
Why You Can't Count Only the Saved Hours
If 90% of the generated code has to be thrown away during fixes, it is faster and cheaper to write everything from scratch. Hiring a human developer without AI is not a cure-all either: they work more slowly, make mistakes, and need review. So who should you pay: the human or the agent?
Agents speed up individual tasks: they write code, prepare tests, and look for bugs. But they also create new work. Developers have to write prompts, notice tasks the agent can't handle, and check the results.
Imagine a function that used to take twenty hours now comes back from an agent in two. A tenfold saving? No. Architectural decisions, task definition, and explaining context haven't gone anywhere. After generation, the code still has to be checked: it may look convincing but fail under load or violate security requirements. If an error reaches production, fixing it can cost more than the hours saved.
That is why, in the article "What Should a Software Team Spend on Agents?", Herbold compares people and agents not by time spent but by the total cost of delivering a working feature to the user.
How the Model Works
The author modeled mixed teams as a discrete-time random process. Each of the 432 scenarios is its own combination of conditions: for example, an expensive but capable agent with slow developers, or a cheap weak agent with a large flow of tasks. In each one, the task was to find the team composition that completes the given volume of work at minimum cost.
He divided agent work into eight roles: implementing new features, architectural and design proposals, bug fixing, refactoring, code review, security auditing, writing tests, and developer documentation.
Beyond writing code itself, the model accounts for people's time spent on communication, supervising agents, and reviewing architectural proposals. It also includes a separate business cost for errors: a bug, especially a security-related one that reaches users, is expensive.
What the Results Show
Agents are useful. In most scenarios, mixed teams with effective agents cost less than teams made up only of people. The author did not compare teams made up entirely of agents.
A bad agent burns the budget. Cheap tokens don't save the day: the more errors an agent makes, the more human time goes to checks and fixes, and the consequences of bugs in production grow. In the model, 61% of the agent budget is spent precisely on finding errors. That is why an agent's capability matters more than its usage price, and the author found no stable advantage of weak agents over a purely human team.
People still get more of the money. At a realistic project pace, optimal teams spend more on developers than on agents. But their role changes. Even with the strongest agents, people mostly switch to fixing errors: in these scenarios, that took 88–90% of their time. New features are mostly written by AI.
There is no universal formula. Rules like "half the payroll goes to agents" don't work. The optimum depends on agent capability and price, human productivity, task flow, technical debt, and the cost of errors. The balance has to be found for each specific project.
What This Means for Practitioners
For founders and product managers, the conclusion is both unpleasant and useful. Hours saved on code generation do not automatically turn into headcount cuts. People make decisions and answer for them, which keeps them the most expensive and most important resource.
For engineering leads, the main benchmark is agent quality on your own tasks. Choosing a model by price per million tokens is risky: a cheap agent that makes mistakes shifts the costs onto reviewers.
There are limitations, too. This is a model, not an observation of real companies, and the results depend on its assumptions: the cost of errors, the rate of debt accumulation, and agent capability. Your numbers may differ. But the method is still useful: calculate the full cost of delivering a feature, including review and the risk of bugs in production, not just the token bill and development hours.
- Nov 27, 2026GigaChat 4 solves 35% of hard programming tasks, DeepSeek solves 74%
- Nov 27, 2026Startup with 18 users demands a share of $1 billion from SpaceX over Grok Bot mascot
- Nov 27, 2026Karpathy Gave an AI Agent One File and 5 Minutes per Run: It Improves Model Training on Its Own
- Nov 27, 2026Nvidia Engineer Wants to Add Instructions for AI Agents to Linux 7.5 Kernel
Key Questions Answered
Why You Can't Count Only the Saved Hours?
If 90% of the generated code has to be thrown away during fixes, it is faster and cheaper to write everything from scratch. Hiring a human developer without AI is not a cure-all either: they work more slowly, make mistakes, and need review. So who should you pay: the human or the agent? Agents speed up individual tasks: they write code, prepare tests, and look for bugs. But they also create new work. Developers have to write prompts, notice tasks the agent can't handle, and check the results.
How the Model Works?
The author modeled mixed teams as a discrete-time random process. Each of the 432 scenarios is its own combination of conditions: for example, an expensive but capable agent with slow developers, or a cheap weak agent with a large flow of tasks. In each one, the task was to find the team composition that completes the given volume of work at minimum cost.
What the Results Show?
Agents are useful. In most scenarios, mixed teams with effective agents cost less than teams made up only of people. The author did not compare teams made up entirely of agents. A bad agent burns the budget. Cheap tokens don't save the day: the more errors an agent makes, the more human time goes to checks and fixes, and the consequences of bugs in production grow. In the model, 61% of the agent budget is spent precisely on finding errors.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
