Strategy & Transformation
How to Calculate ROI for AI and Software Modernization
A practical, finance-ready framework for comparing AI and modernization investment with the current-state cost, realistic benefits, delivery risk and time to value.
operationalwrocław--:-- cet
∕ insights / software-development-ai-agents.md
AI Coding Agents
Learn how software development AI agents speed up delivery, where they fall short, and which engineering controls keep production safe.
>_article.meta
In October 2023, the best model on SWE-bench resolved a small share of real software issues. A historical review of agentic coding traces that resolution rate from a 1.96% baseline to a projected 78.4% by April 2026.
Once the typing gets cheap, the constraint moves to specification, review, testing and the judgement about what should ship. The hidden cost shows up after the code appears, in the review load, the test gaps and the maintenance a delivery system still has to absorb.
Adoption has already outrun most of those systems. In 2025, 90% of surveyed technology professionals reported using AI in software development, a 14 percentage point increase on the year before, according to Google's DORA 2025 report. 31% of developers said they used AI agents at work, with another 17% planning to, per the Stack Overflow 2025 Developer Survey.
The useful question for a CTO is where an agent pays for itself, and where it pushes cost into review and maintenance. I would not let one touch production until two controls exist: an autonomy ladder that states which tasks an agent may finish alone, and a baseline of cycle time, defect rate and review load measured before the first pilot. Speed without that baseline is a faster queue, not a better system.
Releases slow down for a boring reason. Analysis, testing, documentation and migration work queue up behind two or three senior engineers, and every week that queue takes to clear is market time you don't get back. Hiring is the obvious answer and a slow one. Removing the queue is the better one, and it's where software development AI agents earn their keep.
The cost you don't see at merge time shows up later, in review, test evidence and the maintenance of whatever just landed. I treat the stages below as an autonomy ladder: repeatable volume can move first, and any decision that scales with consequence stays with a named engineer. Set a baseline for cycle time, review load and defect escape before a pilot, or a faster draft only shifts the queue one stage downstream.
A Jellyfish analysis of 20 million pull requests covering 200,000 developers across 1,000 companies found median company adoption of AI coding tools rose from approximately 22% in summer 2024 to nearly 90% by early 2025, companies at full adoption reported about twice the pull-request throughput and a 24% reduction in cycle time with pull-request size up 18%, only about 44% of companies had used an autonomous agent at all in the preceding three months, and agents accounted for less than 2% of merged pull requests.
Agents are ready for repeatable work inside a delivery system you already trust. They still need that system around them.
| Delivery stage | What agents do | What engineers own |
|---|---|---|
| Requirements analysis | Summarize tickets, draft specifications, list open questions | Scope, acceptance criteria and sign-off |
| Implementation | Write code across several repository files, follow existing patterns | Architecture, design approval and integration choices |
| Testing | Generate test cases, run suites, report failures | Test strategy, coverage thresholds and release evidence |
| Documentation | Draft technical docs, API notes and changelogs | Accuracy review and knowledge continuity |
| Migration | Map legacy code, draft conversions, flag dependencies | Data integrity, cutover plan and rollback |
| Release and operations | Prepare pull requests, watch logs, summarize incidents | Release gates, production ownership and escalation |
The pattern holds in every row. Agents take the work that scales with volume. Engineers keep the decisions that scale with consequence. When AI accelerates implementation, senior engineers remain accountable for data, security, integration and production quality.
Practical rule: If nobody can name the person who signs off a change, it isn't ready for an agent.
The ownership seats in that table are hard to fill, and worth testing for deliberately. Structured practice coding interviews online give you a consistent way to see how a candidate reasons through a repository-scale problem with no agent at their side.
Start this week by listing the five most repetitive tasks in your delivery flow, the stage each one belongs to, and how long it takes today from ticket to accepted change. That list is your pilot shortlist. The stage names the owner. The timings are the baseline you judge the pilot against.
An AI coding assistant is the sharp colleague reading over your shoulder, suggesting the next line while your hands are still on the keyboard. An AI agent is closer to a junior engineer who takes the ticket, opens the repository, works out which files matter, makes the change across several of them, runs the tests and reports back. Same room, very different job.
The loop itself is short and repeatable:

The benchmark evidence points the same way. SWE-bench measures whether an agent resolves real GitHub issues by navigating an existing codebase, editing multiple files, running tests and producing an acceptable patch, and the original SWE-agent system reached a 12.47% issue-resolution rate. Repository context, tool use and iterative debugging move that number. Fluent code generation doesn't.
Four components decide how well any agent performs, and each one is a place to intervene when it underperforms. The model sets raw capability. The tools set what it can do. The context sets what it knows about your codebase. The notes it keeps between sessions set whether it repeats the same mistake twice.
Tests going green is a useful signal, not proof of production readiness. Take two tasks from your current sprint and classify each as assisted work or agentic work. That classification alone tells you how much oversight the task needs.
More finished work, not faster typing, is what shows up on a release calendar. An analysis of three randomized experiments across Microsoft, Accenture and another company, covering 4,867 developers, found a 26.08% increase in completed tasks among developers using the AI tool. Separate controlled trials of GitHub Copilot also found developers finished an implementation task faster than the control group. That speed only counts if review, testing and later fixes can absorb it.
Quality can move with throughput. In a randomized controlled study of 202 developers with at least five years of experience, GitHub's analysis of Copilot-authored code reported increased functionality, improved readability, better overall quality and higher approval rates than code written without the tool. More capacity, fewer reworks, same headcount: that is the version worth taking to a board, once the later stages of delivery are measured too.
Belief is not a baseline. The 2025 DORA report, based on nearly 5,000 technology professionals, found more than 80% believe AI increased their productivity, and frames AI as an amplifier of an organization's existing strengths and weaknesses. An amplifier with no baseline tells you nothing about whether the extra output landed as maintainable software.
Treat autonomy as a ladder. Assisted completion mostly shifts keystrokes. An agent that edits files, runs tests and opens a pull request shifts cost downstream: a person still reviews the diff, owns the edge case and lives with the design after the ticket closes. I would not count a cycle-time win until those later stages sit in the same measurement.
Four steps, run in order:
Lines of code rewards volume, and volume is what you already have too much of. Start this week with median cycle time from ticket open to deploy, split by task type and by how much of the change the agent was allowed to make alone.
Agent adoption produces a lopsided result. Teams that measure only the good half get hurt by the other half.
A longitudinal study of open-source repositories found agent-generated pull requests delivered large, front-loaded velocity gains when the agent was the project's first observable AI tool, and little or only temporary extra throughput where AI IDEs were already in use. Quality moved the other way and stayed there. Static-analysis warnings rose by roughly 18%, and cognitive complexity by approximately 35%. Tests can pass while the design degrades through duplication, extra branching and tighter coupling.
None of that requires special tooling to spot. Watch for these signals in your next sprint review:
Agents also carry predictable limits: incomplete requirements handed straight to code, outdated knowledge of library versions, missed security boundaries, and no idea why a system was built the way it was.
Complexity budgets and static analysis protect you here, and so do regression tests and review gates on database, integration and public API changes. The 2024 DORA research quantifies the systemic version of the risk: a 25% increase in AI adoption was associated with higher individual productivity and satisfaction, but also an estimated 1.5% decrease in delivery throughput and a 7.2% reduction in delivery stability. Small batch sizes and robust testing are what defend against that, which means the faster generation gets, the more those fundamentals matter.
Automated tests catch regressions; they don't catch design decay. A workable routine for how to test AI-generated code pairs functional checks with complexity and dependency review, so the review gate sees what the test suite can't.
Five questions at the end of each sprint turn warnings into decisions. Did any pull request exceed the size limit we set? Did warnings rise against last sprint? Did any ticket reopen? Did a dependency land without a named approver? Did a reviewer approve something they couldn't explain out loud?
Autonomy is a ladder, not a switch. Grant it one rung at a time, and only with evidence that the previous rung held. The confidence gap is real: the 2026 State of Development survey found 85.5% of respondents trusted or somewhat trusted agent outputs, yet 41.1% encountered agent-related issues daily or more, including 9.0% who hit them continuously. Research comparing human-written code with LLM output also keeps pointing the same direction: AI-generated code tends to look clean and simple while carrying a higher share of security-relevant flaws. Passing tests do not make a change safe.
| Autonomy level | Agent scope | Required control |
|---|---|---|
| 1. Read-only analysis | Reads code, answers questions, drafts reviews | Repository access limits and no write permissions |
| 2. Sandboxed changes | Edits code in an isolated environment | Isolated execution with no production secrets |
| 3. Pull-request creation | Opens pull requests for human review | Mandatory code review and automated CI tests |
| 4. Controlled deployment | Deploys to staging or behind feature flags | Policy checks, security scanning and a tested rollback plan |
| 5. Narrow production action | Runs one bounded task in production | Named owner, audit log, human approval and escalation path |
The groups I would trust in production sit at rung three. The jump from three to four is where the demanding work happens, because deployment policy, rollback rehearsal and security scanning all have to exist before the agent ever touches them. Teams that skip straight to rung five because a demo went well usually discover the missing controls during an incident, which is the most expensive time to learn.

Least-privilege access is the starting point: the agent gets the repositories and tools its task requires, and nothing adjacent. An agent triaging the billing service has no business reading infrastructure secrets or customer data exports. Isolated execution keeps generated code away from production credentials and live data. Keep secrets out of prompts entirely, since anything in a prompt can travel to an external model provider, and require an explicit approval step before any dependency changes, because a new package is a new attack surface.
Auditability matters as much as prevention. Record the prompts, the tool calls and the diffs, so an incident review can reconstruct what the agent saw and decided. Write the rollback plan before the first deployment, not during the incident. A rollback you design at 2 a.m. under pressure is a coin flip. Then carry all of it into production, because AI agent guardrails for production systems cover security boundaries and access control for models and data, human approval steps with explicit exception handling, and auditability of decisions, prompts and actions.
Go-live isn't the finish line. Model operations monitor model behavior, prompts, data quality, cost, exceptions and human escalation, because an agent that worked in March can fail in June after a model update or a data change. This is the hidden downstream cost of agent speed: generation is fast, but the monitoring, escalation and maintenance bill arrives later, and teams that budget only for generation end up paying it with interest.
A named senior engineer signs the release gate for anything that touches production. One person who can explain the change and own the outcome. Accountability at AI speed still has a human face on it, and when something breaks, that person needs the audit trail and the authority to roll back without waiting for a committee.
Not every task should go to an agent, and not every task should stay with a person. Three questions sort work faster than any tool comparison: is the task repeatable, what's the blast radius if the output is wrong, and can tests and review verify the result?

Score each task on those three dimensions before you assign it. A highly repeatable task with a small blast radius and easy verification, such as generating unit tests or refreshing documentation, belongs in a sandboxed agent with a human on the pull request. A mixed task, such as a bug fix inside a shared module, suits an interactive assistant with engineer review on every change.
Where verification is weak or the blast radius is high, keep conventional engineering in control and let AI draft only. Payment logic, authentication rules and production data cutovers are the obvious members of that group. The cost of a wrong answer there dwarfs any speed gain.
| Work type | Best fit | Oversight required | Typical risk |
|---|---|---|---|
| Interactive assistant | Suggestions while an engineer types | Engineer reviews every suggestion | Accepting plausible code without checking it |
| Sandboxed agent | Bounded, repeatable tasks such as test generation or documentation | Human reviews the pull request and test evidence | Tests pass while design quality degrades |
| Conventional engineering | Architecture, payment logic, authentication and data cutovers | Standard senior engineering review and release gates | Slower delivery if AI is forced into the work |
A team that sorts work this way ships faster on the easy half and avoids surprises on the hard half. The sorting takes an afternoon. Skipping it takes a quarter.
A fast-growing fintech had a familiar problem. Financial advisors were spending their days on administration instead of clients, manual work made compliance harder to evidence, and there was little time left for the deeper client insight that wins and keeps accounts.
The work started with the process, not the technology. We mapped the administrative steps, measured the hours they consumed, checked the data and access rules that governed them, and only then chose a build. AI controls came early: clear data boundaries, human approval for anything sensitive, and an audit trail for compliance.
The result was an AI assistant that automates administrative work, improves compliance and gives financial advisors deeper client insight. Advisors now save around 75% of the time spent on ongoing advice administration and around 80% on meeting notes. Nothing in the advisor's judgement was automated. The repetitive work left the desk so the decisions stayed with the people qualified to make them.
That sequence is reusable on almost any admin-heavy process:
The judgement call is the part that resists automation, and for good reason. Compliance decisions, advice quality and client relationships stay with accountable people. What changes is how much of their week is available for that work.
Pick one admin-heavy process in your own business and estimate its weekly hours. That estimate is the business case, and you can build it before you talk to anyone about models.
A pilot that never ends is a subscription. Give yours a start date and a decision date, and run it in this order.

If you want help mapping processes and risks before you build anything, an AI opportunity assessment, readiness review or roadmap is delivered for a fixed fee priced by complexity. That's usually the cheapest way to find out whether a pilot is worth running.
Two principles keep the decision honest. AI belongs where it creates measurable value, and conventional software belongs where that is simpler, safer or more economical. The route from idea to production has four stages, Discover, Design, Build and prove, and Operate, and each one has an exit condition you can write down.
The test of a good pilot: you finish it with a number you trust, not a feeling you can't defend.
Pick your stage, set the baseline, and start this week. A proof of value exercise run properly takes a sprint, and it tells you more than a year of demos.
If you want agents applied to the repeatable parts of your delivery lifecycle without surrendering architecture, security or the release gate, Rite NRG runs exactly that model with named senior engineers behind everything that reaches production. We start with a fixed-fee assessment or a defined delivery scope, agree acceptance criteria in writing, and measure the result against a baseline we set before any agent runs. Visit Rite NRG to map your first pilot and put an accountable owner on the outcome.
/ about the author
Written by the RITE NRG editorial team — the architects, engineers and delivery leads who build and operate AI-era software for our clients.
Strategy & Transformation
A practical, finance-ready framework for comparing AI and modernization investment with the current-state cost, realistic benefits, delivery risk and time to value.
Technology Talent & Teams
A decision-maker's guide to IT partnership models: what each model actually transfers to the partner, what it costs beyond the rate card, and how to match the model to your situation.
AI Consulting & Automation
A practical framework for choosing and deploying transport or logistics AI agents around real exceptions, reliable data and controlled operational authority.
More guidance: all insights articles
Tell us about the system or idea behind this article. We tell you honestly if it is a fit — and what a fixed-scope delivery could look like.