Hidden costs of longer agentic task lengths — Notes

34 min read Original article ↗

When agents write code, they write it faster than humans, and increasingly, they write it better than humans. But what does that mean? Software engineering is split into the local (a function, a class, a handler), and the global, (an abstraction, a layer, a system). Agents are improving rapidly at the local aspects of software engineering, and can solve more technical problems faster while exercising more autonomy, but does this translate to higher productivity for software engineers? Well, that depends. If an agent spends several hours writing code which is locally right but globally wrong, once the abstraction leaks, or violates some constraints the agent didn’t know about, you might have to roll back all that code and start again. Did you save time, or waste it?

In this post we will develop a simple turn-based model of agent-driven development which explores the relationship between the local speedup that frontier agents deliver and the global constraints of software engineering problems. What this model reveals is that even as model task-completion time horizons continue to scale, longer turns and more autonomy given to the agent are not always better for productivity. It also suggests that an engineer’s knowledge of constraints, and their attention, quickly become the bottleneck.

1 The metrics

One of the ways in which frontier model strength is evaluated is using a metric known as task-completion time horizons.1 This metric measures how long it takes an AI model to complete a task which would take a human engineer X hours, and with what success rate the model does so. The time horizon scaling metric is usually evaluated at certain fixed success rates, such as 50% and 80%, with a higher success rate correlating with a lower time horizon (because the longer the task is, the more likely the model is to make a mistake and fail to complete it). Task completion is usually judged by some deterministic criteria at the end of the task, such as passing a suite of tests.

Time horizon scaling is one lens through which to judge the moving frontier of model strength: it indicates that models are getting better at acting autonomously over longer and longer time periods (and hence, perhaps, getting better at solving more and more complicated problems). However one would be remiss to draw a straight line from time horizon scaling to expected productivity gains from model usage. Indeed, the claim that time horizons at the frontier are doubling every 4 months would seem to imply a rate of productivity growth in the creation of software which is stratospheric, but the reported outcomes in industry are far more lumpy, with many engineers (and not just the AI skeptics) reporting modest or uncertain boosts in productivity.

Indeed, if one looks at other metrics which measure other aspects of the software engineering problem, such as SlopCodeBench, the picture is far less rosy. When evaluated on the challenge of solving a problem with repeated changing and expanding scope, and measured not just against task completion but also against metrics such as cyclomatic complexity, lines of code, unused lines of code, single-use functions, etc. frontier models perform remarkably poorly, and the rate of progress on these metrics is modest or non-existent. There is even a negative correlation between thinking time and outcomes. The latest models achieve a maximum 16.3% pass rate (achieved by GPT-6 Astra XHigh) compared to a 14.8% achieved by GPT-5.5 Sol in May. Indeed many of the frontier models in September scored lower than GPT-5.5 Sol did in May.2 This metric is like catnip to AI skeptics, and seems to explain all of the observed erosion of their code bases from prolonged AI use. It calls into question the long-term maintainability of code bases written by AI with little oversight. Are we just creating a mountain of tech debt under the belief that future frontier models will be capable of unravelling it, despite the evidence against progress in that direction so far?

The question of why SlopCodeBench outcomes are so poor for frontier models is not the subject of this post, but it is fairly easy to guess. Models are good at what they get trained for, and task-completion is a relatively easy metric to use in RL training environments, because one can simply ask for pass-fail on oracle test suites at the end of a task. Measuring and providing a reliable reward signal for iterative improvement and low code erosion is much harder. That requires measuring not just the end result, but the process of getting there, it requires rewarding models for writing code which withstands pivots and changing requirements which were not in the context when it was written, and we don’t have an equivalent of “passes the test suite” for an abstraction which works now but is going to leak badly in the future and end up halving developer (or future AI agent) productivity. SlopCodeBench is a first pass at trying to measure this, and it appears to indicate that coding may not be such a solved problem after all.

So how do we reconcile the large discrepancy between ever-increasing task-completion time horizons for frontier models, the poor and flat performance in SlopCodeBench, and the lumpy, confusing, and poorly understood productivity outcomes actually observed by engineers?

2 The model

