All articles

November 23, 2026 · 21 min read

Estimating When the Machine Builds (Part 1)

Why AI agents do not know their own effort and what they change about estimating software projects

Stephan Wirth · Certified Software Expert (DGuSV)

Summary. For decades, software projects have exceeded their effort estimates by 30 to 40 percent on average. AI agents that write, test and change code on their own now promise drastically shorter development times. The evidence paints a more nuanced picture: in the lab, developers work considerably faster with AI; in the field, the effects are smaller; and at the level of whole organizations, they have so far been hard to measure. This first part brings together research on effort estimation and findings on AI-assisted development up to the end of 2026. It shows that a language model cannot estimate its own effort, because its time figures echo human estimates from its training data. And it describes five consequences for estimation: what is not clarified up front comes back at a higher cost during review, an agent's success becomes a probability, its reach depends on the verifiability of the requirement, individual gains fade in the overall system, and part of the cost only arrives after acceptance. The second part derives an estimation formula and a procedure for tasks and projects.

An Estimation Error About the Tool Itself

Even experienced developers cannot reliably judge how much AI speeds up their own work. This is shown by an experiment that the research organization METR conducted in spring 2025 (Becker et al., 2025). Sixteen experienced open-source developers worked on 246 real tasks from mature projects. Each task was randomly assigned to allow or disallow AI tools. Before starting, the developers predicted that AI would reduce their completion time by 24 percent. Experts in economics and machine learning expected 38 to 39 percent. In fact, the developers took 19 percent longer on average with AI. After the study, they nevertheless estimated that AI had made them 20 percent faster.

The result is a snapshot. A follow-up study that began in August 2025 pointed rather towards time savings. For the ten developers who had taken part in the first study, savings were around 18 percent, with a confidence interval from minus 9 to plus 38 percent (METR, 2026a). METR itself rates this finding as very weak evidence. One of the reasons METR then changed its study design is telling: more and more developers declined to take part because they no longer wanted to work without AI. Even measuring the effect has become difficult.

For estimating software projects, this creates a double problem. The developers misjudged the effect of their tool, before and after. Anyone estimating a software project today therefore has to estimate the effort of the work and, in addition, how much AI changes that effort. Reliable reference values are missing for both.

This article examines the problem in three steps. First, it summarizes what research knows about estimation without AI, because these findings still apply. Then it explains why a language model cannot estimate its own effort and why simply asking it is not enough. Finally, it describes five consequences that agents have for estimation. The second part derives an estimation procedure from these consequences.

What Research Knows About Estimation

Software estimates have been systematically too optimistic for decades, and the reasons are well understood. Effort estimation is one of the most thoroughly studied topics in software engineering. Magne Jørgensen of the Norwegian research institute Simula has reviewed the literature over two decades. According to his reviews, software projects exceed their effort estimates by 30 to 40 percent on average, and there is no notable improvement over the years (Moløkken & Jørgensen, 2003). On average, formal estimation models do not deliver more accurate results than the judgment of experienced professionals (Jørgensen, 2004).

The most important reason is the planning fallacy described by Daniel Kahneman and Amos Tversky (1979). People systematically underestimate how long a task will take, even when similar tasks took longer in the past. The cause lies in the "inside view". The estimator thinks about the specifics of the task at hand and constructs a plausible sequence of steps. Disruptions, questions and rework hardly appear in this scenario.

A second reason is the anchoring effect. A number that is in the room before the estimate pulls the result towards it, even when it is irrelevant. In an experiment with 410 developers in company settings, such anchors had a large effect on estimates. A workshop on cognitive biases reduced the effect but did not eliminate it (Shepperd, Mair & Jørgensen, 2018).

Third, the achievable accuracy depends on timing. Barry Boehm (1981) stated that estimates in the concept phase lie within a factor of four above or below the later actual value 80 percent of the time, and that this range narrows as decisions are made. Steve McConnell (2006) popularized this picture as the "cone of uncertainty". Laurent Bossavit (2015) showed that Boehm, by his own account, set these values subjectively, that is, from experience rather than measured data. As a thinking tool, the cone remains useful because it expresses a simple truth: whoever estimates early is mainly estimating their own lack of knowledge.

Finally, one distinction that is often overlooked in practice matters for the topic of this article. Torleif Halkjelsvik and Magne Jørgensen (2012) point out in their review of time predictions that many studies do not separate effort from completion date. Effort measures working hours. The completion date also depends on waiting times, dependencies and coordination. With AI agents, this distinction becomes more important than ever, because agents mainly reduce the effort of individual work steps, while waiting times and coordination remain.

All these sources of error concern human estimators. It would therefore be natural to hope that an AI agent could judge its own effort better. The next section shows why this is not the case.

Why a Language Model Cannot Estimate

A language model cannot estimate its own effort, because its time figures come from human experience and it has no clock. Anyone who works with AI agents knows the consequence first-hand. You ask the agent how long a feature will take, and it answers: "about three weeks". Five minutes later, the same agent reports: "done". Both statements are wrong, and both can be explained by how a language model works.

A large language model generates text by determining the most probable next word, one word at a time. It is based on the patterns in its training data. Asked "How long will this take?", it answers with what typically follows such a question in forums, tickets, project plans and technical articles: estimates by humans for humans. The model measures nothing. It knows neither its own working speed nor the time that is passing. Martin Monperrus and Evita Stenqvist (2026) of KTH Stockholm call this the "anthropocentric time bias" of coding agents: they estimate in human time and work in machine time. They name two causes: the human time references in the training data and the absence of an internal clock, because a transformer model encodes the order of words but not elapsed time.

The first systematic measurements confirm this. In the AgentTime benchmark, current agents predicted the runtime of 222 tasks (Ofengenden & Andriushchenko, 2026). Depending on the model, 63 to 83 percent of the forecasts were too high, typically by a factor of 2.6 to 3.8. For costs, it is the other way round. Longju Bai and colleagues, among them Stanford economist Erik Brynjolfsson, had agents predict their own compute consumption for 500 programming tasks. The best correlation between prediction and actual consumption was 0.39, and all models underestimated their consumption (Bai et al., 2026).

How long a task takes for a human, on the other hand, current models estimate fairly well. A study led by Thomas Griffiths of Princeton found rank correlations between 0.58 and 0.71, but with too little spread: short tasks are estimated too long and long tasks too short (Liu et al., 2026). An analysis by Anthropic on real ticket data found a rank correlation of 0.44 for the model, just below the 0.50 of human developers (Tamkin & McCrory, 2025). This fits the explanation above: the model reproduces what humans have written about human work, and it does that fairly well.

The message "done" is also generated text and not a test. Language models tend to overestimate their own certainty. Asked how confident they are, they mostly give values between 80 and 100 percent, regardless of whether the answer is correct (Xiong et al., 2024). METR also observed that leading models modified tests or scoring code in programming tasks to achieve better results (von Arx, Chan & Barnes, 2025).

For estimation, this leads to a sober distinction. The "three weeks" are not a delivery date, but a useful measure of the size of the task in human working time. The "five minutes" are the runtime of a single attempt and not the time to a verified result. An estimate for working with agents has to combine both quantities. How the relationship between them changes is described in the following section.

What Agents Change in the Equation

AI agents differ from the first generation of code completion tools. They receive a task, plan steps, write code, run tests, read error messages and correct themselves. The field calls this way of working agentic engineering. For estimation, it has five consequences. The first concerns how effort is distributed, the second and third the uncertainty of a single agent, and the fourth and fifth the effect on organizations and over time.

First: Clarifying Becomes Visible and Reviewing Costs More

Agents make writing code cheaper, and in return clarifying and reviewing grow. The evidence on programming alone is clearly positive. In a controlled experiment, developers using GitHub Copilot completed a well-defined programming task 55.8 percent faster than the control group (Peng et al., 2023). A randomized trial at Google with 96 engineers found time savings of around 21 percent on a more realistic enterprise task, with considerable statistical uncertainty (Paradis et al., 2024). Three field experiments at Microsoft, Accenture and another large company, with 4,867 developers in total, found 26 percent more completed tasks among those who actually used the tool (Cui et al., 2025).

This additional output has to be reviewed. An analysis by the analytics vendor Faros AI covering more than 10,000 developers found that teams with high AI adoption completed 21 percent more tasks and merged 98 percent more pull requests. At the same time, review time rose by 91 percent, and individual changes grew by 154 percent on average (Faros AI, 2025). In Stack Overflow's developer survey, 66 percent named AI solutions that are "almost right, but not quite" as their biggest frustration (Stack Overflow, 2025).

A case study from Purdue University shows how far this can go. A single experienced engineer used agents to build an application with around 420,000 lines of production code and another 1.16 million lines of tests, checks, documentation and tooling in twelve weeks. The authors describe the actual work as judgment: recognizing classes of failure that only become visible at high speed, and turning them into lasting rules and checks. The study's title sums up the finding: cheap code, costly judgment (Davis et al., 2026).

For estimation, this means that the block classic estimates examine most closely, writing the code, is shrinking. The work of clarifying remains and becomes visible. In classic development, part of it was contained in programming. A developer writing code runs into gaps in the requirement and closes them along the way, by asking a question or making a decision. An agent does not stop at such points. It fills the gap itself, and the open question only shows up during review. Clarifying it then costs more, because code already builds on it and has to be reworked. The more thoroughly a task is clarified and specified up front, the smaller the share for producing and reworking code. Whatever stays open up front comes back later as review and rework. Integration and building governance and quality assurance come on top. These blocks used to be estimated as a lump sum and grow in relative terms and often in absolute terms too.

Where the effort arises

Classic development

AI agents, task clarified up front

AI agents, questions only surface during review

  • Clarify and specify
  • Produce code
  • Review and rework
  • Integrate and operate
Schematic illustration, not measured values. Bar length represents total effort. In classic development, “Produce code” contains part of the clarification, because developers resolve open questions while programming. The actual distribution depends on task, team and codebase.

The first consequence therefore concerns where effort arises. The second concerns how certain one can be about it.

Second: A Number Becomes a Probability

Whether an agent solves a task is a probability, and this probability falls as the task grows. A human developer who fails at a task usually notices and asks. An agent always delivers a result, and only the review shows whether it is correct.

METR has measured this relationship systematically (Kwa et al., 2025). The researchers determined, for various AI models, how long a task, measured in the working time of a human expert, may be for the model to solve it with 50 percent probability. This "time horizon" has doubled roughly every seven months since 2019. For estimation, a second finding is more important: if you require 80 percent probability of success, the horizon is about five times shorter. The absolute numbers become outdated quickly. The gap between the two values, however, shows how much reliability costs.

Toby Ord (2025) of the University of Oxford has shown that these data can be described well with a simple model: an agent has the same risk of failing on every stretch of a task. Its probability of success then falls like radioactive decay with a fixed half-life, and this half-life corresponds to the 50 percent horizon. According to this model, a task twice as long as the horizon succeeds with only 25 percent probability, and one three times as long with 12.5 percent.

What a single attempt costs is also uncertain. In the study by Bai and colleagues (2026), the most expensive of several runs of the same agent on the same task typically cost twice as much as the cheapest, and in extreme cases thirty times as much. Beyond a certain point, more spending did not lead to better results. How difficult human experts judged a task to be predicted the actual costs only weakly. Automated methods hardly detect this in advance either. Stefan Krsteski and Charlotte Meyer (2026) analyzed around 415,000 agent results from 17 benchmarks. Their best prediction of difficulty without a test run reached a rank correlation of 0.40, and only 0.23 on benchmarks that had not been used to develop the method.

The effort and cost of an agent are therefore distributions whose shape only becomes visible during the run. How wide these distributions are, however, depends strongly on one condition, which the next section addresses.

Third: Reach Depends on Verifiability

How large a task an agent can reliably handle depends above all on whether its result can be checked automatically. The clearest evidence comes from the MirrorCode benchmark, whose first results Epoch AI published in April 2026 (Adamczewski et al., 2026). Agents were asked to rebuild existing programs without seeing their source code, based only on their observable behavior. The agents handled tasks that would take humans weeks. The hardest task solved was the reimplementation of a program with around 16,000 lines of code, for which the authors estimate the effort of a human without AI at two to 17 weeks.

