Skip to main content
A run can span a handoff chain — one agent delegating to another mid-run. Both event types carry agent (which agent produced the event), so multi-agent output stays attributable. Label the stream by the agent in control:
In a session, later turns follow the agent in control — so a handoff carries into the next turn, the same as in the app. .text(live=True) prints these [agent] labels for you.

Guide: streaming the run

Agent attribution across a handoff chain.