Skip to content

Realtime: Handoffs don't hand back up to original agent #1197

@sibblegp

Description

@sibblegp

Describe the bug

With v0.2.2, handoffs are working but unlike in the standard agent, once a handoff is made, it doesn't go back up the tree to the original agent when further requests are made.

I.e. I have one agent for getting crypto prices. If I ask for a crypto price, it gives it. I have another agent for stock prices but if I ask for a stock price, it still runs it in the crypto agent since it doesn't go back up to the "switching/orchestrator" agent, like in the normal agent SDK.

Debug information

  • Agents SDK version: v0.2.2
  • Python version: pyton 3.13

Repro steps

Make a call that hands off to another agent and calls a tool. Future calls will always go to that agent and not the one that made the handoff.

Expected behavior

The original requests should always go to the initial agent specified in .run() not the agent handed off to.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions