Hi @zhuyoujun, thanks for the detailed report.
I checked the logs associated with your account, and the component that runs agents inside the Agents Window is hanging during startup. Every startup attempt is being routed through a local proxy at 127.0.0.1:7897 (port 7897 usually belongs to a proxy client such as Clash, Clash Verge, or Mihomo), and that proxy is resetting the connections. Each attempt stalls for roughly 30 seconds before failing which matches the timeout you’re seeing exactly. Open IDE works because that window spins up a fresh instance of the component, so it’s a workaround rather than a real fix.
Two things to try:
- Fully quit Cursor (end
Cursor.exein Task Manager), then launch it once with--no-proxy-server. If agents work in the Agents Window, the proxy is confirmed as the cause. - Either make sure your proxy client is running, listening on port 7897, and not resetting local connections (if you use TUN mode, try disabling it) or, if you don’t need the proxy, disable it and clear any reference to it from Cursor settings.
These two threads cover the same situation in more detail: