google / google/adk-python

Allow user confirmation before transfer_to_agent in Google ADK

Đang mở
#3,022 2 bình luận 2 reaction 2 người được giao Được @klateefa nhận Xem trên GitHub
core needs review
Ngôn ngữ chính
Python
Star
21.5k
Fork
4k
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
37

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.