AgentBlazor Docs

Verification

Prove the install works.

Build it, check it, run it, then test prompts on the real page.

Canonical verification order

dotnet add ./src/MyBlazorApp/MyBlazorApp.csproj package AgentBlazor --version 0.1.0-preview.11
dotnet build ./MySolution.slnx --nologo
OpenAI__ApiKey=placeholder-key dotnet run --project ./src/MyBlazorApp/MyBlazorApp.csproj --no-launch-profile --urls http://127.0.0.1:5288
Open the support route and submit one real prompt

Fresh-app smoke

dotnet new blazor -o FreshAgentBlazor
cd FreshAgentBlazor
dotnet add package AgentBlazor --version 0.1.0-preview.11
dotnet build FreshAgentBlazor.csproj --nologo

Hosted WebAssembly verification

dotnet add ./src/MyHostedServer/MyHostedServer.csproj package AgentBlazor --version 0.1.0-preview.11
dotnet add ./src/MyHostedClient/MyHostedClient.csproj package AgentBlazor.Client --version 0.1.0-preview.11

// Server
app.MapAgentBlazorEndpoints();
app.MapAgentBlazorRemoteChat();

// Client
@using AgentBlazor.Client.Chat
<AgentRemoteChatWidget Endpoint="/agentblazor/chat/run" Title="Assistant" />

Browser prompt checks

Summary

Summarize this page and list the highest-risk items.

Approval

Check whether the current record can be submitted.

Handoff

Draft a handoff note from the current screen.

Risk

Group the visible work by risk and recommend the next action.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.