agui-dotnet-reasoning
Shows how to separate a reasoning model's streamed "thinking" (TextReasoningContent) from its final answer (TextContent) with the AG-UI .NET SDK so clients can render each differently, and explains wh
What it does
Surface a reasoning/thinking model's intermediate thoughts separately from its final answer with the AG-UI .NET SDK — so a client can show the agent "thinking" before it responds, and handle that reasoning trace correctly across turns. USE FOR: distinguishing the model's reasoning trace from its answer on the client by matching TextReasoningContent vs TextContent in each ChatResponseUpdate's Contents; rendering thinking and answer in different ways as they stream; deciding whether to carry the reasoning text into later turns (whether to append/resend the model's reasoning back into conversation history). DO NOT USE FOR: plain text streaming with no reasoning display (use agui-dotnet-streaming-chat); tools, shared state, interrupts, multimodal, generative UI, or protobuf.
Quality judgment
The document clearly defines the problem, provides precise C# code demonstrating how to distinguish TextReasoningContent from TextContent, explicitly lists anti-patterns, and includes verification steps. It is well-structured and directly addresses the skill's intent without unnecessary fluff.