The dynamic is quite simple: If you choose the wrong abstraction when you begin a new feature and tell a model to build on top of it, the longer the model works on that wrong abstraction, the more code you need to undo when the abstraction eventually breaks. Even if the model can write the code 5-10x as fast as the human can, if it is writing the wrong code and it all has to be undone, that constitutes a dead-weight time loss when you restart and do it “the right way.”3 Depending on how long you go down the wrong pathway without course-correcting, that loss could massively outweigh the per-unit-code productivity gains of using the AI to achieve the right outcome. It may still be the case that this is faster than if you meat-wrote the code from scratch, but it can lead to wild swings in time-to-completion based on “luck” (i.e. choosing the right pathway at the start). For multi-turn feature development this dynamic can repeat itself multiple times, and sometimes you may need to walk back several turns at once.

How can we make this intuitive idea quantitative? Consider the following simple model of a single-agent workflow that a typical software engineer might follow:

  1. A human engineer prompts an AI to perform a task worth 𝜏 hours of expert human engineer time (EHE time).
  2. The agent performs the task, taking 𝜏/𝑀 as much time to complete the task (where 𝑀 is the multiplier for how much faster the agent solves the task than an expert human).

Then, either:

  1. The agent fails the task according to the deterministic checks (the 50% or 80% pass rate, depending on the equivalent human expert time 𝜏), incurring a retry and a cost of 𝜏/𝑀 time lost.
  2. The agent passes the task according to the deterministic checks, but the wrong abstraction was implemented along the way.
  3. The agent passes the task, and is following the right pathway for the overall requirements of the feature.

After the agent has completed the task, the human reviews the output.4 A review incurs some cost 𝜌𝜏 where 𝜌 is how many hours it takes to review one EHE hour of agent-written code.5

Depending on the size of the task the human gives to the agent, the quality of their prompt, the quality of their review, and the rate of defect generation from the model, outcomes may vary wildly. If everything goes well the model might one-shot the perfect abstraction, striking the right balance of complexity and specificity, safe to be built on in the future. If everything goes poorly, the developer may discover late in the process that an early turn settled a design which is structurally wrong and needs to be salvaged or thrown out entirely.6

The key variable in this model is the engineer themselves. We will approximate the quality of an engineer at building software with a parameter 𝑡, for “taste.”7 Taste impacts both the quality of prompts and the quality of review. When an engineer has high 𝑡 they spot the wrong abstraction right away, can foresee issues and clashes before they happen, and write higher quality prompts. When an engineer has low 𝑡 they don’t pick up on code smells, create abstractions which will leak or are too general to be useful, and their prompts are underspecified or misspecified.

Let us make a few further simplifying assumptions:

  1. The agent only drifts when constraints are unstated in the prompt.
  2. The engineer recognises drift when reviewing precisely when the drift violates some constraint they know about.
  3. Constraints left out of the prompt come in two kinds, a share 𝜋 of constraints which are private to the problem and can only be communicated through the prompt, and a share 1 −𝜋 which could be inferred by a smarter model.

Suppose that the engineer’s share of knowledge of the total constraints of the problem is equal to their taste 𝑡,8 and let the articulation rate 𝑎 be the proportion of that knowledge they put into their prompts. An engineer’s articulation skill depends on their taste, so let’s assume that 𝑎 =0.5𝑡, say.9 Of the total constraints, this puts the share the engineer adds to a prompt at 𝑎𝑡. The left over share 1 −𝑎𝑡 of context left out of the prompt is split into the (1 −𝑎)𝑡 constraints known but not prompted, which are picked up during review by assumption 2, and the left over 1 −𝑡 constraints which are unknown to the engineer during that turn.