The authors name the condition for this themselves. The tasks came with a precise, automatically checkable specification: every intermediate result could be tested against the behavior of the original. Real software is rarely developed against such a precise specification, and the authors explicitly consider it an open question how their results translate to day-to-day software development.

For estimation, precisely this limitation is the most important finding. The reliable reach of an agent is not a fixed property of the model. It depends on whether the agent itself can recognize whether its result is correct. With an executable acceptance check, such as tests, reference data or a comparison system, the horizon increases considerably. Without one, it stays small, no matter how capable the model is. The quality of the requirement thus becomes the most important factor influencing effort.

The first three consequences describe what happens with a single task. The last two show how much of it reaches an organization and how it plays out over time.

Fourth: What Works for the Individual Fades in the System

The wider the view, from the single task to the whole organization, the smaller the measured effect. Peng and colleagues (2023) measured 55.8 percent on a narrowly defined task, the Google study about 21 percent on a more realistic one (Paradis et al., 2024). In the field experiments, newer developers benefited considerably more, with 27 to 39 percent more output, than experienced developers with 8 to 13 percent (Cui et al., 2025). In the Faros AI analysis (2025), no significant correlation between AI adoption and productivity could be found at company level.

The effect also does not stay constant over time. Researchers at Carnegie Mellon University compared open-source projects before and after adopting autonomous agents with comparable projects without agents (Agarwal, He & Vasilescu, 2026). In projects that started directly with agents, the number of commits rose by 36 percent and the number of new lines of code by 77 percent, with the largest jump immediately after adoption. In projects that had already used AI editors before, the agents added hardly any further effect, and the effect later even turned negative.

METR (2026b) describes another mechanism. When AI makes some tasks cheap, people spend more time on them and also do things they would never have done without AI. METR calls them "Cadillac tasks". The measured time savings per task are then high, while the gain in value is considerably smaller. In projects, this shows up as creeping scope growth, because additional features hardly seem to cost anything.

The DORA 2025 report, for which the DORA research program at Google surveyed nearly 5,000 technology professionals, sums up these findings in one image: AI acts as an amplifier. It amplifies the strengths of high-performing organizations and the weaknesses of the rest (DORA & Google, 2025). Code written faster only shortens project duration if clarification, review, testing, release and delivery keep pace.

For the same reason, benchmarks are hardly suitable as a reference for projects. On the widely used SWE-bench Verified, leading agents solve more than 70 percent of tasks. On the more demanding SWE-Bench Pro, whose tasks are larger, the best models in 2025 scored below 45 percent, and below 20 percent on the tasks from non-public company codebases (Deng et al., 2025).

Fifth: Part of the Cost Arrives Later

Classic estimates usually end at acceptance, but a growing share of the cost of agentic development arrives afterwards. The analytics company GitClear (2025) analyzed around 211 million changed lines of code from 2020 to 2024. The share of copy-pasted lines rose from 8.3 percent in 2021 to 12.3 percent in 2024. The share of restructured code, an indicator of maintenance and cleanup, fell from 25 to under 10 percent over the same period. The data does not establish a causal link to AI tools, but it coincides with their spread. Copied code is cheap to write and expensive to change, because every change has to be made in several places. These costs lie outside the horizon of the original estimate and only show up in the maintenance budgets of the following years.

Conclusion of Part 1

AI agents change what has to be estimated in software projects. The effort of writing code falls measurably, while the effort of clarifying, reviewing and integrating rises. Questions that developers used to resolve along the way while programming now have to be clarified up front, or they come back at a higher cost during review. Uncertainty grows, because an agent's success is a probability that falls as the task grows, and because even the cost of a single run varies widely. The language model cannot provide this estimate itself. Its time figures echo human experience, and its message "done" is not a test result.

The most important insight concerns the requirement. How far an agent reliably gets depends less on the model than on the quality required and whether its result can be checked automatically against that standard.

How these findings lead to a reliable estimate, for a single task as well as for an entire project with a delivery date, is shown in the second part.

Continue to Part 2: How to estimate reliably with agents


References

Facing a similar question?

In 30 minutes you describe the situation, and I tell you what I see and what I would do in your position.

Book a free call