# Constant freezing when agent tries to run commands

**URL:** <https://forum.cursor.com/t/constant-freezing-when-agent-tries-to-run-commands/149502>\
**Category:** Bug Reports\
**Tags:** terminal, crashes\
**Created:** [January 21, 2026, 5:14pm UTC](https://forum.cursor.com/t/constant-freezing-when-agent-tries-to-run-commands/149502 "2026-01-21T17:14:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [January 21, 2026, 5:21pm UTC](https://forum.cursor.com/t/constant-freezing-when-agent-tries-to-run-commands/149502/3 "2026-01-21T17:21:00Z")

</div>

Hey, thanks for the report. This looks like a known shell integration issue in 2.3.x - the agent can’t run commands properly in the terminal.

Try Legacy Terminal as a workaround:

- Settings \> Cursor Settings \> Agents \> Legacy Terminal - turn it on
- Restart Cursor
- Try running the command through the agent again

If that doesn’t work, I’ll need a bit more info:

- Request ID from the frozen chat (chat menu \> Copy Request ID)
- Console logs: `Cmd + Shift + P` \> Developer: Toggle Developer Tools \> Console tab (screenshot or error text)
- What shell you’re using (`echo $SHELL` in terminal)

Similar cases got fixed with this workaround - let me know how it goes: [Cursor commands hang indefinitely (no terminal attached) on Fish shell](https://forum.cursor.com/t/cursor-commands-hang-indefinitely-no-terminal-attached-on-fish-shell/149176)

---

_[View the full topic](https://forum.cursor.com/t/constant-freezing-when-agent-tries-to-run-commands/149502)._
