Manuscript Offprint
arXiv:2610.20394What Should a Software Team Spend on Agents? Simulation-Based Cost Optimization of Mixed AI-Human Teams
Abstract
Context: AI agents are rapidly adopted in software development, but their token costs are rising and it is unclear how much a team should spend on agents, and on which tasks.
Objective: We determine how teams should divide spending between human developers and AI agents to deliver the features a project demands at the lowest total cost.
Method: We model mixed teams of human developers and AI agents with eight specialized roles as a discrete-time stochastic process covering bug injection and detection, technical debt, human supervision of agents, and release cycles with feature freezes. Using Monte Carlo simulation and evolutionary search, we determine cost-optimal teams for 432 scenarios varying developer capability, project velocity, debt dynamics, agent capability and price, and bug costs, and compare them with a human-only baseline.
Results: Escaped bugs are the dominant cost driver, and 61% of the agent budget goes to finding bugs. Agent capability matters more than token price, since higher-quality outputs reduce downstream quality assurance costs. In teams with capable agents, human developers mostly fix bugs and leave the implementation of new features to the agents. Teams with high-capability agents are typically cheaper than human-only teams, but low-capability agents offer no consistent advantage. At realistic velocities, the optimal teams still spend more on developers than on agents.
Conclusions: There is neither a universal token budget per developer nor a universal agentic team structure. As in traditional development, this depends on many factors and teams need to be carefully tailored to the project context to achieve the optimal cost-quality trade-off.
Keywords AI agents · software process simulation · simulation-based optimization · technical debt · cost of software quality · team composition
Steffen Herbold, 0000-0001-9765-2803
University of Passau, Passau, Germany. E-mail: steffen.herbold@uni-passau.de
Steffen Herbold
1 Introduction
If that 250,000 worth of tokens, I am going to be deeply alarmed — Jensen Huang, CEO of Nvidia (March 2026).
Agentic AI systems based on Large Language Models (LLMs), hereafter referred to as agents, have been shown to have strong capabilities in software engineering tasks, including code generation (Aleithan et al., 2024; Merrill et al., 2026), code review (Hu et al., 2026), and natural language focused software engineering activities (Peña and Herbold, 2026). This has led to a rapid adoption of these agents in software development teams (Bogdanov, 2026). Recently, the uncritical adoption and unrestricted use of these agents is being rolled back (Juricic, 2026), not least due to the spiraling costs. Such problems are not unexpected with new technology, where we are still trying to understand all implications of AI-native software development (Hassan et al., 2026). This raises the question whether Jensen Huang's general estimate that developers should consume at least half of their salary in agent tokens is reasonable, or whether there are better ways to compose human and agent workforces. This is the central research question of this work:
RQ How should software development teams compose their human and agent workforce to deliver the work a project demands at the lowest total cost, counting the cost of the developers, the cost of the agents, and the cost of the bugs that reach production?
To answer this question, we develop a simulation model of mixed AI-human software development teams. The core assumption of our model is that the human developers still own the code, take responsibility for the quality, and guide the key design decisions. Agents support the human developers by implementing features, fixing bugs, and providing quality assurance. However, the agents also drain resources from the human developers because they require supervision, need feedback on design decisions, or help resolve issues where they fail autonomously.
We simulate the development of a software product represented as a stochastic process that evolves over multiple sprints, where each sprint represents a fixed-duration development iteration. Within each sprint, human developers and agents implement features, inadvertently introduce bugs, as well as fix known bugs. Bugs can be detected by code reviews, more expensive audits for security issues, and generated tests. Implementing features can also require changes to the architecture, which are more expensive to implement and require the sign-off by the human developers. Neglecting architecture maintenance, code documentation, and refactoring accumulates debt, which can be reduced by agents investing effort in these activities to prevent a slow-down of the development.
Within our model, we distinguish between eight different agent roles for different development and quality assurance tasks, so that we can not only analyze how to spend on agents but also how to allocate this money for different purposes. Costs are estimated based on the estimated token use by agents, salaries of human developers, and the cost of bugs that reach production. Using a simple evolutionary search, we determine optimal team compositions for different scenarios, e.g., different assumptions on agent skills and costs, development speed, and human capabilities and costs.
Our simulations show that the costs of agentic software development and the optimal team compositions depend on many interacting factors. The key findings are:
– Agent capability matters more than agent cost. High-capability agents require less human supervision, reducing personnel costs, while also creating fewer bugs, which reduces the number of bugs that escape to production. Consequently, differences in costs for tokens matter less than the capability differences.
– Capable agents turn developers into bug fixers. For the most capable and cheap agent tiers we tested, developers should spend a median of 88–90% of their coding time on bug fixing, while at the same time, few agents are used to fix bugs.
– Agents only pay off if they are good enough. Under weaker capability assumptions, agent-supported development is not consistently cheaper than our human-only baseline. More optimistic estimates of agent capability nevertheless show that significant cost savings are possible.
– Agents enable velocities that are impossible to achieve with human-only teams. The throughput of agents can be scaled to extreme development speeds, possibly enabling new classes of products and more rapid development than can be achieved by human developers.
– In most of our scenarios, costs for human developers exceed those for agents. Unless extreme or high velocities force a strong reliance on agents, our simulation still favors paying more for human developers than for agents.
– Escaped bugs, not labor, are the main cost driver. Because escaped bugs are expensive, the optimal teams invest heavily in quality assurance. Even so, escaped (security) bugs remain the largest cost factor.
– Quality assurance consumes most of the agent budget. Since preventing bugs saves money, quality assurance activities are often scaled to high effort and therefore dominate the costs for agents. In other words, getting features is cheap, but preserving quality is expensive.
Steffen Herbold
is not discussed here, as this is not the objective of this work. Instead, we discuss the relevant work that we use to estimate the dynamics of our simulation model in Section 4. Further, our work does not discuss how exactly humans and AI work together or how processes are defined. Instead, we refer to the emerging literature on AI-based software engineering in this regard, e.g., Hassan et al. (2026, 2025); Li et al. (2025). We therefore focus on earlier methods for simulating software projects, which inspired this work.
Simulation is a common experimental method to explore how situations evolve, given a model of the underlying system — in our case the dynamics of software development. Abdel-Hamid and Madnick (1991) built the first such model for system dynamics and showed that a simulation based on staffing, schedule pressure, productivity, and defect generation can reproduce the behavior of a real-world project. Kellner et al. (1999) emphasize that the simulation models serve a specific purpose. For software engineering, discrete-event simulations are the most common approach (Zhang et al., 2008; García-García et al., 2020), since software is typically considered to be made up of artifacts that are evolved through time-discrete changes instead of through a continuous model, e.g., to simulate agile development (Cao et al., 2010).
Agent-based simulation methods use a similar modeling approach to us. In such methods, agents act on and observe a simulation environment, typically with the goal to achieve some reward. The simulation then defines the types of agents and their behavior, e.g., to model human software developers as agents (Smith et al., 2006). We note that this usage of the term agent differs from the AI agents for software development that we consider here. To avoid confusion, we hereafter use the term actor-based simulation and speak of actors when referring to aspects of agent-based simulation. Actor-based simulation has been further explored in the literature, e.g., to simulate developer decisions (Agarwal and Umphress, 2010), or to estimate effort and time required for projects (Spasic and Onggo, 2012). Honsel et al. (2015) suggest using repository mining to model the behavior of human actors, and demonstrate that parameters estimated with repository mining can lead to accurate simulations of the evolution of open-source projects (Honsel et al., 2021).
The simulation model we develop is similar to the above, i.e., we have distinct actors with different behavior that drive the evolution of a software system through time-discrete steps and we estimate the behavior of human actors using results from repository mining research and reports on developer productivity. However, none of the above takes AI agents into account, so none of these models is directly comparable to our work. This is the gap that our research addresses, i.e., a simulation framework that allows us to model how human developers and AI agents co-evolve software.
3 Model description
We now describe our simulation model in which we treat software development as a discrete-time stochastic dynamical system, in line with prior work on software simulation (see Section 2). The simulation runs for sprints, where each sprint represents one fixed-duration iteration. States are indexed , where is the fixed initial state (before any sprint executes) and for is the state produced by sprint . The simulation configuration is defined by the team composition and process parameters . The parameters , , , define the team structure (Sections 3.1 and 3.3). The parameters and define the release cycle and feature freezes (Section 3.2). The team composition further depends on whether the current sprint is in the development phase or the feature freeze phase of the release cycle (Section 3.3). The development team of humans and agents evolves a software project whose state at sprint is represented by a 22-dimensional state vector defined in Section 3.4. Scenario parameters govern the behavior of the underlying software development process and the capabilities of the agents, such as feature throughput rates, bug injection rates, bug detection probabilities, and cost coefficients (Section 3.5). The transition from to is governed by the sprint dynamics , which consists of ten ordered steps (Section 3.6).
We derive the metrics that describe how well a team configuration performs from the terminal state and the per-sprint record of the work the agents completed (Section 3.7): the value as the average number of features completed per sprint, and three cost drivers, namely the cost caused by the bugs that escape to production, the cost of the human developers, and the cost of the agents. We formulate a search problem that minimizes the costs, subject to the constraint that a configuration keeps up with the work the project generates (Section 3.9). By running multiple simulations with different random seeds for each configuration c, we can establish the uncertainty of the simulation through a Monte Carlo approach and estimate the confidence intervals of the costs (Section 3.8). Since the estimates are noisy, we do not only report a single best configuration, but also the set of configurations that cannot be statistically distinguished from it (Section 3.10). Since the search space is combinatorial and high-dimensional, we further describe the search strategy we use to efficiently explore the space of valid configurations (Section 3.11). Figure 1 summarizes how these parts fit together.
3.1 Roles
Similar to Hassan et al. (2026), we assume that agents will conduct most of the actual software development work. Therefore, there is only a single human role included in our model: the Human Developer. Developers communicate with each other, supervise agents, review and approve architecture proposals, resolve escalations that agents cannot handle autonomously, and contribute new features and bug fixes with the remaining time.
We do not assume that developers dedicate all of their time to the project. N is therefore not a headcount but a staffing level measured in full-time equivalents (FTE), and it does not need to be an integer: describes one
Steffen Herbold