When the agent implements a task of duration 𝜏, its success is controlled by the following parameters:

  • 𝑞, the task-completion pass rate: How likely the model is to complete the task correctly, in the sense of the METR time horizon scaling.10
  • Model drift 𝛿: The multiplier for how likely the agent is to implement a bad abstraction which will need to be reworked or rewritten instead of inferring the correct constraints on the inferrable share 1 −𝜋.11
  • Private constraints 𝜋: The proportion of the constraints of the problem which cannot be inferred by a smarter model, even in principle, and must be supplied through the prompt.
  • 𝑠, the slop rate: How likely the model is per turn to produce slop output which requires reworking or rolling back. This depends on the drift hazard and the quality of the prompt by12

    𝑠=1−exp⁡(−𝐿(1−𝑎𝑡)((1−𝜋)𝛿+𝜋𝛿𝑝)𝑒−𝜓𝑤).

    Here 𝐿 is how long the model has been running autonomously, 𝑤 is how far through the overall task you are, and 𝜓 is how much to front-load poor abstractions, so that 𝑒−𝜓𝑤 makes slop less likely as a task progresses.13 The parameter 𝛿𝑝 is the model drift on unknowable constraints, which is estimated at 0.1514 and cannot be improved by model progress by definition.
  • 𝑐, the recognition rate: How likely the human review is to catch the slop during review. By assumption 2, this is equal to the share of the engineer’s knowledge 𝑡 that they didn’t articulate in the prompt 𝑡(1 −𝑎), as a proportion of the total amount of context left out of the prompt, 1 −𝑎𝑡, so 𝑐 =𝑡(1 −𝑎)/(1 −𝑎𝑡).15

When the agent produces slop, the overall effect depends on how quickly the engineer identifies it: if they recognise it right away, they correct by redirecting or reworking that turn, salvaging some proportion 𝜑 of the agent’s output. But if they don’t catch the slop this turn, it persists as latent slop (𝜏 EHE hours worth). When this is eventually discovered in a later turn (with a debt surfacing rate of 𝜂16), the developer must roll back the 𝑘 turns which occurred since the latent slop was first added. To understand what went wrong, the developer pays a cost of 𝜅𝐵 EHE hours, where 𝜅 is the diagnosis cost, and rolls back (1 −𝜑𝑘)𝐵 EHE hours of work, where 𝐵 is the total work done since the slop was added.1718

Figure 1 lays out the discrete-time Markov chain model of the above scenario:

1−q(τ)q1−ss·cs(1−c)retryη / deliverycontinueSpec · cost c₀Agent runs τ hrs of workτ/M on the clockVisible failtests failReview · cost ρτClean pass+τ progressRedirectkeep φτ · cost c₀Latent debt+τ, debt laidRollback k turnslose (1−φᵏ)B · diagnose κBnext turn
Figure 1. The latent debt edge in red is the path the time horizon metric cannot see. s is the chance the agent drifted onto a wrong abstraction during the turn. c is the chance the engineer recognises the slop at review. B is the work built on top of the debt before it surfaced.

3 Single agent workflow

The question we want to answer with this model is: for a given task-completion time horizon, agent speed multiplier 𝑀, project size 𝑊, and cost 𝑐0 to writing a prompt and 𝜌 to reviewing agent output, what EHE task length 𝜏 produces the optimal overall productivity boost for a developer of a given taste 𝑡?

Figure 2 graphs the real productivity gain (measured in wall-clock speed to task completion) against chosen task size 𝜏 for engineers of varying taste. Click on the Tune parameters button to experiment with different choices of 𝐻50, 𝛿, and more.

wall-clock speedup vs an expert coderhours to deliver W0×1×2×3×expert human alonemid-level human alone (t=0.5)low-level human alone (t=0.2)H₉₉5 minH₉₅31 minH₈₀3.2 hH₅₀16 h40 h40 h30 h24 h20 h15 h12 ht=1t=0.95t=0.8t=0.5t=0.2

taste 0.2taste 0.5taste 0.8taste 0.95taste 1

Figure 2. Mean wall-clock speedup across a simulated project (left axis) is W divided by the hours from the first spec until delivery, the agent's running time included. The right axis reads the same curve as real hours to deliver W. Vertical guides mark the 99%, 95%, 80% and 50% horizons. The horizon scale measures the task time scaled relative to H₅₀, and the hours scale measures in fixed units, so that one can see the curve move as H₅₀ changes. A developer's own pace is computed as W(2-t) hours to deliver the project when meat-coding, so a taste 1 developer counts as an expert human coder.

At these settings a taste-0.2 engineer peaks at 2.04× of an expert's pace with 1.2 h turns, delivering the 40 h project in 22 h, which is 3.68× of their own hand pace. A taste-1 engineer peaks at 3.11× with 3.2 h turns, in 13 h. Beyond their own optimum, longer turns cost the low-taste engineer 1.45× of speedup by the 50% horizon.

