heady-ag-ui-protocol

Official

Real-time agent UI streaming protocol.

AuthorHeadyAI
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: heady-ag-ui-protocol
Download link: https://github.com/HeadyAI/heady-context/archive/main.zip#heady-ag-ui-protocol

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.