Hey, thanks for the report. This is a known issue: the agent can crash when the context is too large.
Similar reports: Persistent Connection Error
Try these workarounds:
- Start the agent in a new chat tab instead of continuing the old one (this resets the context)
- Disable any MCP servers you’re not using in Settings > MCP (they add context)
- If you’re using a custom model, switch to Claude Sonnet or GPT-5 (they’re more stable)
- Before starting the agent, make sure autosaving large files is turned off
Let me know if any of this helps.