What can we take away from this simple model?

  1. Longer task durations are worse than medium-length task durations, and this effect persists19 even when 𝐻50 improves, because the bottleneck is not just how long the agent can run autonomously to complete a single task, but whether it is completing the right task, and how likely it is to drift into bad abstractions, i.e. produce slop. These aspects are controlled not by 𝐻50, but by 𝛿. Running the model autonomously for longer simply increases the amount of slop that needs to be undone when it goes wrong. For a low-taste engineer this effect can result in lower productivity than an expert human coder writing the same code by hand, if task lengths drift up to 𝐻50, whereas high-taste engineers can catch the slop the agent puts out (but still see a relative decrease in productivity compared to shorter task lengths).
  2. Scaling time horizons supplies only a modest productivity boost, with diminishing returns. At default settings, a 4x increase in 𝐻50 corresponds to a productivity gain from ~3.0x to ~3.3x for a high taste developer.
  3. Reducing model drift also confers only a modest productivity boost for high-taste engineers, but lifts a low-taste engineer’s graph upwards dramatically. When the model is capable of inferring more of the inferrable requirements, and is less likely to drift into slop which passes the tests that turn but is wrong for the overall project, the difference in skill between the low- and high-taste engineer in providing that context matters less. Improving a model’s ability to infer and stick to the right abstractions raises the floor of productivity, but not necessarily the ceiling.
  4. Even when model drift goes to zero, the agent can only infer the proportion 1 −𝜋 of the project’s constraints which are in-principle-inferrable. The 𝜋 constraints which are private to the company or rely on private institutional knowledge are unknowable to the model except through the prompts and reviews by humans. The high-taste engineer knows more of these constraints and can articulate them into the spec or spot their violation better, so a small gap in productivity persists even as 𝛿 →0 between a low- and high-taste engineer.
  5. Latent slop takes time to surface, so if you smash out the end of a feature without reviewing and paying down any latent slop left over at the end, productivity appears to increase. Indeed the relationship between taste and productivity at long task lengths inverts in this situation, with a low-taste developer appearing to have a higher productivity than a high-taste developer, but this is because the task finishes with more latent slop which the high-taste developer has already avoided or paid down during the project: once you are willing to ship debt, taste stops mattering as much.
  6. Whilst a low-taste developer may produce worse outcomes than an expert human coder writing the same code by hand in this case, when compared against their own code-writing skills, they still see a productivity gain! It is not more productive to withhold your tokens only for senior developers (more on this when we get to multi-agent runs below).
  7. For very short tasks (near 𝐻99), the flat cost of writing the prompt dominates over the speed up the agent gives in writing the code, possibly even incurring a penalty compared to manual coding. A developer needs to be willing to let the model make mistakes by using longer task times 𝜏, even if it increases the risk of task failure (𝑞) or slop (𝛿): the speed up in code-writing time incurs a benefit so long as they review diligently and catch the slop before it becomes latent.

This last point bears some elaboration: The productivity gains of using AI agents do not set in once they become infallible, but when they become “good enough” to complete tasks at a relatively high accuracy and with relatively little drift. A human can make up for the drift with better prompts and better review, and therefore leverage the overall speed up of the coding part to see a productivity gain. What this reveals is that productivity improvements do not necessarily depend on step-function improvements in model capability (i.e. going from “fallible” to “infallible” on a certain category of tasks) but in a gradual improvement which tips parameters over some hump, after which the agent starts to win out over hand-writing code even though it is fallible. Once this happens, even if the productivity gain is only modest in an absolute sense, it no longer makes sense to hand-write code.

To get an idea of how these outcomes vary through the Markov chain model, Figure 3 shows the P10-P90 bars of the delivery outcomes depending on the transition probabilities 𝑞, 𝑠, and 𝑐. For many reasonable choices of parameters, the P10 for a low-taste developer frequently falls below the speed of an expert human coder, particularly when task times drift toward 𝐻50. In general, with higher task durations, the spread is larger for all engineers, which partially explains the “luck” or “randomness” engineers sense when trying to extract productivity out of agents. Critically however, when task times are kept shorter (nearer to 𝐻95) and engineers with high taste exercise their judgement by writing better prompts and doing thorough review, the spread dramatically decreases and productivity remains high. The model suggests this is the optimal way of achieving consistent productivity gains from a single agent workflow.

0× 1× 2× 3× t=0.26% <self t=0.56% <self t=0.82% <self t=0.950% <self t=10% <self

Figure 3. Wall-clock speedup against an expert coder, P10 to P90, median dotted. The short tick is each engineer's own hand pace, and the percentage is the share of projects that came out slower than that.

With H80 turns (3.2 h), a taste-0.5 engineer lands between 0.83× and 3.35× of an expert's pace: slower than an expert 19% of the time, but slower than their own hand pace only 6% of the time, averaging 1.8 rollbacks per project and 0.2 wrong abstractions still latent at delivery. A taste-1 engineer lands between 2.67× and 3.61× with none.

Figure 4 summarises the optimal outcomes per level of taste: how long tasks should be in EHE hours, and what sort of gains an engineer can expect relative to their own hand-coding ability.

Figure 4. Per level of taste, the turn length with the best mean wall-clock speedup against an expert, that speedup against the engineer's own hand pace, its spread, and rollbacks per project.

4 What about multiple agents?

The more popular way to leverage AI agents, and the one which takes advantage of the fact that the agent programs autonomously, is to parallelize work. There is a scale of parallelization, from a more careful multi-agent workflow with context switching, to full agent swarms with AI-driven review. How do these change the productivity outcomes and does the speed-up from multi-agent workflows with weaker review outweigh the slop production?

When an agent is completing a task of 𝜏 EHE hours, the developer is free to context switch and spend up to 𝜏/𝑀 hours on the wall clock prompting another agent or reviewing their output. This free time should translate to a straight increase in productivity. Let 𝜒 represent the context-switching cost, measured in number of hours to re-familiarize oneself with a particular part of a project after turning to another agent. We will assume that a developer is charged a cost of 𝑘𝜒 for context switching back to an agent after reviewing the work of 𝑘 other agents since they last looked at it.

Figure 5 represents the outcomes when running the Markov chain model in parallel, with the human performing review and prompting while waiting for other agents to finish coding.

work delivered per hour, vs an expert coderhours per project0×0.5×1×1.5×2× expert alone H₉₉5 minH₉₅31 minH₈₀3.2 hH₅₀16 h40 h40 h30 h24 h20 h3 agents5 agents8 agents2 agents1 agent

1 agent2 agents3 agents5 agents8 agents

Figure 5. One engineer running several agents and reviewing every turn in person. Throughput is the work delivered per hour on the expert scale; for one agent that is W over the mean hours to deliver, so it sits a little under the mean speedup above. The rings mark each team size's best turn length. Returning to a thread costs χ for every other thread handled since. Hover or tap for values.

At taste 0.5, one agent delivers 2.04× an expert's pace at best, with 1.2 h turns and the engineer busy 72% of the time. Two agents deliver 2.31× with 1.2 h turns. The most any team size manages is 2.31×, with 2 agents and 1.2 h turns; 8 agents manage 1.12× at best, with the engineer spending 36 h per project against 14 h with one.

The most interesting conclusion from this chart is that, with our default choices of parameters, optimal productivity is achieved with just two agents at a time. This is because an engineer only spends about 20%-40% of their time waiting on the agent to complete its task, with the rest of the time spent writing the prompts, reviewing the output, and investigating latent slop which has surfaced and needs to be salvaged. Once an engineer is using two agents, their time is already saturated and they have become the bottleneck to more productivity. With two agents the gains by parallelizing still outweigh the costs of context switching, but at 3 or more agents most of the agents are idle, and the engineer incurs a scaling cost to context switching for no productivity benefit.20

This effect gets worse as model task completion speed 𝑀 improves, but better when time horizons and model drift improve. In the former case, the amount of free time between turns while the agent works decreases, making parallelism less useful: at an increase to 𝑀 =20 even a taste 0.5 engineer is better off with one agent, but at 𝑀 =5 with the same time horizons and model drift, a high-taste engineer has enough time to leverage 3 agents effectively. In the latter case the model may be left to run autonomously for longer without dramatically increasing the risk of slop output: at 𝐻50 =64 or 𝛿 =0.02, a senior’s optimal task length extends enough that three agents are better than two.

