Microsoft Agent Framework
GitHubOfficialFirst committed by aaronpowellDistributed by GitHub
- Skill
- Tool integration
- Software development
- MIT
- Low risk
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The Microsoft Agent Framework skill provides structured support for building autonomous agents and orchestration workflows. It acts as a bridge between the framework's evolving documentation and developer implementation, ensuring that code adheres to current best practices for .NET and Python. The skill emphasizes the use of official documentation and samples to navigate the framework's public preview status, providing specific guidance for migrating legacy Semantic Kernel or AutoGen projects into the unified Agent Framework architecture.
What it does
- Provides language-specific implementation guidance for .NET and Python projects.
- Assists in refactoring and updating existing agent-based solutions.
- Offers migration paths from Semantic Kernel and AutoGen to the Microsoft Agent Framework.
- Ensures adherence to async patterns, strong typing, and standard dependency injection.
- Facilitates the integration of agents for autonomous decision-making and workflow orchestration.
When to use it
- When starting a new project using the Microsoft Agent Framework.
- When migrating existing Semantic Kernel or AutoGen implementations.
- When needing to align code with the latest framework API patterns and samples.
- When implementing multi-step workflows or autonomous agent logic in .NET or Python.
Advantages
- Maintains consistency with official Microsoft Agent Framework documentation.
- Supports both .NET and Python ecosystems with tailored best practices.
- Reduces technical debt by providing clear migration strategies.
- Promotes maintainable code through idiomatic language patterns.
Usage examples
- “How do I start a new Microsoft Agent Framework project in .NET?”
- The agent provides the necessary package installation command and outlines the standard .NET hosting and dependency injection patterns.
- “Migrate my existing AutoGen project to the new Microsoft Agent Framework.”
- The agent references the official migration guide and suggests incremental steps to adopt native framework patterns while preserving current behavior.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/github/microsoft-agent-framework/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip microsoft-agent-framework.zip -d .agents/skills
Documentation by aaronpowell
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.
Files
- ATTRIBUTION.mdAdded by AutoGineer889 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md4.1 KiB
- references/dotnet.md912 B
- references/python.md848 B
references/python.md
Microsoft Agent Framework for Python
Use this reference when the target project is written in Python.
Authoritative sources
Repository: https://github.com/microsoft/agent-framework/tree/main/python
Samples: https://github.com/microsoft/agent-framework/tree/main/python/samples
Installation
For new projects, install the package with:
pip install agent-frameworkPython-specific guidance
Use modern async patterns throughout agent and workflow operations.
Add type hints and keep APIs explicit even in dynamic code.
Follow standard Python packaging and environment practices for dependencies and tooling.
Use middleware, context providers, and orchestration patterns in ways that fit the Python application structure.
Check the latest Python samples before introducing new APIs or workflow patterns.
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an MCP server, Needs Python
Security
What our scanner noticed· Low risk
- Instructions that use the network
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- First committed by
aaronpowell
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/microsoft-agent-framework · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- aaronpowell
AutoGineer is not affiliated with or endorsed by aaronpowell or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download microsoft-agent-framework.zip