Subagent Switching - Buggy
Description
when using Ctrl-x right or left the switching is very slow and lagging. it is extremaly hard to get back to the main agent when a series of subagents are running
OpenCode version
1.0.110
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
This issue might be a duplicate of existing issues. Please check:
- #4180: ctrl-left/right doesn't navigate between subagents since 1.0 TUI - reports that left-right events are not being captured correctly for subagent navigation
- #4550: V1.0.80 - Opencode automatically switches windows to subagents - reports unwanted automatic switching and lag when switching between windows
- #4292: [feedback] make left / right navigation for subagents more clear - related to the complexity of subagent navigation
- #4422: Primary agent responds in subagent view - reports issues with subagent view switching and interaction
Feel free to ignore if none of these address your specific case.
+1 I'm currently using Ghostty with an M4 Pro. After about 3 or 4 sub-agent tasks, it becomes slow or buggy when I switch between them
+1 I'm currently using Ghostty with an M4 Pro. After about 3 or 4 sub-agent tasks, it becomes slow or buggy when I switch between them
Somewhat interesting - I too am on a M4 pro with Ghostty. I just tested spawning 6 sub agents to do web search and web fetching. The sub agents have between 50-90k tokens used and cycling through sub-agents while they were working and/or once they finished working is pretty much instantaneous
for me it is consitent behavior on Intel Mac and Ubunto Linux VM
This PR would improve your sub-agents navigation experience since you can click on the Sidebar and navigate to the correct sub-agent https://github.com/sst/opencode/pull/4865
This is killing me, and I don't know how to close subagents :(
Otherwise, OpenCode has been a substantial improvement on CC.
I came to this issue exactly for this, how can I close I subagent? I use a subagent as reviewer a lot and they pile up.. it would be nice to even have an option to autoclose when done, but I'm happy if I can just manually close just that subagent..