What the chart shows, however, is that for a fixed level of model performance, trying to use longer task horizons to give oneself more time to take advantage of parallelism is a losing gambit: with any number of agents the outcomes are worse, because the amount of slop produced and needing to be caught and rolled back (or left latent) far outweighs the productivity gains per-turn.

A few more minor points to draw from the multi-agent case:

  • For low-taste developers, even using two agents is not necessarily more productive. This is because their optimal task horizon time is lower, leaving them less time waiting on agents and more time on review and prompting in order to see good outcomes. At shorter review times, the context switching cost between multiple agents essentially wipes out the gains of parallelism: junior developers should stick to using one agent and focus on higher quality review and prompting rather than attempting to contribute more by introducing multi-agent workflows. If they reduce their diligence in review, effectively reducing their taste parameter even further, to try to make multiple agents work, the result is more slop, and therefore a lower net productivity for the project (or far more tech debt once it completes).
  • Humans become the bottleneck to achieving further productivity from leveraging multiple agents relatively quickly. Whilst a high-taste developer gets more out of their tokens than a low-taste developer, that gain in productivity is capped because just two or three agents already saturates their parallelism. After that point, a company is better off hiring another high-taste developer rather than making their existing developers use agent swarms or reduce their amount of care and review. If no other high-taste developers are available, a low-taste developer still achieves a net productivity gain, especially relative to their own hand-coding ability, by being given more tokens. This argues for a triaged approach to token use: high-taste developers should be given more tokens than low-taste developers, but only enough to run two or three agents simultaneously. After that point, there are vanishing returns and the surplus is more productive if given to lower level engineers.

5 What about agent swarms?

And what about agent swarms, with AI agents reviewing the code and writing the prompts to implementor agents, with the human engineer directing the overall direction? SlopCodeBench does not cover the case of evolving projects with elaborate harnesses which perform architectural review in addition to implementation, so perhaps the results are not so bad here?

Let us try use the model we have developed to answer this. An implementor agent implements the right abstractions when the context they are given contains them, and otherwise it has a chance to drift. When a human engineer delivers that context which they can articulate, 𝑎𝑡 worth, to the agent swarm, the context in that thin prompt of the human must be split 𝑁 ways to each of those 𝑁 agents, so let’s assume each agent gets on average 1/𝑁th of the total context of the problem contained in the prompt.21

When a review agent is instructed to review the code of the implementor, it is usually given a bit more of that original context, including what the implementor was meant to be doing, and an overview of how that part fits into the whole. Let’s say the reviewer therefore receives twice as much context as the implementor, so a 2/𝑁 share of the original 𝑎𝑡 contained in the human prompt.22

We will make two brief comments about these simplifying assumptions:

  • In this model, layered agentic workflows with coordinator agents themselves coordinating implementors and reviewers are equivalent to a single layer. Context split 16 ways to 16 implementors is the same as split 4 ways to 4 coordinators, and then 4 ways again to each of their implementors.23 For this reason we will just look at a single layer of fan-out.
  • Unlike the case of human review, where a human may pick up on contraints that they could not articulate in their original prompt during review, a review agent can only pick up on those architectural constraints that they have been told to look for, plus a proportion of the inferrable constraints. A stronger model may be able to infer more of those inferrable constraints, but the un-inferrable portion 𝜋 of constraints which were known but not articulated by the engineer will never be picked up by the AI reviewer. We will assume in this model that a review agent picks up about half of the inferrable but unstated constraints upon review, and none of the unstated, un-inferrable constraints.

Under these simplifying assumptions, does an agentic workflow confer speed-up benefits which balance out the worse quality contextual requirements and review? Figure 6 depicts the productivity gain of a human engineer performing a multi-agent workflow versus leveraging an agent swarm with AI reviews.24

