Skip to content

Add/enhance subagent tool to allow Gemini to spin up specialized one time subagents #21645

@Anthony-Bible

Description

@Anthony-Bible

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:

  1. Look for any security reviews.
  2. Look for code reuse and or complexity
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitystatus/need-triageIssues that need to be triaged by the triage automation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions