AI-Generated Code Percentage tracks the share of production code that was originally authored or substantially generated by AI coding tools. It provides visibility into how much of the engineering output is AI-assisted and helps teams understand their evolving relationship with AI tooling. This metric must be interpreted alongside quality indicators to ensure that increased AI contribution does not come at the cost of maintainability or correctness.
Percentage of production code authored by AI. Brex benchmark: 45%. >60% indicates a critical need for automated QA guardrails.
AI-generated code percentage matters more at scale where quality control is harder. Brex: 45% of changes from Cursor. Risk compounds with codebase size.