Skip to main content
Demonstrates creating a conversational session, sending a single message, and streaming the response token by token using listen() with event filtering.
Source: examples/agents/03_session_single_turn.py in the SDK repo.