google / google/adk-python

Allow user confirmation before transfer_to_agent in Google ADK

Open
#3,022 2 comments 2 reactions 2 assignees Claimed by @klateefa View on GitHub
core needs review
Dominant language
Python
Stars
21.5k
Forks
4k
Avg merge
1d 14h
Merged PRs (30d)
37

Description

Is your feature request related to a problem? Please describe.
In Google ADK, control transfer to a sub-agent is currently performed automatically through the transfer_to_agent tool. However, when there are many agents and some of them provide similar functionality, it may be unclear to the end user which agent will actually receive control. This lack of transparency can lead to confusion or an unintended choice.

Describe the solution you’d like
Introduce an option for the user to confirm the transfer of control.
For example, when transfer_to_agent is triggered, the system could:
• display a list of available sub-agents,
• allow the user to pick the desired one,
• confirm the transfer after the selection.

This interactive step would make the process more transparent and give the user full control over agent selection.

Describe alternatives you’ve considered
• Implementing filtering or selection logic in code, but this still removes direct user involvement and adds extra complexity.
• Creating an intermediate “dispatcher” agent that asks the user, but this approach feels over-engineered and complicates the architecture.

Additional context
This feature would be especially helpful when:
• multiple agents have overlapping capabilities (e.g., several support or domain-specific agents),
• explicit confirmation is critical, such as for financial operations or configuration changes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.