← Back to Project List
Microsoft Agent Framework(MAF) is Microsoft next-generation open source framework for production-level AI Agent and multi-agent workflows, supporting Python and. NET/C#, and for Microsoft Foundry, Azure OpenAI, OpenAI, GitHub Copilot SDK and other ecosystems. It is the succession direction after the integration of AutoGen and Semantic Kernel team experience. The focus is not only on "being able to build Agent", but also on advancing Agent from prototype to enterprise-level workflow that can be observed, recovered, governed and manually intervened. Pre-sales, it is particularly suitable for Microsoft/Azure technology stack customers, new Agent platforms, AutoGen/Semantic Kernel migration, and multi-Agent projects that require production governance.

1. Project Overview

DimensionInformation
Projectsmicrosoft/agent-framework
PositioningProduction-grade AI agents and multi-agent workflows
Core competenciesAgents, Workflows, Providers, Tools/MCP, Middleware, Observability, Checkpoint, Human-in-the-loop
Supported languagesPython, C#/.NET
Open Source ProtocolREADME and GitHub information is shown as MIT
Python Package'agent-framework',PyPI query returns version '1.9.0 ',Python requires'>= 3.10 '
. NET Package'Microsoft. Agents.AI',NuGet query returns version '1.11.1 '
Officialhttps://learn.microsoft.com/en-us/agent-framework/
GitHub HeatGitHub API Triggers Anonymous Flow Limit This Time; Previously, 2026-06-30 queried about 11.8k stars and 2.0k forks, and it is recommended to open warehouse badge to view real-time values
Current ActivityREADME and MS Learn are both displayed as Microsoft the currently recommended new framework for Agent/Workflow; Warehouse 2026-06-30 still has updated records

The project comes with key diagrams:

! Microsoft Agent Framework Banner

Video entry in the official README:

! Microsoft Agent Framework Introduction

2. What does it mostly do?

The Microsoft Agent Framework provides two broad categories of capabilities:

CategoryOfficial PositioningPre-Sales Explanation
AgentsUse LLM to process input, invoke tools/MCP servers, generate responsesBuild a single Intelligent Assistant or Task Agent
WorkflowsSchema-based workflows, connecting agents and functions, and supporting type-safe routing, checkpoint, and auditingBuild controllable, recoverable, and auditable multi-step business processes

Compared with the common Agent SDK, MAF emphasizes from prototype to production:

CapabilitiesDescriptionsValue to Customers
Python. NET dual stackPython and C#/.NET framework supportMicrosoft enterprise customers, mixed technology teams
Multi-model ProviderREADME mentions Microsoft Foundry, Azure OpenAI, OpenAI;MS Learn also lists Provider directions such as Anthropic and OllamaAvoid binding a single model to facilitate architecture evolution
Graph-based WorkflowsSequential, concurrent, handoff, group collaboration and other modesComplex processes can be explicitly modeled, not just multiple rounds of chat
Checkpoint / ResumeWorkflows can be persisted, restored, and fault-tolerant for long tasks.Suitable for long processes, approval processes, and batch processing.
Human-in-the-loopWorkflow can pause waiting for manual input and then continue execution.High-risk scenarios are controllable and meet audit requirements.
MiddlewareRequest/response handling, exception handling, and custom pipelineEnterprises can add authentication, logs, policies, and filtering
ObservabilityOpenTelemetry distributed tracking, monitoring, and debuggingProduction O & M can see Agent/Tool/Workflow behavior
Foundry Hosted AgentsREADME says it can deploy to Foundry-hosted infrastructure with a small amount of codeAttractive to Azure/Microsoft Foundry customers
Declarative AgentsDefines agents in YAML for easy versioning and configurationSuitable for team collaboration and environment variance management
Agent SkillsBuild domain knowledge from files, inline code, class libraries, etc. for Agent useSuitable for enterprise knowledge and tool capability precipitation
DevUIInteractive development, testing, and debugging workflowsShorten the development and debugging cycle and facilitate demo

3. Relationship with AutoGen / Semantic Kernel

A large part of MAF's pre-sale value comes from the "official succession route".

The MS Learn overview makes it clear that the Agent Framework combines AutoGen simple Agent abstraction with enterprise-level Kernel-Semantic capabilities, such as session-based state management, type safety, middleware/filters, telemetry, and richer model and embedding support. It also adds a graph-based workflows for explicit multi-Agent execution path control.

Source ItemOriginal AdvantageMAF Absorption/Evolution Direction
AutoGenSimple, abstract, GroupChat, and event-driven Agent runtime for single-agent/multi-agentMore productive agents and Workflow,AutoGen user migration routes
Semantic KernelEnterprise features, plug-ins/tools, status, telemetry, and model ecosystemUnified into the new Agent Framework, for production workflows
MAFNew Generation Unified RoutePython. NET,Agents Workflows,Foundry/Azure/OpenAI Ecosystem

