Sign inGet started
–

agui-dotnet-reasoning

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

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

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

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.

#ag-ui#csharp#dotnet#llm#reasoning#streaming

Quality judgment

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

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.

Files (2)

LICENSE · 1.0 KBSKILL.md · 3.2 KB