Enterprise
Grok Build Blame
Understanding how AI contributed to your codebase helps with review, compliance, and debugging. This page covers how Grok Build Blame surfaces AI versus human authorship in git history.
Overview
Grok Build Blame extends traditional git blame with AI attribution, so you can see what was AI-generated versus human-written. Available on the Enterprise plan, it helps you understand the origin of each line when you review or revisit code:
- Tab: Code generated or accepted from Grok Build's Tab suggestions
- Agent: Code generated by Agent, with model attribution
- Human: Code written directly by developers
Hover over AI-attributed lines to see conversation summaries. Click to open the full commit view with detailed AI attribution.
How it works
Grok Build Blame analyzes committed code to determine AI attribution. When you view a file or commit, it retrieves attribution data that identifies which lines came from AI assistance, which models were used, and the conversations that produced them.
AI attribution
See at a glance which lines came from AI assistance and which were written manually.
Model tracking
Agent-generated code shows which model produced it, helping you understand AI tool usage across your codebase.
Conversation context
View summaries of the conversations that produced AI-generated code, with links to the full commit details.
Contribution breakdown
See percentage attribution for each contributor (AI models and human) in the commit view.
Using Grok Build Blame
Enabling Grok Build Blame
Grok Build Blame is disabled at the team level by default. A team admin can enable it for all team members in the Team settings.
Line annotations
- Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and search for "Grok Build Blame: Toggle editor decorations"
In-editor ghost text displays:
- Author: The team member who committed the change
- Subject: The commit message
- Time: When the change was made (relative time)
Hover over the ghost text to see:
- Author with AI co-authorship indicator
- Conversation summary (for AI-attributed lines)
- Commit statistics (files, additions, deletions)
Open the commit view to see:
- Full AI contribution breakdown by source
- Percentage attribution for Composer, each Agent model, and human edits
- Related conversations with summaries
File blame view
- Open a file in the editor
- Right-click and select Grok Build Blame > Toggle file blame from the context menu, or use the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and search for "Grok Build Blame: Open File Blame"
- The file blame view shows attribution alongside each line
Privacy considerations
Grok Build Blame caches attribution data locally for performance. When you view files and commits, data is fetched from Grok Build's servers. Conversation summaries are retrieved on-demand and show brief descriptions rather than full conversation history.
Requirements
- Enterprise plan
- Git repository with Grok Build-tracked changes
Last updated: November 25, 2026