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
Thanks for the report! I think this is a duplicate of #42718. Desktop hides the Plan/Build switch by default, and while it's hidden, new sessions always use the Build agent.
To get it back: open Settings → General, scroll down to the advanced options and turn on Show agent. The agent selector then appears in the composer, and the agent-switching command and shortcut work again.
Possible duplicates and related issues, ordered by likelihood:
The bot will close this issue as a duplicate in 1 day unless you reply to explain how your problem is different. For example, tell us if the selector still doesn't appear after you turn on Show agent, and include your OpenCode version and OS.
Thanks. I just upgraded to version 2.0.28 cli, but I found that I can no longer use the Tab key to switch modes. I wasn't sure if this was a bug, so I didn't submit a new issue.
Thanks for checking! On the 2.0.28 CLI this is a deliberate change: in v2, Tab completes autocomplete items in the prompt, and switching agents moved to Shift+Tab (agent.cycle). You can also press <leader>a (ctrl+x then a) to pick an agent from a list.
To use a different key, set it in ~/.config/opencode/cli.json, for example:
For the Desktop app, the Show agent setting from my previous comment still applies, so this issue still looks like a duplicate of #42718. If Shift+Tab doesn't switch agents in the CLI, or Desktop still has no switcher after you enable Show agent, please reply with what you see.
Closing this as a duplicate of #42718, since we haven't heard back. To recap:
Desktop: turn on Settings → General → Show agent to bring back the Plan/Build selector and the agent-switching command.
CLI 2.0.28: agent switching is now Shift+Tab (Tab completes autocomplete items), or press <leader>a to pick from a list. You can rebind it under keybinds in ~/.config/opencode/cli.json.
If either of these doesn't work for you, please comment here with your version, OS and what you see, and we can reopen. Thanks!
Activity
opencode-agent commentedon Oct 13, 2026
Thanks for the report! I think this is a duplicate of #42718. Desktop hides the Plan/Build switch by default, and while it's hidden, new sessions always use the Build agent.
To get it back: open Settings → General, scroll down to the advanced options and turn on Show agent. The agent selector then appears in the composer, and the agent-switching command and shortcut work again.
Possible duplicates and related issues, ordered by likelihood:
The bot will close this issue as a duplicate in 1 day unless you reply to explain how your problem is different. For example, tell us if the selector still doesn't appear after you turn on Show agent, and include your OpenCode version and OS.
yaaynn commentedon Oct 13, 2026
Thanks. I just upgraded to version 2.0.28 cli, but I found that I can no longer use the Tab key to switch modes. I wasn't sure if this was a bug, so I didn't submit a new issue.
opencode-agent commentedon Oct 13, 2026
Thanks for checking! On the 2.0.28 CLI this is a deliberate change: in v2, Tab completes autocomplete items in the prompt, and switching agents moved to Shift+Tab (
agent.cycle). You can also press<leader>a(ctrl+xthena) to pick an agent from a list.To use a different key, set it in
~/.config/opencode/cli.json, for example:{ "keybinds": { "agent.cycle": "shift+tab", "agent.cycle.reverse": "ctrl+shift+tab" } }Note that
ctrl+shift+tabis also the default forsession.tab.previous, so pick another key if you use that. Bindingagent.cycleto plaintabmay conflict withprompt.autocomplete.complete, which also usestab. The full list of IDs and defaults is at https://opencode.ai/v2/docs/cli/keybinds.For the Desktop app, the Show agent setting from my previous comment still applies, so this issue still looks like a duplicate of #42718. If Shift+Tab doesn't switch agents in the CLI, or Desktop still has no switcher after you enable Show agent, please reply with what you see.
opencode-agent commentedon Oct 14, 2026
Closing this as a duplicate of #42718, since we haven't heard back. To recap:
<leader>ato pick from a list. You can rebind it underkeybindsin~/.config/opencode/cli.json.If either of these doesn't work for you, please comment here with your version, OS and what you see, and we can reopen. Thanks!