Microsoft.Agents.Hosting.AspNetCore 1.6.55-beta

Prefix Reserved
This is a prerelease version of Microsoft.Agents.Hosting.AspNetCore.
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.6.55-beta
                    
NuGet\Install-Package Microsoft.Agents.Hosting.AspNetCore -Version 1.6.55-beta
                    
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.6.55-beta" />
                    
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.6.55-beta" />
                    
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.6.55-beta
                    
#r "nuget: Microsoft.Agents.Hosting.AspNetCore, 1.6.55-beta"
                    
#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.6.55-beta
                    
#: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.6.55-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Agents.Hosting.AspNetCore&version=1.6.55-beta&prerelease
                    
Install as a Cake Tool

Microsoft.Agents.Hosting.AspNetCore

About

ASP.NET Core integration package for hosting agents built with the Microsoft 365 Agents SDK. Provides dependency injection extensions and HTTP middleware for processing agent requests from Azure Bot Service and other channels.

Main Types

  • AddAgent<T>(): Registers an agent with the DI container
  • AddAgentApplicationOptions(): Registers AgentApplicationOptions with DI
  • AddAgentAspNetAuthentication(): Configures Azure Bot Service JWT authentication
  • MapAgentApplicationEndpoints(): Maps the agent HTTP endpoint (default: /api/messages)
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 (12)

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.69-beta 222 5/20/2026
1.6.55-beta 285 5/14/2026
1.6.46-beta 155 5/13/2026
1.6.45-beta 172 5/12/2026
1.6.38-beta 137 5/11/2026
1.6.27-beta 171 5/6/2026
1.6.19-beta 268 5/2/2026
1.6.9-beta 419 5/1/2026
1.6.3-beta 124 4/30/2026
1.5.184 4,628 5/14/2026
1.5.181 9,302 4/30/2026
1.5.179-beta 145 4/29/2026
1.5.150-beta 409 4/21/2026
1.5.144-beta 143 4/18/2026
1.5.142-beta 158 4/17/2026
1.5.139-beta 137 4/16/2026
1.5.129-beta 123 4/15/2026
1.5.123-beta 719 4/11/2026
1.5.106-beta 289 4/9/2026
1.5.92-beta 211 4/7/2026
Loading failed