Pre-sales words:

"If the customer is still evaluating the AutoGen, it is time to directly include the Microsoft Agent Framework as a primary option, as it is Microsoft current new route to production-level Agents."

4. Core Competence List

Agent creation'Agent' encapsulates models, instructions, tools, and sessionQuickly build a task-based intelligent assistant
Session StateManage multiple rounds of context through AgentSessionSupport continuous conversations and external state storage
Tools/MCPAgent Callable Functions, MCP servers, and hosted toolsConnect enterprise systems with external services
StreamingBoth Agent and client support streaming outputImproves the frontend experience and reduces wait time
Typed WorkflowsConnect executor, agents, and functions in a type-safe mannerReduce maintenance costs for complex processes
Request/ResponseWorkflows can initiate a human request and wait for a responseSuitable for approval, quality inspection, and compliance processes
CheckpointingCapture executor state, shared state, message queue, and workflow positionLong tasks can be recovered, reducing the number of failed reruns
OpenTelemetryAgent, Workflow, Tool execution TrackingEnterprise O & M, Audit, and Error-debugging
MiddlewareIntercept request/response, exception handling, custom pipelineEnterprise governance, security policy, log tracking
Provider abstractionFoundry, Azure OpenAI, OpenAI, and moreModels are replaceable and reduce vendor lock-in
Hosting samplesAzure Functions, Durable Task hosting, A2A, etc.Help customers move from SDK to deployment

5. What about Agents vs Workflows

MS Learn gives a good judgment standard:

When using agent... | Use Workflow when... |

|---|---|

| The task is open and conversational | The process has clear steps |

| Requires autonomous tool use and planning | Requires explicit control over execution order |

| A single LLM call or a tool call is enough. | Multiple agents or functions must work together. |

There is another sentence that is very useful before sales:

If you can use ordinary functions to handle tasks, use functions instead of AI for AI.

The pre-sales value behind this sentence is that MAF does not encourage turning everything into an Agent, but puts the Agent into the links that really require reasoning, tool invocation, and human-computer collaboration; The deterministic steps are still controlled by ordinary code/Workflow. This is more in line with the requirements of enterprise customers for stability, cost and controllability.

6. Architecture/deployment/integration approach

The typical architecture of MAF can be understood:

  1. Provider layer: Connect Microsoft Foundry, Azure OpenAI, OpenAI, other model vendors.
  2. Agent layer: build Agent with model, instructions, tools and session.
  3. Tool/MCP layer: connect enterprise API, MCP Server, hosted tools, code interpreter, file retrieval, etc.
  4. Workflow layer: schema arrangement Agent, function, manual approval, checkpoint, branch routing.
  5. Observability/Governance layer: OpenTelemetry, middleware, log, policy, content filtering.
  6. Hosting tier: local development, Azure Functions, Durable Agents/Workflows, Foundry Hosted Agents, A2A.

When targeting Azure customers, focus on:

Integration PointsPre-Sales Meaning
Microsoft FoundryUnified model, project, and managed agent capabilities
Azure OpenAIEnterprise common model base
Azure IdentityEnterprise authentication routes
ManagedIdentityCredentialSafer authentication methods for production environments
Azure Functions / Durable TaskServerless and persistent workflow deployment
OpenTelemetryAccess Enterprise Monitoring and Observable Platform

How to use #7.

Python installation:

pip install agent-framework
pip install azure-identity

. NET installation:

dotnet add package Microsoft.Agents.AI
dotnet add package Microsoft.Agents.AI.Foundry
dotnet add package Azure.AI.Projects
dotnet add package Azure.Identity

Python Minimal Example:

import asyncio
from agent_framework import Agent
from agent_framework.foundry import FoundryChatClient
from azure.identity import AzureCliCredential

async def main():
    client = FoundryChatClient(
        credential=AzureCliCredential(),
        # project_endpoint="https://your-project.services.ai.azure.com",
        # model="gpt-4o",
    )

    agent = Agent(
        client=client,
        name="HelloAgent",
        instructions="You are a friendly assistant. Keep your answers brief.",
    )

    result = await agent.run("What is the capital of France?")
    print(result)

if __name__ == "__main__":
    asyncio.run(main())

Streaming output:

async for chunk in agent.run("Tell me a one-sentence fun fact.", stream=True):
    if chunk.text:
        print(chunk.text, end="", flush=True)

Note: MS Learn explicitly reminds the Agent that the '.env' file Framework not be loaded automatically; if'.env' is required, load_dotenv()'is explicitly called in the application'.

8. Applicable Scenario

SceneFitDescription
New Agent platform for Microsoft/Azure customersHighFoundry, Azure OpenAI, Azure Identity,. NET Ecological Match
AutoGen MigrationHighOfficial AutoGen to MAF Migration Guide
Semantic Kernel Migration/UpgradeGaoOfficial SK Migration Guide
Production-level multi-agent workflowHighGraph workflow, checkpoint, human review, and observability are the core advantages
Enterprise internal process automationHighYou can combine common functions, agents, and manual approvals into Workflow
long task/asynchronous taskhighCheckpoint/resume, Durable hosting idea adaptation
Simple ChatbotMedium and LowMAF may be more important, and direct Chat API or lightweight SDK is simpler
Non-Microsoft technology stack customersPython/OpenAI can still be used, but the ecological advantage will be weaker

9. Not quite the scene

Unsuitable pointCause
Only one LLM call is requiredThe workflow/governance power of MAF will appear heavy
Customers do not use Azure/Microsoft ecosystem at allMAF is still available, but the benefits of Foundry/.NET/Azure Identity are not obvious
Need a highly mature fully managed business platformMAF is an open source framework/SDK, and still needs to build an application layer and operation and maintenance system
Full zero risk tolerance for third-party toolsREADME clearly indicates that third-party systems, non-Azure models, MCP/tool use are subject to self-risk and governance
All provider are required to be equally matureSome provider/capabilities in the migration guide are still in planned status and need to be confirmed item by item

10. What can I say before sales

One-sentence positioning:

"Microsoft Agent Framework is a new generation framework for Microsoft current production-level Agent and multi-Agent workflows, unifying AutoGen multi-Agent thinking with Kernel-Semantic enterprise capabilities, and is suitable for moving from prototype to governed, observable, and recoverable enterprise-level Agent applications."

Customer Value:

Customer Pain PointsMAF Value
AutoGen enters maintenance mode, do not know what to choose for the new projectMAF is the official succession route with migration guide
Agent demo can run, but production is uncontrollableWorkflow, checkpoint, human review, middleware, observability provide engineering control surface
Python and. NET teams do one set eachMAF provides Python C#/.NET consistent framework
Enterprise to Azure/Foundry integrationNative support Foundry, Azure OpenAI, Azure Identity
Multi-Agent is too "black box".Schema Workflow explicitly express the execution path, which is convenient for auditing and debugging.
Worry about the risk of tool invocationGovernance can be designed through middleware, human-in-the-loop, and permission boundaries

11. Comparison with AutoGen / CrewAI / LangGraph

FrameMore suitableDifference point of MAF
AutoGenExisting Project Maintenance, Historical Multi-Agent PrototypeAutoGen maintenance mode;MAF is a new route recommended by Microsoft
CrewAIPython multi-agent automation, role/task/team representationMAF is more Microsoft to/Azure/.NET production governance and typed workflows
LangGraphLangChain ecology, statecharts, and controllable Agent WorkflowMAF is more closely integrated with Foundry/Azure/.NET/AutoGen/SK migration
Semantic KernelExisting SK plug-in/Planner/enterprise semantic orchestrationMAF can be regarded as a new framework of Agent/Workflow after the integration of SK AutoGen experience

Pre-sales advice:

  1. If the customer is an Azure/Microsoft ecosystem, MAF should have priority access to the scenario.
  2. If the customer already has a AutoGen,MAF is the main migration line.
  3. If the customer is a pure Python, non-Azure, partial business automation demo, you can compare CrewAI at the same time.
  4. If the customer already has a LangChain/LangGraph ecosystem, it needs to be selected from model Provider, state management, workflow governance, and deployment requirements.

12. PoC Recommendations

MAF PoC does not recommend only "Hello Agent", but should choose a process that can reflect the production capacity.

PoC ItemsDesign MethodAcceptance Index
AutoGen migration sampleSelect a AutoGen AssistantAgent/GroupChat to move to MAFImprovement of amount, functional equivalence, observability
Approval Process for Human ReviewAgent Generates Proposals, Workflow Suspends for Human ApprovalControllability and Recovery of Human Review Nodes
Long task checkpointDesign a multi-step document analysis/report process to recover from a failure in the middle of the processWhether it can be recovered from the checkpoint without repeated consumption
Azure Foundry AgentBuild an Enterprise Agent with FoundryChatClientAzure authentication, model call, deployment path
Multi-Agent WorkflowResearch, analysis, review, and execution of different agents/functionsCost, latency, completion rate, interpretability
OpenTelemetry ObservationAccess OTEL collector or Enterprise Monitoring PlatformTrace Integrity, Tool Call Visibility

