feat: Disable default agents #2062

Closed
opened 2026-02-16 17:34:00 -05:00 by yindo · 4 comments
Owner

Originally created by @taqtiqa-mark on GitHub (Oct 12, 2025).

Originally assigned to: @thdxr on GitHub.

Given I am an IDE user.
When I want to use a primary agent, `agent/ide.md`, specialized to my use case.
Then I want to eliminate TUI static by disabling default agents by setting `default_agents: false`.
And then when OC loads the active agent display shows `IDE AGENT`.
And then pressing `tab` does not rotate to any other agent.
Given I am an IDE user.
When I want to use the primary agents, `agent/ide.md`, `agent/ta.md`, specialized to my different use cases.
Then I want to eliminate TUI static by disabling default agents by setting `default_agents: false`.
And then I want to set `default_agent: ta`.
And then OC loads with the active agent display showing `TA AGENT`.
And then pressing `tab` rotates to the IDE agent.
And then the active agent display shows `IDE AGENT`.
Originally created by @taqtiqa-mark on GitHub (Oct 12, 2025). Originally assigned to: @thdxr on GitHub. ```gherkin Given I am an IDE user. When I want to use a primary agent, `agent/ide.md`, specialized to my use case. Then I want to eliminate TUI static by disabling default agents by setting `default_agents: false`. And then when OC loads the active agent display shows `IDE AGENT`. And then pressing `tab` does not rotate to any other agent. ``` ```gherkin Given I am an IDE user. When I want to use the primary agents, `agent/ide.md`, `agent/ta.md`, specialized to my different use cases. Then I want to eliminate TUI static by disabling default agents by setting `default_agents: false`. And then I want to set `default_agent: ta`. And then OC loads with the active agent display showing `TA AGENT`. And then pressing `tab` rotates to the IDE agent. And then the active agent display shows `IDE AGENT`. ```
yindo closed this issue 2026-02-16 17:34:00 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 12, 2025):

This issue might be a duplicate or related to existing issues. Please check:

  • #3028: Switch model for all agents - discusses agent switching behavior and UX improvements
  • #3015: agents switch does not respect the custom model with id - deals with agent switching and custom configurations
  • #2989: PLAN agent specific permission - discusses agent-specific configurations and permissions

While these don't directly address disabling default agents, they involve similar concepts around agent configuration and customization. Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 12, 2025): This issue might be a duplicate or related to existing issues. Please check: - #3028: Switch model for all agents - discusses agent switching behavior and UX improvements - #3015: agents switch does not respect the custom model with id - deals with agent switching and custom configurations - #2989: PLAN agent specific permission - discusses agent-specific configurations and permissions While these don't directly address disabling default agents, they involve similar concepts around agent configuration and customization. Feel free to ignore if none of these address your specific case.
Author
Owner

@taqtiqa-mark commented on GitHub (Nov 10, 2025):

@rekram1-node not sure if this is covered by test suite, but a workaround is config.json:

...
  "agent": {
    "plan": {
      "disable": true
    },
    "build": {
      "disable": true
    }
  },
...  
@taqtiqa-mark commented on GitHub (Nov 10, 2025): @rekram1-node not sure if this is covered by test suite, but a workaround is `config.json`: ```json ... "agent": { "plan": { "disable": true }, "build": { "disable": true } }, ... ```
Author
Owner

@rekram1-node commented on GitHub (Nov 10, 2025):

@taqtiqa-mark yeah I think we added that at some point recently and I didn't close this one out

@rekram1-node commented on GitHub (Nov 10, 2025): @taqtiqa-mark yeah I think we added that at some point recently and I didn't close this one out
Author
Owner

@taqtiqa-mark commented on GitHub (Nov 10, 2025):

Note to self: Add general agent to the list to disable...

@taqtiqa-mark commented on GitHub (Nov 10, 2025): Note to self: Add general agent to the list to disable...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2062