Sign inGet started
–

agui-dotnet-protobuf

by ag-ui-protocol/ag-ui · Coding & Development

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.

Lift · GLM-5.3-flash—not yet benchmarked
90
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

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.

#ag-ui#dotnet#http#protobuf#sdk#streaming

Quality judgment

completeness
8.5/10
clarity
9.0/10
trigger quality
9.0/10
examples
8.0/10
structure
9.0/10
overall
9.0/10

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.

Files (2)

LICENSE · 1.0 KBSKILL.md · 5.0 KB