working-with-ms-agent-framework
Use when building AI agents with Microsoft Agent Framework (Semantic Kernel + AutoGen unified); when implementing memory or context providers; when threads won't deserialize; when workflow checkpointing fails; when migrating from Semantic Kernel or AutoGen; when seeing ChatAgent or AgentThread errors
npx skills add majiayu000/claude-skill-registry --skill working-with-ms-agent-framework-mhagrelius-dotfiles-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Working with Microsoft Agent Framework Microsoft Agent Framework (October 2025) unifies Semantic Kernel and AutoGen into one SDK. Both legacy frameworks are in maintenance mode. **Core principle:** Agents are stateless. All state lives in threads. Context providers enforce **policy** about what enters the prompt, how, and when it decays. > **Additional reference files in this skill:** > - `context-providers.md` - Policy-based memory, capsule pattern, Mem0 integration > - `orchestration-patterns.md` - The 5 orchestration patterns with when-to-use guidance > - `design-patterns.md` - Production patterns, testing, migration ## When to Use - Building AI agents with Microsoft's unified framework - Implementing custom memory with Context Providers - Creating multi-agent workflows with checkpointing - Migrating from Semantic Kernel or AutoGen ## When NOT to Use - Simple single-turn LLM calls (use chat client directly) - Projects staying on legacy SK/AutoGen - Non-Microsoft frameworks (LangChain, CrewAI) ## Technology Stack Hierarchy **Official guidance (Jeremy Licknes, PM):** Start with ME AI, escalate only when needed. | Layer | Use For | When to Escalate | |-------|---------|----------
- When to Use
- When NOT to Use
- Technology Stack Hierarchy
- Architecture Quick Reference
- Installation
- Agent Creation
- Execution
- Streaming with Resilience
- Development UI (DevUI)
- Python Setup
- C# Setup
- Features
- Tracing in DevUI
- OpenAI SDK Integration
dotnet add package Microsoft.Agents.AI.OpenAI --prerelease dotnet add package Azure.AI.OpenAI --version 2.1.0 pip install agent-framework-devui --pre devui ./entities --port 8080 --tracing export OTLP_ENDPOINT="http://localhost:4317" devui ./entities --tracing
What does the working-with-ms-agent-framework skill do?
Use when building AI agents with Microsoft Agent Framework (Semantic Kernel + AutoGen unified); when implementing memory or context providers; when threads won't deserialize; when workflow checkpointing fails; when migrating from Semantic Kernel or AutoGen; when seeing ChatAgent or AgentThread errors
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill working-with-ms-agent-framework-mhagrelius-dotfiles-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
