Skip to content

Ability to restrict Subagents use to Specific Primary Agents only #2693

@malhashemi

Description

@malhashemi

Rational

One of OpenCode most powerful features is the ability to disable MCPs globally and turn them on for specific agents only.
Similarly the ability to turn off all subagents by default and only enable them on the agent level would allow for greater performance by restricting non necessary context and reducing the choices the primary agent would have to make.

In most cases subagents are only useful for specific primary agent, would make much sense to allow for such use case.

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