Subagent Switching - Buggy #3108

Open
opened 2026-02-16 17:38:40 -05:00 by yindo · 7 comments
Owner

Originally created by @Dapicom on GitHub (Nov 25, 2025).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @Dapicom on GitHub (Nov 25, 2025). Originally assigned to: @rekram1-node on GitHub. ### 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_
yindo added the opentuibug labels 2026-02-16 17:38:40 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 25, 2025):

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.

@github-actions[bot] commented on GitHub (Nov 25, 2025): 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.
Author
Owner

@anthonyespirat commented on GitHub (Nov 25, 2025):

+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

@anthonyespirat commented on GitHub (Nov 25, 2025): +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
Author
Owner

@atkr commented on GitHub (Nov 25, 2025):

+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

@atkr commented on GitHub (Nov 25, 2025): > +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
Author
Owner

@Dapicom commented on GitHub (Nov 25, 2025):

for me it is consitent behavior on Intel Mac and Ubunto Linux VM

@Dapicom commented on GitHub (Nov 25, 2025): for me it is consitent behavior on Intel Mac and Ubunto Linux VM
Author
Owner

@franlol commented on GitHub (Nov 29, 2025):

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

@franlol commented on GitHub (Nov 29, 2025): 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
Author
Owner

@hkay-dev commented on GitHub (Nov 29, 2025):

This is killing me, and I don't know how to close subagents :(

Otherwise, OpenCode has been a substantial improvement on CC.

@hkay-dev commented on GitHub (Nov 29, 2025): This is killing me, and I don't know how to close subagents :( Otherwise, OpenCode has been a substantial improvement on CC.
Author
Owner

@robertocarvajal commented on GitHub (Dec 9, 2025):

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..

@robertocarvajal commented on GitHub (Dec 9, 2025): 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..
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3108