Welcome to LineTrail
LineTrail is self-hosted AI engineering analytics for organizations. It records which added lines in your commits and pull requests came from AI coding tools, with the tool and model, and turns that evidence into analytics by organization, repository, pull request, team, contributor, tool and model.
It helps you answer one question with evidence: is our AI tooling investment paying off, and where? It does not answer it for you with a score.
Who it’s for
Section titled “Who it’s for”- Engineering leaders (VP or Director of Engineering, CTO) who need to see where AI-written code lands across the organization.
- Platform and developer-experience teams who roll out AI coding tools and run the capture and sync.
- Security and compliance reviewers who need to know exactly what is collected, where it lives and who can see it. Start with Security & privacy.
What it measures
Section titled “What it measures”Attribution is captured on developer machines at the moment code is written, stored beside each commit, and synced to your own LineTrail server.
| Measure | What it is |
|---|---|
| Eligible added lines | Added lines after exclusions: AI + observed human + unknown |
| AI share | AI lines ÷ eligible added lines |
| Attribution coverage | Lines with a known origin ÷ eligible added lines |
| AI share of known-origin lines | AI lines ÷ lines with a known origin, a different denominator, always labelled |
Every percentage shows its denominator; a zero denominator shows N/A, never 0. Pull-request attribution is computed on the pull request’s final net diff (merge base to head), not by adding up its commits.
Beyond attribution, the dashboard covers usage and cost estimates, pull-request cycle times, code churn and survival, and AI cohort comparisons.
What it does not do
Section titled “What it does not do”- Unknown stays unknown. A line without evidence is unknown. It is never counted as human, and it is never estimated away. See Evidence.
- It doesn’t store your code. Only metadata and line ranges reach the server: no source code, prompts or transcripts.
- It can’t recover the past. Attribution exists only for code written on machines where capture was active. Installing LineTrail later, or only in CI, cannot reconstruct earlier history; those lines show honestly as unknown.
- Captured isn’t presented as proof. Captured lines are counted as the capture tool reported them, and labelled that way. Verified is a separate, opt-in check.
Status
Section titled “Status”LineTrail is in early access. It runs self-hosted on macOS and Linux today (WSL runs the Linux build); native Windows is coming soon. To get access, request early access.