The chart shows that as the number of agents increase, the agent swarm generally achieves worse overall productivity than a high-taste human engineer leveraging 1-3 agents with human review, but only when you count the cost of reversing the latent slop at the end of the project.25 At all task lengths, the agent swarm produces more latent slop, with a high-taste engineer requiring 2-3 hours worth of rework surfaced from their careful review, compared to 30-50 hours for the swarm.

work delivered per hour, vs an expert coderhours to roll back and redo every wrong abstraction laid, per project0×1×2×3×4×0 h10 h20 h30 h50 hW1234681216 agents

taste 0.2taste 0.95

engineer reviewsagent reviews

Figure 6. Team size against throughput, and against what the wrong abstractions laid cost: the hours to roll each one back and do the work on it again, counted when the work first reaches W, for the turn policy selected. Solid line is the engineer reviewing every turn. Dashed line is an agent review on their behalf, so the engineer's one prompt is split across the agents and each implementer's spec states 1/N of it, each reviewer is briefed with 2/N of it and otherwise sees only what a model could infer, a debt that breaks mid-project is patched over unless the reviewer can see it, and the engineer's hours are the steers plus whatever is paid down at delivery. The guide is the project itself. Rings mark the best team size. Hover or tap for values.

With H80 turns (3.2 h) and the latent debt paid down before shipping, a taste-0.2 engineer reviewing in person peaks at 1.34× with 2 agents, and at 2.18× with 3 agents once an agent reviews. The wrong abstractions laid cost 39 h per 40 h project to undo and redo in person and 43 h in the swarm, where 3.2 of them are patched over mid-project and 1.1 are still in the code at delivery against 0.4. A taste-0.95 engineer peaks at 3.38× reviewing in person, laying 2.3 h of rework, and at 3.81× in a swarm, laying 27 h.

A few more conclusions which can be drawn from the chart:

  • With tech debt shipped, high agent counts look preposterous: productivity appears to shoot up to 10-20x, with a 40 hour project completed in 2-3 hours on the wall clock, but shipping the equivalent of 40-50 hours of latent slop. In other words, the solution would need to be completely rewritten to fit into a broader architectural pattern even if it completes this one feature, incurring a rework cost in EHE hours dwarfing the productivity, no matter how large it is. This is the “worst case scenario” of leveraging agent swarms, and on this metric if the bill eventually comes due it would be very large.
  • For low-taste engineers under these simple assumptions, the review agents are capable of inferring more of the inferrable constraints than the 0.2-taste engineer is: about 25% of drifts from the constraints for the AI reviewers compared to just 11% for the engineer. This contributes to an inversion of the above conclusions for low-taste engineers, who see a net productivity increase by leveraging several agents in a swarm with AI review, while producing approximately the same amount of tech debt: a high-taste engineer using 1-3 agents outperforms an agent swarm because they produce little tech-debt and achieve a modest productivity gain, but a low-taste engineer produces a lot of tech debt anyway, so they are better off leveraging the AI agents which are better at review than them.

6 Conclusion

This simple model suggests that if secondary measures of 𝛿 indicate coding agents’ ability to avoid poor or costly abstractions over multi-turn projects remain weak, the most productive way to leverage AI agents is a careful, single or two-agent workflow. Deliberate prompts imparting as much of a developers’ knowledge of the problem and its constraints as possible, paired with careful review surfacing any of those constraint violations early ensure rollbacks are rare and work does not need to be repeated, producing a consistent wall-clock speed up in development time.

Engineers with better taste and sense for these constraints and abstractions see higher productivity gains than more junior engineers, and see those gains while giving agents longer tasks which increases their fallibility, but make up for this by catching any violations sooner, and therefore getting a productivity boost from the agentic coding multiplier with little risk of producing slop.

The sweet spot for task size per turn is not the largest task size reported by metrics like the METR task-completion time horizon, but a more modest workflow which balances the risk of autonomous agents producing slop.

Parallelising this workflow over multiple agents only confers a real productivity gain while agents are not sitting idle, after which the context switching cost makes multi-agent workflows with human specification and review worse with agent count. A simple model of AI agent review indicates that perceived productivity gains from leveraging swarms are likely at the cost of large amounts of latent slop left in the codebase upon project completion.

