Agents Window using lots of CPU when performing Git operations

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Running any kind of Git processes in the Agents Window takes a very long time to process. Simple things like creating branches, commit, and then pushing code takes around 30 seconds. Similar operations in the Editor Window don’t take as long

Steps to Reproduce

In the Agents Window run any kind of git operation e.g create branch, commit, and push took 29.5 seconds

Operating System

MacOS

Version Information

Version: 3.8.11
VS Code Extension API: 1.105.1
Commit: e56ad3440df06d22ca7501e65fd518e905486ef0
Date: 2026-06-18T01:40:18.333Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @A_M,

Thanks for flagging this! You’re right that the Agents Window currently routes every Git action through an agent rather than executing a deterministic Git command. This is slower than the Editor Window, which handles Git operations directly.

That said, I’m a bit surprised to hear it’s consuming significant CPU. Could you share what you’re observing that points to high CPU usage?

The next time this happens, would you mind running Cmd + Shift + P > Open Process Explorer and posting a screenshot of the History (CPU) tab? That would help us pinpoint what’s going on.

Thanks!