# CURSOR UNUSABLE - " Agent execution provider did not respond in time. The extension host is not running or is unresponsive. "

**URL:** <https://forum.cursor.com/t/cursor-unusable-agent-execution-provider-did-not-respond-in-time-the-extension-host-is-not-running-or-is-unresponsive/158717>\
**Category:** Bug Reports\
**Tags:** installation, linux\
**Created:** [April 22, 2026, 2:32pm UTC](https://forum.cursor.com/t/cursor-unusable-agent-execution-provider-did-not-respond-in-time-the-extension-host-is-not-running-or-is-unresponsive/158717 "2026-04-22T14:32:35Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 23, 2026, 11:16am UTC](https://forum.cursor.com/t/cursor-unusable-agent-execution-provider-did-not-respond-in-time-the-extension-host-is-not-running-or-is-unresponsive/158717/11 "2026-04-23T11:16:13Z")

</div>

Hey, thanks for the logs. I found a specific root cause. In `exthost.log` there’s this line:

```plaintext
Extension verification failed for anysphere.cursor-agent-exec: Hash mismatch for files: dist/main.js
Activating extension anysphere.cursor-agent-exec failed

```

`cursor-agent-exec` is the extension that registers the agent execution provider. In your install bundle, the `dist/main.js` file is corrupted or was modified, so the hash check fails, the extension can’t activate, and then the client waits for the provider registration until it times out. That’s why you see `waitForProviderRegistration` in the stack of the last error. This also explains why neither Legacy Terminal nor clearing `~/.config/Cursor` helped. The issue is not in user data, it’s in the install files.

Most likely this is leftover from a mixed install AppImage plus reinstall. You need a fully clean reinstall of the system Cursor:

1. Close Cursor and kill all processes:

```bash
pkill -9 -f cursor
ps aux | grep -i cursor

```

1. Remove the current install. The command depends on how you installed it:

- If via `.deb`: `sudo apt remove --purge cursor` or whatever the package name is, check `dpkg -l | grep -i cursor`
- If the AppImage was unpacked into `/usr/share/cursor/`: `sudo rm -rf /usr/share/cursor`
- Also check and delete any leftover AppImage in `~/Applications/`

1. Download a fresh installer from [Cursor · Download](https://cursor.com/downloads) and reinstall. Use the `.deb`, it’s more stable than AppImage on Ubuntu 24.04:

```bash
sudo dpkg -i ~/Downloads/cursor_*.deb

```

1. Launch Cursor and try the agent again.

You don’t need to touch user data in `~/.config/Cursor`, your settings and account will stay. If the error still happens after a clean reinstall, send the new `exthost.log` and the Request ID and we’ll dig further.

Also about the sandbox errors in the log like `Failed to unshare namespaces: EPERM`. On Ubuntu 24.04+ this is AppArmor blocking unprivileged user namespaces. It’s not a blocker for the agent, shell exec works without the sandbox. It does not affect the timeout.

---

_[View the full topic](https://forum.cursor.com/t/cursor-unusable-agent-execution-provider-did-not-respond-in-time-the-extension-host-is-not-running-or-is-unresponsive/158717)._
