Skip to content

[bug] Restrict which subagents a custom agent can spawn (built-in Plan mode can write files via sub agent) #4267

@tbarron-xyz

Description

@tbarron-xyz

Original title: [FEATURE]: Restrict which subagents a custom agent can spawn

Feature hasn't been suggested before.

Describe the enhancement you want to request

My edit-disabled, task-tool-enabled custom planning agent will just spawn a subagent when it wants to edit files. I want it to have subagent capability for e.g. researching multiple things at the same time, but I want to restrict which types of subagent it can spawn. Or, ensure it can only spawn subagents with less-or-equal capabilities than itself.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions