What problem does it solve?
Real-time visibility of agent lifecycles in UI dashboards requires a reliable streaming protocol; this skill defines a unified AG-UI Protocol using SSE for unidirectional streams and WebSocket for bidirectional control, ensuring timely updates and robust reconnections.
Core Features & Use Cases
- Real-time event streaming for AgentSpawned, AgentProgress, AgentDecision, AgentResult, AgentError, AgentRetired.
- SSE and WebSocket transports for both read-only dashboards and interactive UI controls, with resume from last event ID.
- Phi-throttled updates and Fibonacci batching to optimize UI rendering across micro-frontends (Swarm Dashboard, Governance Panel, Vector Explorer, Projection Monitor).
- Stage-progress mapping for HCFullPipeline visualization and dynamic frontend routing of events to specialized UIs.
- Integration points with BRIDGE, Conductor, Brains, OBSERVER, and other Heady UI components for end-to-end visibility.
Quick Start
Configure an SSE stream at /stream and a WebSocket client at /ag-ui/ws, then publish a sample AgentSpawned event to observe real-time UI updates.