Microsoft.Agents.Hosting.AspNetCore
1.5.92-beta
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Agents.Hosting.AspNetCore --version 1.5.92-beta
NuGet\Install-Package Microsoft.Agents.Hosting.AspNetCore -Version 1.5.92-beta
<PackageReference Include="Microsoft.Agents.Hosting.AspNetCore" Version="1.5.92-beta" />
<PackageVersion Include="Microsoft.Agents.Hosting.AspNetCore" Version="1.5.92-beta" />
<PackageReference Include="Microsoft.Agents.Hosting.AspNetCore" />
paket add Microsoft.Agents.Hosting.AspNetCore --version 1.5.92-beta
#r "nuget: Microsoft.Agents.Hosting.AspNetCore, 1.5.92-beta"
#:package Microsoft.Agents.Hosting.AspNetCore@1.5.92-beta
#addin nuget:?package=Microsoft.Agents.Hosting.AspNetCore&version=1.5.92-beta&prerelease
#tool nuget:?package=Microsoft.Agents.Hosting.AspNetCore&version=1.5.92-beta&prerelease
Microsoft.Agents.Hosting.AspNetCore
- Required package for a hosting an Agent in AspNet.
- Provides extension methods to add an Agents using DI.
Changelog
| Version | Date | Changelog |
|---|---|---|
| 1.2.0 | 2025-08-19 | Detailed Changelog |
| 1.3.0 | 2025-10-22 | Detailed Changelog |
How-to use
builder.AddAgent<TAgent>();
Or
builder.AddAgent(sp =>
{
var options = new AgentApplicationOptions()
{
};
var app = new AgentApplication(options);
return app;
});
| 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 was computed. 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 was computed. 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. |
-
net8.0
- Microsoft.Agents.Builder (>= 1.5.92-beta)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.23)
- Microsoft.IdentityModel.Validators (>= 8.15.0)
- System.IdentityModel.Tokens.Jwt (>= 8.15.0)
- System.Text.Json (>= 10.0.2)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Microsoft.Agents.Hosting.AspNetCore:
| Package | Downloads |
|---|---|
|
Microsoft.TeamsFx
This package aims to reduce the developer tasks of implementing identity and access to cloud resources down to single-line statements with "zero configuration". |
|
|
Microsoft.Agents.A365.Runtime
Runtime utilities for Microsoft Agent 365 SDK, providing HttpContext-based tenant and worker ID extraction for multi-tenant agent applications. |
|
|
Microsoft.Agents.A365.Observability
Common observability components for Microsoft Agent 365 SDK, providing base OpenTelemetry tracing and monitoring functionality for AI agents and tools. |
|
|
Microsoft.Agents.Hosting.AspNetCore.A2A.Preview
Library adding A2A handling to a SDK Agent |
|
|
Microsoft.Agents.A365.Tooling
Microsoft Agent 365 Tooling SDK, providing functionality to work with Agent 365 Tools. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.Agents.Hosting.AspNetCore:
| Repository | Stars |
|---|---|
|
microsoft/copilot-camp
Hands-on labs for extending Microsoft 365 Copilot and building custom engine agents
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.6.89-beta | 32 | 5/30/2026 |
| 1.6.79-beta | 61 | 5/29/2026 |
| 1.6.72-beta | 158 | 5/27/2026 |
| 1.6.69-beta | 341 | 5/20/2026 |
| 1.6.55-beta | 563 | 5/14/2026 |
| 1.6.46-beta | 159 | 5/13/2026 |
| 1.6.45-beta | 176 | 5/12/2026 |
| 1.6.38-beta | 142 | 5/11/2026 |
| 1.6.27-beta | 176 | 5/6/2026 |
| 1.6.19-beta | 336 | 5/2/2026 |
| 1.6.9-beta | 572 | 5/1/2026 |
| 1.6.3-beta | 127 | 4/30/2026 |
| 1.5.184 | 7,286 | 5/14/2026 |
| 1.5.181 | 9,893 | 4/30/2026 |
| 1.5.179-beta | 146 | 4/29/2026 |
| 1.5.150-beta | 415 | 4/21/2026 |
| 1.5.144-beta | 144 | 4/18/2026 |
| 1.5.142-beta | 172 | 4/17/2026 |
| 1.5.139-beta | 139 | 4/16/2026 |
| 1.5.92-beta | 213 | 4/7/2026 |