Microsoft Agent Framework for .NET: What’s Stable, What’s in Preview, and What’s Deprecated?

You start a new C# agent project, open NuGet, and see 41 packages under the Microsoft Agent Framework publisher. The core SDK says 1.28.0. The Foundry adapter says 1.28.0-preview. Two packages with nearly identical Azure AI names have different migration stories. Which ones do you actually need?

The package I’d start with is Microsoft.Agents.AI. Then I’d add the adapter for the provider I’m using and bring in workflow, hosting, or storage packages as the application calls for them. That approach makes it easier to see exactly where you’re taking a dependency on a prerelease.

As of December 6, 2026, the 41 NuGet packages break down into 12 stable, 20 preview, 4 alpha, 2 release candidates, and 3 deprecated. One of those 20 preview packages also exposes APIs marked [Obsolete]. MicrosoftAgentFramework on NuGet

What the NuGet labels mean for your C# project

Status What it means
Stable The latest listed version has no prerelease suffix. The core SDK is on 1.28.0, while the two stable Durable Extension packages are on their own 1.16.1 release line.
Preview The package has a -preview release. If you use it, pin the version and test upgrades against the features your application depends on.
Alpha An early prerelease, identified by -alpha. Expect the API and behavior to evolve as the feature develops.
Release candidate (RC) A prerelease identified by -rc. It’s a candidate for a stable release and may still change.
Deprecated NuGet flags the package version as deprecated. Check the package page for a suggested replacement.
Obsolete API A type or method carries the C# [Obsolete] attribute. You can see a compiler warning even when the NuGet package still appears in the catalog as a preview.

All statuses below reflect the latest listed NuGet release at the time of writing. Package maturity can differ from the maturity of a specific API or of the service it connects to. That distinction matters when the SDK adapter, the cloud service, and your application each have their own release cycle. NuGet package catalog · Microsoft Agent Framework documentation

Core SDK, model providers, and workflows

Here’s a distinction that can save you time in NuGet. YAML workflows are supported by the stable Workflows.Declarative package. YAML agent definitions use Microsoft.Agents.AI.Declarative, which is a release candidate. If your YAML workflow calls a Foundry agent, that step brings in a separate preview adapter.

NuGet package Status What it adds
Microsoft.Agents.AI Stable The core agent runtime, including ChatClientAgent, sessions, middleware, and context providers.
Microsoft.Agents.AI.Abstractions Stable The shared contracts for AIAgent, sessions, responses, and streaming updates.
Microsoft.Agents.AI.Anthropic Stable Turns Anthropic SDK clients into Claude-backed Agent Framework agents.
Microsoft.Agents.AI.CopilotStudio Preview Lets a .NET application invoke published Copilot Studio agents.
Microsoft.Agents.AI.Declarative RC Loads and constructs agents from declarative definitions such as YAML.
Microsoft.Agents.AI.Foundry Preview Connects to Microsoft Foundry models and agents and integrates Foundry tools, memory, and evaluations.
Microsoft.Agents.AI.GitHub.Copilot Stable Wraps the GitHub Copilot SDK in an Agent Framework agent.
Microsoft.Agents.AI.Harness Stable Provides HarnessAgent, a preconfigured agent for long-running, multi-step tasks.
Microsoft.Agents.AI.OpenAI Stable Adapts OpenAI SDK Chat Completions and Responses clients into Agent Framework agents.
Microsoft.Agents.AI.Workflows Stable Runs graph-based workflows with agents and other executors. Supports streaming, checkpointing, and human-in-the-loop steps.
Microsoft.Agents.AI.Workflows.Declarative Stable Loads and runs workflows defined in YAML.
Microsoft.Agents.AI.Workflows.Declarative.Foundry Preview Lets steps in a declarative workflow invoke Microsoft Foundry agents.
Microsoft.Agents.AI.Workflows.Declarative.Mcp Stable Connects declarative workflows to Model Context Protocol (MCP) servers and their tools.
Microsoft.Agents.AI.Workflows.Generators Stable Uses Roslyn source generators to configure executor message routes at compile time.

NuGet publisher catalog · NuGet publisher catalog, page 2

Hosting, protocols, and developer tools

If you want your .NET app to call another agent over Agent2Agent (A2A), look at Microsoft.Agents.AI.A2A. To expose your agent over A2A from an ASP.NET Core app, start with Hosting.A2A.AspNetCore. It brings in the shared server-side Hosting.A2A package. Microsoft Learn A2A hosting guide