Fig. 1 Overview of the model. The evolutionary search proposes configurations c, consisting of the human staffing level N, the share of the developers' coding time spent on bug fixing, the agent compositions and for development and feature-freeze sprints, the number of sprints per release R, and the feature-freeze length . Each feasible configuration is evaluated with K Monte Carlo replications of a simulation that applies the sprint transition T to the state to obtain for T sprints. The costs and the value, i.e., the features completed per sprint, are computed from the terminal state . The selection determines the cheapest configuration whose value reaches the feature arrival rate up to a tolerance , and the set of configurations that are statistically indistinguishable from it.
developer who devotes a quarter of their working time to the project, and describes two full-time developers plus one half-time developer. Accordingly, is the gross time budget of one FTE per sprint, so that the gross budget available to the whole team is hours per sprint.
We have eight specialist AI agent roles, indexed . All agents of the same type are assumed to be statistically identical. We further distinguish between agents that require supervision and agents that run fully autonomously. The supervised agents consume monitoring capacity from the human developers but are otherwise assumed to execute tasks autonomously. Table 1 summarizes each AI agent role's primary function. We note that different roles do not mean that there must be different AI systems or agentic frameworks. This separation is rather introduced to enable the simulation to have distinct estimates for the agentic costs and capabilities for different aspects of software development and also to allow the allocation of these costs to optimize quality while minimizing costs.
The eight roles fall into three functional groups. The production roles all directly contribute to the production code. The Feature Implementation Agent is the primary productivity driver implementing features and architecture changes. While doing so, the agent also generates architecture
Table 1 The eight AI agent roles.
| k | Role | Primary Function |
|---|---|---|
| 1 | Feature Implementation | Implements features and approved architecture changes |
| 2 | Architecture & Design | Creates architecture and design proposals for human review |
| 3 | Bug Fixing | Diagnoses and repairs known bugs |
| 4 | Refactoring | Restructures code to reduce the technical debt |
| 5 | Code Review | Reviews all code changes to detect bugs |
| 6 | Security Audit | Targeted review to identify security-class vulnerabilities |
| 7 | Test Development | Writes automated tests and grows test coverage for a continuous integration system to detect bugs |
| 8 | Developer Documentation | Produces documentation (e.g., API references, architecture guides, and contributor docs) to aid human developers |
change requests and introduces new bugs into the codebase. The Architecture Agent creates proposals for architecture updates for human review. Neglecting architecture change requests degrades internal quality and will lead to architectural debt accumulation. The Bug Fixing Agent drains the known-bug queue. The work conducted by the Feature Implementation and Bug Fixing Agents introduces technical debt. The Refactoring Agent improves the internal quality of the system autonomously and reduces technical debt. From a conceptual perspective, the Architecture Agent is responsible for high-stakes structural changes that require human review, while the Refactoring Agent is responsible for low-stakes internal improvements that can be executed autonomously without review. Consequently, the Refactoring Agent is not supervised and consumes no monitoring capacity from the human developers.
The two review services inspect every code change synchronously in the same sprint as injection. The Code Review Agent detects all kinds of bugs but gets less effective if there is more code to review. The Security Audit Agent can only detect security bugs and allows the modeling of more expensive agents for this high-stakes role. Like the Code Review Agent, it becomes less effective with larger review volumes and more technical debt. These two agents run autonomously, i.e., the human developers do not need to supervise them and detected bugs are automatically added to the bug queues. The Test Development Agent builds up a continuously growing test suite, which helps detect bugs.
Finally, there is one support role : the Developer Documentation Agent creates documentation to aid human developers, which in turn reduces the per-agent monitoring overhead that consumes human capacity by reducing the cognitive load of the human developers when supervising agents.
Steffen Herbold
3.2 Release cycle and feature freezes
A release occurs exactly at sprint indices where is the fixed release cadence. At each release, unfixed bugs (both hidden and known) escape to production, incrementing the cumulative escaped bug counters. As in many real-world projects, we model a feature freeze to stabilize the codebase before release. The feature freeze lasts for sprints before a release. Sprint is in the freeze window iff , i.e., the freeze window comprises the last sprints of each release cycle, including the release sprint itself.
Each sprint uses one of two agent compositions, depending on its position in the release cycle. The development composition is used during the first sprints of each cycle, and the QA composition during the remaining sprints. The different compositions allow a different focus, i.e., focus on feature addition versus focus on quality assurance and bug fixing.
3.3 Project and team structure
Given the above description of the roles and release cycle, we can now specify the project and team structure using six control variables: the human staffing level in FTE , the number of sprints per release , the length of the feature freeze period , the share of the developers' coding time that goes to bug fixing rather than feature implementation, and two 8-element agent composition vectors and described below.
is the development-phase composition and is the QA composition. As established in Section 3.1, the roles fall into two groups with respect to human oversight: the supervised roles and the autonomous roles , i.e., the Refactoring Agent and the two review services, whose work the developers do not review (Section 3.1). We write
for the number of active supervised agents in sprint t, where the placeholder · stands for the composition that is active in sprint t, i.e., dev during development sprints and qa during feature-freeze sprints. We use this notation throughout wherever a statement holds for both phases. Every supervised agent consumes monitoring effort from the human developers, so the admissible compositions are limited by the human-capacity feasibility condition of Section 3.6, Eq. (15). Leaving supervised slots unfilled may be optimal in some cases to reduce coordination overhead and free up human capacity for review, escalation, and implementation work. None of the autonomous roles consumes human monitoring capacity. For the two review services, the counts and are therefore unbounded and only limited by their token cost, since at some point investing more in detecting possible bugs yields diminishing returns. The Refactoring Agent is unsupervised in the same way, but the debt it can remove is limited by the debt the team accumulates, so its count stays bounded by the work that reaches it. The dev-phase and QA-phase counts are independent of each other, so a service can be staffed differently during a feature freeze than during development. must satisfy , i.e., there must be at least one Feature Implementation Agent in the development phase. This also ensures that there is value, i.e., that at least some features are implemented and the simulation does not trivially collapse to zero throughput. For , is required to have , to ensure that no new features are added during a feature freeze and that all agents are redeployed to QA roles. If , the QA composition is never active and has no effect on the simulation. We therefore fix in that case.
3.4 State space
denotes the 22-component system state produced by sprint (for ), and denotes the fixed initial state. The components fall into four clusters summarized in Table 2: three feature variables, twelve bug variables, five variables for technical debt and the human capacity queues, and two variables for test infrastructure and documentation coverage.
3.4.1 Feature pipeline
counts features awaiting implementation after sprint completed. Within each sprint, this queue grows according to the feature arrival rate (see Section 3.5), while the Feature Implementation Agents and the direct coding capacity of Human Developers reduce it by implementing features and thereby growing the monotonically increasing cumulative count of fully implemented features . counts the features implemented since the last release.
3.4.2 Bug queues
Our simulation model distinguishes between three mutually exclusive bug types: minor, major, and security bugs. Configuration parameters determine the impact of the different bug types on quality and the rates at which bugs of the different types are introduced, relative to each other (see Section 3.5). The bugs are tracked in four kinds of queues (hidden, known, released, and escaped) with one counter per bug type, giving twelve bug state variables in total.
(for ) counts type-x bugs that have been injected in the current release cycle but have not been detected yet. counts type-x bugs that have been detected and are queued for repair. This separation is important, because only detected bugs can be fixed, while hidden
Steffen Herbold
bugs remain unnoticed in the code until they are detected or escape to production. is the monotonically increasing cumulative count of type-x bugs that reached production. Since escaped bugs must still be fixed, counts the subset of escaped type-x bugs still open after sprint . The Bug Fixing Agent fixes these bugs before those in the known-bug queue.
3.4.3 Technical debt and human capacity queues
is a normalized measure of technical debt: represents a debt-free codebase and represents maximum degradation. can be reduced autonomously by the Refactoring Agent. counts the architecture change requests that are still pending, counts the architecture proposals awaiting human review, and counts the approved architecture proposals that are awaiting implementation. Together, these three variables measure the architectural degradation, which requires human intervention to be reduced and cannot be reduced fully autonomously. is the agent escalation queue: agents may fail to implement a feature on their own and need to escalate this to a human developer to resolve the issue.
All these variables grow with the work of the Feature Implementation Agents and the Bug Fixing Agents, which introduce technical debt and generate architecture change requests as they implement features and fix bugs. Thus, faster development speed directly increases the accumulation of technical debt, architectural debt, and escalation requests.
3.4.4 Test infrastructure and documentation
We assume that there is a continuous integration system in place that automatically runs a test suite to detect bugs. The status of this test suite is tracked by , which is the cumulative number of tests written by the Test Development Agent. New tests are added every sprint to increase the test coverage cov_test, which is derived from the test count and the number of implemented features as
Higher coverage increases the likelihood that introduced bugs are detected and move from the hidden to the known queues.
Similarly, is the cumulative number of documentation items produced by the Developer Documentation Agent and grows monotonically each sprint. Documentation coverage is derived from this count in the same way as test coverage, but relative to :
Table 2 State vector components with domains and the sprint-transition steps (cf. Section 3.6) that write each variable.
| Symbol | Description | Domain | Modified (step) |
|---|---|---|---|
| Features awaiting implementation | 3 | ||
| Cumulative features shipped | 3 | ||
| Features implemented in the current release cycle | 3, 10 | ||
| Hidden minor bugs in the current release cycle | 5, 10 | ||
| Hidden major bugs in the current release cycle | 5, 10 | ||
| Hidden security bugs in the current release cycle | 5, 10 | ||
| Known minor bugs queued for repair in the current release cycle | 5, 7, 10 | ||
| Known major bugs queued for repair in the current release cycle | 5, 7, 10 | ||
| Known security bugs queued for repair in the current release cycle | 5, 7, 10 | ||
| Open in-production minor bugs requiring repair | 7, 10 | ||
| Open in-production major bugs requiring repair | 7, 10 | ||
| Open in-production security bugs requiring repair | 7, 10 | ||
| Cumulative minor bugs escaped | 10 | ||
| Cumulative major bugs escaped | 10 | ||
| Cumulative security bugs escaped | 10 | ||
| Technical debt level | 9 | ||
| Architecture review queue length | 6 | ||
| Architecture change-request queue awaiting agent resolution | 6 | ||
| Approved architecture proposals awaiting implementation | 6 | ||
| Escalation queue length | 8 | ||
| Cumulative tests written | 4 | ||
| Cumulative documentation items written | 9 |
capped at 1, i.e., full documentation coverage. The index reflects that the documentation is updated at the end of the sprint, i.e., the new documentation only becomes available in the next sprint. This means that the benefits of documentation investment (i.e., reduced monitoring effort for human developers) are always lagged by one sprint.
Steffen Herbold
Table 3 Human-capacity parameters.
| Symbol | Description | Domain | Step |
|---|---|---|---|
| Gross time budget per FTE per sprint | 1 | ||
| Monitoring hours consumed per supervised agent | 1 | ||
| Hours consumed per architecture proposal reviewed | 1 | ||
| Hours consumed per escalation handled | 1 | ||
| Human hours required to implement one feature | 1 | ||
| Human hours required to fix one bug | 1 | ||
| Communication overhead hours per developer per additional peer | 1 |
Table 4 Feature-pipeline and throughput-rate parameters.
| Symbol | Description | Domain | Step |
|---|---|---|---|
| Poisson rate of feature arrivals per sprint | 3 | ||
| Features implemented per agent per sprint | 3 | ||
| Architecture change requests resolved per Architecture Agent per sprint | 6 | ||
| Debt reduction per Refactoring Agent per sprint | 9 | ||
| Tests written per agent per sprint | 4 | ||
| Documentation items written per agent per sprint | 9 | ||
| Bugs fixed per Bug Fixing Agent per sprint | 7 |
3.5 Configuration parameters
The behavior of the agents and the simulation model in each sprint is governed by a set of parameters that must be defined before running the simulation. The parameters codify the assumptions about the underlying software development process and the capabilities of the agents, and they determine how the state variables evolve over time. They can be grouped into human-capacity parameters (Table 3), feature-pipeline and throughput-rate parameters (Table 4), bug-injection parameters (Table 5), quality assurance parameters for bug detection (Table 6), technical-debt parameters (Table 7), and cost parameters (Table 8). The tables describe the meaning of each parameter, its domain, and which step of the sprint transition first uses it (see Section 3.6 for the step definitions). Section 3.6 describes how each parameter is used, and Section 4 describes how we set their values. The human-only baseline (Section 4.1) requires two more human parameters and one more decision variable that are not part of the model described here. We introduce them together with the baseline.
Table 5 Bug-injection parameters.
| Symbol | Description | Domain | Step |
|---|---|---|---|
| Base Poisson rate of bugs injected per feature by agents | 5 | ||
| Poisson rate of bugs injected per feature by humans | 5 | ||
| Share of major bugs among all injected bugs | (0,1) | 5 | |
| Share of security bugs among all injected bugs | (0,1) | 5 |
Table 6 Bug detection-rate and quality-degradation parameters.
| Symbol | Description | Domain | Step |
|---|---|---|---|
| Base binomial detection probability for Code Review | 5 | ||
| Base binomial detection probability for Security Audit | 5 | ||
| Maximum test detection probability at full coverage | 5 | ||
| Upper bound on test coverage | 4 | ||
| Detection degradation based on change volume per review/audit agent | 5 |
Table 7 Debt, architecture, escalation, and documentation parameters.
| Symbol | Description | Domain | Step |
|---|---|---|---|
| Floor of debt amplifier at , i.e., lower bound for throughput, review, and escalation quality | (0,1) | 2 | |
| Shape exponent of the debt amplifier | 2 | ||
| Fraction of implemented features that generate an architecture change request | 6 | ||
| Additive debt increase per feature implemented | 9 | ||
| Additive debt increase per bug repaired | 9 | ||
| Escalation probability per completed agent work item | 8 | ||
| Maximum fractional reduction of monitoring overhead at full documentation coverage | 1 |
3.6 Sprint transition function
The sprint transition executes ten steps in fixed dependency order.
Steffen Herbold
Table 8 Cost parameters. is an 8-element tuple, one entry per agent role.
| Symbol | Description | Domain | Section |
|---|---|---|---|
| API token cost per deployed agent, indexed by role, per unit of the role's throughput rate | 3.7 | ||
| Annual fully-loaded salary of one FTE | 3.7 | ||
| Expected cost of one escaped minor bug | 3.7 | ||
| Expected cost of one escaped major bug | 3.7 | ||
| Expected cost of one escaped security bug | 3.7 |
Step 1 — Human capacity allocation
The priority-ordered time budget of the developers is resolved as a five-stage cascade, each stage consuming the time left after the previous one. First, communication overhead between the developers reduces capacity to
per FTE. Communication is a per-person cost that does not shrink when a person invests only part of their time in the project, so the overhead is driven by the headcount rather than by the staffing level: is the smallest headcount that can supply FTE, so is the number of peers each of them communicates with. Since is the number of active supervised agents, each FTE supervises agents, consuming hours of monitoring effort. The per-agent monitoring effort is reduced by the documentation coverage (from the previous sprint) and the reduction is calibrated by
leaving post-monitoring capacity
We assume , so that documentation reduces, but never inverts, the monitoring effort.
Architecture reviews are served from this remainder and drain the architecture review queue at rate :
leaving post-review capacity
Escalations are served analogously:
leaving post-escalation capacity
The remaining capacity is used for coding: fraction goes to bug fixing and to feature implementation:
During feature-freeze sprints (Section 3.2), no features are implemented, i.e., impl_human = 0, and all of is redirected to bug fixing:
Both activities are debt-independent: and are fixed costs regardless of the current debt level . While not fully realistic, this simplifies the model, and we assume that the human effort already includes dealing with possibly existing debt-related complexity.
is driven to zero if monitoring overhead exceeds . Configurations for which this is unavoidable cannot perform any productive human work regardless of the scenario-parameter draws. We therefore define a feasibility criterion that is checked before running the simulation for the development composition , and for the QA composition when :
This check ensures that the developers have sufficient capacity for the communication between themselves and for the monitoring of agents under the best-case assumption of perfect documentation coverage. The criterion is a necessary condition rather than a sufficient one: since the documentation coverage starts below its ceiling, the effective monitoring overhead early in a simulation run can still temporarily exceed the available capacity. We do not specify similar constraints for architecture review and escalation time, as not handling these only increases the debt penalties we discuss next, meaning that implementation is still possible, though less efficient.
Step 2 — Debt penalties
Technical debt , as well as unresolved work in the architecture and escalation pipelines, contributes to productivity degradation. Architecture work is considered unresolved as long as it remains anywhere in the pipeline: as an unprocessed change request ( ), as a design proposal awaiting human review ( ), or as an approved proposal awaiting implementation ( ). We normalize this by the team's maximum throughput for the corresponding human activity in one sprint . A value of 1 means the queue
Steffen Herbold
holds as many items as the team could process in an entire sprint under ideal conditions, i.e., the team would need a full sprint just to drain the queue. Once the queue reaches this or a worse state, the architectural degradation has reached its maximum. Step 2 reads queue values carried over from sprint t - 1, so all debt quantities use the t - 1 index. Overall, this gives us the architectural debt as
Similarly, a long escalation queue indicates that the team is overloaded, because unresolved escalations mean that agents require frequent human intervention, which degrades coordination quality. Normalizing by the maximum escalation throughput gives
The combined effective debt is
The debt amplifier
is a single function of the combined debt, parameterized by a floor that describes the highest negative impact the debt can have and a shape exponent that controls the rate of decay. It equals 1 at zero combined debt and decays to at . This debt multiplier will be used in subsequent steps to reduce feature implementation speed, increase bug injection, reduce code review quality, slow bug fixing, and increase the rate at which agents require escalations.
Step 3 — Feature arrival and implementation
In every sprint, new features arrive in the backlog according to
growing the backlog at the beginning of the step. Because arrivals are added before implementation runs, newly arrived features are immediately available for implementation in the same sprint. The backlog is then drained by human and agent implementation.
Available agent capacity is first consumed by approved architecture proposals pending implementation, with remaining capacity applied to the feature backlog. Writing demand( for the features available for implementation, the human developers are served first and the agents implement what remains. The rationale is that the developers' salaries are paid regardless, so their capacity should be used first.
Implementing approved architecture proposals (arch_impl) consumes agent capacity but does not increment , since it represents internal architecture work rather than user-visible feature delivery. Each such implementation consumes five features' worth of agent capacity, because it requires the same code-base-wide analysis that makes an architecture proposal five times as expensive to produce (Section 4.2.4). The feature implementation is linearly reduced by to reflect the impact of debt on development speed. Total user-feature implementation per sprint is capped at the available backlog to prevent over-counting features:
and the state variables are updated as:
Step 4 — Test suite update
The Test Development Agent grows the cumulative test count before bug detection runs, up to the coverage ceiling of Eq. (2), beyond which further tests no longer raise cov_test:
Because this step executes before bug injection and detection (Step 5), the new tests written this sprint are immediately available to raise the test coverage cov_test. Thus, investments in testing take effect in the same sprint, which directly incentivizes the allocation of Test Development Agents.
Step 5 — Bug injection and detection
Agents inject bugs at an effective per-feature bug introduction rate
Steffen Herbold
where the factor increases the bug injection as debt accumulates. How many bugs exactly are introduced is randomized using a Poisson distribution as
The human-implemented features inject bugs at a fixed per-feature rate, i.e., independent of the debt as
which gives us
as the overall number of injected bugs within a sprint.
Each injected bug is assigned to exactly one of three mutually exclusive types via a sequential draw: security bugs are extracted first, then the remainder is split into major and minor:
where .
Detection proceeds in three sequential stages that model a workflow where first an existing test suite is run against code changes (simulating a CI pipeline), then code review is conducted, and finally a security audit is performed by a specialist agent. Which bugs are inspected depends on the phase of the release cycle. During development sprints, the detection inspects the features developed in the current sprint and can hence only detect bugs in those features. The test suite is run first, and the change volume under inspection consists of the features implemented in the sprint. During feature-freeze sprints, the whole code of the current release cycle is re-inspected to detect bugs that are still hidden. This gives us the inspected bugs and the inspected volume as
for .
The test suite detects bugs at rate
(35) where cov_test(t) is given by Eq. (2). The test suite is not re-run during feature freezes, since it already ran against every change when it was implemented.
Within our model, we assume that both agents invest effort that is reasonable to review a single feature in depth. If more features need to be reviewed, the per-feature review effectiveness is reduced. We model this through a degradation function of the number of features relative to the number of agents. We use a logarithmic transformation to model this as diminishing returns:
The code review then detects bugs that survive testing at effective rate
and the Security Audit Agent detects the security bugs that survive both earlier stages at rate
Let , denote the counts detected by tests and code review for type , and the count detected by the security audit. These are given by binomial draws with the corresponding detection probabilities:
The known and hidden queues are incremented accordingly:
Note that is an intermediate value at this step, which will be decreased by the bug fixing conducted in Step 7.
Step 6 — Architecture queues
This step propagates architecture work through three queues , , and in causal order. First, we determine how many new architecture change requests are generated by the features implemented this sprint. Architecture change requests are generated at rate per feature implemented this sprint, giving Poisson-distributed arrivals that fill the change-request queue:
Steffen Herbold
Then, the Architecture Agents drain at rate per agent. Each resolved change request produces one design proposal forwarded to the human review queue , which is at the same time reduced by the human review capacity:
Finally, the rev_done(t) proposals reviewed and approved this sprint are placed into the architecture implementation queue , enabling their implementation in the next sprint by the Feature Implementation Agents in Step 3:
Step 7 — Bug fixing
Bug fixing proceeds in two phases using the same six priority tiers :
Phase 1: Human fixes (debt-independent). Human developers apply their bug-fixing budget fix_human(t) to the priority tiers in order. Each bug fixed consumes one unit of the integer budget, so:
where .
Phase 2: Agent fixes (debt-slowed). The Bug Fixing Agents then drain the remaining queues, traversing the same tiers in the same order with a shared budget
i.e., the per-agent fix rate scaled by the number of deployed Bug Fixing Agents and by the debt amplifier . As for the humans, each bug fixed consumes one unit of this budget, irrespective of its severity:
(48)
The two phases therefore differ only in how their budget is derived: the human budget follows from the available human capacity and is debt-independent, whereas the agent budget scales with the number of deployed agents and shrinks as technical debt accumulates. Since human fixes take priority, a well-staffed team can keep the known-bug queue short even when is low.
Letting denote the total bugs fixed from tier across both phases, the release and known-bug queues are decremented:
The rows use index on the right because the release queues are not written by any earlier step in this sprint. The rows use index as a reminder that their right-hand side values were already updated by Step 5.
Step 8 — Escalation queue
Agents raise human escalations per completed work item at rate . The work the supervised implementation agents completed this sprint is
where fixes_agent(t) = is the agent share of the repairs of Step 7. Human work is not included, since developers do not escalate to themselves. The two review services are also excluded, because they report their findings as bugs instead of escalating. The same holds for the test and documentation agents, whose artifacts are reviewed together with the code they belong to. New arrivals each sprint are then esc_new(t) Poisson( ), where the factor increases the escalation rate as debt accumulates, as it does for bug injection in Eq. (29). The queue is then updated taking the capacity for human escalation resolution esc_done(t) into account:
Step 9 — General maintenance
After the feature implementation, testing, and bug fixing steps, the general maintenance agents perform their work. They do not provide direct utilitarian value in the form of features delivered or bugs fixed, but instead provide indirect value by slowing the accumulation of technical debt and by improving the documentation, which reduces the cognitive load of the human developers when supervising agents.
The first such activity is performed by the Refactoring Agent, which reduces technical debt. Three activities drive the technical debt : feature
Steffen Herbold
implementation and bug fixing each increase debt, while refactoring conducted by the Refactoring Agent decreases it.
where fixes_total(t) = is the total number of bugs fixed across all priority tiers in Step 7.
The second activity is documentation written by the Developer Documentation Agent, which grows the cumulative document count, up to one document per completed feature, i.e., the point at which Eq. (3) is capped:
This increases the documentation coverage cov_doc in the next sprint (see Eq. (3)).
Step 10 — Release event
If , a release fires: all bugs remaining in the hidden and known queues escape to production: bugs that were never detected as well as bugs that were detected but not fixed before the release deadline. These bugs are added to the cumulative escaped counter and to the in-production repair queue. Afterwards, the hidden and known queues are reset to zero, and a new release cycle starts:
The rows use index on the right because the release queue was already updated by Step 7 (bug fixing) within this sprint. Similarly, on the right-hand side is the post-fixing value from Steps 5 and 7. When , no release fires and all updates are skipped.
3.7 Objective functions
The model evaluates a configuration through four quantities that are computed from the terminal state and from the per-sprint record of the work the agents completed, and therefore aggregate performance across the entire development cycle: the value delivered by implementing features, and the three cost drivers of the development process, namely the cost of the bugs that escape to production, the cost of the human developers, and the cost of the agents.
3.7.1 Value
The value is defined under the assumption that more features developed mean that the software product is of higher value to its end users. Therefore, we approximate the value produced by the development process by the average throughput of features delivered per sprint, computed as
3.7.2 Quality costs
The quality of software is a second main criterion for end users: if the software is buggy, it will not be useful regardless of the number of features it has. Bugs that escape to production cause costs, e.g., due to outages, security breaches, or at least the effort required to fix them after the release. Therefore, we express quality as the cost that the escaped bugs cause once they affect real users, which is computed as a weighted sum of the escaped bugs of each type:
where are the expected costs of a single escaped minor, major, and security bug. The counts include all bugs that reached production, i.e., bugs that were never detected as well as bugs that were detected but not fixed before their release deadline.
3.7.3 Human personnel costs
The human personnel cost is the salary of the human developers. The parameter represents the annual fully-loaded salary of a human developer, defined for a period of 52 sprints (one sprint per week). The total human cost is computed by multiplying the number of developers N by their salary, pro-rated over the T-sprint horizon:
3.7.4 Agent costs
Each agent of role incurs a token cost per unit of work produced , e.g., per feature added, bug fixed, or test written. Thus, the costs are computed with respect to the actual throughput and not the theoretical maximum rate. This accounts for under-utilization of agents, e.g., when the feature backlog is empty or when the number of deployed agents exceeds the throughput that the human developers can supervise. We reuse the rates already introduced for the sprint transition function where feasible, i.e., where the effort directly depends on the number of features implemented or bugs fixed (Table 4), namely , , , , and .
Steffen Herbold
Table 9 Work unit billed per role and sprint.
| k | Role | |
|---|---|---|
| 1 | Feature Impl. | impl_agents(t) + 5 arch_impl(t) |
| 2 | Architecture | arch_chg_done(t) |
| 3 | Bug Fixing | fixes_agent(t) |
| 4 | Refactoring | a.,4 |
| 5 | Code Review | a.,5 |
| 6 | Security Audit | a.,6 |
| 7 | Test Development | |
| 8 | Dev. Documentation |
Theoretically, we could use the same approach for the other three roles, which would require them to invest a fixed amount of effort per feature implemented, bug fixed, or architecture change request resolved. However, this would be restrictive and not allow the model to explore different quality, debt, and cost trade-offs. Thus, the costs of these agents are flat per-sprint and modeled based on reviewing or addressing the debt of a single feature as the unit. The number of agents deployed then scales costs linearly and the benefit grows with the number of agents, but with diminishing returns once there are many agents per feature added. For these three roles we therefore set .
The five demand-driven roles are therefore charged for the work they actually performed, i.e., an agent that receives no work causes no costs. In contrast, the three flat-rate roles are charged per sprint, even when additional agents no longer improve the outcome. Let denote the work role k completed in sprint t, measured in the unit of that role's rate and read off the sprint transition as summarized in Table 9. Implementing an approved architecture proposal is billed as five feature implementations, since it requires the same code-base-wide analysis that makes an architecture proposal five times as expensive to produce (Section 4.2.4). This gives us the agent costs
3.8 Monte Carlo protocol
A feasible configuration c (cf. Section 3.9) is evaluated by running independent Monte Carlo replications. At t = 0 all components of must be initialized. We use fixed values to define the initial state of the system, e.g., zero features in the backlog and zero bugs in all queues. These values define the state of the project when the first agentic development sprint starts. They are fixed experiment constants that are specified as part of the experiment design (see Section 4). The sprint transition T is then applied T times, yielding terminal state . The outcome of each simulation run is randomized by the actions within the sprint transition, which are driven by the stochastic processes, e.g., the Poisson feature arrivals and the binomial bug detection draws. The value and the three cost drivers , , and for each replication are then computed from and from the per-sprint work record. We combine the cost drivers into the per-replication cost per feature
within each replication, i.e., the costs of each replication are based on the bugs that escaped, the agent work that was performed, and the features that were delivered in that replication. Note that carries no replication index, because it depends only on the staffing level N and is therefore deterministic. We use the mean of these values as the estimator for the expected costs C. The uncertainty is quantified with 95% percentile bootstrap confidence intervals (CIs).
3.9 Search problem
We first define the feasible set X as the set of all configurations
satisfying the structural constraints of Section 3.3 and the human-capacity feasibility condition of Eq. (15).
A development team has to deliver the work the project demands as cheaply as possible. We model this as a throughput constraint together with a cost objective. The throughput constraint states that the team must keep up with the incoming work: features arrive at a rate of per sprint and cannot be implemented faster than they arrive, so is the expected maximum attainable value. To account for uncertainty of the Poisson arrival of features, we allow a tolerance per sprint:
Using the feasible configurations that satisfy the throughput constraint, we define our search problem as the minimization of the expected cost per feature delivered (Eq. (59)), i.e.,
Steffen Herbold
3.10 Selection under Monte Carlo noise
Every configuration the search evaluates is scored by a mean over Monte Carlo replications. The objective considers only the mean, not the uncertainty of the estimates. We therefore do not report the minimizer alone. Let be the configuration with the lowest mean costs that optimizes our constrained search problem with confidence interval . A second configuration that satisfies the throughput constraint and whose confidence interval overlaps that of is not statistically significantly different at the 95% confidence level. If no evaluated configuration satisfies the throughput constraint, no such exists and is empty. In that case we report the configuration with the highest value and mark the result as inadmissible. Otherwise, we define the indistinguishable set as
Two configurations in are statistically indistinguishable by construction, and it can happen that one of them uses no more agents than the other in any role. Reporting the larger of the two would be misleading, since the additional agents do not lead to a measurable improvement. We therefore add a parsimony tie-break within : we say that parsimony-dominates iff both lie in , the two share the same , and hold for all with at least one strict inequality, and the mean cost of is strictly lower than that of , i.e., . Parsimony-dominated configurations are removed from before it is reported. The cost condition means that we only drop a larger team in favor of a smaller one that also measured better. In particular, has the lowest mean cost within by definition and therefore cannot be parsimony-dominated, i.e., is always retained.
Both and are preliminary at this point, because the width of the confidence intervals that Eq. (62) compares is governed by the number of replications that the search uses. We re-simulate every configuration in the preliminary with replications to get better estimates of and reduce the confidence intervals. Since the tie-break has already removed the parsimony-dominated configurations, only the parsimonious members have to be re-simulated, which reduces the effort of this step. We then apply the selection a second time and expect that shrinks, since there should be fewer overlapping confidence intervals. While it is unlikely that the throughput changes, the constraint is checked as well and violating configurations are discarded. Similarly, we also apply the parsimony tie-break a second time, but do not expect major changes.
3.11 Search strategy
Exhaustive search of the configuration space for the optimal process and team configuration is impossible, because the counts of the two review services are unbounded (Section 3.3). Even under an arbitrary cap of 99 agents per service, the four review service counts , , , and alone already give combinations. The possible values of the human staffing level, the release cadence, the feature-freeze length, and the supervised parts of both compositions multiply this number further.
We therefore search Eq. (61) heuristically with an evolutionary search, which maintains a population of configurations and improves it through mutation and selection.
3.11.1 Search range
The search range constrains four discrete parameters: the human staffing level , the release cadence , the feature-freeze length , and the bug-fixing share . The sets , , , and are explicit finite sets, e.g., .
Once is fixed, the development composition and the QA composition must satisfy the structural constraints of Section 3.3 and the human-capacity monitoring feasibility condition of Eq. (15). However, there is a further constraint that the model implicitly imposes: the effort that every supervised role can contribute is restricted by the amount of work that reaches it, which is all derived from the feature arrival rate . While this is trivially the case for the implementation agent through Eqs. (23) and (24), the architecture work, bug fixing, test development, and documentation are also bounded by the inflow of work that reaches them (see Eqs. (42), (29), (2), and (3)). Writing for the work that reaches role in one development sprint, this gives us the following fixed-point upper bounds, expressed relative to the feature arrival rate :
The workload is matched against the throughput an agent of role k can achieve, accounting for the debt amplifier. We use its floor , i.e., the least favorable and therefore most permissive case:
The two review services and the Refactoring Agent are not constrained by Eq. (65), so instead of a search range we specify a sampling distribution for them below. The feature-freeze duration is additionally constrained by the release cadence: once is sampled, only values from with are admissible.
This gives us constraints
Steffen Herbold
where is a headroom factor that allows the search to explore configurations that exceed the steady-state workload, which means that the agent capacity can be overallocated to a certain degree to deal with load peaks that can occur due to the Poisson feature arrivals. We do not distinguish between the development and QA compositions here. Taken together with the feasible set of Section 3.9, this defines the region that the search explores:
3.11.2 Random configuration sampling
The search needs a way to produce valid initial configurations. We sample these configurations as follows:
-
Draw N, R, and uniformly from N, R, and , respectively.
-
Draw uniformly from the admissible values .
-
Draw the supervised part of role by role, independently and uniformly within the throughput saturation bound of Eq. (65), i.e., from so that , and from for the remaining .
-
Draw the supervised part of in the same way, i.e., uniformly from for , and . If was drawn in step 2, then by Section 3.3 and this step is skipped, as is the QA half of step 5.
-
Draw the review service counts , and, when , , independently and uniformly from , i.e., we allow up to one instance of each service per feature that arrives in a sprint.
-
Draw the Refactoring Agent counts and, when , independently and uniformly from with , i.e., we allow up to one Refactoring Agent per two features that arrive in a sprint.
-
Check the candidate against the human-capacity feasibility condition of Eq. (15). A candidate that violates it is recorded as infeasible and not simulated.
Note that the sampling does not require that the throughput constraint for the value achieved is fulfilled.
3.11.3 Constraint handling
The advantage of not discarding solutions that violate the throughput constraint is that we can approach the admissible region from the outside, possibly finding better configurations. Still, this means we must be able to compare two configurations of which one, or both, violate Eq. (60). We adopt a feasibility rule from Deb (2000) to resolve this:
While this is only based on features, the number of bugs is limited by the number of features, which also limits the refactorings.
– If both configurations violate the throughput constraint, the one with the smaller constraint violation, i.e., the higher value, is preferred.
– A configuration that satisfies the throughput constraint is always preferred to one that does not.
– Two configurations that both satisfy the throughput constraint are compared by their cost, with the lower cost preferred.
Thus, the search first looks for admissible configurations, and then among those for the cheapest one. We use the notation to denote that configuration is preferred to configuration according to the above rules.
3.11.4 Evolutionary search
Evolutionary search is a metaheuristic that iteratively generates and evaluates candidate solutions. It maintains a population of candidates and favors better candidates when generating new ones. In our case, we use a simple mutation-based algorithm that creates new solutions by modifying existing ones.
Initialization. The evolutionary search starts with an initial pool of configurations, drawn with the random sampling procedure of Section 3.11.2, so that the initial pool is diverse and covers a broad area of the search space. Each configuration in the initial pool is evaluated with Monte Carlo replications.
Mutation operator. The mutation operator receives a parent configuration and produces a child by perturbing exactly one randomly chosen parameter. is never mutated, i.e., the release cadence is only sampled when generating the initial population. The parameter to perturb is selected uniformly at random from five choices, or from the first four when :
– Mutate N: replace the current value with an adjacent value in the discrete set (the next smaller or larger element).
– Mutate : replace the current value with an adjacent value in the admissible set .
– Mutate : replace the current value with an adjacent value in .
– Mutate : apply one elementary operation drawn uniformly from:
– Add: increment one randomly chosen supervised role by 1, provided it stays at or below its saturation bound .
– Remove: decrement one randomly chosen non-empty supervised role by 1.
– Move: select a random non-empty supervised donor role and transfer one agent to a randomly chosen supervised recipient role that is still below its saturation bound .
– Adjust service: change one of the three autonomous roles by , where the sign is drawn uniformly and the step size is with drawn uniformly from and the sampling
Steffen Herbold
range of the role in steps 5 and 6 of Section 3.11.2. The result is floored at zero and, for , capped at .
– Mutate : works the same as for , except that the implementation and architecture roles remain fixed at zero. This choice is only available when , i.e., the QA composition can only be modified if it is active.
The adjustment of the three autonomous roles uses the exponential set of step size options to be able to navigate the large range of possible counts efficiently.
If a mutation attempt violates the structural constraints of Section 3.3 or leaves the parent unchanged (e.g., because the chosen role is already at its saturation bound, or because a randomly chosen operation is a structural no-op), the attempt is discarded and a new mutation type is drawn. Up to ten attempts are made. If none of them yields a distinct valid child, the parent is returned unchanged.
Generation loop. The generation loop iteratively produces new configurations by mutating selected parents from the current pool of configurations. The loop is repeated for generations. In each generation, the following steps are performed:
-
Rank the previously generated population by the preference relation and let the elite be its best configurations.
-
Sample parent configurations. 80% of the parents are drawn uniformly from to search for improvements near the best configurations found so far. 20% of the parents are drawn uniformly from to enable exploration of the search space in other regions.
-
Apply the mutation operator to each parent, creating the child population .
-
Create the new population as the union of the child population and the current population: .
The mixture of drawing most mutations from the elite and some from the rest of the population is designed to balance exploitation and exploration: the former focuses the search on improving the best-known configurations, while the latter allows for discovering new regions of the search space that may contain better configurations.
Final selection. At the conclusion of the generation loop, and the indistinguishable set are determined as described in Section 3.10 over all sampled configurations , including the re-simulation of the preliminary with replications.
3.12 Limitations of the simulation's scope
The simulation model is built with the intent to be able to analyze cost trade-offs and understand team compositions. The aspects that we simulate were added because we believe they are key factors to understand these trade-offs. However, our model is only an abstraction and makes simplifying assumptions about software development:
– We use fixed efforts and costs for all features and bugs. An alternative would be to sample required efforts and costs, similar to how we sample feature arrival rates. However, the expected rates should converge to the average that we use, if simulations run sufficiently long. Thus, this mainly matters for estimating short-term uncertainty and not long-term effects, which is why we opted against this additional complexity and only randomize the number of features that are arriving and the bug introduction rates.
– Related to the above, we also do not increase development costs for larger systems, e.g., as a factor of features already implemented. This simplification makes the estimation of cost parameters easier, but means that we have to assume an average cost over time, which might underestimate costs for larger systems over time. However, assuming that this affects human costs and agent costs similarly, this should only have a small effect on our results.
– Our simplification that human effort is debt-independent simplifies the model greatly, because otherwise we would also have to model test generation and technical debt reduction for human developers, including a possibly complex model of how human developers allocate their time between these activities and the development activities feature implementation and bug fixes. We believe that this simplification is reasonable, because the human effort estimates that we use already include the work of coping with the complexity of an existing code base. However, this does not paint a fully realistic picture of how technical debt also slows down human developers over time.
– We implicitly assume that the re-inspection of the code during a feature freeze is independent of the inspections conducted when the features were implemented, i.e., bugs missed by the code review or security audit before have the same chance of being detected during the freeze as newly injected bugs. This is an optimistic assumption, since a reviewer that missed a bug once is likely to miss it again. However, given the stochastic nature of LLMs and the possibility to use different LLMs for different inspection phases, this assumption is not completely unreasonable. Furthermore, the alternative would be to estimate how much the detection probability is reduced with repeated reviews, for which, to the best of our knowledge, no data is available.
Steffen Herbold
4 Experimental setup
4.1 Human-only baseline
An important baseline to understand the impact of agents on software development is to compare mixed teams against a baseline with only human developers. For this, we set all agent counts to zero, i.e., , and let the human developers implement all features and fix all bugs themselves. The other model parameters are still optimized, i.e., the number of FTE developers , release cadence , feature-freeze length , and bug-fixing share are still decision variables. The costs remain the same, except that the agent costs are always zero.
However, we need to slightly modify the simulation model to support this, since we modeled the debt removal and bug detection as purely agentic tasks. We use a simplified model without debt dynamics for the human-only case, built on the assumption that some debt-removal and architecture updates are performed as part of the normal development process by the human developers. For bug detection, we reserve a share of the developers' net capacity for quality assurance, which the baseline optimizes as an additional decision variable:
The time is then used in place of in the implementation and bug-fixing equations. From a modeling perspective, this means that the developers spend this time on quality assurance instead of supervising agents.
The detection itself is implemented as a variant of the agent-driven detection which replaces the bug detection in Step 5. We match the reserved capacity against the review effort of the sprint, which is hours for each of the features under inspection (Eq. (34)). These are the features implemented in a development sprint and all features of the current release cycle in a feature-freeze sprint. This gives us the review coverage
i.e., the fraction of the inspected features that can be reviewed in full, which is similar to the volume factor we use for agentic review in Eq. (36). With a human bug detection capability factor , the rate of bug detection is then
The detected bugs are then removed from the hidden queues and moved to the known queues, analogous to the agentic detection.
4.2 Scenarios
Five orthogonal aspects influence our simulation, each governed by a distinct group of scenario parameters that we define in the following subsections: hu-man developers, project dynamics, debt dynamics, agent costs and throughput, and bug impact. Each group contains multiple parameters that govern different facets of that aspect. For each of these aspects, we define three levels of parameters, corresponding to a low, medium, and high setting, and additionally two levels that stress the simulation beyond the observed data: a very high level for the project dynamics and a pessimistic level for the agent costs and throughput. For example, agent capabilities can be lower or higher, varying the correctness and costs of agentic actions. Orthogonally, developers may be junior, mid-level, or senior, resulting in different capabilities and salaries. Since the groups are orthogonal, we can freely combine all five groups into a diverse set of scenarios.
4.2.1 Human developer parameters
The scenario parameters for human developers are summarized in Table 10. We assume that a full-time developer works a 40-hour week, i.e., is stated per FTE and a staffing level of corresponds to a ten-hour week. We assume that the communication overhead is one hour per team member. The salaries are estimated based on average salaries reported by Indeed (Indeed, 2026). We round low, average and high salaries to the next 50k, to account for the employer overhead costs.
While there is no data yet on how much time developers require to monitor agents, early results indicate that there is a fairly low interruption frequency (Baumann et al., 2026), so we set the monitoring overhead at a modest 2.5 hours per week, i.e., 30 minutes per day. The work capacity , the communication overhead , and the monitoring overhead are independent of developer skill and are therefore the same across all three tiers. There are also no estimates yet of how much time developers require to resolve an agent escalation. It is reasonable to assume that these are non-trivial problems that require developers to get involved with the code base, so we assume that the time required is similar to that required to implement a feature (estimate see below).
We use the review of architectural decision records (ADRs) to ground the architecture-review time within our model. Amazon Web Services estimates 10–15 minutes to read the document (Amazon Web Services, 2026). The process is assumed to be iterative and done by multiple developers. Assuming that updating the ADR based on comments requires 45 minutes, one iteration would require 1 hour. With 4 iterations, this would require a total of 4 hours, which we use for the medium tier. We assume that less capable developers require twice as long and highly capable developers are twice as fast, resulting in 8 hours for the low tier, and 2 hours for the high tier.
To have a comparable baseline for human effort, we assume the time required to solve SWE-bench Verified coding tasks, which are designed to be representative of real-world coding tasks by basing them on issues reported in open-source repositories (OpenAI, 2024; Jimenez et al., 2024). We use METR's estimate for the human baseline of the time required to solve substantial issues
Steffen Herbold
within the 1–4 hour time bucket of the benchmark, which estimates the time at 2 hours (Kwa et al., 2026). Since this seems reasonable, we use this for the medium tier. We use the pattern that less capable developers require twice as long as the medium tier and highly capable developers are twice as fast, resulting in 4 hours for the low tier, and 1 hour for the high tier. Since METR found that the < 15 minute time bucket underestimates the time required to solve tasks, we instead use the 15 to 60 minute time bucket to estimate the time required to fix bugs in a similar manner, i.e., 30 minutes for the medium tier, 60 minutes for the low tier, and 15 minutes for the high tier.
To have comparable bug introduction rates between humans and the agents we later define, we ground the bug introduction rate of humans in research by CodeRabbit (2025), who report that AI introduces issues at 1.7 times the rate of humans. Since this number is one year old at the time of writing, we assume that this reflects the capability of the low agentic tier, which translates into a bug introduction rate of 0.12 for humans. Since junior developers are often compared to AI, we use the same bug introduction rate as the AI, i.e., 0.20 for the low tier. For the more capable high tier developers, we use a rate of 0.08, using the same ratio of performance differences as before.
Finally, we need to estimate the human quality assurance capability for the human-only baseline. We use a range of values based on a large study on code-review effectiveness by Cohen et al. (2006): they found that the review of 200–400 lines requires 60 to 90 minutes and leads to a discovery of 70–90% of defects. Since we assume that a feature has 107 lines (Section 4.2.4), the review time for a feature is between 32 and 48 minutes. For the time per review , we use the fastest time of 32 minutes to ground the values for the high developer tier, the slowest time of 48 minutes for the low tier and 37 minutes for the medium tier. For the detection rates , we use the midpoint from Cohen et al. (2006) for all tiers, i.e., 0.8, since we already encode the difference between tiers in the time required.
4.2.2 Project dynamics parameters
To understand the project dynamics, we first collected data from all projects with at least 100 issues and at least 10 stars using SEART's GitHub Search tool (Dabic et al., 2021). We then filtered these projects such that they have an average activity of at least 10 commits per week, i.e., they were consistently active during their lifetime. From the resulting projects, we considered the 1,000 projects with the most stars, i.e., that are popular and actively engaged by the community. We then compute the number of issues per week and use the 5th percentile for the low tier, the 50th percentile for the medium tier, and the 95th percentile for the high tier for the number of issues per week. We note that these estimates are only valid for open-source projects and may not be representative of closed-source projects. Moreover, since a quarter FTE supported by agents can already deliver the throughput of the high tier, this tier does not stress the simulation to assess extreme-velocity scenarios. Therefore, we add a very high tier as well, which has 1,000 issues per week. Although
Table 10 Human developer parameters. Low represents a junior developer, medium a mid-level developer, and high a senior developer.
| Symbol | Low | Medium | High | Source |
|---|---|---|---|---|
| 40.0 | 40.0 | 40.0 | One 40h work-week per FTE. | |
| 1.0 | 1.0 | 1.0 | Assumed. | |
| 2.5 | 2.5 | 2.5 | Assumed based on Baumann et al. (2026). | |
| H_{\text{esc_time}} | 4.0 | 2.0 | 1.0 | Assumed to be similar to feature implementation time. |
| H_{\text{review_time}} | 8.0 | 4.0 | 2.0 | Extrapolated from Amazon Web Services (2026). |
| 4.0 | 2.0 | 1.0 | Based on SWE-bench Verified, 1-4h bucket (OpenAI, 2024; Kwa et al., 2026). | |
| 1.0 | 0.5 | 0.25 | Based on SWE-bench Verified, 0.25-1h bucket (OpenAI, 2024; Kwa et al., 2026). | |
| 0.20 | 0.12 | 0.08 | CodeRabbit (2025). | |
| 0.80 | 0.62 | 0.53 | Based on Cohen et al. (2006). | |
| 0.8 | 0.8 | 0.8 | Cohen et al. (2006). | |
| 100,000 | 150,000 | 250,000 | Indeed (2026). |
unrealistically high, this tier shows if and how such extreme scales could be managed by a single team. We note that this tier also stresses the architecture pipeline beyond what human review can absorb: at it generates around 130 change requests per sprint, which only the fastest reviewers of the high human tier can keep up with even at the largest staffing level we consider. The resulting parameters are summarized in Table 11.
To understand how often issues affect architecture, we use data from Shahbazian et al. (2018), who used automated methods to determine whether the change triggered by an issue caused architectural changes. Depending on the method used, the proportion ranged from 13% of issues to 26% of issues. Since the automated approach possibly overestimates the proportion by counting purely structural changes, we use the lower bound of 13%. We derive the data for the distribution of the severity of bugs from data collected by Ohira et al. (2015). They distinguish between critical, blocker, and major issues (which we map to major bugs), and minor and trivial issues (which we map to minor bugs). Orthogonally, they determine which of these bugs are security related, which we use to infer the ratio of security bugs. We exclude one of the collected projects (Ambari) from the estimation of the ratio of major bugs, since it did not mark issues as minor. These numbers are independent of the number of issues per week and therefore the same across all four tiers.
4.2.3 Debt dynamics parameters
The debt dynamics parameters are summarized in Table 12. There is a limited amount of literature on the impact of documentation and the studies are typically conducted with small sets of developers, limiting their ability to find
Steffen Herbold
Table 11 Project dynamics parameters guiding the feature arrival and bug severity distributions.
| Symbol | Low | Medium | High | Very High | Source |
|---|---|---|---|---|---|
| 3 | 12 | 75 | 1,000 | Collected data. | |
| 0.13 | 0.13 | 0.13 | 0.13 | Shahbazian et al. (2018). | |
| 0.44 | 0.44 | 0.44 | 0.44 | Ohira et al. (2015). | |
| 0.07 | 0.07 | 0.07 | 0.07 | Ohira et al. (2015). |
significant effects. Dzidek et al. (2008) found an increase in maintenance time of 40% when no UML documentation was made available based on a group of 20 developers. In a recent eye tracking experiment using 12 (mostly junior) developers, Abdelsalam et al. (2026) found an increase in program comprehension time of up to 34% based on code comments, but this effect depended on the complexity of the code and comprehension time was even reduced for simpler code snippets. Based on these studies, we set the low tier to 40% (the effect found by Dzidek et al. (2008)), the medium tier to 34% (the maximum effect found by Abdelsalam et al. (2026)), and the high tier to 0% (no effect, due to the lack of significance of the results).
We estimate the addition of technical debt based on data from He et al. (2026), who found that AI-assisted coding increases code complexity and static analysis warnings. We note that this is particular to AI-assisted development as the technical debt otherwise seems to be decreasing over time (Trautsch et al., 2020). Since the average treatment effect found that AI-assisted development leads to more lines, but more static analysis warnings, we assume that the debt increases by at least for every feature added. Since He et al. (2026) also found that the complexity increases by due to the use of AI, we assume that the upper bound for the debt increase is per feature added. We therefore set the low tier to , the medium tier to and the high tier to per feature added. Since Trautsch et al. (2023) found that there is no detectable difference between the static analysis warnings added by bug fixing commits and other commits, we use the same values for the debt increase due to bug fixing.
We set the values for the debt amplifier floor , i.e., the fraction of the nominal throughput that is retained at maximal debt, based on a developer survey from Besker et al. (2018). They found that developers spend on average of their time dealing with technical debt with a standard deviation of . We interpret this share of lost time as the slow-down at maximal debt and hence set . We therefore set the low value at 0.94 (i.e., a slow-down of , one standard deviation below the average), the medium value at 0.77 (a slow-down of , the average), and the high value at 0.60 (i.e., a slow-down of , one standard deviation above the average). Martini and Bosch (2017) found that technical debt can be contagious, which supports a non-linear effect of the technical debt. Since there is no data on how strong this non-linearity is, we assume a slightly super-linear effect with across all scenarios.
Table 12 Debt dynamics parameters across scenarios. Note that is the throughput fraction retained at maximal debt, i.e., lower values indicate a stronger debt penalty.
| Symbol | Low | Medium | High | Source |
|---|---|---|---|---|
| 0.02 | 0.06 | 0.13 | He et al. (2026). | |
| 0.02 | 0.06 | 0.13 | He et al. (2026). | |
| 0.94 | 0.77 | 0.60 | Besker et al. (2018). | |
| 1.5 | 1.5 | 1.5 | Assumed based on contagiousness of debt (Martini and Bosch, 2017). | |
| 0.40 | 0.34 | 0.0 | Dzidek et al. (2008); Abdelsalam et al. (2026). |
4.2.4 Agent costs and throughput parameters
The agent cost parameters are summarized in Table 13. While there is no direct scientific evidence for the exact costs per feature implementation, we assume that implementing a feature requires 100 tool calls, 2M cumulative input tokens, and 40K output tokens (Morph, 2026). For bug fixes, we assume 25 tool calls, 400K cumulative input tokens, and 10K output tokens (Morph, 2026). The costs for the other activities are grounded on these two costs:
-
Code review is assumed to be comparable to bug fixing, since similar analysis needs to be performed to understand the code and its implications. Security audits are more thorough and assumed to be ten times more expensive than normal code review.
-
Architecture and design changes possibly require an analysis of the whole code base to understand the implications. Therefore, we assume that these carry high costs, comparable to the cost of implementing five features.
-
Refactoring is assumed to be comparable to implementing a feature, since it requires a similar amount of analysis and code changes. Since we assume that refactorings are required to account for the debt introduced by feature additions and bug fixes, we scale the parameters with respect to this and assume that each Refactoring Agent can reduce the debt introduced for a single feature or bug fix. Consequently, we set the rates based on and . We assume that the agent tiers' capabilities are comparable to the debt dynamics, giving us a debt reduction of 0.02 for the low tier, 0.06 for the medium tier, and 0.13 for the high tier. We then set the cost of refactoring to be the same as the cost of implementing a feature, since it requires code analysis and code changes that might affect multiple files.
-
Writing tests and documentation are assumed to be comparable to bug fixing, since they require a similar analysis of a local context.
We further ground the pricing based on the API pricing of Claude Sonnet 5, Opus 5, and Fable 5 for low, medium, and high, respectively.
We model the agent throughput on the latency of the models, i.e., the time to solve a task. Since a concrete latency is hard to define as this depends not only on model size, but also on the current load of cloud providers, we do not base this estimate on single reported latency values. As for the other tasks,
Steffen Herbold
we ground this in SWE-bench, where the reference solutions require 107 lines of code on average (AI, 2026). Based on data from Baumann et al. (2026), autonomous coding required 12.6 minutes on average per 100 commit lines. Assuming that agents only run during work hours, this would result in 178 features per sprint. Since this measurement is not specific to a model, we use a single throughput value across all tiers and derive the rates of the remaining roles from it with the same ratios in every tier, as reported in Table 13.
We estimate the agentic bug introduction rate based on the SWE-bench Verified benchmark score, assuming that each failure in the benchmark results in a bug in the code base. We collect the data for Claude Sonnet 5, Opus 5, and Fable 5 analogously to the cost estimations. The values are taken from the vals.ai leaderboard (vals.ai, 2026), i.e., we do not use Anthropic's estimates but those of independent benchmark executions. While we are aware that these results likely overestimate the actual benchmark performance (Liang et al., 2026), we nevertheless use this as an (optimistic) estimate for the capabilities of the agents.
We use CyberBench (Liu et al., 2024) to estimate the security bug detection rate. While the benchmark is not a perfect fit, since it also includes the correction of the bug, it still gives us a good baseline for the detection rate. For other benchmarks, like SEC-Bench Pro, we could not find data for recent models that are not self-reported by the model providers. Due to the model guardrails, we also cannot use the performance of the Claude 5 models here and instead use the GPT-5.6 models (Luna, Sol) and the scores reported by vals.ai (vals.ai, 2026) for the medium and high tiers. Since no data is available for GPT-5.6 Terra either, we assume that the difference between Terra and Luna is the same as between Luna and Sol. We estimate the capability to generate tests based on data from Huang et al. (2026), who developed a benchmark with unit tests for functions that were not part of the training. They found that test generation capability strongly correlates with coding ability, but models scored lower on the test generation benchmark, with differences of at least 0.2. Since no similar benchmark exists for the latest models, we assume that the trend holds and use the same difference here, i.e., the SWE-bench scores reduced by 0.2.
We use SWE-Review (Wang et al., 2026) to estimate how good language models are at code review. Within this benchmark, Claude Opus 4.6 was able to correctly judge pull requests for between 75% and 89% of the cases. We use these as the low and high tier, respectively, and use the midpoint 0.82 for the medium tier. To estimate the ceiling of what testing can achieve, we use the results of Schwartz et al. (2018), who found that even for highly covered projects, 46% of mutants could not be detected by the test suite, giving a ceiling of 0.54, which we use as the medium estimate. We assume that less capable agents are worse at testing, while more capable agents are better, resulting in a low tier of 48% and a high tier of 60%.
On the leaderboard, Opus 5 has a marginally higher score than Fable 5. We attribute this to a measurement artifact and use the best-performing value for the high tier and the second-best for the medium tier for internal consistency.
Finally, we estimate the escalation rate based on telemetry data from Baumann et al. (2026): in their study, the agents escalated between 1% and 3% of the time, which we use as the high and low tier, respectively, since less capable agents are expected to escalate more often. We use the midpoint 0.02 for the medium tier.
All of the estimates above are optimistic, both regarding the capabilities and the costs of agents. On the capability side, the benchmark scores likely overstate what agents achieve on real code bases, as we already noted for the bug introduction rate. On the cost side, the prices are those of the current API tariffs applied to a fixed assumption about how many tokens a work item consumes, so they account neither for price increases nor for agents that need several attempts to solve a task. We therefore add a fourth, pessimistic tier for this group. Like the very high project tier, this tier is not based on observed data. It tests whether our conclusions about agent-heavy teams still hold if our assumptions are too optimistic. The pessimistic tier combines the capability of the low tier with ten times the cost of the high tier. Hence, all parameters of the pessimistic tier except are identical to those of the low tier.
4.2.5 Bug impact parameters
The weights , , and are the expected cost in dollars that a minor, major, or security bug causes once it escapes to production and affects real users. We ground them in real-world estimates of such costs, distinguishing three system contexts that match our low, medium, and high tiers: a simple web application (e.g., a small SaaS product), an enterprise system with a large user base and a formal incident-response process, and a safety-critical system such as a medical device.
We estimate the cost of a minor bug as the direct engineering cost of repairing it after release, which we assume to be comparable to implementing a feature, i.e., two hours of developer time. We compute this using a fully-loaded hourly rate typical for the respective system context (assuming a 2,080-hour work year), giving 150, and $250 for the low, medium, and high tier, respectively. We therefore assume that such bugs have no external incident costs, because they are only a nuisance and do not affect functionality.
For major bugs, i.e., bugs that break or degrade a feature in production for a non-trivial period, we ground our estimate in reported downtime costs. For the low tier, ITIC's 2024 downtime survey reports that small and mid-sized businesses commonly estimate the cost of an hour of downtime at around 300,000 (CloudQA, 2026), which is consistent with ITIC's finding that 97% of large enterprises report hourly downtime costs exceeding $100,000 (ITIC, 2026). In both cases, we use these numbers directly, i.e., we assume a prompt response mitigating the issue within one hour. For the high tier, we ground the estimate in the medical device industry: McKinsey estimates that significant quality events (recalls, FDA enforcement actions, and litigation) cost the
Steffen Herbold
Table 13 Agent cost, capability, and effort parameters across scenarios, grouped by role. is USD per unit of the role's throughput rate .
| Role | Parameter | Low | Medium | High | Pess. | Source |
|---|---|---|---|---|---|---|
| 1 – Feature Impl. | 2.28 | 3.80 | 7.60 | 76.00 | Morph (2026) | |
| 178 | 178 | 178 | 178 | Based on 12.6 min per 100 lines of code (Baumann et al., 2026; AI, 2026) | ||
| 0.20 | 0.05 | 0.03 | 0.20 | vals.ai (2026) | ||
| 2 – Architecture & Design | 11.40 | 19.00 | 38.00 | 380.00 | 5 times the cost of feature implementation | |
| 35 | 35 | 35 | 35 | Five times slower than feature implementation | ||
| 3 – Bug Fixing | 0.54 | 0.90 | 1.80 | 18.00 | Morph (2026) | |
| 747 | 747 | 747 | 747 | 4.2 times faster than feature implementation, based on cost estimate | ||
| 4 – Refactoring | 2.28 | 3.80 | 7.60 | 76.00 | One feature implementation per sprint | |
| 0.02 | 0.06 | 0.13 | 0.02 | Can remove debt of one feature/bug fix | ||
| 5 – Code Review | 0.54 | 0.90 | 1.80 | 18.00 | Same as bug fixing | |
| 0.75 | 0.82 | 0.89 | 0.75 | Wang et al. (2026) | ||
| 0.10 | 0.10 | 0.10 | 0.10 | Assumed, with one feature per detection agent as reference volume | ||
| 6 – Security Audit | 5.40 | 9.00 | 18.00 | 180.00 | 10 times the cost of code review | |
| 0.78 | 0.83 | 0.88 | 0.78 | Liu et al. (2024), scores from vals.ai (2026) | ||
| 7 – Test Development | 0.54 | 0.90 | 1.80 | 18.00 | Same as bug fixing | |
| 747 | 747 | 747 | 747 | Same as bug fixing | ||
| 0.60 | 0.75 | 0.77 | 0.60 | Based on Huang et al. (2026) and vals.ai (2026) | ||
| 0.48 | 0.54 | 0.60 | 0.48 | Schwartz et al. (2018) | ||
| 8 – Dev. Documentation | 0.54 | 0.90 | 1.80 | 18.00 | Same as bug fixing | |
| 747 | 747 | 747 | 747 | Same as bug fixing | ||
| All roles | 0.03 | 0.02 | 0.01 | 0.03 | Baumann et al. (2026) |
global medical device industry 7–8.5 billion annually (McKinsey & Company, 2026), and software defects caused an estimated 8.2% of the 1,059 US medical device recall events recorded in 2024, i.e., about 87 events (MedDeviceGuide, 2026). Distributing the midpoint of McKinsey's estimate (7.75 billion) proportionally over the 1,059 recall events gives an average cost of about $7 million per event, which we use as our high-tier estimate.
For security bugs, i.e., bugs that are exploited after reaching production, we ground our estimate in reported breach and incident costs from CISA's systematic review and cross-validation of cyber incident cost data (Cybersecurity and Infrastructure Security Agency, Office of the Chief Economist,
Table 14 Bug impact parameters across scenarios. Low represents a simple web application, medium an enterprise system, and high a safety-critical system.
| Symbol | Low | Medium | High | Source |
|---|---|---|---|---|
| 100 | 150 | 250 | 2h of engineering time to repair after release | |
| 25,000 | 300,000 | 7,000,000 | Downtime cost estimates (ITIC, 2026; CloudQA, 2026; McKinsey & Company, 2026; MedDeviceGuide, 2026) | |
| 48,000 | 1,000,000 | 120,000,000 | Breach/incident cost estimates (Cybersecurity and Infrastructure Security Agency, Office of the Chief Economist, 2020; National Health Executive, 2018) |
2020), which pools several commercial claims datasets and recommends using the median rather than the mean per-incident cost, since the underlying loss distributions are heavily right-skewed. For the low tier, we use the median total incident cost of 1.0 million reported for large entities in the same NetDiligence (2019) dataset (78 claims) (Cybersecurity and Infrastructure Security Agency, Office of the Chief Economist, 2020), which reflects the larger, more heavily regulated organizations that make up a typical enterprise. For the high tier, we use the cost of the 2017 WannaCry ransomware attack on the UK's National Health Service, which exploited a security vulnerability to disrupt hospital operations and cancel 19,000 patient appointments at an estimated cost of £92 million (about $120 million), as reported by the UK Department of Health and Social Care (National Health Executive, 2018). We use this figure because the CISA review contains no comparable estimate for safety-critical or healthcare systems, and because it links a real exploit to the disruption of safety-critical services rather than only to data loss.
The resulting expected costs per escaped bug are reported in absolute dollars in Table 14. They increase substantially from the low to the high tier, because the same kind of bug causes far higher costs in systems with larger user bases, stricter regulatory obligations, or direct safety implications.
4.3 Experiment configurations
Scenario grid. Since we have five orthogonal aspects, three of them with three levels and both the project dynamics and the agent costs with four, we have a total of scenarios. We solve each of these problems with
Steffen Herbold
the evolutionary search of Section 3.11, which yields 432 searches in total. All scenarios share the same initial state, simulation horizon, and Monte Carlo protocol, so that any difference between two results is attributable to the scenario parameters and not to the experimental setup. The constants are summarized in the upper part of Table 15. We simulate a green-field project, i.e., every component of the initial state is empty, meaning no feature backlog, no bugs in any of the twelve bug queues, no technical debt, empty human capacity queues, no tests, and no developer documentation. We use short one-week sprints and two-year projects. We chose a long time horizon so that debt can accumulate and its negative effects become observable. We use replications per configuration during the search and replications for the re-simulation of the indistinguishable set.
The lower part of Table 15 gives the search range in the sense of Section 3.11. The staffing levels range from a quarter-FTE up to ten FTE, i.e., a “two-pizza team”. The range extends below one FTE, because at the low project tier only features arrive per sprint, which a single full-time developer supported by agents exceeds by a wide margin. Part-time staffing is therefore relevant for such projects. Even at the high project tier, a quarter FTE supported by agents can deliver the required throughput. Larger teams are only chosen when they reduce the costs. The range also suffices for the very high project tier, even though the arrival speed there is far beyond what such a team could implement itself. However, the throughput saturation bounds of Eq. (65) limit a composition to 37 supervised agents at that tier, which three FTE can already monitor (Eq. (15)). Hence, the required throughput remains achievable.
The human-capacity condition of Eq. (15) limits the number of supervised agents per staffing level: with and the documentation reduction factors of Table 12, monitoring alone exhausts a full-time developer's net capacity at roughly 16, 24, and 27 supervised agents per FTE, respectively.
The release cadences cover continuous delivery (a release after every sprint), a biweekly, a monthly, and a quarterly release train, and the feature-freeze lengths cover no freeze, a one-week, and a two-week freeze. Both are combined subject to as described in Section 3.11, so admits only . The developers' bug-fixing share ranges from pure feature work to pure bug fixing in steps of 10%. We set the tolerance of the throughput constraint of Eq. (60) to , i.e., require delivery of at least 98% of the arriving features.
The evolutionary search receives a budget of candidate evaluations per scenario, of which we spend 10% on the initial pool and 90% on the generation loop, i.e., , generations, and offspring per generation, with an elite of configurations. The resimulation of the indistinguishable set with replications is not part of this budget and happens afterwards.
For the simulation of the human baseline, we only need to consider N, R, , , and . With the ranges of Table 15 and the constraint
Table 15 Experiment constants and search range.
| Symbol | Value | Rationale |
|---|---|---|
| Monte Carlo protocol and horizon | ||
| 0 | Green-field project without legacy state | |
| 104 | Two calendar years at weekly sprints | |
| 100 | Replications during the search | |
| 1,000 | Replications for the re-simulation of | |
| 1,000 | Bootstrap resamples for the 95% CIs (Section 3.8) | |
| 42 | Master seed | |
| Search range | ||
| {0.25, 0.50, 0.75, 1.00, 1.50, 2.00, 3.00, 4.00, 5.00, 7.00, 10.00} | Quarter-FTE to a two-pizza team | |
| {1, 2, 4, 13} | Continuous, biweekly, monthly, quarterly releases | |
| {0, 1, 2} | No, one-week, or two-week freeze, at most | |
| {0, 0.1, ..., 1} | Share of coding time spent on bug fixing | |
| {0, 0.1, ..., 0.9} | Share of capacity reserved for QA, human-only baseline only | |
| 2 | Allows up to twice the agents required for their steady-state workload | |
| 0.02 | At least 98% of the arriving features must be delivered | |
| Search effort per scenario | ||
| 20,000 | Candidate evaluations per scenario | |
| 2,000 | 10% of on the initial pool | |
| 180 / 100 | 90% of on the generation loop | |
| 100 | Size of the elite that parents are drawn from | |
, these are 10,890 configurations in total. This is still small enough to enumerate exhaustively and we evaluate all 10,890 configurations with replications, followed by the same two-stage selection of Section 3.10, to determine the optimal teams. We run these configurations for all combinations of the human developer parameters, project dynamics, and bug costs, since agent performance and debt dynamics have no influence on this baseline. Where no configuration satisfies the throughput constraint of Eq. (60) (e.g., for the very high scenario), we report the least-violating one (i.e., highest throughput), mark it as inadmissible, and report how much throughput was actually achieved to put the result into perspective.
Steffen Herbold
Use of generative AI. Generative AI was used to generate code, as well as to assist in drafting sections of this paper. All design decisions, parameter choices, and interpretations of the results were made by the author. All output from the generative AI was carefully reviewed and verified for accuracy and relevance.
5 Results
We now present the results of the experiments. We first analyze whether the searches converged and how precise the reported costs are (Section 5.1). Then, we analyze how the scenario groups affect the total costs of the optimal teams and how these costs are distributed between the three cost drivers (Section 5.2). Afterwards, we analyze the composition of the optimal results, i.e., the staffing level and the agent composition, as well as the release process (Section 5.3). Finally, we compare the optimal mixed teams with the optimal human-only teams (Section 5.4).
5.1 Search convergence
All 432 searches are admissible, i.e., they found at least one configuration that satisfies the throughput constraint. For the human-only baseline, 9 of the 36 enumerations are inadmissible, namely those with very high velocity. This is not surprising, since the desired throughput of 1,000 issues per sprint is unrealistic with a single team and would require a complex multi-team approach within a human-only setting: the best human-only team of only senior developers manages to deliver 310 features per sprint.
Figure 2 shows the convergence behavior of the evolutionary search. The figure shows two aspects of the search. The blue line shows the elite turnover defined as
i.e., the share of the elite of generation that was not already in the elite of the preceding generation. The green line shows the mean absolute relative change of the best found result (hereafter referred to as the incumbent) from one generation to the next, i.e.,
Both measures are aggregated over all 432 searches and we show the mean and median of the elite turnover, and the incumbent change as mean only, since its median is exactly zero in every generation, meaning that at least half of the searches do not change the incumbent at all in each generation.
The turnover decreases steeply over the first twenty generations and continues to decrease slowly afterwards, from a mean of to . The change in is also decreasing and is only at a mean of 0.04% at the end of the search. Given the huge search space and the stochastic nature of the
Elite turnover and drop per generation

