Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Hi everyone,
I am writing to report a critical and persistent issue I am experiencing with the Cursor editor. My extension host continually crashes, and the AI agent times out, which is completely blocking my development workflow.
The Core Error
Here is the specific error trace I am receiving consistently:
Request ID: 5e58a5d5-9f56-4d44-a3bc-8156338cb936
{“error”:“ERROR_EXTENSION_HOST_TIMEOUT”,“details”:{“title”:“Agent Execution Timed Out”,“detail”:“The agent execution provider did not respond in time. This may indicate the extension host is not running or is unresponsive.”}}
ConnectError: [deadline_exceeded]
Additional Symptoms
Before the crash occurs, the AI agent frequently gets stuck in an infinite loop. It spends 2 to 3 hours executing unnecessary commands (such as running echo, monitoring background tasks, and exploring searches) without making actual progress. Eventually, it throws the timeout error and crashes the extension host, triggering the “Extension host terminated unexpectedly 3 times within the last 5 minutes” warning.
Troubleshooting Steps Already Taken
To rule out local environment issues, I have strictly followed these steps, but the issue remains:
Uninstalled Cursor completely.
Deleted all residual local data (C:\Users<user>\AppData\Roaming\Cursor and C:\Users<user>.cursor).
Restarted my PC and performed a clean, fresh installation.
Tested the setup on entirely different computers.
Tested the editor using different Cursor accounts.
Tried launching via the cursor --classic command.
Ran Extension Bisect, but the issue still persists even with extensions disabled.
Advanced Diagnostics
I also tried manually fixing potential missing directory issues in the cursor-socket extension by symlinking out to dist, but it did not resolve the problem:
PowerShell
cd “$env:LOCALAPPDATA\Programs\cursor\resources\app\extensions\cursor-socket”
New-Item -ItemType SymbolicLink -Path “out” -Target “dist”
Finally, I ran the internal Network Diagnostics, and everything passed perfectly. My machine is successfully resolving and connecting to all Cursor APIs (api2.cursor.sh, prod.authentication.cursor.sh, agent.api5.cursor.sh, etc.) with low latency (under 300ms for pings).
Because this issue persists across completely different machines and different user accounts, it appears to be a backend issue or a severe bug with the agent execution provider rather than a local configuration problem.
I need a solution immediately, as I rely on Cursor for my daily development and this is preventing me from getting any work done. I have already reached out to support but wanted to post here to see if anyone else is experiencing this or knows a workaround.
Steps to Reproduce
Open any project or workspace in the Cursor editor.
Open the Composer / AI Agent interface.
Submit a prompt that requires the agent to analyze the codebase or generate a plan (e.g., “Can you plan to add a TODO feature to this V2 design. Also need API and backend for it.”).
Observe the agent’s execution log. It will enter an infinite loop, continuously running basic commands (like echo), monitoring background tasks, and exploring searches without making actual progress on the prompt.
Wait. After continuously hanging, the internal anysphere.cursor-retrieval process fails, and the UI displays the error: “Extension host terminated unexpectedly 3 times within the last 5 minutes.”
The chat window ultimately outputs the [deadline_exceeded] Agent Execution Timed Out error.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Version: 3.1.17 (user setup)
VSCode Version: 1.105.1
Commit: fce1e9ab7844f9ea35793da01e634aa7e50bce90
Date: 2026-04-19T19:33:58.189Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045
For AI issues: which model did you use?
tried every modals. mainly : Opus 4.7, Composer 2
For AI issues: add Request ID with privacy disabled
Request ID: d8375c10-8b66-418d-90ae-55bae64cd305
{“error”:“ERROR_EXTENSION_HOST_TIMEOUT”,“details”:{“title”:“Agent Execution Timed Out”,“detail”:“The agent execution provider did not respond in time. This may indicate the extension host is not running or is unresponsive.”,“isRetryable”:false,“shouldShowImmediateError”:true,“additionalInfo”:{},“buttons”:[{“label”:“Reload Window”,“reloadWindow”:{}}],“planChoices”:}}
The agent execution provider did not respond in time. This may indicate the extension host is not running or is unresponsive.
Agent Execution Timed Out [deadline_exceeded]
ConnectError: [deadline_exceeded] Agent Execution Timed Out
at rub (vscode-file://vscode-app/c:/Users/Induwara%20Uthsara/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:38300:25776)
at pgd.waitForProviderRegistration (vscode-file://vscode-app/c:/Users/Induwara%20Uthsara/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:38300:28797)
at async W1d._waitForPushRequestContextProviderRegistration (vscode-file://vscode-app/c:/Users/Induwara%20Uthsara/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:41305:4043)
at async W1d.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/Induwara%20Uthsara/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:41305:7541)
at async W1d.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/Induwara%20Uthsara/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:41305:18486)
at async N3e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/Induwara%20Uthsara/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29033:16809)
at async Object.Va [as onSubmit] (vscode-file://vscode-app/c:/Users/Induwara%20Uthsara/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:40288:4233)
at async vscode-file://vscode-app/c:/Users/Induwara%20Uthsara/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:40287:100561
Does this stop you from using Cursor
Yes - Cursor is unusable


