-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Description
What would you like to be added?
Add or edit the subagent tool so Gemini can spin up its own subagents. This feature would allow specifying a name, custom system prompt, and task description for each subagent. It would be similar to the capabilities found in Claude Code and other advanced tool integrations.
Why is this needed?
This enhancement would enable more advanced and autonomous task management by giving Gemini the ability to delegate work to dynamically created subagents. This mimics popular features in other AI tools, making Gemini more competitive and flexible for complex workflows that benefit from agent decomposition and parallelization.
For example a use case I often do in other tools is code review:
- Look for any security reviews.
- Look for code reuse and or complexity
- look for efficiency
Then the LLM will spin up a subagent for each category after instructing it to do so.
Additional context
The interface should let the gemini supply the subagent's name, system prompt, and the specific task or instructions. References: tools like Anthropic's Claude Code allow spawning tailored one time subagents, which helps with decomposition and scalability of complex problems.
I know there's been other issues about implementing a similar feature to CC's "teams" feature and I believe this will be neeccessary