# Agent runs command and does nothing after command completes

**URL:** <https://forum.cursor.com/t/agent-runs-command-and-does-nothing-after-command-completes/74848>\
**Category:** Bug Reports\
**Created:** [April 3, 2025, 7:14pm UTC](https://forum.cursor.com/t/agent-runs-command-and-does-nothing-after-command-completes/74848 "2025-04-03T19:14:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![philkuz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/philkuz/32/44044_2.png) [@philkuz](https://forum.cursor.com/u/philkuz)\
**Post date:** [April 3, 2025, 7:14pm UTC](https://forum.cursor.com/t/agent-runs-command-and-does-nothing-after-command-completes/74848/1 "2025-04-03T19:14:14Z")

</div>

Cursor version:  
Version: 0.48.7  
VSCode Version: 1.96.2  
Commit: 1d623c4cc1d3bb6e0fe4f1d5434b47b958b05870  
Date: 2025-04-02T04:52:01.515Z  
Electron: 34.3.4  
Chromium: 132.0.6834.210  
Node.js: 20.18.3  
V8: 13.2.152.41-electron.0  
OS: Darwin arm64 24.1.0

Bug: On some agent runs, I’ve noticed that the agent will run a command and then just do nothing after the command is over. I haven’t noticed a precise pattern, but the most recent example is here:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/d/1/d17094c8421bc0e4abc7d8641657053a3e359dc5.png)  
Maybe the code around the agent doesn’t handle non-zero status codes well? Maybe this is a bug with the remote extension?

This has been a problem for possibly the entire time that I’ve used agent.

I’ll continue to update this topic as I run into it more often, but would love this to be addressed.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [May 3, 2025, 7:14pm UTC](https://forum.cursor.com/t/agent-runs-command-and-does-nothing-after-command-completes/74848/2 "2025-05-03T19:14:23Z")

</div>

Closed on May 3, 2025, 7:14pm UTC

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