agent-framework-agui-csharp
Installation
SKILL.md
Agent Framework AG-UI (.NET)
Expose any AIAgent over the AG-UI protocol and consume it from a remote client over server-sent events. AG-UI standardizes the wire format for messages → tool calls → text deltas → state updates → errors so frontends, mobile apps, and CLI clients can interop with any compliant agent server.
This SDK ships two pieces:
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore—app.MapAGUI(endpoint, agent)extension that turns anAIAgentinto an AG-UI server endpoint backed by SSE.Microsoft.Agents.AI.AGUI—AGUIChatClientthat connects to an AG-UI endpoint and surfaces the stream asAgentResponseUpdates through the normalAIAgentAPI.