google-gemini/gemini-cli

Allow agents to call agents

Open

#22092 opened on Mar 11, 2026

View on GitHub
 (6 comments) (0 reactions) (1 assignee)TypeScript (103,992 stars) (13,657 forks)batch import
area/agenthelp wantedkind/enhancementkind/featurepriority/p2status/bot-triaged

Description

What would you like to be added?

Currently, agents can not invoke other agents or themselves. It should be allowed, ideally both by specifying the agent name in the tool list (which seems like it would work if it passed validation, but it doesn't, it complains about an invalid tool name), and in some way to allow calling all agents.

Why is this needed?

This can often be quite useful for the same reason that using agents in the first place is useful, especially context isolation.

Additional context

No response

Contributor guide