AI Engineering Analytics

Do DORA Metrics Still Work When AI Agents Write Code?

DORA metrics still matter for teams using AI coding agents. But they don't show everything about engineering productivity.

By Jiri Knesl 9 min read

DORA metrics are important for teams that use AI coding agents. But they don't show everything about engineering productivity. To understand the impact of AI, you need to look at more metrics.

Imagine an engineering team using Claude Code, Cursor, or GitHub Copilot. Developers can now:

  • Generate code
  • Write tests
  • Complete routine tasks

Developers can write more code and finish tasks faster. But releases may slow down, because checking and fixing the code takes time.

Has the team actually become more productive?

This is where traditional engineering productivity metrics need more context. Conversations about DORA metrics and AI agents should focus on more than how quickly code is written. They should also consider:

  • How reliably teams deliver software
  • How much rework they create
  • Whether AI contributes to better engineering outcomes

The distinction is simple: AI can speed up code production without necessarily speeding up software delivery.

What Are DORA Metrics?

DORA (formerly DevOps Research and Assessment) provides a framework for measuring how effectively software engineering teams deliver and maintain software.

Rather than measuring how much code developers write, DORA focuses on what happens when code moves from development into production.

The framework now includes five software delivery metrics, grouped into two areas: throughput and instability.

The five DORA metrics
Metric What it measures
Change lead time How long it takes for a code change to move from commit to successful production deployment.
Deployment frequency How often a team releases changes to production.
Failed deployment recovery time How long it takes to recover when a deployment causes a production failure.
Change failure rate The percentage of deployments that cause failures requiring immediate intervention.
Deployment rework rate How often teams release urgent fixes after production incidents.

The first three metrics help leaders see how fast and reliably teams move work through their pipeline. The other two reveal how much teams struggle with instability and need to correct problems later.

Consider a team that pushes code out several times a day, yet constantly rushes to fix bugs shortly after. Technically, they are fast, but you can't call that reliable delivery.

This matters even more when you look at AI in software development. Writing code faster is great, but the main question is: can the team deliver changes quickly without causing more trouble?

Do DORA Metrics Still Work With AI Agents?

Yes. DORA metrics continue to be effective because they measure results, not just the way you write code.

It doesn't matter whether a person codes a function manually, gets a hint from GitHub Copilot, or lets Claude Code do the hard work. Once that code enters the pipeline, lead time, deployment frequency, failure rates, and recovery time show what really matters.

Consider this example. A developer uses Cursor to write a feature in 30 minutes instead of three hours. Looks like a big win.

But the code needs extra testing, the reviewer finds problems, and the developer spends two more hours fixing bugs. Then the deployment has to wait for approval. So the initial coding was faster, but the overall delivery process didn't speed up much.

That is where DORA metrics really shine. They help leaders see whether work is actually moving through the pipeline faster and more reliably, or whether the bottleneck has just shifted.

DORA's 2025 report points out something important: AI behaves as a force multiplier. It amplifies each strength or weakness your organization already has.

In other words, AI can help well-functioning engineering teams improve, but it can also expose problems in existing workflows.

That is why companies shouldn't abandon DORA metrics when adopting AI agents. They should use them to understand delivery performance while investigating what is happening inside the development process.

What Do DORA Metrics Miss About AI-Generated Code?

DORA metrics show what happens to software changes after they enter the delivery process. But they don't explain everything behind the numbers.

AI agents are changing how teams work. Developers might write less code by hand, but they now spend more time reviewing, testing, correcting, and maintaining AI-generated code. That shifts where the effort goes.

Here are five areas leaders should watch when evaluating AI-generated code quality.

1. Is AI-generated code increasing review time?

AI can produce large amounts of code quickly. But every generated change still needs appropriate review. If developers send larger pull requests, or reviewers need extra time to work out what the AI wrote, reviews may become a bottleneck.

For instance, someone could produce a feature in 40 minutes, but the review takes four hours because the pull request includes a lot of unrelated changes.

Tracking review time shows whether AI is really helping or just shifting work to later stages.

2. Are teams spending more time fixing generated code?

AI code isn't perfect. You get bugs, strange complications, or pieces that don't suit your app. Before going live, developers might have to:

  • Rewrite parts
  • Add more tests
  • Refine the code

Leaders should track how much time teams spend fixing AI-generated code. They also need to monitor bugs and rework.

3. Is code quality improving or declining?

Generating code faster doesn't mean the code is good. Teams need to check:

  • The number of bugs
  • If it works as expected
  • Maintainability
  • Risks to security
  • The frequency of production errors

This helps teams see whether AI writes code as well as their developers do.

4. Are AI tools creating additional maintenance work?