Fig. 2 Elite turnover (left y-axis) and the mean absolute relative change of per generation (right y-axis).
simulation, some residual turnover is not surprising and we conclude that the search has converged sufficiently to support the analysis of the results.
The second important aspect of the search convergence follows from our decision to determine the indistinguishable set , i.e., not only the best solution , but also all project configurations whose CI overlaps with this optimum. Table 16 shows how this indistinguishable set shrinks over the four stages of the selection process described in Section 3.10. Initially, we have a very large indistinguishable set with a median of 904 project configurations. This is not surprising, since our initial number of replications is relatively small, which means the CIs are wide. Once the parsimony tie-break removes configurations for which a smaller and cheaper team exists, the indistinguishable set shrinks to a median of 324 configurations. The re-simulation with replications further reduces the indistinguishable set to a median of 75.5 configurations by shrinking the CIs. Finally, the second tie-break reduces the indistinguishable set to a median of 62 configurations, i.e., there is no single best team configuration but rather a space of options that are optimal when accounting for the inherent uncertainty of the development process. For the human-only baseline, there are far fewer indistinguishable configurations, with a median of 3 configurations after the first tie-break and 2 configurations after the re-simulation at . This is expected, because the human-only baseline has far fewer degrees of freedom than the agentic teams, e.g., it is not possible to trade off different agent types for quality assurance against each other.
Given our Monte Carlo budget of replications, the reported costs are also sufficiently precise. Averaged over the final of a search, the
Steffen Herbold
Table 16 Size of the indistinguishable set at the four stages of Section 3.10, as median [interquartile range] and maximum over the searches that ended admissible.
| Stage | Search (432) | Human-only (27) | ||
|---|---|---|---|---|
| Median [IQR] | Max | Median [IQR] | Max | |
| Preliminary, at | 904 [455, 1,390] | 2,710 | 3 [1, 12] | 140 |
| After the parsimony tie-break | 324 [174, 476] | 1,210 | 3 [1, 12] | 140 |
| After the re-simulation at | 75.5 [33, 127] | 416 | 2 [1, 4] | 59 |
| After the second tie-break | 62 [26, 103] | 345 | 2 [1, 4] | 59 |
relative half-width of the confidence interval
has a median of 1.6% [0.8%, 4.6%]. Thus, the reported costs are precise to about two percent for a typical scenario.
Summary
The evolutionary search converged in all 432 scenarios. At the end of the search, the elite turnover fell to 5% and the incumbent cost changed by only 0.04% per generation. The reported costs are precise to about two percent.
5.2 Cost drivers
Before we look at the structure of the optimal teams, we further validate our simulation model empirically by analyzing the costs of the optimal configurations and how they are affected by the scenario groups: if we observed unexpected patterns (e.g., more expensive bugs leading to lower total costs), this would indicate a problem with the model.
We use a simple linear regression model on the logarithmic costs with a one-hot encoding of the scenario groups to quantify the effect of each group on the total costs, i.e.,
where indexes the five scenario groups, the tiers of group , is its cheapest tier, which serves as the reference, and is the indicator of tier of group . This model achieves a very good fit with , i.e., the scenario groups explain 93.8% of the variance of the log cost across the grid. This shows that the impact of the scenario groups on the costs is largely independent, which is expected since the groups are orthogonal by design. This allows us to analyze the effect of each group in isolation.
The coefficients of the model are shown in Table 17 relative to the cheapest tier of each group, e.g., the high bug impact tier is 72.6 times more expensive than the low bug impact tier. Bug impact is also the largest driver of the total costs, i.e., projects for which escaped bugs are expensive are also most expensive overall. Figure 3 further highlights this, as the larger markers for the more expensive bug tiers shift the costs to the upper-left side of the plot. Even at the low tier, the costs for the escaped bugs are close to the diagonal, i.e., still about equal to the costs of the team for the feature implementation.
The next insight is that for both humans and agents, the cheapest tier is not the low tier with the lowest personnel or token costs, respectively. For the human developers, the difference between the tiers is small, i.e., the relationship between salaries and capability seems to trade off well. For agents, the differences are more pronounced: the increase in capability of the high tier is apparently worth the increase in token costs, i.e., the overall costs increase by a factor of 7.6 at the low tier, even though the tokens are cheaper. As expected, the pessimistic tier is most expensive, with nearly ten times the costs of the high tier. Figure 3 and Figure 5 show this more concretely: while the agent costs per feature increase with the agent tiers, the costs due to escaped bugs drop more strongly, leading to the observed reduction in overall costs with more expensive agents.
The debt and project dynamics also impact the costs in the expected directions: debt dynamics increase the costs and the simulation shows that this can be up to a factor of 4.8. Figure 3 shows that higher debt-dynamic tiers mainly increase the number of escaped bugs, which is the expected relation between internal quality (debt) and external quality (escaped bugs).
The project dynamics have a smaller effect, with a factor of 2.0 between the low and the high tier. Figure 3 shows that this is due to the lower costs per feature, while the costs for bugs remain unchanged, indicating that the more dynamic projects with more features allow for a better allocation of resources. However, as the very high fourth tier shows, this effect is not monotonic and the very high tier has 1.3 times the costs of the high tier. A possible reason for this is that due to the high speed, there are more outlier releases in which more bugs are produced, which then cannot all be caught and fixed in time.
Finally, Figure 3 also shows that the impact on the costs for the human-only baseline follows the same patterns as for the agentic teams.
Summary
The scenario groups affect simulated costs in expected ways, which validates the simulation model, with the cost of escaped bugs as the dominant driver for the total costs. The simulation shows that high capability can lead to lower overall costs, even if tokens and salaries are more expensive, due to the higher quality of the outputs.
Steffen Herbold
Table 17 Multiplicative effect of each scenario group on the cost per feature of the optimal team, relative to the cheapest tier of that group.
| Group | Low | Medium | High | Fourth tier |
|---|---|---|---|---|
| Bug impact | 1.0 | 4.6 | 72.6 | — |
| Agent costs and throughput | 7.6 | 1.9 | 1.0 | 9.5 (pess.) |
| Debt dynamics | 1.0 | 2.3 | 4.8 | — |
| Project dynamics | 2.0 | 1.3 | 1.0 | 1.3 (v. high) |
| Human developers | 1.1 | 1.0 | 1.0 | — |
Escaped-bug vs. development cost, developers + agents, at c*, search (432 scenarios) + 36 human-only baselines

Fig. 3 Costs of bugs that escaped to releases versus the costs of feature implementation, along all five scenario groups.
5.3 Composition of costs
We now analyze the structure of the costs of the optimal results. We start with the release process, since this affects how regularly bugs may escape to production and if there is a dedicated freeze period to prevent this. Then, we analyze how costs split between investment in human developer capacity and tokens for agents. Finally, we look at the composition of the agentic teams, i.e., how token budgets are distributed between different agent roles. For simplicity, we only report the results for the single best solution . Our online materials contain additional results with the mean over the indistinguishable set. The mean staffing level over deviates from that of by a median of and at most . Hence, is representative of the overall cost allocation.
The data for the release cycles is clear (Figure 4): 88.9% of the optimal results use and 99.1% use , i.e., the longest freeze that is possible in the shortest release cycle that permits it. Interestingly, this is similar to fast release cycles in practice, as, e.g., publicly reported by GitLab (2026). The likely reason for this within our simulation model is to prevent the high costs of bugs escaping to production. The two-sprint freeze is a good buffer to find and fix previously missed bugs.
Figure 5 shows the developer costs against the agent costs and Figure 6 shows a more fine-grained picture that includes how the costs are distributed between different agent roles. The developer costs are higher for 65% of the optimal teams, with a median ratio of agent to developer costs of 0.32. The project velocity has the largest effect on this ratio: higher velocity shifts spending from developers to agents, which are needed to handle the demand. Figure 4 shows that while the staffing level does increase with project velocity, this increase is modest. The staffing level depends more strongly on the agent quality (minimal staffing for the medium and high-quality tiers), bug impact (higher staffing to prevent expensive bugs), and debt dynamics (to make the project more robust against the negative effects of debt).
The costs of agents mainly exceed the costs of human developers at the high and very high project tiers. Even at these tiers this is not always the case, because the ratio also depends on the agent tier, the second most important driver. As we already observed in Section 5.2, teams with high-tier agents are cheaper overall and therefore invest more in agents than teams with low- or medium-tier agents. The pessimistic agents are expensive, but are nevertheless used and shift costs towards spending for agents. How much spending shifts towards pessimistic agents depends on the human tier. With low-capability developers, relying on agents is still worthwhile, and at high velocities partly necessary. In some very high velocity scenarios, the agent spending exceeds the developer spending by a factor of over 100. For high-capability developers, this is reduced and spending for pessimistic agents is only above spending for human developers at the very high velocity tier, and even there it only reaches 37 times the costs for human developers.
How the developers split their coding time between implementing features and fixing bugs depends almost exclusively on the agent capability (panel in Figure 4). With the medium and high agent tiers, the developers spend a median of 75% and 80% of their coding time in the development sprints on bug fixing, with the low and pessimistic tiers 0%. These numbers need to be considered together with the release cycle of four sprints of which two are feature freezes, during which all time is invested in bug fixing. Thus, for the medium and high agent tiers, developers typically spend a total of 88–90% of their coding time on bug fixing, whereas they split their time equally for the low and pessimistic agent tiers, investing 50% of effort into implementing features (100% during development sprints) and 50% into bug fixing (100% during freeze sprints).
Figure 7 shows how the agent costs are distributed between the eight roles. Most of the agent budget goes to quality assurance: on average, 61% of the
Steffen Herbold
agent costs are spent on the Security Audit (33%), Code Review (24%), and Test Development Agents (4%). The share of the Security Audit Agents is determined by the bug impact and the agent tier, i.e., the more expensive bugs are and the less capable agents are at finding them, the more spending is allocated to prevent the most critical bugs. The second largest share goes to the Feature Implementation Agents (28%). The concrete values vary strongly and low-capability agents have a smaller implementation share than high-capability agents. This indicates that the model prefers the less bug-prone human development, which is consistent with the developers' split between feature implementation and bug fixing. The share of implementation agents in the overall costs for agents does not seem to depend on the project dynamics, i.e., even for the very high project tier, the agentic feature implementation generally behaves the same as for projects with only few features per sprint.
The relevance of the three debt-related agents for Design, Refactoring, and Documentation depends on the impact of bugs: if bugs are cheap, these agents are often not used at all, or only with a very small overall share of the budget. When bugs are expensive, spending on debt reduction becomes worthwhile. Debt affects code quality directly, because it raises the bug injection rate, and indirectly, because it lowers the detection rate of reviews. The data also shows that there are relatively few Bug Fixing Agents. According to the simulation, bug fixing should therefore remain predominantly a human task, as this seems to be more cost-efficient under our assumptions.
Summary
The optimal teams release every four sprints with a two-sprint feature freeze. At realistic project velocities they spend more on developers than on agents, and higher velocity and more capable agents shift the spending towards agents. Most of the agent budget goes to quality assurance, above all Security Audit Agents, whose share grows with the cost of escaped bugs. Bug fixing stays mainly a human task: developers spend most of their coding time on it when the agents are capable.
5.4 Comparison with human baseline
Now that we understand how the teams are structured and how the costs are distributed, we can further analyze whether the agents actually reduce the costs of software development, using our human-only baseline as reference. Since the baseline does not depend on the debt dynamics and the agent tiers, we compare each baseline to the 12 optimal teams with the same human, project, and bug impact tiers. Table 18 shows the ratio between the costs of the baseline and of the optimal team, i.e., a ratio above one means that the team with agents is cheaper. We exclude the very high project tier from this comparison, because the human-only teams cannot achieve the required velocity (Section 5.1).
Impact of scenario on team composition

