Microsoft.Agents.Hosting.AspNetCore 1.4.83

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.Agents.Hosting.AspNetCore --version 1.4.83
                    
NuGet\Install-Package Microsoft.Agents.Hosting.AspNetCore -Version 1.4.83
                    
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="Microsoft.Agents.Hosting.AspNetCore" Version="1.4.83" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Agents.Hosting.AspNetCore" Version="1.4.83" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Agents.Hosting.AspNetCore" />
                    
Project file
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 Microsoft.Agents.Hosting.AspNetCore --version 1.4.83
                    
#r "nuget: Microsoft.Agents.Hosting.AspNetCore, 1.4.83"
                    
#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 Microsoft.Agents.Hosting.AspNetCore@1.4.83
                    
#: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=Microsoft.Agents.Hosting.AspNetCore&version=1.4.83
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Agents.Hosting.AspNetCore&version=1.4.83
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

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.Hosting.AspNetCore.A2A.Preview

Library adding A2A handling to a SDK Agent

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.A365.Tooling

Microsoft Agent 365 Tooling SDK, providing functionality to work with Agent 365 Tools.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.41-beta 0 3/11/2026
1.5.39-beta 40 3/10/2026
1.5.30-beta 170 3/4/2026
1.5.24-beta 130 3/3/2026
1.5.17-beta 141 2/28/2026
1.5.10-beta 1,496 2/25/2026
1.5.7-beta 117 2/24/2026
1.5.3-beta 188 2/21/2026
1.4.83 4,983 2/23/2026
1.4.82-beta 169 2/20/2026
1.4.79-beta 777 2/14/2026
1.4.73-beta 147 2/13/2026
1.4.66-beta 412 2/7/2026
1.4.62-beta 330 2/5/2026
1.4.60-beta 527 1/24/2026
1.4.50-beta 147 1/23/2026
1.4.46-beta 157 1/22/2026
1.4.40-beta 172 1/21/2026
1.4.36-beta 235 1/17/2026
1.4.35-beta 14,769 1/11/2026
Loading failed