Agentic SDLC: Why Are We Optimizing Software Development for Machines?
A closer look at AI coding metrics, verification, maintainability, and the full cost of building software with agents.
We are getting better at generating code, but are we getting better at building software?
Everyone seems to be talking about agentic SDLC, autonomous coding agents, AI-driven CI/CD, and the need to increase engineering throughput. The conversation is increasingly centered on how much more software we can produce, how quickly we can produce it, and how many engineering tasks we can automate.
I find this direction concerning, though not because I think these tools have no place in software engineering. They clearly do: automating repetitive work, exploring unfamiliar codebases, generating scaffolding, and helping developers investigate problems are all valuable applications.
What concerns me is the assumption underneath the entire movement: that producing software faster is inherently better, that more output means more value, and that reducing the human effort required to build software should always be the goal.
Why are we trying to produce software at the speed of agents, and what, exactly, do we gain by doing so?
I think we need to question the metrics, economics, and engineering assumptions driving adoption of these tools across the software development lifecycle, because optimizing for the wrong things could leave us producing more software while becoming worse at engineering.
1. The obsession with velocity and throughput
Software engineering has spent decades trying to improve delivery speed. We have adopted Agile, Scrum, DevOps, continuous delivery, infrastructure as code, and increasingly sophisticated CI/CD pipelines.
Many of these practices have delivered genuine improvements. Automated testing, reproducible builds, small batches, and fast feedback loops can make software both safer and faster to deliver.
But somewhere along the way, we started confusing the means with the ends.
We measure lead time, deployment frequency, cycle time, tickets completed, pull requests merged, and story points delivered. These metrics can be useful for understanding a system. They become dangerous when they are treated as direct measures of engineering productivity or business value.
Now we are introducing AI agents into this environment, and the same incentives are being amplified.
When a developer completes a task in two hours instead of four, the expectation quickly becomes double the output. Agents that generate pull requests in minutes or work in parallel also raise questions about review capacity and staffing.
The question has shifted from how we can build better software to how we can maximize the amount of software we produce, a fundamental mistake.
Pull requests, tickets, and lines of code track activity rather than customer value, and even a successful deployment may not improve anything for its users.
Fast delivery can still miss the mark: a feature nobody needs adds little value, and a team can deploy more often even as its change failure rate rises.
I therefore think we need to be careful when applying industrial productivity thinking to software engineering without accounting for the nature of the work.
Software is a system we must understand, evolve, operate, and maintain over time, not merely something we manufacture.
2. What does the research actually tell us?
The empirical evidence around AI-assisted software development is more nuanced than the prevailing narrative suggests.
The GitHub Copilot experiment: 55.8% faster
A 2023 controlled experiment by researchers at Microsoft and GitHub found that developers using GitHub Copilot completed a JavaScript HTTP-server task 55.8% faster than the control group.[1]
That result applies to a bounded programming task; production delivery also requires understanding requirements, navigating existing architecture, negotiating trade-offs, reviewing changes, integrating systems, and maintaining the result. It cannot by itself predict the effect on production delivery time, maintenance costs, or business value.
Those activities are part of the engineering process, not overhead we can simply ignore.
METR: experienced developers took 19% longer
In a 2025 randomized study, METR asked 16 experienced open-source developers to complete 246 tasks in mature repositories they had worked in for an average of five years. They predicted that AI would reduce completion time by 24%; instead, tasks took 19% longer on average.[2]
The result challenges the assumption that faster code generation always means faster engineering. Developers' perceived productivity also differed from their measured completion times.[2]
Because the study used early-2025 AI tools and familiar repositories, its results describe that setting rather than every development environment.[2]
DORA: individual productivity versus delivery performance
The 2024 DORA report points to a similar tension: its observational analysis estimated that a 25% increase in AI adoption was associated with a 7.2% decrease in delivery stability and a 1.5% decrease in delivery throughput. The report also linked adoption to improvements in certain measures of individual productivity and flow.[3]
These are statistical associations rather than proof that these tools caused the observed changes, and the estimates reflect the organizations and tools studied at that time.[3]
That distinction matters because an engineer may feel more productive when a coding assistant reduces tedious work, while the team struggles with integration, review, rework, or instability. Individual productivity and organizational performance are not interchangeable.
Taken together, these studies suggest that we should stop treating AI adoption as a productivity outcome in itself.
Code-generation speed alone cannot answer the relevant question: whether the complete software delivery system produces better outcomes.
3. We are optimizing the production of code, not the quality of software
Consider a typical agentic workflow: an agent receives a ticket, explores the repository, implements the feature, generates tests, runs the test suite, fixes failures, and opens a pull request. The process can look impressive: the implementation is fast, the tests pass, and CI is green. But what have we actually established?
We know that the agent produced an implementation that satisfied the checks it ran. We do not automatically know that the implementation follows the intended architecture, handles the relevant edge cases, preserves system invariants, or remains easy to maintain.
Imagine an agent implementing a payment-provider integration: it might produce a working adapter while introducing a second retry mechanism instead of reusing the existing one. It might duplicate error handling, mishandle idempotency, or violate an assumption about transaction boundaries.
The feature can work in the happy path while introducing subtle failure modes elsewhere.
Agents can write good code, yet a locally correct implementation may still conflict with the wider system.
The ticket describes what needs to change, while the existing system also contains constraints about what must not change. Understanding those constraints is a significant part of software engineering; if we measure an agent by how quickly it closes the ticket, we measure how quickly it produces an artifact that appears to satisfy a local objective, not whether it understood the system.
That distinction becomes increasingly important as agents gain the ability to make broad, autonomous changes across a codebase.
4. The test suite problem: green does not mean correct
I am particularly concerned about the assumption that generated code is safe as long as it passes automated tests.
Consider an agent asked to implement a discount calculation. It generates the implementation, then writes a test that verifies a 20% discount on a price of 100; the test passes, but what happens when the discount is negative or exceeds 100%, when the domain requires currency-safe rounding, or when another part of the application interprets discounts as percentages rather than fractions? The test establishes only the behavior it actually checks.
The more subtle problem is that the implementation and the tests may be based on the same incorrect assumptions. When the same agent interprets the requirements, writes the code, and generates the tests, its misunderstandings can be replicated in both places.
That creates correlated error: the test suite can become a mechanism for confirming the agent's interpretation rather than independently validating the requirements.
The same problem occurs when an agent changes production code until existing tests pass: the code may be wrong, the tests may be outdated, and a green build alone cannot tell us which.
Human developers have always written inadequate tests, and poorly designed test suites have always created false confidence.
Code-generation tools change the economics by making it possible to generate large quantities of implementation code and corresponding tests quickly, which could increase the volume of unverified assumptions entering the codebase.
We need to distinguish between:
- Test count and test effectiveness.
- Code coverage and behavioral correctness.
- Passing assertions and validated requirements.
- Generated tests and independently specified invariants.
Property-based testing, integration testing, boundary-value analysis, security checks, and human review can all help. The right combination depends on the system and the consequences of failure.
We should generate tests to increase confidence that software behaves correctly, not to maximize the count.
5. Technical debt is becoming cheaper to create
Maintainability deserves more attention. GitClear's research into code changes reported rising duplication and churn alongside declining signals of refactoring and reuse during a period of increasing AI adoption.[4]
Its analysis identifies a potential maintainability gap: producing changes is becoming easier, while structural quality may not be improving at the same pace.[4]
These findings are observational and do not establish that the tools alone caused the trends. Repository analytics are also proxies for maintainability rather than direct measures of future maintenance costs.[4]
When implementation becomes cheap, the temptation is to solve every problem locally.
An agent can add another helper function, abstraction, dependency, or conditional branch; each change may be reasonable in isolation, yet hundreds of such additions can fragment the system. It may also duplicate logic instead of refactoring it, or add a parallel abstraction rather than extending the existing one.
The result is a codebase that can continue passing tests while becoming harder to reason about.
This is the difference between minimizing the cost of writing code and minimizing the cost of owning software.
Technical debt describes the future cost of decisions that make subsequent changes more difficult, risky, or expensive; code quality is only part of that equation.
If these tools reduce the cost of producing an initial implementation but increase the cost of understanding and evolving it, the organization may be moving costs downstream rather than eliminating them.
6. CI should not be the bottleneck we are trying to eliminate
The discussion around agentic SDLC increasingly treats CI as a constraint on agent productivity.
Agents generate code quickly, but then they wait for builds, tests, security scans, and review. So we parallelize pipelines, optimize checks, and try to shorten the feedback loop.
There is nothing wrong with making CI faster. Slow, flaky pipelines waste engineering time.
But we need to distinguish between unnecessary waiting and necessary verification.
If an agent produces ten changes in the time it previously took to produce one, while our ability to review and validate those changes remains unchanged, we have not necessarily improved delivery. We may simply have moved the bottleneck.
The constraint may now be code review, integration testing, architectural assessment, or production validation.
Removing that constraint without understanding its purpose can increase the number of defects entering the system.
A quality gate that prevents a regression is not waste merely because it delays a merge.
Of course, a slow test suite that rarely catches defects is a legitimate optimization target. So is a flaky pipeline that repeatedly blocks valid changes.
The objective should be to maximize the signal and value of verification while minimizing unnecessary delay.
That means running fast, deterministic checks first, parallelizing independent work where appropriate, keeping changes small, and applying deeper verification according to risk.
A documentation change does not need the same checks as an authentication change or a database migration.
But neither should be allowed to bypass relevant quality requirements simply because an agent can produce the change faster than CI can validate it.
We should optimize for the time and cost required to deliver a verified change, rather than agent utilization.
7. The economics: cheaper code does not necessarily mean cheaper software
Agentic development introduces a genuine opportunity to reduce software development costs. But the cost of generating code is only one component of the total cost of software.
An agentic workflow may involve:
- Model inference and repeated tool calls.
- Large context windows and repository indexing.
- Multiple agents working in parallel.
- CI execution and integration environments.
- Human review and debugging.
- Rework caused by incorrect assumptions.
- Production incidents and subsequent maintenance.
A task that looks inexpensive because the agent wrote the implementation in five minutes may be much more expensive when all these activities are included.
I would therefore evaluate agentic development using a metric closer to:
Total cost per accepted, useful change
That calculation should include engineering labor, model and infrastructure costs, verification, rework, and operational consequences.
It is a proposed accounting model rather than a standardized industry metric, but it captures the right principle.
Suppose these tools cut implementation time by 40%. If review, debugging, CI consumption, and later maintenance increase enough, the total cost of delivering a reliable change could rise rather than fall.
Conversely, an agent that automates repetitive dependency updates or safely handles routine migrations could deliver substantial savings, so neither outcome should be assumed in advance.
Compute and labor are only parts of the equation; the relevant unit of analysis is the complete lifecycle.
There is also a broader economic dynamic at work: when production becomes cheaper, organizations often respond by producing more through new features, experiments, integrations, product variants, or automation.
This resembles Jevons paradox, in which efficiency gains can contribute to greater total consumption.[5] Software is not a finite physical resource, so I see this as an analogy rather than a direct prediction.
If these tools make feature development cheaper, the organization may increase the amount of software it wants to build until the savings are absorbed by new demand.
We could end up with more software, more infrastructure, more dependencies, more operational complexity, and more maintenance.
Efficiency in production does not automatically produce simplicity in the resulting system.
8. Why are we always trying to reduce human labor?
My skepticism comes from the economic context of the current enthusiasm for agentic SDLC. Organizations have spent decades trying to reduce development costs through outsourcing, offshoring, standardization, automation, and increasingly specialized tooling, and AI extends that same incentive.
If a task can be performed with fewer human hours, the organization may be able to improve margins, reduce hiring, increase output, or eliminate positions.
From an individual company's perspective, these decisions can be rational, but productivity gains do not determine who benefits from them. They could become higher profits, lower prices, better compensation, shorter working hours, more ambitious projects, or fewer jobs.
The technology itself does not decide which of these outcomes prevails.
These tools will reduce the human labor required for some tasks, while the net effect on software engineering employment will depend on new demand from lower development costs, the pace of automation, and how organizations allocate resources.
Although the net employment effect is hard to predict, I see a specific risk worth taking seriously: the erosion of the path to expertise.
Junior developers become experienced engineers by implementing features, debugging failures, reading unfamiliar systems, making mistakes, and learning to reason about architectural trade-offs.
If organizations automate most implementation tasks and expect junior developers to supervise agents immediately, they may reduce the very opportunities through which engineers develop the judgment needed to oversee complex systems.
These tools can also support learning by explaining code, suggesting alternatives, providing feedback, and helping developers explore unfamiliar concepts.
But there is a difference between using these tools to accelerate learning and using them to eliminate the work through which learning occurs.
If we optimize the development process entirely around the cheapest immediate output, we risk undermining the development of future expertise.
That would be a particularly short-sighted outcome for an industry whose most difficult problems require deep contextual understanding.
9. A better set of metrics for agentic SDLC
If we want to know whether AI is genuinely improving software engineering, we need to measure outcomes across the entire delivery lifecycle.
I would start with the following metrics.
| Dimension | Metrics to track | Why it matters |
|---|---|---|
| User value | User outcomes, adoption, and whether the change solves the stated problem | A shipped feature is useful only when it improves something users care about. |
| Delivery performance | Change lead time and deployment frequency, read alongside change failure rate and failed-deployment recovery time | Measures delivery speed together with stability, rather than rewarding throughput alone. |
| Quality and rework | Production defects, hotfixes or rollbacks, review revisions, and time spent correcting generated changes | Shows whether implementation speed is offset by verification and repair. |
| Maintainability | Duplication, reuse, refactoring, complexity, and the effort required to make the next change | Tracks the cost of owning the code after the first implementation. These are signals to investigate, not direct measures of future maintenance cost. |
| Total cost | Engineering time, model and infrastructure use, CI, review, rework, incidents, and maintenance per accepted, useful change | Captures the full lifecycle instead of the visible cost of code generation. |
| Engineering capability | Whether developers can explain, debug, and safely change the result, alongside opportunities for junior developers to build those skills | Protects the understanding and learning that teams need to operate software over time. |
These measures should be read together, not collapsed into a single score or used to rank individual developers. A team should establish its own baseline, define the user or system outcome it wants to improve, and compare similar work while accounting for risk and rework. DORA recommends this kind of iterative measurement: test a hypothesis, measure the effect, and expect results to differ between organizations.[3]
What I want agentic SDLC to optimize
I want agents to take on repetitive work where they genuinely help, while keeping engineering judgment, verification, and learning inside the delivery process. The useful measure is whether people can deliver software that solves a real problem, remains safe to change, and costs less to own across its lifecycle.
If an agent increases code volume without improving those outcomes, the team is shipping more code without making engineering more effective. The goal should be to build systems people can understand and sustain, while giving the next generation room to learn how those systems work.
Sources
- [1] The Impact of AI on Developer Productivity: Evidence from GitHub Copilot
- [2] Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity
- [3] Accelerate State of DevOps Report 2024
- [4] The AI Code Quality and Maintainability Gap
- [5] The Jevons Paradox In Cloud Computing: A Thermodynamics Perspective
#ai #software #engineering #productivity #architecture