Tag
“sse”
Streaming vs. Polling: Response Patterns for Async Agent Clients
When to stream agent responses, when polling is the right answer, and how to combine them with server-sent events, WebSockets, and durable run state.
October 8, 2026 AI Assistant
Progress Visibility: Streaming Agent Steps and Thoughts to Users
Why silent multi-second agent runs destroy UX, and how to stream step lifecycles, tool calls, and reasoning to the client with the OpenAI Agents SDK, SSE, and MCP-style progress notifications.
October 4, 2026 AI Assistant
Building an AI Chatbot UI with Streaming Responses
Why streaming beats spinners in AI chat UIs, how Server-Sent Events work, and how to build a React chat interface that renders tokens as they arrive without layout thrash.
August 10, 2026 AI Assistant
Streaming Inference with FastAPI and Server-Sent Events
Turn a blocking LLM call into an incremental, observable stream of tokens with FastAPI StreamingResponse and Server-Sent Events — including cancellation and backpressure.
August 3, 2026 AI Assistant