You pay for AI coding tools. See what they actually wrote.
LineTrail records which lines came from AI coding tools, with tool and model, and shows it by repo, PR and team. No evidence? It says unknown instead of guessing.
Capture → Record → Sync → Measure
AI-attributed merged lines by team
| Team | Merged lines, by evidence | Verified | Captured |
|---|---|---|---|
| Payments | Verified 34%, Captured 12%, Unknown, not estimated 6% | 34% | 12% |
| Checkout | Verified 22%, Captured 9%, Unknown, not estimated 10% | 22% | 9% |
| Platform | Verified 41%, Captured 7%, Unknown, not estimated 3% | 41% | 7% |
| Data | Unknown, not estimated | unknown | — |
- Verified
- Captured
- Unknown, not estimated
- PR #1842Squash-merged into acme/payments-api, attribution keptVerified
- PR #1839OpenCode · captured as the tool reported itCaptured
- acme/data-pipelinesNo capture evidence for this repositoryUnknown
01 The problem
Your AI bill keeps growing.Nobody can say what it built.
AI coding tools now sit on a budget line, with seats, usage and cost you can count. What they contribute to your codebase and delivery is much harder to see: by team, by repository, by pull request. Surveys and guesses don’t hold up when someone asks where the investment pays off.
On the invoice
- Seats
- Usage
- Cost
Missing from the report
- Which teams AI-written code lands in
- Which repositories and pull requests
- Which tools and models produced it
- Whether a figure is captured, inferred or unknown
Fact sheet
- AI tools
- 6
- AI coding tools captured locally, from Claude Code to GitHub Copilot.
- Source control
- 4
- Source control platforms, GitHub to Bitbucket, through read-only connectors.
- Integrations
- 17
- Available today across AI tools, agents, editors, source control and CI templates.
- Evidence
- 4
- Evidence classes on every figure: captured, derived, inferred or unknown.
02 How it works
From commit to dashboard,one continuous trail.
Attribution is recorded as Git notes beside the commits it describes, survives squash and rebase merges, and is turned into analytics on your own infrastructure.
- 01 / 04
Capture
A CLI and capture adapter record which lines came from an AI coding tool, with tool and model: Claude Code, OpenCode, Codex, Cursor, GitHub Copilot and Antigravity.
- 02 / 04
Record
Attribution is stored as Git notes beside each commit and survives squash and rebase merges. Ready-made CI templates keep it in your pipeline.
- 03 / 04
Sync
Your self-hosted LineTrail server ingests the notes, with server-side pull request sync.
- 04 / 04
Measure
The web dashboard shows the organization, repositories, pull requests, teams and contributors, tools and models, usage and cost.
In VS Code and JetBrains, line by line.
The VS Code extension shows attribution in the gutter and on hover, with branch changes and history. JetBrains IDEs are supported too.
03 Analytics
One view of AI contribution,across the org.
See where AI coding tools contribute, broken down the way your organization works: organizational units, repositories, pull requests, teams and contributors, tools and models.
Repositories
| Repository | Merged PRs | Merged lines, by evidence | Verified |
|---|---|---|---|
| acme/payments-api | 214 | Verified 38%, Captured 10%, Unknown, not estimated 4% | 38% |
| acme/checkout-web | 167 | Verified 20%, Captured 11%, Unknown, not estimated 9% | 20% |
| acme/platform-infra | 122 | Verified 44%, Captured 6%, Unknown, not estimated 2% | 44% |
| acme/data-pipelines | 58 | Verified 0%, Captured 0%, Unknown, not estimated 100% | unknown |
Pull requests
| Pull request | Tool · model | AI share |
|---|---|---|
| #1842 Idempotency keys for retriesacme/payments-api | Claude Code · Sonnet | 62% (Verified) |
| #1839 Split ledger writeracme/payments-api | OpenCode · GPT-5 | 18% (Captured) |
| #977 Cart totals roundingacme/checkout-web | Cursor · Sonnet | 41% (Verified) |
| #412 Backfill job for eventsacme/data-pipelines | unknown | unknown |
Teams and contributors
| Team | Contributor |
|---|---|
| Payments 14 contributors | Hidden for viewers |
| Checkout 11 contributors | Hidden for viewers |
| Platform 9 contributors | Hidden for viewers |
Tools and models
| Tool · model | Merged lines, by evidence | AI lines |
|---|---|---|
| Claude Code · Sonnet | Verified 30%, Captured 9% | 18,240 |
| Cursor · Sonnet | Verified 12%, Captured 4% | 7,115 |
| GitHub Copilot · GPT-5 | Verified 10%, Captured 5% | 6,410 |
| OpenCode · GPT-5 | Verified 8%, Captured 6% | 5,980 |
- Verified
- Captured
- Unknown, not estimated
//_Also in the dashboard
- Organizational unitsFor example a directorate with its teams, with an org-wide unit filter.
- Adoption and usage funnels
- PR cycle analyticsTime to first review, and review to merge.
- Code churn and survival
- AI cohort comparisons
- Privacy-awareSmall groups are hidden from viewers. No per-person leaderboards.
04 Usage and cost
Usage and cost,next to contribution.
Put estimated spend beside what AI coding tools contributed: by pull request, repository, team and model, with burn, forecast and budgets. The budget conversation starts from evidence.
Cost figures are estimates, not invoices. Usage comes from tool logs and vendor exports.
| Tool · model | Team | Sessions | Est. cost | AI lines merged |
|---|---|---|---|---|
| Claude Code · Sonnet | Payments | 1,204 | $2,310 | 9,860 |
| GitHub Copilot · GPT-5 | Platform | 386 | $1,870 | 6,420 |
| OpenCode · GPT-5 | Checkout | 742 | $640 | 3,105 |
| Claude Code · Sonnet | Mobile | 511 | $980 | unknown |
- Verified
- Unknown, not estimated
05 Integrations
What LineTrailconnects to.
What’s available today, what’s in beta, and what’s coming soon. Source control connectors are read-only.
AI coding tools
- Claude CodeAvailable
- OpenCodeAvailable
- CodexAvailable
- CursorAvailable
- GitHub CopilotAvailable
- AntigravityAvailable
- Cloud and remote agentsAvailableFrom commit trailers or bot authors, shown as inferred
Editors
- VS CodeAvailable
- JetBrains IDEsAvailable
Source control · read-only connectors
- GitHub / GitHub EnterpriseAvailable
- GitLabAvailable
- Bitbucket CloudAvailable
- Bitbucket Server / Data CenterAvailable
CI templates
- GitHub ActionsAvailable
- GitLab CIAvailable
- Bitbucket PipelinesAvailable
- Jenkins and BambooAvailableSnippets
Over your data · early access, off by default
- AI InsightsBeta
- AI ChatBeta
Delivery and quality outcomes
- JenkinsComing soon
- SonarQubeComing soon
06 Security and control
Enterprise controls.Private by default.
SSO, roles and scoped tokens for your organization, read-only connectors for the source control you run, and self-hosted deployment today.
Controls
- Deployment
- Self-hosted today. Managed cloud coming soon.
- Platforms
- The CLI runs on macOS and Linux; WSL runs the Linux build. Windows coming soon.
- Source control
- GitHub / GitHub Enterprise, GitLab, Bitbucket Cloud and Bitbucket Server / Data Center, through read-only connectors, with server-side pull request sync.
- CI
- Ready-made templates for GitHub Actions, GitLab CI and Bitbucket Pipelines, plus Jenkins and Bamboo snippets.
- Single sign-on
- SSO via OIDC.
- Roles
- Admin, member and viewer roles.
- Contributor privacy
- Contributor identity and small groups are hidden from viewers. No per-person leaderboards.
- API access
- Scoped API tokens.
- Automation
- Clean human CLI output; scripted and JSON output stays stable.
- Tenancy
- Organizations.
Data
LineTrail is metadata-first. Raw source code, prompts and transcripts are not sent to a central service by default.
Recorded and synced
- Attribution metadata as Git notes: which lines, which tool, which model
- Ingested by your self-hosted LineTrail server
Not sent to a central service by default
- Raw source code
- Prompts
- Transcripts
Principle, not a testimonial
“When evidence is missing, the number says unknown. Never a guess.”
Numbers you can defend.
Every figure is labelled by its evidence: captured, derived, inferred or unknown, with verified as a separate check. When evidence is missing, it shows “unknown” instead of guessing. When someone asks where a number came from, you have an answer.
Captured
Recorded by the capture hooks as the code was written. Counted as the tool reported it, and labelled that way.
Verified
Captured lines whose final writer is confirmed against a record of the edits. A separate check.
Unknown
No evidence, no estimate. The figure reads “unknown” rather than a guess.
Questions, answered plainly.
Does our code leave our network?
LineTrail is self-hosted and metadata-first. Raw source code, prompts and transcripts are not sent to a central service by default. Optional features are explicit opt-in, with access controls and retention.
Which tools and source control systems are supported?
AI coding tools: Claude Code, OpenCode, Codex, Cursor, GitHub Copilot and Antigravity, captured locally. Editors: VS Code and JetBrains IDEs. Source control, through read-only connectors: GitHub / GitHub Enterprise, GitLab, Bitbucket Cloud and Bitbucket Server / Data Center. CI: templates for GitHub Actions, GitLab CI and Bitbucket Pipelines, plus Jenkins and Bamboo snippets. Coming soon: Jenkins and SonarQube delivery and quality outcomes.
What about cloud and remote agents?
Commits from cloud and remote agents, such as Claude Code remote, Codex cloud and Copilot coding agent, are recognised from commit trailers or bot authors. They’re shown separately as inferred and never mixed with measured attribution.
What happens with squash and rebase merges?
Attribution is recorded as Git notes and survives squash and rebase merges. Ready-made CI templates keep it intact in your pipeline.
How accurate is it?
LineTrail doesn’t promise perfect attribution. Captured lines are counted as the capture hooks reported them and labelled that way; verified is a separate check. When evidence is missing it shows “unknown” instead of guessing, and inferred cloud-agent lines are always shown separately.
Does LineTrail calculate ROI or productivity?
No. It gives you evidence for the question “is our AI tooling investment paying off, and where?”: where AI-written code lands, with estimated usage and cost beside it. It doesn’t compute ROI or productivity scores, and it shows no savings figures.
What are AI Insights and AI Chat?
Early-access features that answer questions over your LineTrail data. They’re off by default until an admin turns them on, and use your own model through an OpenAI-compatible endpoint, hosted or on-prem. Every statement must cite a metric record or it’s removed, answers only use data the asking user may see, and source code, prompts and commit messages are never sent.
What isn’t available yet?
Native Windows (macOS and Linux are supported today, and WSL runs the Linux build), Jenkins and SonarQube delivery and quality outcomes, DORA metrics, and a managed cloud option.
Get early access.
LineTrail is in early access. Tell us about your team.
Early access · No public release yet
By default, your code, prompts and transcripts stay in your network.



