AgentBlazor 0.1.0-preview.10
This is a prerelease version of AgentBlazor.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AgentBlazor --version 0.1.0-preview.10
NuGet\Install-Package AgentBlazor -Version 0.1.0-preview.10
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="AgentBlazor" Version="0.1.0-preview.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AgentBlazor" Version="0.1.0-preview.10" />
<PackageReference Include="AgentBlazor" />
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 AgentBlazor --version 0.1.0-preview.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AgentBlazor, 0.1.0-preview.10"
#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 AgentBlazor@0.1.0-preview.10
#: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=AgentBlazor&version=0.1.0-preview.10&prerelease
#tool nuget:?package=AgentBlazor&version=0.1.0-preview.10&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AgentBlazor
Add an agent chat surface and deterministic app actions to a Blazor app.
Install:
dotnet add package AgentBlazor
Minimal setup:
using AgentBlazor;
using MudBlazor.Services;
builder.Services.AddMudServices();
builder.Services.AddAgentBlazor(options =>
{
options.UseOpenAI(
apiKey: builder.Configuration["OpenAI:ApiKey"]!,
model: builder.Configuration["OpenAI:Model"]!);
options.ConfigureBuilder(agentBuilder =>
{
agentBuilder.AddWorkflow<SupportInboxCapabilities>("support-inbox", agent =>
{
agent.WithRoutePrefixes("/support");
});
});
});
var app = builder.Build();
app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode();
app.MapAgentBlazorEndpoints();
[AgentCapability("support_inbox")]
public sealed class SupportInboxCapabilities
{
[AgentAction("Show open tickets that still need a reply")]
public Task<CapabilityResult> ShowOpenTicketsAsync(int days = 7)
=> Task.FromResult(
CapabilityResult.Success($"Highlighted tickets from the last {days} days."));
[AgentAction("Draft a reply for the highlighted tickets", RequiresApproval = true)]
public Task<CapabilityResult> DraftReplyAsync()
=> Task.FromResult(
CapabilityResult.Success("Prepared the reply draft.")
.WithNextActions("Review the reply", "Approve the draft"));
}
@using AgentBlazor.Components
<AgentChatWidget
Title="Support inbox"
Placeholder="Show open tickets, explain the queue, or draft a reply..." />
Docs and demo:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Azure.AI.OpenAI (>= 2.8.0-beta.1)
- Markdig (>= 0.38.0)
- Microsoft.Agents.AI (= 1.1.0)
- Microsoft.Agents.AI.Abstractions (= 1.1.0)
- Microsoft.Agents.AI.Hosting (= 1.1.0-preview.260410.1)
- Microsoft.Agents.AI.Hosting.AGUI.AspNetCore (= 1.1.0-preview.260410.1)
- Microsoft.Agents.AI.OpenAI (= 1.1.0)
- Microsoft.Agents.AI.Workflows (= 1.1.0)
- Microsoft.AspNetCore.Components.Web (>= 10.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.4)
- Microsoft.Extensions.Options (>= 10.0.3)
- MudBlazor (>= 9.0.0)
-
net8.0
- Azure.AI.OpenAI (>= 2.8.0-beta.1)
- Markdig (>= 0.38.0)
- Microsoft.Agents.AI (= 1.1.0)
- Microsoft.Agents.AI.Abstractions (= 1.1.0)
- Microsoft.Agents.AI.Hosting (= 1.1.0-preview.260410.1)
- Microsoft.Agents.AI.Hosting.AGUI.AspNetCore (= 1.1.0-preview.260410.1)
- Microsoft.Agents.AI.OpenAI (= 1.1.0)
- Microsoft.Agents.AI.Workflows (= 1.1.0)
- Microsoft.AspNetCore.Components.Web (>= 8.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.4)
- Microsoft.Extensions.Options (>= 10.0.3)
- MudBlazor (>= 9.0.0)
-
net9.0
- Azure.AI.OpenAI (>= 2.8.0-beta.1)
- Markdig (>= 0.38.0)
- Microsoft.Agents.AI (= 1.1.0)
- Microsoft.Agents.AI.Abstractions (= 1.1.0)
- Microsoft.Agents.AI.Hosting (= 1.1.0-preview.260410.1)
- Microsoft.Agents.AI.Hosting.AGUI.AspNetCore (= 1.1.0-preview.260410.1)
- Microsoft.Agents.AI.OpenAI (= 1.1.0)
- Microsoft.Agents.AI.Workflows (= 1.1.0)
- Microsoft.AspNetCore.Components.Web (>= 9.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.4)
- Microsoft.Extensions.Options (>= 10.0.3)
- MudBlazor (>= 9.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 | 34 | 5/20/2026 |
| 0.2.0-preview.3 | 37 | 5/19/2026 |
| 0.2.0-preview.2 | 47 | 5/18/2026 |
| 0.1.0-preview.11 | 53 | 5/5/2026 |
| 0.1.0-preview.10 | 57 | 4/29/2026 |
Private preview cut focused on one public install path, one support-inbox demo, and route-scoped workflow setup.