When launching a background agent with a very small prompt, the agent remains in the “starting” state and never starts running. This started happening a few hours ago.
Steps to Reproduce
Create a background agent with a very small prompt.
Start the agent.
Observe that the agent remains in the “starting” state indefinitely and never starts running.
Expected Behavior
The background agent should start normally and process small prompts quickly instead of remaining in the starting state indefinitely.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Every single one of our Cloud Agents created via the Background Agents API are getting stuck in pending. We did not change anything on our end to cause them to start getting stuck. None of the cloud agents are complete. Every one becomes pending.
Worktrees and local agents run fine.
All of these agent runs were indeed created legitimately. It does not appear that agent runs are disappearing. They’re all going to pending.
It fails even when creating the Cloud Agent from Cursor app instead of the API endpoint
It always gets to the step of “Environment ready” → “Planning next moves” and then gets stuck. It will always title the agent before getting stuck.
Thank you @deanrie! Unfortunately, we would very much appreciate a prompt resolution of this issue, as our automated workflows that use the Cloud Agents cannot exactly be replicated with worktrees and local agents, and so this is holding back our team quite a bit.
That’s great @scupit . Yup it is working for me now.
Looked into this more today, I was able to identify the root cause, it wasn’t an issue from cursor. The issue was with the docker file I was using for the “Base Environment” in “Personal Configuration” in settings.
Although it would have been nice for the cloud agent to show the error somewhere instead of getting stuck.
@joeo maybe the personal configuration is an issue for you too?
Nice! I was using the default configuration, so they definitely fixed something on their end. What was failing before every time is now working, without any change from me.