byag-ui-protocol· 23 skills
Share structured, evolving state between an AG-UI agent and its client with the AG-UI .NET SDK — the client seeds state on the request, the server reads it, mutates it, and streams the updated state back as snapshots or deltas alongside the chat. USE FOR: sending initial/working state from the client via ChatOptions.RawRepresentationFactory -> RunAgentInput.State; reading inbound state on the server with ChatOptions.TryGetRunAgentInput and RunAgentInput.State; emitting a full state object as a StateSnapshotEvent (or incremental JSON-Patch changes as a StateDeltaEvent) from a DelegatingChatClient via ChatResponseUpdate.RawRepresentation; reading state back on the client from update.RawRepresentation as StateSnapshotEvent. DO NOT USE FOR: passing one-off tool arguments (use agui-dotnet-server-tools); rendering UI components from tool calls (use agui-dotnet-generative-ui); plain chat (use agui-dotnet-streaming-chat); approvals/interrupts, multimodal, or protobuf.
$npx -y skills add ag-ui-protocol/ag-ui --skill agui-dotnet-shared-stateInstalls into the current project.
Run `npx skills use "https://github.com/ag-ui-protocol/ag-ui" --skill "ag-ui-protocol/ag-ui/agui-dotnet-shared-state"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/ag-ui-protocol/ag-ui" that are relevant to the current task. Run `npx skills add "https://github.com/ag-ui-protocol/ag-ui"` and select the relevant skills, then follow their instructions.