Skip to content

Python: semantic-kernel to agent-framework migration code samples - #1045

Merged
Evan Mattson (moonbox3) merged 7 commits into
microsoft:mainfrom
moonbox3:sk-to-af-migration
Oct 1, 2025
Merged

Python: semantic-kernel to agent-framework migration code samples#1045
Evan Mattson (moonbox3) merged 7 commits into
microsoft:mainfrom
moonbox3:sk-to-af-migration

Conversation

@moonbox3

Copy link
Copy Markdown
Contributor

Motivation and Context

To help developers onboard to the agent-framework, coming from semantic-kernel, we have some "side-by-side" comparisons of current agents in SK, and how they are now represented in AF.

Additionally, we are adding some samples to show orchestration patterns from SK and how they're now represented in AF, along with some SK process to AF workflows samples.

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

@moonbox3 Evan Mattson (moonbox3) added documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs python Usage: [Issues, PRs], Target: Python labels Oct 1, 2025
Copilot AI review requested due to automatic review settings October 1, 2025 05:26
@moonbox3 Evan Mattson (moonbox3) added agents Usage: [Issues, PRs], Target: Single agent workflows Usage: [Issues, PRs], Target: Workflows labels Oct 1, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds migration code samples to help developers transition from semantic-kernel to the agent-framework. The samples provide side-by-side comparisons showing how current semantic-kernel agents and orchestration patterns are represented in the agent-framework.

Key Changes

  • Comprehensive migration samples covering agents, orchestrations, and processes
  • Side-by-side code comparisons between semantic-kernel and agent-framework
  • Configuration updates to exclude migration samples from type checking

Reviewed Changes

Copilot reviewed 22 out of 23 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
python/samples/semantic-kernel-migration/README.md Documentation explaining the migration samples structure and usage
python/samples/semantic-kernel-migration/processes/*.py Process framework migration samples (nested, fan-out/fan-in)
python/samples/semantic-kernel-migration/orchestrations/*.py Orchestration pattern migration samples (sequential, concurrent, magentic)
python/samples/semantic-kernel-migration//01_.py through 03_*.py Agent migration samples for various client types
python/pyproject.toml Added exclusion for migration samples from pyright type checking
python/.vscode/settings.json Added exclusion for migration samples from Python analysis

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread python/samples/semantic-kernel-migration/README.md
Comment thread python/samples/semantic-kernel-migration/README.md
@moonbox3
Evan Mattson (moonbox3) added this pull request to the merge queue Oct 1, 2025
@moonbox3
Evan Mattson (moonbox3) removed this pull request from the merge queue due to a manual request Oct 1, 2025
@moonbox3
Evan Mattson (moonbox3) added this pull request to the merge queue Oct 1, 2025
Merged via the queue into microsoft:main with commit fb51d91 Oct 1, 2025
16 checks passed
Reuben Bond (ReubenBond) pushed a commit to ReubenBond/agent-framework that referenced this pull request Oct 28, 2025
…crosoft#1045)

* wip migrations

* Wip: workflow migrations

* Add migration samples for sk to af

* Fix typo

* Fixes
AQ-1970 (Arturo-Quiroga-MSFT) pushed a commit to Arturo-Quiroga-MSFT/agent-framework-public that referenced this pull request Nov 23, 2025
…crosoft#1045)

* wip migrations

* Wip: workflow migrations

* Add migration samples for sk to af

* Fix typo

* Fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Usage: [Issues, PRs], Target: Single agent documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs python Usage: [Issues, PRs], Target: Python workflows Usage: [Issues, PRs], Target: Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants