Skip to content

Menu

Microsoft Agent Framework logo

Microsoft Agent Framework

Published

AI Agents

At a glance

What it is
Microsoft Agent Framework is Microsoft's framework for building AI agents and multi-agent workflows.
Price from
Open source Details
Best for
Teams moving off Semantic Kernel or AutoGen; Enterprise .NET and Python agent projects on Azure
Official site
learn.microsoft.com
Last checked
November 2026
Watch out for
The Go SDK is in public preview, needs Go 1.26 or later, and lacks declarative agents, CodeAct and functional workflows.

Microsoft Agent Framework is Microsoft's framework for building AI agents and multi-agent workflows. The docs cover .NET and Python, and a Go SDK is in public preview. Microsoft calls it the direct successor to Semantic Kernel and AutoGen, created by the same teams. In its own words, Agent Framework is "the next generation of both Semantic Kernel and AutoGen." It combines AutoGen's simple agent abstractions with Semantic Kernel's enterprise features such as session-based state, type safety, filters and telemetry, then adds graph-based workflows.

Developers work with four areas. Agents call an LLM, use tools and MCP servers, and return responses. A Harness Agent adds planning and todo tracking, context compaction, file access, memory and tool approval for long tasks. Workflows connect agents and functions through explicit paths, with fan-out and fan-in, events, checkpoints and human-in-the-loop requests. In Python you install it with pip install agent-framework; in .NET the packages sit under Microsoft.Agents.AI. Python also has an experimental functional workflow API that uses plain functions and native control flow.

Model providers include Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic and Ollama, plus others listed in the integrations docs. Python adds a CopilotStudioAgent and an A2AAgent. Migration guides exist for Semantic Kernel and AutoGen users, and Semantic Kernel functions can be converted into Agent Framework tools. Microsoft's docs state that using third-party servers, agents or non-Azure models is at your own risk and that you are responsible for your own responsible-AI mitigations.

Key features

Agents with tools and MCP
Agents call an LLM, use function tools and MCP servers, and keep state in an agent session.
Harness Agent
An opinionated agent for long tasks with planning, todo tracking, context compaction, file access, memory and tool approval.
Graph workflows
WorkflowBuilder connects typed executors through edges and conditions, with fan-out, fan-in and events.
Checkpointing and human input
Graph workflows checkpoint at superstep boundaries and can pause for human input through RequestInfoExecutor.
Middleware and context providers
Middleware intercepts agent actions and context providers supply agent memory.
Multiple providers
Supports Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Ollama and more model providers.
Migration paths
Official guides cover moving from Semantic Kernel or AutoGen, and Python can reuse Semantic Kernel functions as tools.

Pricing

As of November 2026, Microsoft Agent Framework is an open-source framework installed from pip, NuGet or Go modules, and Microsoft's docs list no price for the framework itself. You pay for the model providers and services you connect, such as Microsoft Foundry or OpenAI. Microsoft's docs state that you are responsible for usage and associated costs of third-party systems.

Best for

  • Teams moving off Semantic Kernel or AutoGen
  • Enterprise .NET and Python agent projects on Azure
  • Multi-agent systems that need explicit, checkpointed workflows
  • Long-running tasks with human approval steps

Limitations

  • The Go SDK is in public preview, needs Go 1.26 or later, and lacks declarative agents, CodeAct and functional workflows.
  • The functional workflow API is experimental and Python only.
  • Some .NET packages, such as Microsoft.Agents.AI.Foundry in the quickstart, install with the --prerelease flag.
  • There is no session deletion API, because not every provider supports hosted chat history deletion, so you delete it through the provider SDK.
  • The Python package does not load .env files automatically; you call load_dotenv() yourself.

Verdict

Microsoft Agent Framework is the path Microsoft points Semantic Kernel and AutoGen users toward, and its workflow model is a real step up for structured multi-agent work. It fits best in .NET or Python shops already using Azure. Check package maturity per language before you commit, especially for Go.

Sources

Written from the vendor's own site and documentation, checked November 2026. We have no paid relationship that affects what this page says.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…