google / google/adk-python

Allow user confirmation before transfer_to_agent in Google ADK

オープン
#3,022 コメント 2 件 リアクション 2 件 担当者 2 名 @klateefa が担当を希望しています GitHub で見る
core needs review
主要言語
Python
スター
21.5k
フォーク
4k
平均マージ
1日 14時間
マージ済み PR(30日)
37

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。