migrating-semantic-kernel-to-agents

Migrate .NET projects from Semantic Kernel Agents to Microsoft.Agents.AI.

19|2|Updated May 13, 2026
One-click install
npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill migrating-semantic-kernel-to-agents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrating-semantic-kernel-to-agents
Source: https://github.com/microsoft/upgrade-agent-plugins/tree/main/plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/libraries/migrating-semantic-kernel-to-agents
Command: npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill migrating-semantic-kernel-to-agents

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill migrates .NET projects from the Semantic Kernel Agents library to the Agent Framework, simplifying the upgrade process and improving integration capabilities.

Core Features & Use Cases

  • Automated Migration: Handles NuGet package updates, namespace changes, and agent creation for seamless transition.
  • Code Transformation: Applies code transformations to replace old SK agent types and methods with their Agent Framework equivalents.
  • Validation: Validates migration outcomes with detailed checks to ensure code integrity and functionality.
  • Use Case: Migrating a .NET application from Microsoft.SemanticKernel.Agents to Microsoft.Agents.AI for enhanced agent management and better integration with other tools.

Quick Start

Migrate your .NET project by using the skill: "migrate .NET project to Agent Framework."

Frequently Asked Questions about migrating-semantic-kernel-to-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a .NET project from Semantic Kernel Agents to Agent Framework?

To migrate a .NET project from Semantic Kernel Agents to Agent Framework, this skill automates NuGet package updates, namespace changes, and replaces old SK agent types with Microsoft.Agents.AI equivalents. It handles code refactoring and framework compatibility checks to ensure a smooth transition.

Can I automatically refactor Semantic Kernel agent types to Microsoft Agents.AI equivalents?

Yes, you can automatically refactor Semantic Kernel agent types to Microsoft Agents.AI equivalents. The skill applies code transformations to replace old SK agent types and methods, handling library replacement and validating migration outcomes to ensure code integrity and functionality.

What does migrating from Semantic Kernel to Agent Framework solve for .NET applications?

Migrating from Semantic Kernel to Agent Framework solves integration and upgrade challenges for .NET applications. It simplifies the transition to Microsoft.Agents.AI, providing enhanced agent management and better integration with other tools through automated library replacement and code refactoring.

Does the Semantic Kernel to Agent Framework migration validate code integrity?

Yes, the Semantic Kernel to Agent Framework migration validates code integrity. It performs detailed checks to validate migration outcomes, ensuring functionality is preserved after replacing NuGet packages and applying namespace changes to your .NET codebase.

Do I need to analyze project dependencies before migrating to Microsoft Agents.AI?

Yes, you need to analyze project dependencies before migrating to Microsoft Agents.AI. The migration process requires codebase understanding and dependency analysis to ensure framework compatibility and a smooth migration path for your .NET project.