00 AI engineering analyticsEarly access · Self-hosted

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.

By default, your code, prompts and transcripts stay in your network.

See the product

SYSTEM_01 · AcmeLast 30 days · merged PRsIllustrative

Capture → Record → Sync → Measure

01 CAPTURECLI + adapterlocal capture02 RECORDGit notesper commit03 SYNCServerself-hosted04 MEASUREDashboardorg-widesquash merge · keptrebase · keptCLI + adapterlocal capture01 CAPTUREGit notesper commit02 RECORDServerself-hosted03 SYNCDashboardorg-wide04 MEASUREsquash merge · kept · rebase · kept

AI-attributed merged lines by team

//_AI-attributed merged lines by team (Illustrative)
TeamMerged lines, by evidenceVerifiedCaptured
PaymentsVerified 34%, Captured 12%, Unknown, not estimated 6%34%12%
CheckoutVerified 22%, Captured 9%, Unknown, not estimated 10%22%9%
PlatformVerified 41%, Captured 7%, Unknown, not estimated 3%41%7%
DataUnknown, not estimatedunknown—
  • Verified
  • Captured
  • Unknown, not estimated
  1. PR #1842Squash-merged into acme/payments-api, attribution keptVerified
  2. PR #1839OpenCode · captured as the tool reported itCaptured
  3. 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.

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

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

  3. 03 / 04

    Sync

    Your self-hosted LineTrail server ingests the notes, with server-side pull request sync.

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

payments/retry.tsIllustrative

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.

SYSTEM_02 · Acme analyticsSigned in as viewerIllustrative

Repositories

RepositoryMerged PRsMerged lines, by evidenceVerified
acme/payments-api214Verified 38%, Captured 10%, Unknown, not estimated 4%38%
acme/checkout-web167Verified 20%, Captured 11%, Unknown, not estimated 9%20%
acme/platform-infra122Verified 44%, Captured 6%, Unknown, not estimated 2%44%
acme/data-pipelines58Verified 0%, Captured 0%, Unknown, not estimated 100%unknown

Pull requests

Pull requestTool · modelAI share
#1842 Idempotency keys for retriesacme/payments-apiClaude Code · Sonnet62% (Verified)
#1839 Split ledger writeracme/payments-apiOpenCode · GPT-518% (Captured)
#977 Cart totals roundingacme/checkout-webCursor · Sonnet41% (Verified)
#412 Backfill job for eventsacme/data-pipelinesunknownunknown

Teams and contributors

TeamContributor
Payments 14 contributorsHidden for viewers
Checkout 11 contributorsHidden for viewers
Platform 9 contributorsHidden for viewers

Tools and models

Tool · modelMerged lines, by evidenceAI lines
Claude Code · SonnetVerified 30%, Captured 9%18,240
Cursor · SonnetVerified 12%, Captured 4%7,115
GitHub Copilot · GPT-5Verified 10%, Captured 5%6,410
OpenCode · GPT-5Verified 8%, Captured 6%5,980
  • Verified
  • Captured
  • Unknown, not estimated
Illustrative example with demo data for a fictional company, Acme.

//_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.

Usage and cost by tool and teamIllustrative
Tool · modelTeamSessionsEst. costAI lines merged
Claude Code · SonnetPayments1,204$2,3109,860
GitHub Copilot · GPT-5Platform386$1,8706,420
OpenCode · GPT-5Checkout742$6403,105
Claude Code · SonnetMobile511$980unknown
  • 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.

17 available · 2 in beta · 2 coming soon
  • 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
Optional featuresExplicit opt-in, with access controls and retention. AI Insights and AI Chat stay off until an admin turns them on, and run on your own model endpoint.

Principle, not a testimonial

“When evidence is missing, the number says unknown. Never a guess.”

07 Evidence

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.

08 Questions

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.

Early access · Self-hostedGet early access