Describe the Bug:
No response is received on when transfer_to_agent transfers to a sub agent using bidi_stream_query and gemini-live-2.5-flash-native-audio.
Steps to Reproduce:
Please provide a numbered list of steps to reproduce the behavior:
- Connect to agent with fast api configured for bidi stream.
- Ask "What's the weather?" to initiate transfer to sub agent.
- Observe no response after transfer.
- Ask the same question and observe response from sub agent.
Expected Behavior:
After transfer_to_agent is completed the sub agent should respond to the input from the user.
Observed Behavior:
No response is received until additional input is provided.
Environment Details:
- ADK Library Version (pip show google-adk): 2.0.0b1
- Desktop OS: MacOS
- Python Version (python -V): Python 3.13.3
Model Information:
- Are you using LiteLLM: No
- Which model is being used: gemini-live-2.5-flash-native-audio
🟡 Optional Information
Providing this information greatly speeds up the resolution process.
Regression:
Did this work in a previous version of ADK? If so, which one? Yes, 1.27.1
Logs:
Please attach relevant logs. Wrap them in code blocks (```) or attach a
text file.
This is what shows when the agent stops after transfer.
2026-04-28 16:41:28,695 - google_adk.google.adk.models.google_llm - INFO - Trying to connect to live model: gemini-live-2.5-flash-native-audio with api backend: GoogleLLMVariant.VERTEX_AI
Screenshots / Video:
If applicable, add screenshots or screen recordings to help explain
your problem.
Additional Context:
This exact agent setup will give a response after transfer_to_agent when using async_stream_query with gemini-2.5-flash instead of bidi_stream_query with gemini-live-2.5-flash-native-audio.
Minimal Reproduction Code:
Please provide a code snippet or a link to a Gist/repo that isolates the issue.
Sample Agent File:
importgoogle.adk.agentsasagentsfromgoogle.adk.appsimportAppagent_2=agents.Agent(
name="sample_agent_2",
model="gemini-live-2.5-flash-native-audio",
instruction="You are a helpful assistant that can answer questions about the weather.",
description="A sample agent that can answer questions about the weather.",
)
agent=agents.Agent(
name="sample_agent",
model="gemini-live-2.5-flash-native-audio",
instruction="You are a helpful assistant that can answer questions and help with tasks.",
description="A sample agent that can answer questions and help with tasks.",
sub_agents=[agent_2],
)
app=App(
root_agent=agent,
name="sample_agent",
)
Agent engine host:
importasyncioimportloggingimportosfromtypingimportAny, AsyncIteratorimportvertexaifromgoogle.adk.artifactsimportGcsArtifactService, InMemoryArtifactServicefromvertexai.agent_engines.templates.adkimportAdkAppfromvertexai.preview.reasoning_enginesimportAdkAppasPreviewAdkApptry:
fromdotenvimportload_dotenvload_dotenv()
exceptImportError:
passtry:
from .agentimportappasadk_appexceptImportError: # pragma: no cover - `python agent_engine_app.py` from cwdfromagentimportappasadk_applogger=logging.getLogger(__name__)
classAgentEngineApp(AdkApp):
defset_up(self) ->None:
try:
vertexai.init()
super().set_up()
exceptException:
logger.exception("set_up failed")
raisedefregister_operations(self) ->dict[str, list[str]]:
operations=super().register_operations()
operations["bidi_stream"] = ["bidi_stream_query"]
returnoperationsasyncdefbidi_stream_query(
self, input_queue: asyncio.Queue[dict[str, Any]]
) ->AsyncIterator[dict[str, Any]]:
try:
asyncforresponseinPreviewAdkApp.bidi_stream_query(self, input_queue):
yieldresponseexceptasyncio.CancelledError:
raiseexceptException:
logger.exception("bidi_stream_query failed")
raiseagent_engine=AgentEngineApp(
app=adk_app,
)How often has this issue occurred?:
Describe the Bug:
No response is received on when transfer_to_agent transfers to a sub agent using bidi_stream_query and gemini-live-2.5-flash-native-audio.
Steps to Reproduce:
Please provide a numbered list of steps to reproduce the behavior:
Expected Behavior:
After transfer_to_agent is completed the sub agent should respond to the input from the user.
Observed Behavior:
No response is received until additional input is provided.
Environment Details:
Model Information:
🟡 Optional Information
Providing this information greatly speeds up the resolution process.
Regression:
Did this work in a previous version of ADK? If so, which one? Yes, 1.27.1
Logs:
Please attach relevant logs. Wrap them in code blocks (```) or attach a
text file.
This is what shows when the agent stops after transfer.
Screenshots / Video:
If applicable, add screenshots or screen recordings to help explain
your problem.
Additional Context:
This exact agent setup will give a response after transfer_to_agent when using async_stream_query with gemini-2.5-flash instead of bidi_stream_query with gemini-live-2.5-flash-native-audio.
Minimal Reproduction Code:
Please provide a code snippet or a link to a Gist/repo that isolates the issue.
Sample Agent File:
Agent engine host:
How often has this issue occurred?: