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.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.5.144-beta 33 4/18/2026
1.5.142-beta 51 4/17/2026
1.5.139-beta 60 4/16/2026
1.5.129-beta 63 4/15/2026
1.5.123-beta 229 4/11/2026
1.5.106-beta 213 4/9/2026
1.5.92-beta 150 4/7/2026
1.5.90-beta 217 3/31/2026
1.5.83-beta 429 3/27/2026
1.5.80-beta 148 3/26/2026
1.5.76-beta 144 3/25/2026
1.5.69-beta 188 3/20/2026
1.5.68-beta 173 3/19/2026
1.5.60-beta 164 3/17/2026
1.5.45-beta 217 3/13/2026
1.5.41-beta 208 3/11/2026
1.5.39-beta 122 3/10/2026
1.5.30-beta 245 3/4/2026
1.5.24-beta 254 3/3/2026
1.4.83 36,799 2/23/2026
Loading failed