Suggested indicators:

IndicatorDescription
End-to-End Completion RateWhether the Agent Workflow completes real business tasks
Recovery abilityWhether to continue from checkpoint after interruption
Human Review EfficiencyWhether the manual review can be suspended/resumed
ObservabilityWhether agents, tools, and Workflow traces can be seen
Security BoundariesWhether third-party tools and data streams are audited and restricted
Costtoken, tool call, and cloud resource cost
Migration costAutoGen/SK existing code modifications

13. Risks and Considerations

  1. The GitHub API is anonymously throttling this time: The GitHub API failed to verify the stars, forks, and latest GitHub release again. The package version in the note uses PyPI/NuGet to query the results.
  2. Third-party system risk: README Important Note clearly states that third-party servers, agents, code, and non-Azure Direct models are all subject to customer risk, review data flow and cost.
  3. Be cautious with Azure certification: MS Learn reminds that 'DefaultAzureCredential' is easy to develop, but production recommends using more explicit credential, such as Managed Identity.
  4. Provider capabilities are not completely equivalent: some provider/capabilities in the AutoGen migration guide are still planned and need to be confirmed item by item.
  5. SDK is not a complete platform: MAF provides framework and samples, and production still requires application layer permissions, auditing, UI, CI/CD, deployment and monitoring.
  6. AI the boundary of responsibility: the customer needs to implement Responsible AI mitigation measures such as metaprompt, content filters, safety evaluation, quality control, etc.
  7. The framework is still evolving rapidly: PyPI/NuGet versions are updated faster, and production PoC requires fixed versions and upgrade policies.

14. Frequently Asked Customer Questions

MAF is a substitute for AutoGen?It can be understood. The official documentation describes it as the next generation direction for AutoGen and Semantic kernels, and provides AutoGen migration guidelines.
and CrewAI how to choose?Azure/.NET/Microsoft Foundry/production governance gives priority to MAF;Python multi-Agent automation, role task expression and fast business demo can be compared with CrewAI.
Does the local model support?The MS Learn provider overview mentions Provider such as Ollama, but the specific maturity and functionality are verified with the current document/sample.
Can we only use OpenAI instead of Azure?Both README and migration guide mention OpenAI Provider. However, the Microsoft ecological advantages of MAF are more obvious in Azure/Foundry scenarios.
Can multi-agent be used?Yes, the graph-based workflows, group collaboration, Magentic, and other modes are supported, and Python/.NET samples are available.
What is the most important capability in production?checkpoint, human-in-the-loop, OpenTelemetry, middleware, Azure Identity, hosting samples.
Does it have a complete console out of the box?It has DevUI and samples, but it is not a complete business platform. Production applications still need to build their own front-end, permission, audit and deployment systems.

15. My Pre-Sales Judgment

Microsoft Agent Framework is the most important Agent framework in the current Microsoft ecology. Its positioning is very clear: not to make another Agent demo framework, but to make infrastructure for enterprises to push Agent from demo to production. It combines AutoGen multi-Agent thinking, Kernel-Semantic enterprise engineering capabilities, and Azure/Foundry deployment ecology into one line.

If the customer is already in the Microsoft ecosystem, MAF is a very natural recommended path. Especially when customers mention these keywords: Azure OpenAI, Microsoft Foundry,. NET, AutoGen migration, production-level workflow, observable, human review, long task recovery, and corporate governance can all put MAF at the core of the program.

However, if the customer just wants to be a simple chat robot quickly, MAF may be biased. If the customer does not touch the Microsoft ecology at all, he should also make a horizontal comparison with CrewAI, LangGraph, etc. When it comes to pre-sales promotion, the best entry point is not "it can write a poem", but "it can put the Agent into a recoverable, auditable, and human-intervention business process".

16. REFERENCE

-GitHub: https://github.com/microsoft/agent-framework

-MS Learn Documentation: https://learn.microsoft.com/en-us/agent-framework/

-Framework Overview: https://learn.microsoft.com/en-us/agent-framework/overview/agent-framework-overview

-Quick Start: https://learn.microsoft.com/en-us/agent-framework/tutorials/quick-start

-AutoGen Migration Guide: https://learn.microsoft.com/en-us/agent-framework/migration-guide/from-autogen/

-Semantic Kernel Migration Guide: https://learn.microsoft.com/en-us/agent-framework/migration-guide/from-semantic-kernel

-PyPI: https://pypi.org/project/agent-framework/

-NuGet: https://www.nuget.org/profiles/MicrosoftAgentFramework/