---
title: "AI Code Insights"
canonical_url: "https://docs.getdx.com/ai-code-insights/overview/"
md_url: "https://docs.getdx.com/ai-code-insights/overview.md"
last_updated: "2026-05-22"
---

# 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.




## Capabilities

AI Code Insights lets you:

- See which commits and PRs contain AI-generated code, broken down by team, repository, agent, and time period.
- Collect session-level data from supported agents — transcripts, summaries, and token usage — to understand not just whether agents are being used, but how.
- Trace AI coding sessions to the commits, PRs, and deployments they produced.
- Use [Agent Experience](https://docs.getdx.com/reports/agent-experience-score/) to surface insights about where AI agents are hitting bottlenecks, evaluated from the agent’s perspective.

## How it works

1. [Install](https://docs.getdx.com/ai-code-insights/installation/) the AI Code Insights daemon
1. Work with a [supported agent](https://docs.getdx.com/ai-code-insights/overview/#supported-agents)
1. Commit and push your changes

AI Code Insights attributes AI code when you commit, and pulls in per-session details as sessions end. The daemon monitors repositories whose Git remote `origin` matches a repository you have syncing to DX.

## Supported agents



| Agent                      | Code attribution | Transcripts | Token usage | Session output |
| -------------------------- | ---------------- | ----------- | ----------- | -------------- |
| Claude Code                | Yes              | Yes         | Yes         | Yes            |
| Cursor                     | Yes              | Yes         | No          | Yes            |
| GitHub Copilot             | Yes              | Yes         | No          | Yes            |
| Codex                      | Yes\*            | Yes         | Yes         | No             |
| Gemini CLI                 | Yes              | Yes         | Yes         | Yes            |
| OpenCode                   | Yes              | Yes         | Yes         | Yes            |
| All other AI coding agents | Yes\*            | No          | No          | No             |

\* Code attribution via behavioral analysis (file system observation) rather than a native hook. Session output requires a native hook or plugin.

## Available reports

- [AI code percentage](https://docs.getdx.com/reports/ai-code-percentage/) — AI-generated code percentage across teams, repos, and agents
- [AI pull request overview](https://docs.getdx.com/reports/ai-code-overview/) — Pull request metrics broken down by percent of AI code per PR
- [Agent Experience](https://docs.getdx.com/reports/agent-experience-score/) — Per-session scoring of agent friction and effectiveness
- [AI Dollar Impact](https://docs.getdx.com/reports/ai-dollar-impact/) — Estimated dollar value of AI agent usage
- [Data Studio](https://docs.getdx.com/data-studio/) — Custom queries and dashboards over your AI Code Insights data

## Privacy

AI Code Insights is designed to measure code authorship, not monitor developers. No source code leaves the developer's machine, transcripts are scrubbed for secrets and PII before transmission, and admins control exactly what data is collected. See [Security and privacy](https://docs.getdx.com/ai-code-insights/security-and-privacy/) for the full breakdown of data flow, what is and isn't collected, and endpoint considerations.

## Get started

See [Installation](https://docs.getdx.com/ai-code-insights/installation/) to get started, [MDM installation](https://docs.getdx.com/ai-code-insights/mdm-installation/) for organization-wide deployment, or [Rollout](https://docs.getdx.com/ai-code-insights/rollout/) for pilot strategy.
---

## Sitemap

[Overview of all docs pages](/llms.txt)
