Cursor 2.4: Cursor Blame

New in Cursor! · Full changelog · Main announcement

We’re introducing Cursor Blame, extending traditional git blame with AI attribution, so you can see exactly what was AI-generated vs. human-written.

How it works

Cursor Blame distinguishes between code from Tab completions, agent runs (broken down by model), and human edits.

When reviewing or revisiting code, each line links to a summary of the conversation that led to it, providing context and reasoning for the change.

Cursor Blame also lets you track AI usage patterns across your team’s codebase.

We’d love your feedback!

  • How could AI attribution help your code review process?
  • What additional insights would be useful in the blame view?

If you’ve found a bug, please post it in Bug Reports instead, so we can track and address it properly, but also feel free to drop a link to it in this thread for visibility.

2 Likes

what is this? how does it work? where does it work? where is any documentation? how do i turn it on? how do i turn it off?

looking for anything beyond a fuzzy, fast, silent, short, un-narrated video. thx!

Sorry for not linking the docs! Here they are.

1 Like

read the docs and checked our admin to make sure enabled at enterprise team level, and still not seeing this working. looked at code (the entire file actually) that i know was generated with Cursor and it doesnt show any attribution or anything that I normally dont already see. Certainly nothing like the video shows. Maybe it takes a few hours to activate after enabling the feature? Or…does the feature only work once enabled at the team level form that point on?

My team turn it on globally. How can I turn it off individually?

Edit: set “cursorBlame.editorDecoration.enabled”: false in settings.json

1 Like

Have you toggled on

Line annotations

  1. Open the Command Palette (Cmd+Shift+P) and search for “Cursor Blame: Toggle editor decorations”

The data should be retroactive for the last few months!

Yes I already toggled that. That makes it show the different pop up like you show an example of here, but it still shows no AI attribution

If the data is available, that AI attribution should appear when you click “View Commit”.

How can I turn it off? I know that this is a feature that’s useful if you’re heavily generating AI code, but at this point I’m already pretty used to tracking everything, and with this feature not only it’s not working locally, I also can’t get normal git blame working:

Hey @Ying_Jianghong!

You can toggle editor decoration via the command palette.

Hi– I’m able to enable the editor decoration, and can then click on a given commit. The commit includes a summary of the models used at the top:

However, there is no conversation summary available, or a link to a thread with more conversation details. When I hover over the blue line on the left (Gemini’s authored code), Agent Conversation is empty.

What could be the cause of this? We’re very interested in this feature to improve our PR review process and get some info on the models and prompts that contributed to the PR, but it’s much less useful without prompt info.

Another note– For this PR I didn’t author any of this code, all changes were made by the Cursor Agent using gemini-2.5-flash. Why am I getting credit for 30% of this PR, any info on how this blame is attributed?

Edit: Created this bug