NuGet package Status What it adds
Aspire.Hosting.AgentFramework.DevUI Preview Adds Agent Framework DevUI to an Aspire AppHost for local development.
Microsoft.Agents.AI.A2A Preview Wraps a remote A2A endpoint as an agent your application can invoke.
Microsoft.Agents.AI.DevUI Preview Provides a browser UI for running, testing, and debugging agents and workflows.
Microsoft.Agents.AI.DurableTask Stable Runs agents and workflows on Durable Task with persisted state and resumable execution.
Microsoft.Agents.AI.Foundry.Hosting Preview Adapts your code-based agent so the Microsoft Foundry Hosted Agents runtime can host and invoke it.
Microsoft.Agents.AI.Hosting Preview Supplies common hosting services, including dependency-injection registration and session-store abstractions.
Microsoft.Agents.AI.Hosting.A2A Preview Provides the server-side A2A bridge for registration, request handling, and session management.
Microsoft.Agents.AI.Hosting.A2A.AspNetCore Preview Maps A2A protocol endpoints into an ASP.NET Core application.
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore Preview Exposes ASP.NET Core endpoints that stream AG-UI events to frontend clients.
Microsoft.Agents.AI.Hosting.AspNetCore Preview Integrates agent hosting and session management with ASP.NET Core.
Microsoft.Agents.AI.Hosting.AzureFunctions Stable Hosts durable agents and workflows in Azure Functions and provides HTTP endpoints for interacting with agents.
Microsoft.Agents.AI.Hosting.AzureStorage Preview Persists hosted agent sessions in Azure Blob Storage.
Microsoft.Agents.AI.Hosting.OpenAI Alpha Exposes agents through OpenAI-compatible Responses, Conversations, and Chat Completions endpoints.
Microsoft.Agents.AI.ProjectTemplates Preview Installs Agent Framework starter projects for the dotnet new CLI.

NuGet publisher catalog · Microsoft’s Durable Extension GA announcement

Storage, execution tools, and governance

“Store the conversation” and “remember something about the user” lead to different packages. The Cosmos DB integration can persist chat history and workflow checkpoints. Foundry’s managed memory extracts facts and summaries and retrieves relevant memories in later sessions. The standalone FoundryMemory package still has a preview listing, and Microsoft’s current .NET examples install Microsoft.Agents.AI.Foundry to use FoundryMemoryProvider. Microsoft Learn Foundry context providers

NuGet package Status What it adds
Microsoft.Agents.AI.AgentHooks Alpha Implements the Agent Hooks protocol so interceptors can evaluate actions and return policy verdicts.
Microsoft.Agents.AI.CosmosNoSql Preview Persists agent chat history and workflow checkpoints in Azure Cosmos DB for NoSQL.
Microsoft.Agents.AI.FoundryMemory Preview A standalone preview integration for Microsoft Foundry’s managed agent memory.
Microsoft.Agents.AI.Hyperlight Preview Runs agent-generated code through CodeAct in a Hyperlight micro-VM.
Microsoft.Agents.AI.LocalCodeAct Preview Runs agent-generated Python in a local process with syntax-tree validation. Isolation depends on an external sandbox.
Microsoft.Agents.AI.Mcp Alpha Adds framework-specific MCP features such as MCP Tasks and support for skills served over MCP.
Microsoft.Agents.AI.Purview RC Connects generative AI applications to Microsoft Purview for data governance and data loss prevention.
Microsoft.Agents.AI.Tools.Shell Preview Gives agents local or Docker-based shell execution tools with support for approval workflows.
Microsoft.Agents.AI.Valkey Alpha Persists chat history in Valkey and retrieves relevant context with full-text search.

NuGet publisher catalog, page 2 · NuGet publisher catalog, page 3 · The Training Boss guide to AgentHooks

Deprecated packages and obsolete APIs to check in older projects

If you’re revisiting code written during the early previews, search your .csproj or Directory.Packages.props for these four package IDs. Start by identifying what the code actually does. An old AG-UI client, a classic Azure AI agent, and a YAML workflow calling Foundry each have a different migration path.

NuGet package Status What it did and where to go
Microsoft.Agents.AI.AGUI Deprecated The former framework AG-UI client. Use AGUI.Client for client functionality. NuGet points to AGUI.Abstractions for the protocol contracts. NuGet
Microsoft.Agents.AI.AzureAI Deprecated The former Foundry agent integration package. NuGet points to Microsoft.Agents.AI.Foundry. NuGet
Microsoft.Agents.AI.AzureAI.Persistent Preview with obsolete APIs Wraps the classic Azure AI Persistent Agents service. Its agent extension methods are marked [Obsolete]. Use Microsoft.Agents.AI.Foundry for the current Foundry integration. NuGet · API details
Microsoft.Agents.AI.Workflows.Declarative.AzureAI Deprecated The former adapter for calling Azure AI agents from YAML workflows. NuGet points to Microsoft.Agents.AI.Workflows.Declarative.Foundry. NuGet

What I’d install for a new project

  • An OpenAI-backed agent in C#: start with Microsoft.Agents.AI and Microsoft.Agents.AI.OpenAI. Both are stable.
  • A multi-step agent workflow: add the stable Microsoft.Agents.AI.Workflows. Add Workflows.Declarative if you want to define the workflow in YAML.
  • An agent that needs to resume after a restart: look at the stable Microsoft.Agents.AI.DurableTask. Add Microsoft.Agents.AI.Hosting.AzureFunctions if Azure Functions is your host.
  • A Foundry-backed agent: add Microsoft.Agents.AI.Foundry and pin the preview version you’ve tested. If Foundry will host your own agent code, Microsoft.Agents.AI.Foundry.Hosting covers that deployment scenario.

The next time you open NuGet, start with the capability your application needs. Check the status of the package that delivers it, then make the dependency decision at that level. You can build on the stable core today and decide exactly where a preview integration earns its place in your project.

Leave a Comment

Your email address will not be published. Required fields are marked *

more insights

Scroll to Top