low medium high veryhigh / pessimistic median
Fig. 4 Impact of the scenario groups on the process controls of the optimal configurations , with the median as a black dot.
Overall, the teams with agents are cheaper in 71.6% of the scenarios, with a median cost ratio of 1.93, i.e., almost half of the costs are saved. However, this median hides the strong effect of the agent tier and the project dynamics on the cost savings: the high agent tier almost always saves costs (98.8% of the simulated scenarios), while the low and pessimistic tiers are closer to a coin flip (55.6% and 44.4% of the scenarios, respectively). For all tiers, the cost savings increase with the project dynamics, i.e., the more features per sprint, the more the agents help to reduce costs. The cost drivers identified above apply here as well. Expensive bugs amplify the disadvantage of low-quality agents, and high debt dynamics shift the balance towards human developers.
Steffen Herbold
Developer vs. agent cost at , search (432 scenarios) + 36 human-only baselines

Fig. 5 Developer costs versus agent costs of the optimal configurations , along all five scenario groups.
Table 18 Cost ratio between the human-only baseline and the optimal team with agents, as median per project tier and overall median [interquartile range].
| Agent tier | Project dynamics | Overall [IQR] | Agents cheaper | ||
|---|---|---|---|---|---|
| Low | Medium | High | |||
| Low | 0.81 | 0.89 | 4.70 | 1.11 [0.52, 2.31] | 55.6% |
| Medium | 1.71 | 3.20 | 15.08 | 3.35 [1.38, 8.18] | 87.7% |
| High | 2.18 | 5.66 | 23.79 | 6.13 [2.40, 15.03] | 98.8% |
| Pessimistic | 0.74 | 0.88 | 2.10 | 0.93 [0.45, 1.63] | 44.4% |
| All | 1.12 | 1.74 | 8.65 | 1.93 [0.88, 6.50] | 71.6% |
Summary
Teams with medium- and high-tier agents are cheaper than human-only teams in almost all scenarios, while low-tier and pessimistic agents offer no consistent advantage. The advantage of agents grows with the project velocity.
Share of development costs

