Cursor background agents completely unusable

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Getting “something went wrong” when using the new “grind” mode agents, I can’t access the agent, and what’s worse, I can’t create new agents from the web!

The message is:

Something went wrong
An error occurred while loading the agents page. Please try again.

Steps to Reproduce

This is what I did (in chrome):

  1. go to https://cursor.com/agents
  2. create a “grind” 10 hours limit agent (used GPT 5.4 high)
  3. do nothing and wait
  4. go back to https://cursor.com/agents and see “Something went wrong
    An error occurred while loading the agents page. Please try again.”
  5. click search, see the agent there, it’s running, click it, get the same “Something went wrong
    An error occurred while loading the agents page. Please try again.”

NOTE: it happens to me in Chrome, but seems to work in Safari…

Expected Behavior

  1. Not getting an error
  2. Being able to create cloud agents

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Cursor cloud agent (whatever version you have live…)

For AI issues: which model did you use?

GPT 5.4

For AI issues: add Request ID with privacy disabled

bc-c09bee54-43ed-4a96-82c1-1c7159cd0316

Does this stop you from using Cursor

Yes - Cursor is unusable

2 Likes

same here, w11 using brave

Bug replicated. Agent finished planning, but screen is blocked with ‘Something went wrong’. The console error with GPT 5.4 is this.

”[AgentsError] Error: cannot encode field aiserver.v1.ConversationMessage.ToolResult.tool_call to JSON: E(…).toJson is not a function”

The other agent using 5.3 Codex did not have this issue. Could be model related, or conversation related(?).

Hey, thanks for the report.

It looks like a serialization bug on the Agents page, specifically the ToolResult.tool_call toJson error that @Subsolum saw in the console. The fact that it happens with GPT 5.4 but not with 5.3 Codex is a helpful clue.

I’m passing this to the team. The request ID and the console error details should help them track it down.

In the meantime, here are a couple workarounds:

  • Try a different model. Based on @Subsolum’s tests, 5.3 Codex works.
  • Like you mentioned, Safari handles this error differently, so it might work as a temporary workaround.

I’ll post here if I hear any updates.

2 Likes

Encountered this today as well. I’m using Windows 11, Google Chrome and Composer 1.5 as my model. Even if I create new agents, I keep on encountering this error. Encountered it on two projects already.

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Unable to view a cloud agent web page, seeing a generic “Something went wrong” page. In the dev tools console, I see lots of the following errors:

My problem URL is https://cursor.com/agents/bc-03555606-c478-5a13-8a90-1b2e09cca077

98690-3a791d0eb92baf…K3mDyBoy6AqRdPmFt:1 Error: cannot encode field aiserver.v1.ConversationMessage.ToolResult.result to JSON: E(…).toJson is not a function
at Object.writeMessage (77120-739a1eea1a691e…oy6AqRdPmFt:1:26407)
at ConversationMessage_ToolResult.toJson (77120-739a1eea1a691e…Boy6AqRdPmFt:1:4306)
at ConversationMessage_ToolResult.toJSON (77120-739a1eea1a691e…Boy6AqRdPmFt:1:4457)
at JSON.stringify ()
at k (85773-5d3a32009eb335…oy6AqRdPmFt:1:74866)
at F (85773-5d3a32009eb335…oy6AqRdPmFt:1:78334)
at d (66446-9f76fac5a6d933…y6AqRdPmFt:1:118732)
at 66446-9f76fac5a6d933…oy6AqRdPmFt:1:43018
at o1 (24795f5d-69def8a2104…oy6AqRdPmFt:1:88958)
at uE (24795f5d-69def8a2104…y6AqRdPmFt:1:104850)

error-41ea2ca22c793b…K3mDyBoy6AqRdPmFt:1 [AgentsError] Error: cannot encode field aiserver.v1.ConversationMessage.ToolResult.result to JSON: E(…).toJson is not a function
at Object.writeMessage (77120-739a1eea1a691e…oy6AqRdPmFt:1:26407)
at ConversationMessage_ToolResult.toJson (77120-739a1eea1a691e…Boy6AqRdPmFt:1:4306)
at ConversationMessage_ToolResult.toJSON (77120-739a1eea1a691e…Boy6AqRdPmFt:1:4457)
at JSON.stringify ()
at k (85773-5d3a32009eb335…oy6AqRdPmFt:1:74866)
at F (85773-5d3a32009eb335…oy6AqRdPmFt:1:78334)
at d (66446-9f76fac5a6d933…y6AqRdPmFt:1:118732)
at 66446-9f76fac5a6d933…oy6AqRdPmFt:1:43018
at o1 (24795f5d-69def8a2104…oy6AqRdPmFt:1:88958)
at uE (24795f5d-69def8a2104…y6AqRdPmFt:1:104850)

Steps to Reproduce

Run any cloud agent. It’s happened on multiple agents for me and I can’t see any consistent theme

Expected Behavior

Cloud agent to run normally and I can see its progress

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Cloud Agents

For AI issues: add Request ID with privacy disabled

https://cursor.com/agents/bc-03555606-c478-5a13-8a90-1b2e09cca077

Does this stop you from using Cursor

Yes - Cursor is unusable

happening with composer 1.5 aswell and we, windows users exist hahaha we don’t have safari sadly

1 Like

Thanks for the quick reply, and glad to hear it’s in the works. Any ETA?

By the way, switching to safari worked initially, I asked it to handle some merge conflicts and now I can’t access it also on safari. I can’t switch models per se, and there is 10 hours of work on that agent session, I hope it committed and pushed everything… do I need to create a new agent on that branch?

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

After 30 minutes running on a task, the frontend shows: “Something went wrong
An error occurred while loading the agents page. Please try again.”

Reloading the page shows the same error. The Chrome console shows:
[AgentsError] Error: cannot encode field aiserver.v1.ConversationMessage.ToolResult.tool_call to JSON: E(…).toJson is not a function

Steps to Reproduce

For now this has only happened on a specific task we have. The task runs correctly for ~30 minutes and then this happens. We’ve tried with the same task two times and have had the same result.

Expected Behavior

The Agent keeps running as normal.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Web agents

For AI issues: which model did you use?

Codex 5.3 High

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Same position, waiting as id like agent to still work instead of having to start another

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.