Microsoft Agent Framework 1.0: Migrating from AutoGen and Semantic Kernel

Microsoft Agent Framework 1.0 unifies Semantic Kernel and AutoGen. Learn what changes, what survives, and how to migrate in order, step by step.

By Galactic News Editorial · Published 2026-11-27T17:05:50+00:00 · Updated 2026-11-27T17:05:50+00:00

Microsoft Agent Framework migration from AutoGen and Semantic Kernel

Microsoft Agent Framework 1.0: Migrating from AutoGen and Semantic Kernel

Microsoft Agent Framework 1.0 shipped in April 2026 as the unification of Semantic Kernel and AutoGen into one supported platform. Semantic Kernel is now in maintenance mode, with critical fixes only. Every new capability lands in Agent Framework. This guide explains what changes, what survives, and how to migrate in order, without a rewrite.

What Microsoft Agent Framework 1.0 is

Microsoft Agent Framework is a multi-language SDK for building AI agents and workflows with large language models. It is built by the same teams as Semantic Kernel and AutoGen. It takes the simple agent abstractions from AutoGen and the enterprise parts of Semantic Kernel, such as sessions, type safety, middleware and telemetry, and adds graph-based workflows for explicit multi-agent orchestration. It ships for .NET and Python, with Go in public preview.

The 1.0 release of 2 April 2026 is the line Microsoft calls production-ready, with stable APIs. The framework is built on Microsoft.Extensions.AI, so model access, tools and telemetry share one abstraction layer across providers.

Semantic Kernel is not switched off. Microsoft committed to keep supporting Semantic Kernel v1.x, fixing critical bugs and security issues, for at least one year after Agent Framework became generally available, which puts the earliest end of that window in April 2027. The same guidance is clear that the majority of new features will be built for Agent Framework. A working Semantic Kernel agent is not an emergency. Every month it stays there is a month without the new harness, the new approval model and CodeAct.

What changes in a Microsoft Agent Framework migration from AutoGen and Semantic Kernel

The biggest shift is architectural. Semantic Kernel centred everything on a Kernel object that owned the chat service, plugins, filters and memory. Agent Framework splits those responsibilities. Model access lives on an IChatClient from Microsoft.Extensions.AI. Agent behaviour lives on an AIAgent, most commonly a ChatClientAgent. Callable capabilities are plain AIFunctions created with AIFunctionFactory.Create. There is no longer a mandatory Kernel.

Tools change shape too. In Semantic Kernel, tools were plugin classes with KernelFunction methods. In Agent Framework, a tool is a plain function, created with AIFunction.Create or decorated as an AIFunction. A static method or an instance method works. No plugin class is required, though class-based tools still work when dependency injection or complex logic needs them.

Conversation state changes as well. Semantic Kernel agents used AgentGroupChat for conversation state. Agent Framework introduces explicit threads that you create, manage and can persist. The agent owns the session, and threads give you a handle on the conversation that survives across calls.

Multi-agent orchestration changes most of all. AutoGen paired an event-driven core with a high-level Team. Agent Framework centres on a typed, graph-based Workflow that routes data along edges and activates executors when inputs are ready. AgentGroupChat maps to workflow builders, with patterns such as handoff and magentic orchestration replacing custom selection and termination logic.

Semantic Kernel / AutoGenMicrosoft Agent Framework
KernelIChatClient plus AIAgent, no mandatory Kernel
Plugin with [KernelFunction]AIFunction via AIFunctionFactory.Create
ChatCompletionAgentChatClientAgent from chatClient.AsAIAgent
InvokeAsyncRunAsync
AgentGroupChatGraph-based Workflow
AutoGen TeamWorkflow with executors and edges
Selection and termination strategiesWorkflow completion handlers and handoff
Planners (Handlebars, Stepwise)Workflows and CodeAct

What stays the same

Much of the code survives. The foundations are familiar. You still create agents around a model client, provide instructions and attach tools. Both libraries support function-style tools, token streaming, multimodal content and async I/O.

Plugins transfer directly in many cases. Every plugin written with KernelFunction works in Agent Framework without modification, because the framework is built on top of Semantic Kernel. Kernel configuration, service registration and dependency injection patterns are also identical. That is why the migration can be incremental rather than a rewrite.

For AutoGen users, the similarities are also strong. The official AutoGen migration guide notes that both libraries support function-style tools, token streaming, multimodal content and async I/O. Model clients for major providers exist in both, with similar but not identical APIs. One difference worth noting: Agent Framework adds Responses API support through its OpenAIChatClient, which AutoGen does not offer.

How to migrate, step by step

Migrate tool by tool, not in one big change. The packages coexist, so old and new code can run side by side during the move.

  1. Audit the codebase. Find every ChatCompletionAgent and OpenAIAssistantAgent, every AgentGroupChat, every custom selection or termination strategy, and every direct manipulation of agent chat history. Plugins and kernel configuration do not need to change.
  2. Add the Agent Framework packages. For a typical .NET project, add Microsoft.Agents.AI and Microsoft.Extensions.AI, plus the provider package such as Azure.AI.OpenAI and Azure.Identity. The Semantic Kernel packages stay in place during the migration.
  3. Port the tools first. Extract the pure functions that were KernelFunction methods. Most need only a Description attribute. Register them with AIFunctionFactory.Create. Test each tool on its own before touching any agent.
  4. Replace agent construction. Swap Kernel plus ChatCompletionAgent for a chat client wrapped with AsAIAgent, passing the tools in. Replace InvokeAsync with RunAsync, and replace thread creation with agent-owned threads.
  5. Replace orchestration last. Map AgentGroupChat to a workflow, and map AutoGen teams to workflows with executors. Move selection strategies to handoff routing and termination conditions to workflow completion handlers.
  6. Test incrementally. Test each migrated component before moving on. Keep the old agent running beside the new one until the new one passes the same checks on the same inputs.

For Python teams, the official AutoGen migration guide on learn.microsoft.com walks through the same path with side-by-side code: model client setup, single-agent feature mapping, then multi-agent orchestration, with links to runnable samples in the Agent Framework repository.

What the migration buys you

Three things arrive with Agent Framework that a hand-rolled Semantic Kernel agent never had. First, context compaction: long conversations are summarised automatically instead of growing until they hit a token limit. Second, standing tool approvals: a user can approve a tool once for a session instead of confirming every call. Third, default OpenTelemetry tracing: every agent run is observable without extra wiring.

Graph workflows are the fourth gain. Explicit edges between executors make multi-agent behaviour visible and testable, where AgentGroupChat hid the coordination inside selection strategies. Native MCP and A2A support, durable execution and better middleware complete the picture.

None of this is urgent for a stable Semantic Kernel agent in production. But it is the direction of all new investment. Plan the migration now, move the tools first, and let the agents follow one at a time.

Bottom line

Microsoft Agent Framework 1.0 is the successor to both Semantic Kernel and AutoGen, not a third framework to evaluate alongside them. The migration is mostly mechanical: drop the Kernel, turn plugins into AIFunctions, swap InvokeAsync for RunAsync, and replace group chats with graph workflows. Port tools first, then agents, then orchestration. Keep the old code running until the new code proves itself. Semantic Kernel has at least a year of critical fixes left, so there is time to do it properly, but no reason to wait.