Migrating Semantic Kernel Agents to Microsoft Agent Framework in ASP.NET Core
Semantic Kernel, long the default .NET agent toolkit, is now in maintenance mode, with only critical fixes being shipped. Microsoft Agent Framework 1.0, released in April 2026, merges Semantic Kernel's enterprise capabilities with AutoGen's orchestration patterns, and all new features such as graph workflows and native MCP and A2A support are landing only there. The article presents a step-by-step, incremental migration of a tool-using agent into an ASP.NET Core application, using current package names and APIs. The main architectural change replaces the central Kernel object with separate components: chat clients from Microsoft.Extensions.AI, AIAgent instances, AIFunctions, agent-managed sessions, and middleware. Developers are advised to use the stable 1.26 release of the framework, while existing Semantic Kernel agents do not need to be rewritten immediately but face a growing gap the longer migration is delayed.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in