Sometimes AI agents solve today's problem but create difficulties for the team later. You end up with:

  • Duplicate logic
  • Awkward dependencies
  • Messy code that is hard to maintain

These problems may go unnoticed at first but become more apparent over time.

5. Is faster coding translating into faster delivery?

That's the big question. AI can help teams write code faster. But testing, reviewing, and releasing the code still take time, so the overall work may not get done any faster.

Leaders need to see where teams save time and where they lose it. Faster coding doesn't always mean faster delivery.

What Should Engineering Leaders Measure Alongside DORA?

DORA metrics should remain the foundation for measuring software delivery performance. However, companies adopting AI agents need additional AI engineering metrics to understand the reasons behind those results.

Here are six areas worth tracking.

Metrics to track alongside DORA
Additional metric What it helps leaders understand
Code review time Whether AI-generated changes are increasing the review workload.
Rework and defects How much time teams spend fixing problems.
Engineering costs Whether AI tools, cloud subscriptions, and extra review time genuinely deliver value.
AI adoption and usage Which teams use AI, and how much.
Delivery predictability Whether teams meet their deadlines.
Business value delivered Whether the work helps customers or supports business goals.

Leaders can use these numbers to assess AI developer productivity.

For example, a team using AI may create 30% more pull requests. But that does not always mean they are 30% more productive. Those pull requests might:

  • Need more reviews
  • Introduce more bugs
  • Represent minor modifications

In that case, the extra output doesn't really help the business.

A Simple Example: Is AI Actually Improving Delivery?

Consider an illustrative comparison between two engineering workflows.

Illustrative example, not industry benchmark data

Engineering effort before and after AI, illustrative
Measurement Before AI After AI
Initial coding time 10 hours 5 hours
Code review time 2 hours 4 hours
Testing and fixes 2 hours 4 hours
Total effort 14 hours 13 hours

What does this tell us?

Initial coding time saved

50%

Total engineering effort saved

7.1%

The second figure is (14 − 13) ÷ 14 × 100, which is 7.1%.

So yes, AI codes fast, but in this example it saves just one hour overall.

Speed isn't the whole picture when it comes to AI boosting productivity. The gains that matter more are helping the team meet customer demands and deliver products sooner.

A Checklist for Engineering Leaders

If you are an engineering leader, here is your checklist:

  1. 01 Look at DORA metrics before and after using AI
  2. 02 Track testing time
  3. 03 Track review time
  4. 04 Monitor mistakes and how often you have to fix issues
  5. 05 Calculate AI costs
  6. 06 Check if delivery is more predictable
  7. 07 Measure business impact

DORA's AI research doesn't rely on a single productivity measure. It suggests digging into:

  • Code quality
  • Individual contributions
  • How the team performs together
  • Overall performance of the business

Where Does GitRevio Fit?

Once engineering teams start using AI agents, leaders need a way to understand how different activities affect overall engineering performance.

Looking at deployment numbers or pull request counts in isolation does not explain why delivery is improving or slowing down. That is where GitRevio fits in.

GitRevio connects engineering data to help leaders understand:

  • Delivery trends
  • Bottlenecks
  • Rework
  • The results of engineering investments

If Claude Code helps a team produce more pull requests, leaders need to understand the results:

  • Are changes going live faster?
  • Is the team spending more time fixing code?
  • Are delivery bottlenecks moving from development to testing?
  • Is the additional engineering output helping deliver more customer value?

GitRevio provides broader engineering context for these questions. Increased productivity isn't always connected to increased AI use or more code. Leaders should focus on delivery results and team effort.

The goal is not to replace DORA metrics. It is to understand the wider engineering activity behind them.

Conclusion: DORA Metrics Still Matter, but They Need More Context

AI coding agents are changing how software gets written, reviewed, tested, and delivered. But faster code generation does not automatically mean better engineering performance.

Discussions about DORA metrics and AI should focus on delivery outcomes, not simply the volume of AI-generated code.

DORA metrics remain useful for measuring software delivery throughput and instability. But smart leaders also take other factors into account:

  • The duration of reviews
  • The amount that needs revision
  • Team costs
  • The overall progress of AI
  • Delivery predictability
  • Business value

Measure team performance before and after AI adoption. GitRevio helps leaders see whether AI improves delivery and overall engineering performance.

Want to understand what is driving your engineering team's delivery performance? Explore GitRevio and see how engineering data can support better decisions.

Frequently Asked Questions

Yes. Whether a human or an AI wrote the code, DORA metrics still assess software delivery. They show how fast teams deliver, how often they deploy, how many failures happen, and how fast they recover. To see the real impact of AI, businesses need to track more than the basics.

AI Adoption Is Rising. But Is Engineering Performance Improving?