Skip to main content
The AI coding tab shows how AI assistants contribute to merged pull requests in your repositories.
cubic detects AI contributions from commit metadata (git notes) attached to merged PRs. Install the cubic CLI to automatically set up git-ai attribution tracking. Without git-ai or a tool that emits its own notes, contributions may not appear. See AI attribution tracking for details.

What you see

  • Authorship over time: trend of Human, Mixed, and AI-authored lines.
  • Usage breakdown: percentage split across Human, Mixed, and AI.
  • Tools and models: which assistants and models generated code.
  • Team members: per-developer AI adoption and top tool.
  • Attribution card: percent of commits that include AI metadata.

Authorship categories

CategoryMeaning
HumanWritten without AI assistance.
MixedGenerated by AI, then edited by a developer.
AIGenerated by AI and accepted without edits.
This model helps teams distinguish AI-first output from AI-assisted editing.

Team members

The team members table includes:
ColumnMeaning
% AI codeShare of this developer’s lines authored with AI help (AI + Mixed).
Lines by AIAI-attributed lines for this developer.
Lines by humanHuman-authored lines for this developer.
Top toolMost-used AI coding tool in the selected period.
Filter by username to find specific team members. Click column headers to sort.

CSV export

You can export the current team members view as CSV for reporting or sharing. The export includes the rows currently shown in the table and respects your active sort order.

Tools and models

Use the tools and models tables to answer two questions quickly:
  • Which assistants or models are used most?
  • Are suggestions accepted as-is, or usually edited before merge?

AI attribution tracking

% of commits with AI attribution is the share of merged-PR commits that include AI git note metadata. Low attribution usually means one of three things: your tool/version does not emit git notes, code was copied manually from chat tools, or web-UI squash merges created new commits without authorship logs (a CI workflow can reconstruct them).
cubic starts collecting AI attribution data from the date you install it. Historical commits before installation are not retroactively analyzed.

Automatic setup with cubic CLI

The cubic CLI automatically installs git-ai during setup to maximize attribution coverage. git-ai attaches AI authorship notes to commits so contributions are captured even when AI tools don’t emit their own metadata. You can opt out at install time with CUBIC_DISABLE_GIT_AI=true, or toggle tracking afterwards with cubic stats enable / cubic stats disable. See the CLI docs for details.

Supported tools

cubic currently detects contributions from:
  • Cursor
  • GitHub Copilot
  • Claude Code
  • Windsurf
  • Aider
  • JetBrains AI
The list of detected tools expands over time. If your tool is missing, contact us.