agui-dotnet-protobuf
Configure an AG-UI .NET chat client and server to stream agent events as compact protobuf binary instead of Server-Sent Events, with automatic SSE fallback negotiated via the Accept header.
What it does
Use the protobuf wire transport (instead of the default Server-Sent Events) for an AG-UI connection with the AG-UI .NET SDK — a compact binary event stream negotiated via the Accept header. USE FOR: making an AGUIChatClient prefer protobuf by wiring an AGUIEventStreamHandler with ProtobufEventStreamFormatter (then SseEventStreamFormatter as fallback) into the HttpClient; enabling a server to answer protobuf by registering ProtobufEventStreamFormatter and negotiating the response format from the request Accept header; understanding the protobuf-or-SSE fallback. DO NOT USE FOR: the default SSE transport or first-time setup (use agui-dotnet-streaming-chat); JSON event serialization questions; tools, state, interrupts, multimodal, or generative UI.
Quality judgment
Comprehensive, well-scoped coverage of protobuf transport negotiation with clear client and server code, fallback behavior, anti-patterns, and verification steps. Triggers and exclusions are precise; only minor gap is lack of troubleshooting for partial negotiation failures beyond the anti-pattern note.