Notes

  1. This metric is no longer updated, due to it being considered “saturated.” ↑

  2. Arguably 14.8% vs 16.3% is even attributable to noise, so one could reasonably claim there has been no sure progress on this benchmark at the frontier recently. ↑

  3. Not to mention the more code there is, the harder it is to review it and even determine how it has gone wrong, and the more challenging it is to extract which parts, if any, can be salvaged from it. ↑

  4. If the human skips review, that’s basically the same as increasing the turn duration plus incurring the small cost of writing the next prompt, so we will assume for simplicity the human always reviews after each turn. ↑

  5. You can imagine more complicated models for how review time scales with code, but we will assume a flat cost across a whole feature here. ↑

  6. When humans discover this about human code, we call it tech debt. When we discover it about AI-generated code, we call it slop. In either case, there is a choice about whether you roll back or roll forward. In this model we will assume you always roll back. ↑

  7. Or “experience,” or “skill,” perhaps ↑

  8. So 𝑡 =0.5 means the engineer understands about 50% of the total constraints of the problem at that turn. We will assume the taste remains constant within a given model run, which corresponds to roughly one major piece of feature work. ↑

  9. Different choices of a here largely adjust the difference between a junior vs senior engineer, so we choose a reasonable middleground. ↑

  10. For a task of duration 𝜏 =𝐻50 equal to the METR 50% pass rate, this value is 0.5. ↑

  11. In practice, 𝛿 and 𝐻50 are clearly not independent variables, because a smarter model is likely to have higher time horizons and be less likely to make poor decisions due to lack of context. However the dramatic time horizon scaling compared with the statistically insignificant improvements in SlopCodeBench justify the simplifying assumption that 𝛿 can be treated independently of 𝐻50. If they are weakly coupled, the model does not meaningfully change in outcomes. In practice, the drift hazard is more related to overall model intelligence and the quality of training environments to encourage models to leverage their latent knowledge of and taste for abstractions while coding, which requires RL environments optimizing for benchmarks like SlopCodeBench instead of simple task completion. ↑

  12. The exponential comes from integrating the corresponding probability, the exponent, per small linear step in time during a turn. ↑

  13. This term measures the dynamic where abstractions are front-loaded in a long task, and once a design is decided, the mechanical aspects which follow from it are carried out relatively mechanically. You can turn this dynamic off by setting 𝜓 =0 so that slop is just as likely at the end of a project as at the start. ↑

  14. Which roughly translates to “a wrong guess on a fork in design based on some private information the model does not have once every ~5 EHE hours of autonomous work.” ↑

  15. And clamped on both ends to 0 and 1. ↑

  16. We also count all latent slop upon delivery of the feature, which is like setting 𝜂 =1 after the last turn ↑

  17. B is approximately 𝑘𝜏, but takes into account any work salvaged in previous steps, and failures from the pass rate 𝑞 which get corrected in the same pass. ↑

  18. The weighting 𝜑𝑘 is added because the longer latent slop has gone and been built on, the less of it can be salvaged, so the proportion of 𝐵 which you have to rollback increases the more turns have happened since it occurred. ↑

  19. Relative to 𝐻50. ↑

  20. In this model, 𝜒 represents the entire structural cost to this parallelisation. With no context switching cost 𝜒 =0, the difference between multi-agent counts vanishes and converges on the same value achieved with two agents, which is achieved once human time is saturated. ↑

  21. Scaling this 1/𝑁 by some constant multiple changes the scale of the conclusions we will draw, but not the trend. ↑

  22. Again, a different muiltiple of 1/𝑁 will change the scale of the effects we will observe, but not the trend. ↑

  23. 4 ×4 =16 ↑

  24. One small artifact of the chart is that since a review agent receives 2/𝑁 parts of the original prompts’ context, at two swarm agents they receive the same context as a human. This appears as the two-swarm team being better than the human, but this is mostly an artifact of the model assumptions. The more important point is the trend as 𝑁 increases, which remains similar even if you fine-tune the constant ratio of context the agents receive. ↑

  25. At higher agent counts, the agent swarm outperforms the human using the same number of agents and reviewing themselves, but still does not beat a human doing more careful review with their own agents: at high agent counts the human pays a high context-switching cost which is most of the lost productivity there. ↑