ChatStage.Blazor
0.2.0-preview.1
This is a prerelease version of ChatStage.Blazor.
dotnet add package ChatStage.Blazor --version 0.2.0-preview.1
NuGet\Install-Package ChatStage.Blazor -Version 0.2.0-preview.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ChatStage.Blazor" Version="0.2.0-preview.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ChatStage.Blazor" Version="0.2.0-preview.1" />
<PackageReference Include="ChatStage.Blazor" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ChatStage.Blazor --version 0.2.0-preview.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ChatStage.Blazor, 0.2.0-preview.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ChatStage.Blazor@0.2.0-preview.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ChatStage.Blazor&version=0.2.0-preview.1&prerelease
#tool nuget:?package=ChatStage.Blazor&version=0.2.0-preview.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ChatStage.Blazor
A drop-in AI chat UI for .NET apps. It shows Bit.BlazorUI.AI chat components and talks AG-UI to your agent, so it works with any AG-UI server, including a Microsoft Agent Framework agent served by ChatStage.Server. It runs wherever Blazor does: the web, WPF and WinForms (BlazorWebView) and .NET MAUI.
services.AddChatStage(o => o.Endpoint = new Uri("https://localhost:5001/agent"))
.AddToolComponent<ListingCard, Listing>("find_listing") // your own component for a tool's result
.AddBearerToken((sp, ct) => sp.GetRequiredService<ITokenSource>().GetTokenAsync(ct));
<ChatStageChat Title="Assistant" />
- Streaming Markdown, tool cards, approvals (Allow / Decline), a context meter and token usage.
- Your own Razor components inside the chat, for tool results and AG-UI
CUSTOMevents, with a way to talk back to the agent. - Messages a component sends while the agent is replying are queued, not dropped.
ShowAsyncshows your own component in the transcript from app code, with no agent run; it is never sent to the agent.- A failed run shows the AG-UI
RUN_ERRORmessage, so any server can tell the user what went wrong.
Bit.BlazorUI is a prerelease series; this package pins one exact build of it.
Documentation: https://github.com/modarken/chatstage
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- AGUI.Abstractions (>= 1.0.1)
- AGUI.Client (>= 1.0.1)
- Bit.BlazorUI (= 11.0.0-pre-25)
- Bit.BlazorUI.AI (= 11.0.0-pre-25)
- Microsoft.AspNetCore.Components.Web (>= 11.0.0)
- Microsoft.Extensions.AI (>= 11.0.1)
- Microsoft.Extensions.AI.Abstractions (>= 11.0.1)
- Microsoft.Extensions.Http (>= 11.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.0-preview.1 | 0 | 11/27/2026 |
| 0.1.0-preview.1 | 0 | 11/27/2026 |