Skip to main content
net10.0net8.0

Library for creating agents using Microsoft Agent SDK

Published
Aug 24, 2026
1mo ago
Total Downloads
824.0K
824,044

Install

dotnet add package Microsoft.Agents.Hosting.AspNetCore --version 1.8.77
ProductVersions
.NET
net10.0net8.0

README

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)

Changes from Previous Version

No structural changes between v1.8.76-beta and v1.8.77.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.