Overview of Mercure real-time streaming
Mercure is an open-source hub (MIT license) that streams real-time updates from servers to clients using Server-Sent Events (SSE). It is designed for use cases such as LLM token streaming, AI agent state synchronization, live dashboards, notifications, and GraphQL/REST streaming. Unlike WebSockets, it uses standard HTTP, providing native browser support via
EventSource, automatic reconnection with Last-Event-ID replay, and better compatibility with corporate proxies and CDNs. It is built on Caddy and is the official real-time component for the Symfony framework.