You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Active primary agent is swapping during use without my asking it to #10878
I have multiple primary agents, and they're randomly swapping mid-conversation. This often happens with the very first interaction as well, meaning when I pick a primary agent, type a prompt, and hit enter, I almost always have to immediately interrupt and switch agents again.
Plugins
superpowers
OpenCode version
1.1.36
Steps to reproduce
have multiple primary agents
do anything?
Screenshot and/or share link
see movie. I opened up opencode, thentab-ed over to use planner agent. As soon as conversation is initiated, it switches agents.
This happens seemingly randomly mid-conversation as well.
changed the title [-]Active primary agent is constantly swapping during use[/-][+]Active primary agent is swapping during use without my asking it to[/+]on Jan 27, 2026
I think those issues are related, but I don't see mention of agent switching also happening mid conversation. it's possible my issue is happening due to the question tool, but I don't think so.
Same on latest desktop version macos 26.2 with Open Code Desktop Version 1.1.48 (1.1.48) Switching from Tab back to let's say one with Claude Sonet 4.5, changes during the session the agent, to agent / tab I was before.
Activity
[-]Active primary agent is constantly swapping during use[/-][+]Active primary agent is swapping during use without my asking it to[/+]github-actions commentedon Jan 27, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rgasper commentedon Jan 27, 2026
I think those issues are related, but I don't see mention of agent switching also happening mid conversation. it's possible my issue is happening due to the question tool, but I don't think so.
pvyswiss commentedon Feb 2, 2026
Same on latest desktop version macos 26.2 with Open Code Desktop Version 1.1.48 (1.1.48) Switching from Tab back to let's say one with Claude Sonet 4.5, changes during the session the agent, to agent / tab I was before.
rgasper commentedon Mar 20, 2026
In the last few weeks, this is happening rampantly in subagents too. #18404
github-actions commentedon Jul 6, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.