Sign inGet started
–

agui-dotnet-human-in-the-loop

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

This skill lets you pause an AG-UI .NET agent run so a human can approve a sensitive tool call or answer a question, then resume the same run with their decision.

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

What it does

Pause an AG-UI agent run for a human, then resume it, with the AG-UI .NET SDK — gate a sensitive tool behind explicit approval, or interrupt a run to collect free-form input from the user before continuing. USE FOR: requiring human approval before a tool executes (ApprovalRequiredAIFunction + ToolApprovalRequestContent/ToolApprovalResponseContent, resume by appending the request + CreateResponse(approved)); pausing a run to ask the user a question and resuming with their answer (InterruptRequestContent / InterruptResponseContent, RunAgentInput.Resume); how a paused run surfaces as RUN_FINISHED outcome=interrupt and how the client detects and answers it. DO NOT USE FOR: tools that run without approval on the server (use agui-dotnet-server-tools) or in the client (use agui-dotnet-client-tools); plain chat (use agui-dotnet-streaming-chat); shared state, generative UI, multimodal, or protobuf.

#agent-sdk#agui#csharp#dotnet#human-in-the-loop#tool-approval

Quality judgment

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

A focused, well-scoped skill with concrete working code for both approval and interrupt flows, clear anti-patterns, and a verification checklist. Minor gaps: no full server-side interrupt implementation example (only a prose sketch of the DelegatingChatClient bridge) and no error/timeout handling guidance.

Files (2)

LICENSE · 1.0 KBSKILL.md · 6.0 KB