最終更新:2026-05-14 (木) 16:33:44 (34d)  

agents.StreamEvent
Top / agents.StreamEvent

https://github.com/openai/openai-agents-python/blob/main/src/agents/stream_events.py

Union

agents.RawResponsesStreamEvent

  • Streaming event from the LLM. These are 'raw' events, i.e. they are directly passed through from the LLM.

agents.RunItemStreamEvent

  • Streaming events that wrap a `RunItem?`. As the agent processes the LLM response, it will generate these events for new messages, tool calls, tool outputs, handoffs, etc.

agents.AgentUpdatedStreamEvent?

  • Event that notifies that there is a new agent running.

メモ