AI Code Insights
AI coding agents are writing code across your organization every day. AI Code Insights shows you what they produce, how they work, and where they get stuck — so you can measure AI’s real contribution and unblock agents that aren’t delivering.
AI Code Insights lets you:
- See which commits and pull requests contain AI-generated code.
- Understand how AI-heavy pull requests move through review and delivery.
- Connect coding-agent adoption with velocity and quality signals.
- Use session-level data to identify where agents need better context, steering, or task scope.
- Trace coding sessions to the commits, pull requests, and deployments they produced.
How it works
- Install the AI Code Insights daemon.
- Work with a supported agent.
- Commit and push your changes.
Supported agents report file edits and session activity to the local daemon through native hooks or plugins. The daemon attributes code when you commit, and DX connects those metrics with source control, team, and delivery data after you push.
Supported coding agents
AI Code Insights attributes AI code and sessions through direct agent hooks for: Codex, Claude Code, Cursor, Devin CLI, Devin Desktop (Windsurf), GitHub Copilot, Gemini CLI, OpenCode, and Rovo Dev.
See Supported capabilities for the data available from each agent. Agents without a native integration are not attributed — code they produce is counted as human-authored.
Supported capabilities
Available reports
- AI code percentage — See how much committed code is attributed to supported coding agents.
- AI pull request overview — Compare delivery and review signals across pull requests with different levels of AI-attributed code.
- AI effectiveness — Connect adoption, delivery, quality proxies, and coding-session patterns.
- Agent Experience — Find friction in requirements, steering, and task scope from the agent’s perspective.
- AI Dollar Impact — Estimate the value of AI agent usage.
- AI Cost Management — Track AI token usage and budgets across your organization.
Privacy
AI Code Insights is designed to measure code authorship, not monitor developers.
- Source snapshots and raw Git diffs stay on the developer’s machine.
- Transcript retention and analysis are optional and off by default.
- The daemon scrubs common secret and personal-data patterns before sending eligible session messages to DX.
- Admins control transcript access and whether sensitive transcript data can be queried in Data Studio.
See Security and privacy for the complete data flow, controls, and considerations.
Get started
- Plan a pilot.
- Install on one machine or prepare an enterprise deployment.
- Verify deployment.