Agent.stream(...), run(...) जैसी ही state machine चलाता है और दोबारा पढ़ा जा सकने वाला AgentStreamResult लौटाता है:
reasoning_stream(), item_stream(), tool_stream() या full_stream() उपयोग करें। Python items अभी dictionary हैं, native discriminated union नहीं।
सक्रिय model stream रोकने और स्थानीय runtime काम तक cancellation पहुँचाने के लिए cancel() कॉल करें।