How Much of Our Code Is Written by AI? | Pensero[Skip to content](#main)

[Pensero](/)

- [Consulting firms](/)Consulting firms

  Consulting firms

  - [Platform](/#platform)
  - [How it works](/#how-it-works)
  - [Customers](/#customers)

  Platform

  - [Agentic ROI](/consulting/platform/agentic-roi)
  - [Benchmarking](/consulting/platform/talent-benchmarking)
  - [Delivery Intelligence](/consulting/platform/delivery-intelligence)
  - [Code Quality](/consulting/platform/code-quality)
  - [AI Deployment](/consulting/platform/ai-intelligence)
  - [Agent Traffic Control](/consulting/platform/agent-traffic-control)
  - [Pensero MCP](/consulting/platform/mcp)
  - [CapEx & Finance](/consulting/platform/capex-analysis)
  - [Next moves](/consulting/platform/next-moves)

  Customers

  - [SEAT CODE](/customers/seatcode)
  - [Persuit](/customers/persuit)
  - [Exoticca](/customers/exoticca)
  - [Cubbo](/customers/cubbo)
  - [Stord](/customers/stord)
  - [ClosedLoop](/customers/closedloop)
  - [Zynap](/customers/zynap)
  - [All customers](/customers)
- [Enterprise](/enterprise)Enterprise

  Enterprise

  - [Platform](/enterprise#platform)
  - [How it works](/enterprise#how-it-works)
  - [Customers](/enterprise#customers)
  - [Pricing](/enterprise#pricing)

  Platform

  - [AI Deployment](/platform/ai-intelligence)
  - [Agentic ROI](/platform/agentic-roi)
  - [Delivery Intelligence](/platform/delivery-intelligence)
  - [Next moves](/platform/next-moves)
  - [CapEx & Finance](/platform/capex-analysis)
  - [Benchmarking](/platform/talent-benchmarking)
  - [Code Quality](/platform/code-quality)
  - [Agent Traffic Control](/platform/agent-traffic-control)
  - [Pensero MCP](/platform/mcp)

  Customers

  - [SEAT CODE](/customers/seatcode)
  - [Persuit](/customers/persuit)
  - [Exoticca](/customers/exoticca)
  - [Cubbo](/customers/cubbo)
  - [Stord](/customers/stord)
  - [ClosedLoop](/customers/closedloop)
  - [Zynap](/customers/zynap)
  - [All customers](/customers)
- [About](/about)
- Resources

  Learn

  - [BlogNews, tips, and dev culture](/blog)
  - [Glossary](/glossary)
  - [Integrations](/integrations)
  - [Customers](/customers)
  - [SupportTechnical help, FAQs and the support team](/support)

  By role

  - [CEOs](/use-cases/roles-ceo)
  - [CTOs](/use-cases/roles-cto)
  - [CFOs](/use-cases/roles-cfo)
  - [Product leaders](/use-cases/roles-product-leaders)
  - [Engineering managers](/use-cases/roles-engineering-managers)
  - [Procurement](/use-cases/roles-procurement)
  - [Service providers](/use-cases/service-providers)
  - [Investors](/use-cases/roles-investors)

  Compare Pensero

  - [DX](/use-cases/competitors-dx)
  - [Swarmia](/use-cases/competitors-swarmia)
  - [Haystack](/use-cases/competitors-haystack)
  - [Span](/use-cases/competitors-span)
  - [Jellyfish](/use-cases/competitors-jellyfish)
  - [Waydev](/use-cases/competitors-waydev)
  - [LinearB](/use-cases/competitors-linearb)
  - [Faros AI](/use-cases/competitors-farosai)
  - [Larridin](/use-cases/competitors-larridin)
  - [Weave](/use-cases/competitors-weave)
  - [Exceeds AI](/use-cases/competitors-exceeds-ai)

[Log in](/auth/login/)[Become a partner](https://calendar.google.com/calendar/appointments/schedules/AcZssZ2eVzpQZbcYew7J5OinbUaAbTqUx5FH0Hfb1BxXafGqs5p_U8YRp4L6-ipsSsqH3Amr6dBRkGS6)[Book a scoping session](https://calendar.google.com/calendar/appointments/schedules/AcZssZ2eVzpQZbcYew7J5OinbUaAbTqUx5FH0Hfb1BxXafGqs5p_U8YRp4L6-ipsSsqH3Amr6dBRkGS6)

[Log in](/auth/login/)[Become a partner](https://calendar.google.com/calendar/appointments/schedules/AcZssZ2eVzpQZbcYew7J5OinbUaAbTqUx5FH0Hfb1BxXafGqs5p_U8YRp4L6-ipsSsqH3Amr6dBRkGS6)[Book a scoping session](https://calendar.google.com/calendar/appointments/schedules/AcZssZ2eVzpQZbcYew7J5OinbUaAbTqUx5FH0Hfb1BxXafGqs5p_U8YRp4L6-ipsSsqH3Amr6dBRkGS6)

[Blog](/blog) / Other resources

# How much of our code is written by AI, and how do I measure it?

The share of lines that AI writes is easy to count. The share of finished work that AI delivers is the number that matters.

![](/assets/WF5wXySb5oYBsfMDPbU0hRuXY3M.LvpWanuL_ZHEg5Y.webp)

![](/assets/GjPJ8lgQ2s9KH4YirhymwwZxVY.WQPn6KWn_ZcotNb.webp)Pensero·Pensero Marketing·Nov 23, 2026

Short answer

Pensero measures how much of your delivered work comes from engineers, AI-assisted engineers and AI agents, on one scale, the delivery point (magnitude × complexity). Count the finished pull requests and tickets, not the lines. A large share of AI-written lines does not show value if the work does not ship or if quality falls.

## Why are lines of code the wrong unit?

- AI tools write many lines fast, so a line count makes AI look larger than its real share of the work.
- Lines do not show the magnitude or the complexity of a change.
- Lines do not show if the code shipped, or if it came back as rework.

## How do you measure the AI share of your work?

1. **Group the work by who did it:** engineers without AI tools, AI-assisted engineers and AI agents. Count each pull request in one group only.
2. **Score each finished pull request and ticket** in delivery points.
3. **Read the share** of delivery points from each group, each month.
4. **Add cost and quality:** the cost per delivery point and the defect rate of each group.

| Unit | What it shows | Use it? |
| --- | --- | --- |
| Lines written by AI | Volume of code | No, it makes AI look larger |
| Suggestions accepted | Use of the tool | Only as a use signal |
| Delivery points by group | Share of finished work | Yes |
| Cost per delivery point by group | What each unit costs | Yes |

## How Pensero helps

- Read [how to measure GitHub Copilot impact](/blog/measure-github-copilot-impact) and [the 5 levels of AI adoption](/blog/levels-of-ai-adoption-software-engineering).
- [Book a scoping session](/) to see delivery points on your own work.

## Frequently asked questions

Is a high AI share good?

Only if the cost per delivery point goes down and quality holds.

Do I need to tag AI code by hand?

No. Pensero reads the code and the tickets.

What do I do with the result?

Decide where AI agents can take more of the work, then measure again.

## Related posts

- [![](/assets/WF5wXySb5oYBsfMDPbU0hRuXY3M.LvpWanuL_ZHEg5Y.webp)

  ### How to Measure and Improve Product Development Performance

  Connect customer value, delivery, quality, strategic alignment, and investment efficiency in a balanced product development performance review.

  Pensero  
  Pensero Marketing

  Aug 10, 2026](/blog/product-development-performance)
- [![](/assets/WF5wXySb5oYBsfMDPbU0hRuXY3M.LvpWanuL_ZHEg5Y.webp)

  ### AI Engineer vs Software Engineer: Key Differences

  Compare AI and software engineers by responsibilities, skills, quality standards, and risk, with guidance on how they work together and when to hire each.

  Pensero  
  Pensero Marketing

  Aug 10, 2026](/blog/ai-engineer-vs-software-engineer)
- [![](/assets/WF5wXySb5oYBsfMDPbU0hRuXY3M.LvpWanuL_ZHEg5Y.webp)

  ### 16 KPIs for Software Engineering Teams

  Explore 16 team-level KPIs covering delivery, quality, developer satisfaction, and AI efficiency, with guidance on reading metrics together.

  Pensero  
  Pensero Marketing

  Aug 10, 2026](/blog/kpis-software-engineers)

Next step

## Find your level of AI in engineering

See the 5 levels, from human-only to fully autonomous agents, and what moving up is worth.

[See the 5 levels →](/how-it-works#levels)

Next step

## Scope your audit in 30 minutes

We look at your tools, AI agents and vendors and tell you what we would measure first.

[Book a scoping session](https://calendar.google.com/calendar/appointments/schedules/AcZssZ2eVzpQZbcYew7J5OinbUaAbTqUx5FH0Hfb1BxXafGqs5p_U8YRp4L6-ipsSsqH3Amr6dBRkGS6)[Start free](/auth/signup/)

- [For consulting firms](/)
- [For enterprise](/enterprise)

© 2026

Product shots use illustrative data.

Platform

- [Next moves](/platform/next-moves)
- [Agentic ROI](/platform/agentic-roi)
- [AI Deployment](/platform/ai-intelligence)
- [Delivery Intelligence](/platform/delivery-intelligence)
- [Benchmarking](/platform/talent-benchmarking)
- [Code Quality](/platform/code-quality)
- [Agent Traffic Control](/platform/agent-traffic-control)New
- [CapEx & Finance](/platform/capex-analysis)
- [Pensero MCP](/platform/mcp)New
- [Integrations](/integrations)

Use cases

- [CEOs](/use-cases/roles-ceo)
- [CTOs](/use-cases/roles-cto)
- [CFOs](/use-cases/roles-cfo)
- [Product leaders](/use-cases/roles-product-leaders)
- [Engineering managers](/use-cases/roles-engineering-managers)
- [Procurement](/use-cases/roles-procurement)
- [Service providers](/use-cases/service-providers)
- [Investors](/use-cases/roles-investors)
- [Compare Pensero](/use-cases/competitors-dx)

Company

- [About](/about)
- [Customers](/customers)
- [How it works](/consulting/how-it-works)
- [How it works](/how-it-works)
- [Pricing](/enterprise#pricing)
- [Careers](/careers)
- [Blog](/blog)
- [LinkedIn](https://www.linkedin.com/company/penseroai/)
- [Support](/support)
- [Help Center](https://help.pensero.ai)
- [Other resources](/blog/other-resources)
- [Glossary](/glossary)

Offices

- [Barcelona](https://maps.app.goo.gl/6pfxKiKFNKzLPPnB6)
- [Madrid](https://maps.app.goo.gl/jEpYBUR4E6AqZs4R6)
- [New York](https://maps.app.goo.gl/szk58Jf2MBq14MgAA)
- San FranciscoSoon

Legal

- [Privacy policy](/privacy-policy)
- [Cookie policy](/cookie-policy)
- [Terms of service](/terms)
- [DPA](/dpa)
- [Security](https://pensero.trust.site)