Source:
03_streaming.py · 03-streaming.tsagent.stream(input) to receive lifecycle events as the agent runs. After iterating, call .result() for the final RunResult.
Iterate events
Event types
The full set is exported as
AgentStreamEvent in TypeScript and lives in opperai.agent._stream in Python.