Streaming an agent response: from SSE events to text on screen
How an agent prints the LLM response while it is being generated: splitting SSE events broken up by the network, separating reasoning from the answer, and batching renders so the UI stays responsive.