Developers Feature Design BugFix Refactor Review Security Test Docs
Fig. 6 Distribution of the developer and agent costs of the optimal configurations .
6 Discussion
We now discuss what our results mean for the research question and what they imply for practice.
6.1 Answer to the research question
As in traditional software development, there is no single optimal team configuration for AI-native development. How costs should be distributed between human developers and agents and for which tasks money should be spent on agents depends on the project. The two key factors that increase the spending on agents are the costs associated with bugs and the overall project velocity.
Steffen Herbold
Share of agent costs

agent = high
agent = pessimistic
Feature Design BugFix Refactor Review Security Test Docs
Fig. 7 Distribution of the agent costs of the optimal configurations between the eight agent roles.
Additionally, higher debt dynamics require better agents or stronger human involvement. When selecting agents, our results show that capability is more important than the price per token, since better agents inject fewer bugs and require less supervision, which outweighs their higher token costs.
The task distribution between the humans and agents is fairly consistent in our simulations. When agents are capable, developers spend 88–90% of their coding time on bug fixing, while few (if any) agents are used for bug fixing. In turn, the agents implement features and, above all, detect bugs: on average, 61% of the agent budget goes to the Security Audit, Code Review, and Test Development Agents, and 28% to the Feature Implementation Agents. When the agents are less capable, the developers spend about half of their coding time on feature implementation and half on bug fixing.
Regarding the cost split between humans and agents, our results show that at realistic velocities, most money is spent on developers. The developer costs exceed the agent costs for 65% of the optimal teams, with a median ratio of agent to developer costs of 0.32. At high and very high project velocities, spending shifts towards agents. Thus, the project velocity determines how much is spent on agents, while the capability of the agents determines whether agents are worth using at all.
6.2 Revisiting the token budget
We started this work with Jensen Huang's statement that developers should consume at least half of their salary in tokens. Our results show that this rule is not far off but depends strongly on project factors: if the project velocity is low, the agents are not very capable, or the bugs are expensive, then the optimal teams often spend less than half of the developer costs on tokens. If the project velocity is high, the agents are capable, and bugs are cheap, then the optimal teams spend more than half of the developer costs on tokens.
Moreover, our results generally show that high token spending is not a sign of efficient agent use. The highest ratio of agent to developer costs occurs with the pessimistic agents. However, these teams are cheaper than the human-only baseline in less than half of the scenarios we considered. High token consumption may therefore indicate that agents are expensive relative to what they deliver. We thus believe that token consumption is a poor indicator for the productivity of AI-native development. A better measure is the total cost per delivered feature, including the cost of the bugs that reach production.
6.3 Implications for practice
Our results have several direct implications for practitioners who want to shift towards agentic software development:
– Focus on capability, not price per token, since token prices are offset by cost reductions through the higher output quality.
– Ensure that agents have the required capability for your use case, since our simulations show that the value of agents strongly depends on what you assume is their capability to deliver bug-free code and to detect bugs.
– Spend on quality assurance, since this scales well with agents and can prevent downstream costs of escaped bugs.
– Projects that might have been out of reach due to their velocity might be achievable with agents, since throughput can be increased by scaling both implementation and quality assurance agents.
– Monitor technical debt, since agents tend to increase it (He et al., 2026), which can lead to a long-term increase in costs if not managed properly.
Steffen Herbold
7 Conclusion
We developed a simulation model of software development teams for teams of human developers and AI agents in eight different roles. Using an evolutionary search over 432 scenarios, we determined the team configurations that deliver the work a project demands at the lowest total cost per feature to analyze the cost structure and team structure of AI-native development. Our results show that there is no single optimal team for AI-native software development. The capability of the agents matters more than their price per token, because capable agents inject fewer bugs and require less supervision. Whether human-only or AI-native development is cheaper mainly depends on the specific context and the capabilities of the agents involved. Highly capable agents make development cheaper, whereas low-capability agents offer no consistent advantage. Escaped bugs are the main cost driver, which is why most of the agent budget is spent on finding bugs. At realistic project velocities, the optimal teams still spend more on developers than on agents. Only high velocities shift the spending towards agents, which also enable velocities that human-only teams cannot achieve. Consequently, token consumption alone is a poor indicator for the efficiency of agent use, and the total cost per delivered feature is a better measure.
Future work should validate our model against data from real projects that use agents, in particular regarding the capability of agents to detect bugs and the costs of escaped bugs, which our results depend on most strongly. Moreover, the model could be extended to assess additional factors, e.g., accumulation of intent and cognitive debt (Storey, 2026) or to relax the simplifications discussed in Section 3.12. Finally, since agent capabilities and token prices change rapidly, our simulation framework can be used to re-evaluate the optimal team compositions whenever new estimates become available.
Declarations
Funding. No funding was received for conducting this study.
Competing interests. The author has no competing interests to declare that are relevant to the content of this article.
Ethics approval and consent to participate. Not applicable, since this study does not involve human participants or animals.
Author contributions. Steffen Herbold is the sole author and carried out the conceptualization, methodology, software, analysis, and writing of this article.
Data, materials, and code availability. All code is available on GitHub: https://github.com/aieng-lab/se-with-ai-simulation. The raw results of the experiments and the consolidated results from which all tables and figures of the results section are derived are available on Zenodo: https://doi.org/10.5281/zenodo.23358924.
References
Abdel-Hamid T, Madnick SE (1991) Software Project Dynamics: An Integrated Approach. Prentice Hall, Englewood Cliffs, NJ
Abdelsalam Y, Peitek N, Bergum A, Apel S (2026) The effect of comments on program comprehension: An eye-tracking study. Empirical Software Engineering 31(4):94, DOI 10.1007/s10664-025-10721-2
Agarwal R, Umphress D (2010) A flexible model for simulation of software development process. In: Proceedings of the 48th Annual ACM Southeast Regional Conference (ACM SE '10), ACM, pp 40:1–40:4, DOI 10.1145/1900008.1900064
AI S (2026) SWE-Bench Pro (Public Dataset) — labs.scale.com. https://labs.scale.com/leaderboard/swe\_bench\_pro\_public
Aleithan R, Xue H, Mohajer MM, Nnorom E, Uddin G, Wang S (2024) SWE-Bench+: Enhanced coding benchmark for LLMs. https://arxiv.org/abs/2410.06992
Amazon Web Services (2026) Architectural decision record process - AWS Prescriptive Guidance — docs.aws.amazon.com. https://docs.aws.amazon.com/prescriptive-guidance/latest/architectural-decision-records/adr-process.html
Baumann J, Padmakumar V, Li X, Yang J, Yang D, Koyejo S (2026) SWE-chat: Coding agent interactions from real users in the wild. https://arxiv.org/abs/2604.20779
Besker T, Martini A, Bosch J (2018) Technical debt cripples software developer productivity: a longitudinal study on developers' daily software development work. In: Proceedings of the 2018 International Conference on Technical Debt, Association for Computing Machinery, New York, NY, USA, TechDebt '18, p 105–114, DOI 10.1145/3194164.3194178, URL https://doi.org/10.1145/3194164.3194178
Bogdanov M (2026) AI coding agents: Adoption trends. JetBrains Research Blog, https://blog.jetbrains.com/research/2026/08/ai-coding-agent-adoption-2026/
Cao L, Ramesh B, Abdel-Hamid T (2010) Modeling dynamics in agile software development. ACM Transactions on Management Information Systems 1(1):5:1–5:26, DOI 10.1145/1877725.1877730
CloudQA (2026) How much do software bugs cost? 2025 report. https://cloudqa.io/how-much-do-software-bugs-cost-2025-report/
CodeRabbit (2025) AI-Generated Code Has 1.7x More Bugs. https://www.shiplight.ai/blog/ai-generated-code-has-more-bugs
Steffen Herbold
Cohen J, Teleki S, Brown E (2006) Best Kept Secrets of Peer Code Review. Smart Bear Incorporated
Cybersecurity and Infrastructure Security Agency, Office of the Chief Economist (2020) Cost of a Cyber Incident: Systematic Review and Cross-Validation. Tech. rep., CISA
Dabic O, Aghajani E, Bavota G (2021) Sampling projects in GitHub for MSR studies. In: 18th IEEE/ACM International Conference on Mining Software Repositories, MSR 2021, IEEE, pp 560–564
Deb K (2000) An efficient constraint handling method for genetic algorithms. Computer Methods in Applied Mechanics and Engineering 186(2-4):311–338, DOI 10.1016/S0045-7825(99)00389-8
Dzidek WJ, Arisholm E, Briand LC (2008) A realistic empirical evaluation of the costs and benefits of UML in software maintenance. IEEE Transactions on Software Engineering 34(3):407–432, DOI 10.1109/TSE.2008.15
García-García JA, Enríquez JG, Ruiz M, Arévalo C, Jiménez-Ramírez A (2020) Software process simulation modeling: Systematic literature review. Computer Standards & Interfaces 70:103425, DOI 10.1016/j.csi.2020.103425
GitLab (2026) Monthly releases. https://handbook.gitlab.com/handbook/engineering/releases/monthly-releases/
Hassan AE, Li H, Lin D, Adams B, Chen TH, Kashiwa Y, Qiu D (2025) Agentic software engineering: Foundational pillars and a research roadmap. https://arxiv.org/abs/2509.06216
Hassan AE, Oliva GA, Lin D, Chen B, Jiang ZM (2026) Towards AI-native software engineering (SE 3.0): A vision and a challenge roadmap. ACM Transactions on Software Engineering and Methodology 35(9):268:1–268:25, DOI 10.1145/3807901
He H, Miller C, Agarwal S, Kästner C, Vasilescu B (2026) Speed at the cost of quality: How Cursor AI increases short-term velocity and long-term complexity in open-source projects. https://arxiv.org/abs/2511.04427
Honsel D, Herbold V, Waack S, Grabowski J (2021) Investigation and prediction of open source software evolution using automated parameter mining for agent-based simulation. Automated Software Engineering 28(1):3, DOI 10.1007/s10515-021-00280-3
Honsel V, Honsel D, Herbold S, Grabowski J, Waack S (2015) Mining software dependency networks for agent-based simulation of software evolution. In: 2015 30th IEEE/ACM International Conference on Automated Software Engineering Workshop (ASEW), IEEE, pp 102–108, DOI 10.1109/ASEW.2015.9
Hu R, Wang X, Wen XC, Zhang Z, Jiang B, Gao P, Peng C, Gao C (2026) Benchmarking llms for fine-grained code review with enriched context in practice. In: Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering, Association for Computing Machinery, New York, NY, USA, FSE Companion '26, p 620–631, DOI 10.1145/3803437.3805235, URL https://doi.org/10.1145/3803437.3805235
Huang D, Zhang JM, Harman M, Zhang Q, Du M, Ng SK (2026) Benchmarking LLMs for unit test generation from real-world functions. ACM Transac-tions on Software Engineering and Methodology DOI 10.1145/3805043
Indeed (2026) Software engineer salary in United States, 2026. https://www.indeed.com/career/software-engineer/salaries
ITIC (2026) ITIC 2024 Hourly Cost of Downtime, Part 2. https://itic-corp.com/itic-2024-hourly-cost-of-downtime-part-2/
Jimenez CE, Yang J, Wettig A, Yao S, Pei K, Press O, Narasimhan K (2024) SWE-bench: Can language models resolve real-world GitHub issues? In: International Conference on Learning Representations, vol 2024, pp 54107–54157
Juricic L (2026) Meta and Microsoft scale back internal use of Anthropic's Claude, report says. https://finance.yahoo.com/technology/ai/articles/meta-microsoft-scale-back-internal-185842649.html
Kellner MI, Madachy RJ, Raffo DM (1999) Software process simulation modeling: Why? what? how? Journal of Systems and Software 46(2–3):91–105, DOI 10.1016/S0164-1212(99)00003-5
Kwa T, West B, Becker J, Deng A, Garcia K, Hasin M, Jawhar S, Kinniment M, Rush N, Arx SV, Bloom R, Broadley T, Du H, Goodrich B, Jurkovic N, Miles LH, Nix S, Lin T, Painter C, Parikh N, Rein D, Sato LJK, Wijk H, Ziegler DM, Barnes E, Chan L (2026) Measuring AI Ability to Complete Long Software Tasks. URL https://arxiv.org/abs/2503.14499, 2503.14499
Li H, Zhang H, Hassan AE (2025) The rise of AI teammates in software engineering (SE) 3.0: How autonomous coding agents are reshaping software engineering. https://arxiv.org/abs/2507.15003
Liang S, Garg S, Moghaddam RZ (2026) The SWE-bench illusion: When state-of-the-art LLMs remember instead of reason. In: Proceedings of the IEEE/ACM 48th International Conference on Software Engineering: Software Engineering in Practice, pp 395–405
Liu Z, Shi J, Buford JF (2024) CyberBench: A multi-task benchmark for evaluating large language models in cybersecurity. In: AAAI 2024 Workshop on Artificial Intelligence for Cyber Security
Martini A, Bosch J (2017) On the interest of architectural technical debt: Uncovering the contagious debt phenomenon. Journal of Software: Evolution and Process 29(10):e1877, DOI https://doi.org/10.1002/smr.1877, URL https://onlinelibrary.wiley.com/doi/abs/10.1002/smr.1877, http://onlinelibrary.wiley.com/doi/pdf/10.1002/smr.1877
McKinsey & Company (2026) Capturing the value of good quality in medical devices. https://www.mckinsey.com/industries/life-sciences/our-insights/capturing-the-value-of-good-quality-in-medical-devices
MedDeviceGuide (2026) Medical device recall trends 2024–2026: statistics and root causes. https://meddeviceguide.com/blog/medical-device-recall-trends-2024-2026-statistics-root-causes-guide
Merrill M, Shaw A, Carlini N, Li B, Raj H, Bercovich I, Shi L, Shin J, Walshe T, Buchanan EK, et al. (2026) Terminal-Bench: Benchmarking agents on hard, realistic tasks in command line interfaces. In: International Conference
Steffen Herbold
on Learning Representations, vol 2026, pp 40903–40986
Morph (2026) AI coding costs (2026): Claude vs Codex vs Gemini, real monthly spend from token math. https://www.morphllm.com/ai-coding-costs
National Health Executive (2018) WannaCry cyber-attack cost the NHS £92m after 19,000 appointments were cancelled. https://www.nationalhealthexecutive.com/articles/wannacry-cyber-attack-cost-nhs-ps92m-after-19000-appointments-were-cancelled
Ohira M, Kashiwa Y, Yamatani Y, Yoshiyuki H, Maeda Y, Limsettho N, Fujino K, Hata H, Ihara A, Matsumoto K (2015) A dataset of high impact bugs: Manually-classified issue reports. In: 2015 IEEE/ACM 12th Working Conference on Mining Software Repositories (MSR), pp 518–521, DOI 10.1109/MSR.2015.78
OpenAI (2024) Introducing SWE-bench Verified. https://openai.com/index/introducing-swe-bench-verified/
Peña FC, Herbold S (2026) Selu: A software engineering language understanding benchmark. URL https://arxiv.org/abs/2506.10833, 2506.10833
Schwartz A, Puckett D, Meng Y, Gay G (2018) Investigating faults missed by test suites achieving high code coverage. Journal of Systems and Software 144:106–120, DOI https://doi.org/10.1016/j.jss.2018.06.024, URL https://www.sciencedirect.com/science/article/pii/S0164121218301201
Shahbazian A, Nam D, Medvidovic N (2018) Toward predicting architectural significance of implementation issues. In: Proceedings of the 15th International Conference on Mining Software Repositories, Association for Computing Machinery, New York, NY, USA, MSR '18, p 215–219, DOI 10.1145/3196398.3196440, URL https://doi.org/10.1145/3196398.3196440
Smith N, Capiluppi A, Fernández-Ramil J (2006) Agent-based simulation of open source evolution. Software Process: Improvement and Practice 11(4):423–434, DOI 10.1002/spip.280
Spasic B, Onggo BSS (2012) Agent-based simulation of the software development process: A case study at AVL. In: Proceedings of the 2012 Winter Simulation Conference (WSC), IEEE, pp 400:1–400:11, DOI 10.1109/WSC.2012.6465117
Storey MA (2026) From technical debt to cognitive and intent debt. Queue 24(2), DOI 10.1145/3807966, URL http://dx.doi.org/10.1145/3807966
Trautsch A, Herbold S, Grabowski J (2020) A longitudinal study of static analysis warning evolution and the effects of pmd on software quality in apache open source projects. Empirical Software Engineering 25(6):5137–5192, DOI 10.1007/s10664-020-09880-1, URL http://dx.doi.org/10.1007/s10664-020-09880-1
Trautsch A, Herbold S, Grabowski J (2023) Are automated static analysis tools worth it? an investigation into relative warning density and external software quality on the example of apache open source projects. Empirical Software Engineering 28(3), DOI 10.1007/s10664-023-10301-2, URL http://dx.doi.org/10.1007/s10664-023-10301-2 valsai (2026) SWE-bench Verified leaderboard. https://www.vals.ai/benchmarks/swebench
Wang R, Chen J, Wang S, Tao C, Yang S, Jiang Y, Yap KH, Shang L, Li X, Bai H (2026) SWE-Review: Closing the loop on issue resolution with agentic code review. arXiv preprint arXiv:260706065
Zhang H, Kitchenham B, Pfahl D (2008) Reflections on 10 years of software process simulation modeling: A systematic review. In: Making Globally Distributed Software Development a Success Story (ICSP 2008), Springer, Lecture Notes in Computer Science, vol 5007, pp 345–356, DOI 10.1007/978-3-540-79588-9_30