microsoft-agent-framework
github/awesome-copilot
Create and refactor Microsoft Agent Framework solutions with language-specific guidance for .NET and Python.
What is microsoft-agent-framework?
This skill provides unified guidance for building applications, agents, and workflows on Microsoft Agent Framework—the successor to Semantic Kernel and AutoGen. Use it when implementing or migrating Agent Framework projects, with automatic routing to .NET or Python best practices and always-current official documentation.
- Route recommendations to .NET or Python based on project structure and user intent
- Ground implementation advice in latest official Microsoft Agent Framework documentation and samples
- Provide shared guidance on async patterns, error handling, logging, and strong typing
- Distinguish between agents (autonomous decision-making, tool usage) and workflows (multi-step orchestration, long-running tasks)
- Support migration from Semantic Kernel or AutoGen with official migration guides
- Recommend appropriate model providers including Azure AI Foundry, Azure OpenAI, and OpenAI
How to install microsoft-agent-framework
npx skills add https://github.com/github/awesome-copilot --skill microsoft-agent-frameworkHow to use microsoft-agent-framework
- 1.Identify whether your project uses .NET (`.cs`, `.csproj`, `.sln`) or Python (`.py`, `pyproject.toml`, `requirements.txt`)
- 2.Consult the Microsoft Agent Framework overview at learn.microsoft.com/agent-framework/overview/agent-framework-overview
- 3.Read the language-specific reference (dotnet.md or python.md) for package names, samples, and coding practices
- 4.Apply shared guidance: use async patterns, explicit error handling, strong typing, and DefaultAzureCredential for Azure auth
- 5.Choose agents for autonomous tasks and workflows for orchestration; prefer Azure AI Foundry for new projects when appropriate
- 6.If migrating, follow the official migration guide for Semantic Kernel or AutoGen before adopting native patterns
Use cases
- Building new agents for autonomous planning, conversation flows, or MCP server interactions
- Orchestrating multi-step workflows with predefined execution graphs and human-in-the-loop checkpoints
- Migrating existing Semantic Kernel applications to Agent Framework while preserving behavior
- Implementing thread-based state handling, context providers, and middleware patterns
- Reviewing or refactoring Agent Framework code to follow current best practices and API surface
- Backend engineers building .NET applications with C#
- Python developers creating AI agents and workflows
- Teams migrating from Semantic Kernel or AutoGen frameworks
- Architects designing multi-agent systems with Azure AI Foundry or OpenAI
microsoft-agent-framework FAQ
Use agents for autonomous decision-making, ad hoc planning, conversation flows, tool usage, and MCP server interactions. Use workflows for multi-step orchestration, predefined execution graphs, long-running tasks, and human-in-the-loop scenarios.
Match the language of your project files (`.cs`/`.csproj` for .NET, `.py`/`pyproject.toml` for Python). If both exist, use the language of the files being edited or follow the user's explicit request.
Yes. This skill treats older Semantic Kernel and AutoGen patterns as migration inputs. Use the official migration guides to preserve behavior first, then adopt native Agent Framework patterns incrementally.
The skill supports Azure AI Foundry, Azure OpenAI, OpenAI, and others. Azure AI Foundry is preferred for new projects when it matches your needs.
Always consult the official Microsoft Agent Framework documentation at learn.microsoft.com and use the Microsoft Docs MCP tooling when available. Treat the skill's guidance as a reference layer over live docs.
Full instructions (SKILL.md)
Source of truth, from github/awesome-copilot.
name: microsoft-agent-framework description: 'Create, update, refactor, explain, or review Microsoft Agent Framework solutions using shared guidance plus language-specific references for .NET and Python.'
Microsoft Agent Framework
Use this skill when working with applications, agents, workflows, or migrations built on Microsoft Agent Framework.
Microsoft Agent Framework is the unified successor to Semantic Kernel and AutoGen, combining their strengths with new capabilities. Because it is still in public preview and changes quickly, always ground implementation advice in the latest official documentation and samples rather than relying on stale knowledge.
Determine the target language first
Choose the language workflow before making recommendations or code changes:
- Use the .NET workflow when the repository contains
.cs,.csproj,.sln,.slnx, or other .NET project files, or when the user explicitly asks for C# or .NET guidance. Follow references/dotnet.md. - Use the Python workflow when the repository contains
.py,pyproject.toml,requirements.txt, or the user explicitly asks for Python guidance. Follow references/python.md. - If the repository contains both ecosystems, match the language used by the files being edited or the user's stated target.
- If the language is ambiguous, inspect the current workspace first and then choose the closest language-specific reference.
Always consult live documentation
- Read the Microsoft Agent Framework overview first: https://learn.microsoft.com/agent-framework/overview/agent-framework-overview
- Prefer official docs and samples for the current API surface.
- Use the Microsoft Docs MCP tooling when available to fetch up-to-date framework guidance and examples.
- Treat older Semantic Kernel or AutoGen patterns as migration inputs, not as the default implementation model.
Shared guidance
When working with Microsoft Agent Framework in any language:
- Use async patterns for agent and workflow operations.
- Implement explicit error handling and logging.
- Prefer strong typing, clear interfaces, and maintainable composition patterns.
- Use
DefaultAzureCredentialwhen Azure authentication is appropriate. - Use agents for autonomous decision-making, ad hoc planning, conversation flows, tool usage, and MCP server interactions.
- Use workflows for multi-step orchestration, predefined execution graphs, long-running tasks, and human-in-the-loop scenarios.
- Support model providers such as Azure AI Foundry, Azure OpenAI, OpenAI, and others, but prefer Azure AI Foundry services for new projects when that matches user needs.
- Use thread-based or equivalent state handling, context providers, middleware, checkpointing, routing, and orchestration patterns when they fit the problem.
Migration guidance
- If migrating from Semantic Kernel, use the official migration guide: https://learn.microsoft.com/agent-framework/migration-guide/from-semantic-kernel/
- If migrating from AutoGen, use the official migration guide: https://learn.microsoft.com/agent-framework/migration-guide/from-autogen/
- Preserve behavior first, then adopt native Agent Framework patterns incrementally.
Workflow
- Determine the target language and read the matching reference file.
- Fetch the latest official docs and samples before making implementation choices.
- Apply the shared agent and workflow guidance from this skill.
- Use the language-specific package, repository, sample paths, and coding practices from the chosen reference.
- When examples in the repo differ from current docs, explain the difference and follow the current supported pattern.
References
Completion criteria
- Recommendations match the target language.
- Package names, repository paths, and sample locations match the selected ecosystem.
- Guidance reflects current Microsoft Agent Framework documentation rather than legacy assumptions.
- Migration advice calls out Semantic Kernel and AutoGen only when relevant.
Related skills
More from github/awesome-copilot and the wider catalog.

microsoft-code-reference
Look up Microsoft API references, code samples, and verify SDK correctness against official docs.

microsoft-docs
Query official Microsoft documentation across Azure, .NET, Agent Framework, Aspire, VS Code, and GitHub.

microsoft-skill-creator
Generates ready-to-use agent skills for any Microsoft technology by investigating Microsoft Learn docs.

migrating-oracle-to-postgres-stored-procedures
Migrate Oracle PL/SQL stored procedures to PostgreSQL PL/pgSQL with syntax translation and Oracle-compatible collation.

mkdocs-translations
Automatically translate a full MkDocs docs site into a new language, preserving structure and updating i18n config.

model-recommendation
Analyze agent/prompt files and recommend optimal AI models based on task complexity, capabilities, and cost-efficiency.