# Measuring ROI

> Adoption rates only show whether teams are picking up the tools. After the first few weeks, track what they gain: lead time, agent success rate, cost per successful task, rework.

Many teams struggle to show a clear return from AI on their development lifecycle. The cause is often the measurement. The share of code written with AI measures usage and says nothing about what shipped.

Agents create three blind spots. You pay for every attempt: at $2 per try and a 30% failure rate, a successful task costs about $2.86. Throughput can inflate when an agent splits one change into ten small PRs. The time spent reviewing and supervising AI is often left out. Track code churn and rework rate alongside throughput.

DORA metrics still apply: a deployment is a deployment, whoever wrote the code. Add full lead time, a success rate checked against outcomes and a link to a business goal. Waiting is often the largest part of lead time. Faster delivery only counts if someone uses what ships, so also track usage and customer satisfaction. In its 2025 report, DORA found that adopting AI without a focus on users can hurt a team’s performance and speed up the production of low-value software.

Two simple rules: set a baseline before you turn anything on, and stick to five metrics, each with an owner. Developer feedback fills in what tool data misses. The DevEx framework describes developer experience along three dimensions: feedback loops, cognitive load and flow state, meaning focused, uninterrupted work. With agents, one of those five can track learning: how much developers still understand of the code they ship (see Roles and organization). Pair each practice with a leading and a lagging indicator, read from git, CI or the incident tool. The Atlas does not measure platform performance: these numbers have to come from your own projects.

Adoption often follows a J-curve. Productivity dips first, while people learn, review the code the tools produce and adapt the delivery pipeline. Budgeting for that dip, training included, keeps the project from being stopped at the wrong moment. Developers see gains mostly on bounded tasks such as debugging or documentation, and little on code maintainability. Review capacity then sets the pace. Track PRs waiting for review against PRs merged, across the team.

**When**: Before the first pilot, to get a baseline, then each time you expand.

**Trade-offs**: Measuring outcomes takes more effort than counting licenses or PRs, and effects take weeks to show. In return, you know whether the software factory pays off and where it costs you.

## Where to start

- Pick five outcome metrics
- Measure the starting point
- Name an owner for each metric
- Pair every throughput metric with a rework metric
- Count the time spent supervising AI

## Common mistakes

- Tracking only adoption past the first weeks
- Computing cost per attempt instead of per successful task
- Treating PR count as delivered value
- Starting without a baseline
- Stopping the project during the early dip
- Counting time saved upstream as a gain when it adds rework downstream
- Treating faster delivery of something nobody uses as value
- Scaling up a pilot that only worked because one expert rechecked everything behind the scenes

## Metrics

- Lead time, from request to production
- Agent success rate, checked against outcomes
- Cost per successful task
- Rework rate at 7 days
- Code churn at 2 weeks
- DORA metrics
- Review headroom: PRs waiting for review and PRs merged, per week, for the team
- Developer cognitive load and learning, measured by survey
- Customer or business outcomes: usage, satisfaction, goal met

## Sources

- [Port, AI SDLC: a practical guide to SDLC AI agents](https://www.port.io/blog/ai-sdlc)
- [Warp, The Factory Stack](https://www.warp.dev/blog/the-factory-stack)
- [Atlassian, The AI SDLC transformation playbook](https://www.atlassian.com/blog/ai-at-work/ai-sdlc-transformation-playbook)
- [Anthropic, The AI-native SDLC playbook](https://claude.com/fr/resources/articles/the-ai-native-sdlc-playbook)
- [DORA, The ROI of AI-assisted Software Development](https://dora.dev/ai/roi/report)
- [DX, State of AI Impact in Engineering, Q3 2026](https://getdx.com/report/state-of-ai-impact-in-engineering-q3-report/)
- [Noda, Storey, Forsgren and Greiler, DevEx: What Actually Drives Productivity](https://getdx.com/research/devex-what-actually-drives-productivity/)
- [DORA, user-centric focus](https://dora.dev/capabilities/user-centric-focus/)
