Skip to content

Subagent Agent Transfers to Parent Agent #3179

@sertacakdogan

Description

@sertacakdogan

Describe the bug
Eventhough I'm directing subagents to transfer_to_agent to parent agent after the operation finish, it does not comply my rules.
(I'm not using Agent Tool because using subagent is more suitable for my use case)

To Reproduce
Instruct subagent to return back to the parent agent and run the root agent in a way that uses subagent.
It sometimes comply sometimes does not comply.

Expected behavior
It should have turn back to the parent agent.

Desktop (please complete the following information):

  • OS: [e.g. macOS, Linux, Windows]: Mac
  • Python version(python -V): 3.13
  • ADK version(pip show google-adk): 1.1.20

Model Information:

  • Are you using LiteLLM: Yes and No (both does not work)
  • Which model is being used: gemini-2.5-flash

Additional context
I've a recommendation, intruducing a parameter specifically for this task, eable subagents to return back to the parent.
It can be an ADK parameter on agent which is boolean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a2a[Component] This issue is related a2a support inside ADK.needs review[Status] The PR/issue is awaiting review from the maintainerrequest clarification[Status] The maintainer need clarification or more information from the author

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions