The agent finishes when the first change over a file is done. The thought process continues saying to change another file but then it returns and finishes the agent workflow of changes over the code source.
Steps to Reproduce
Run any agent. It happened to me with Grok Code, but also with others like Claude Opus 4.5 or Gemini 3 Pro
Expected Behavior
To finish when the agent finishes the work.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
This behavior where the Agent stops after the first file change despite planning to modify more files isn’t expected. Since you’re seeing this across multiple models (Grok Code, Claude Opus 4.5, Gemini 3 Pro), it suggests a potential issue with the Agent execution flow rather than a model-specific problem.
To help investigate, could you please share:
Screenshots showing the Agent’s thought process where it mentions changing additional files, followed by it stopping/finishing early
Any console errors: Help > Toggle Developer Tools > Console tab
Does this happen on every Agent request or only certain types of tasks?
Does this occur in other projects and new chats?
In the meantime, you could try:
Breaking down larger tasks into smaller, single-file modifications to see if that helps
Running network diagnostics: Cursor Settings > Network > Run Diagnostics