agents-sdk-dotnet
Installation
SKILL.md
Overview
The Microsoft 365 Agents SDK builds multichannel agents for Teams, Copilot Studio, and web chat.
| Package | Purpose |
|---|---|
Microsoft.Agents.Hosting.AspNetCore |
ASP.NET Core hosting, auth, endpoint mapping |
Microsoft.Agents.Authentication.Msal |
MSAL-based auth (client credentials, OBO) |
Microsoft.Agents.Builder |
Core: AgentApplication, ITurnContext, ITurnState |
Microsoft.Agents.Core |
Models, activity types, channel accounts |
Microsoft.Agents.Storage |
IStorage, MemoryStorage |
Microsoft.Agents.Extensions.Teams |
Teams-specific models and extensions |
Microsoft.Agents.Builder.Dialogs |
Dialog system (waterfall, prompts) |
Microsoft.Agents.AI |
AI-specific features |
Minimal project requires only: Microsoft.Agents.Hosting.AspNetCore + Microsoft.Agents.Authentication.Msal. The others are transitive dependencies pulled in automatically.
Always use the latest non-beta (stable) version. Do not use --prerelease unless specifically needed.