working-with-ms-agent-framework

Migrate and orchestrate AI agents across the Microsoft Agent Framework.

2|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/mhagrelius/dotfiles --skill working-with-ms-agent-framework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: working-with-ms-agent-framework
Source: https://github.com/mhagrelius/dotfiles/tree/main/.claude/skills/working-with-ms-agent-framework
Command: npx skills add https://github.com/mhagrelius/dotfiles --skill working-with-ms-agent-framework

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Microsoft Agent Framework integration and migration can be complex, and teams often struggle with memory lifecycle, thread persistence, and cross-framework compatibility. This skill provides guidance on policy-based memory, context providers, and orchestration patterns to reduce errors and speed adoption.

Core Features & Use Cases

  • Unified guidance for ME AI Agent Framework adoption and migration from Semantic Kernel or AutoGen.
  • Policy-based memory and context management via AIContextBehavior and context providers.
  • Support for thread serialization, checkpointing, and multi-agent orchestration patterns (Sequential, Concurrent, Handoff, GroupChat, Magentic).
  • Reference patterns and patterns docs to accelerate production readiness.

Quick Start

Initialize an AIAgent with a thread and attach Mem0Provider for long-term memory and WhiteboardProvider for short-term context.

Frequently Asked Questions about working-with-ms-agent-framework

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

FAQPage Schema
How do I migrate agents to the Microsoft Agent Framework from Semantic Kernel or AutoGen?

To migrate agents to the Microsoft Agent Framework from Semantic Kernel or AutoGen, apply standardized orchestration patterns and utilize policy-based memory provisioning to ensure cross-framework compatibility and reduce lifecycle errors.

How does thread persistence and checkpointing work in the Microsoft Agent Framework?

Thread persistence and checkpointing in the Microsoft Agent Framework work through thread serialization and context providers, ensuring checkpoint resilience and reliable state recovery during multi-agent workflows.

What multi-agent orchestration patterns are supported by the Microsoft Agent Framework?

The Microsoft Agent Framework supports Sequential, Concurrent, Handoff, GroupChat, and Magentic multi-agent orchestration patterns, enabling structured and standardized workflow execution across various interaction models.

Can I enforce policy-based memory management using AIContextBehavior for my agents?

Yes, you can enforce policy-based memory management for your agents using AIContextBehavior, which provisions long-term memory via Mem0Provider and short-term context via WhiteboardProvider to control context lifecycle.

What is the best way to structure multi-agent workflows in the Microsoft Agent Framework?

The best way to structure multi-agent workflows in the Microsoft Agent Framework is by applying reference orchestration patterns like Sequential or GroupChat, combined with AIContextBehavior for reliable context and memory provisioning.

Why does my agent lose context during long-running multi-agent workflows?

Your agent loses context during long-running multi-agent workflows if thread persistence and checkpointing are not properly configured, which requires implementing thread serialization and context providers to maintain state.