Skip to content

Active primary agent is swapping during use without my asking it to #10878

Closed as not planned

Description

@rgasper

Description

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.

opencode-agent-swapping.mov

Operating System

Mac OS 14.8 Sonoma

Terminal

Kitty

Activity

  1. 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
  2. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 27, 2026
  3. github-actions commented on Jan 27, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  4. rgasper commented on Jan 27, 2026

    @rgasper
    Author

    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.

  5. pvyswiss commented on Feb 2, 2026

    @pvyswiss

    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.

  6. rgasper commented on Mar 20, 2026

    @rgasper
    Author

    In the last few weeks, this is happening rampantly in subagents too. #18404

  7. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  8. github-actions commented on Jul 6, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions