Skip to main content
This example demonstrates event handling in route mode teams, showing how to capture team and member events separately with detailed tool call information.

Code

cookbook/examples/teams/streaming/03_route_mode_events.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install required libraries

3

Set environment variables

4

Run the agent