# Microsoft Agent Framework — Microsoft’s production-ready, open-source successor to AutoGen and Semantic Kernel — one agent SDK for .NET, Python and Go.

> Source: The Agents Index — https://theagentsindex.com/microsoft-agent-framework (structured, researched, re-verified)
> Facts last verified: 2026-07-28

Microsoft Agent Framework (MAF) is Microsoft’s open-source SDK for building and orchestrating AI agents and multi-agent workflows, unifying two previously separate Microsoft stacks — AutoGen’s multi-agent orchestration and Semantic Kernel’s enterprise plumbing — into one supported framework for .NET, Python and Go. It reached a production-ready 1.0 GA release on 2026-04-03, and Microsoft has placed both AutoGen and Semantic Kernel into maintenance mode (bug and security fixes only) specifically to push new development toward it. Released under the MIT licence on GitHub (microsoft/agent-framework, 12.4k stars and counting), it ships consistent APIs across languages, native support for the Model Context Protocol (MCP) and the Agent2Agent (A2A) protocol, and an optional managed hosting layer (Foundry Hosted Agents) alongside the free, fully self-hostable core.

| Fact | Value |
| --- | --- |
| Website | https://learn.microsoft.com/en-us/agent-framework/ |
| Pricing | Free |
| API | Yes |
| Best for | .NET or Python teams already invested in Azure/Microsoft Foundry who want one supported agent SDK, an optional managed hosting path, and a documented migration off AutoGen or Semantic Kernel. |
| Not for | Teams with no Azure/Microsoft affinity who want the largest third-party integration ecosystem and the longest production track record — LangChain or CrewAI carry more years of battle-testing today. |

## Pricing

| Tier | Price |
| --- | --- |
| Open source (self-host) | Free |
| Foundry Hosted Agents | Azure/Foundry consumption |

## Verdict

Microsoft Agent Framework is what AutoGen and Semantic Kernel became once Microsoft decided to stop maintaining two separate agent stacks and support one instead. It reached a production-ready 1.0 GA on 2026-04-03, ships consistent APIs across .NET, Python and Go, and is genuinely more open than its Microsoft branding suggests — Anthropic’s Claude and local Ollama models are first-class citizens, not afterthoughts. What sets it apart from most frameworks in this category is that it doesn’t stop at orchestration: the Agent Harness gives an agent a real, guarded environment to act in, and Foundry Hosted Agents offers a managed path to production without forcing you off the free, self-hostable core. CodeAct’s measured token and latency savings and native MCP/A2A support show it building for where the rest of the ecosystem is heading, not just where Microsoft wants it to go. The honest catch is age: as a unified product it is roughly a quarter old, with a GitHub community still far smaller than LangChain’s or legacy AutoGen’s, and Microsoft’s own terms put the burden of risk on you for any non-Microsoft model or MCP server you plug in. Pick it if you are migrating off AutoGen or Semantic Kernel, or starting fresh with real Azure/Foundry investment; if neither applies, LangChain’s longer track record and wider ecosystem are still the safer default.

## How it works

1. Create an agent backed by a chat-client provider — Azure OpenAI, OpenAI, Microsoft Foundry, Anthropic, Ollama or a custom implementation of the AIAgent/BaseAgent interface.
2. Give it instructions and tools (ordinary functions), and optionally layer on the Agent Harness for shell/filesystem access, human-in-the-loop approval and automatic context compaction.
3. Compose multiple agents into a workflow using a graph-based orchestration pattern — sequential, concurrent, handoff or group collaboration — or connect to remote agents via the A2A protocol.
4. Self-host the workflow yourself, or deploy it to Foundry Hosted Agents for managed, scale-to-zero infrastructure with built-in OpenTelemetry observability.

## Who it's for

- .NET or Python teams already running AutoGen or Semantic Kernel who need a supported migration path onto Microsoft’s live successor
- Developers who want one consistent agent API across .NET, Python and Go, with first-class Azure/Microsoft Foundry integration
- Teams that want a genuinely open-source, self-hostable framework but also want the option of managed, scale-to-zero hosting without switching stacks

## Strengths and weaknesses

- ✓ The explicit, Microsoft-supported successor to two previously separate stacks (AutoGen and Semantic Kernel), both now in maintenance mode — a clear, documented migration path rather than an ambiguous one.
- ✓ Genuinely multi-provider: Azure OpenAI, OpenAI, Microsoft Foundry, Anthropic Claude and local Ollama models are all first-class, plus Google Gemini via the Go SDK — not locked to Azure despite the Microsoft branding.
- ✓ Ships a real production-ops layer most frameworks in this category leave to you: the Agent Harness (shell/filesystem access, human-in-the-loop approval, context compaction) and Foundry Hosted Agents (managed, scale-to-zero, OpenTelemetry-integrated).
- ✗ Young as a unified product: 1.0 GA shipped 2026-04-03, so it has roughly a quarter of production track record versus AutoGen’s multiple years — its 12.4k GitHub stars are a fraction of AutoGen’s 59.8k or LangChain’s 142k+, reflecting a fresh repo rather than necessarily less capability.
- ✗ Using non-Microsoft models or third-party MCP servers/agents through the framework is explicitly flagged by Microsoft as "at your own risk" under its Product Terms — a real contractual consideration for enterprises standardizing on it.
- ⚠ It is a code library plus an optional managed layer, not a no-code product — you (or Foundry Hosted Agents) run and operate it.
- ⚠ The deepest hosted-ops story (Foundry Hosted Agents) is an Azure-billed managed service, not a flat, published SaaS price.

## Key features

- **Agent Harness** — A production layer adding shell and filesystem access, human-in-the-loop approval flows, automatic context/token compaction and built-in FileMemory/FileAccess/Todo/Shell providers.
- **Foundry Hosted Agents** — Optional managed deployment with scale-to-zero infrastructure, per-session isolation and built-in OpenTelemetry/Application Insights observability.
- **CodeAct** — The model writes short Python programs to execute tool calls inside isolated Hyperlight micro-VMs instead of one-at-a-time tool calls — Microsoft’s own BUILD 2026 benchmarks report 52.4% faster completion and 63.9% fewer tokens on multi-step workloads.
- **MCP + A2A protocol support** — Native Model Context Protocol tool support and Agent2Agent protocol support for connecting to remote agents, aligning with the two dominant 2026 agent-interop standards.
- **Graph-based multi-agent orchestration** — Sequential, concurrent, handoff and group-collaboration workflow patterns for composing multiple agents.
- **GitHub Copilot SDK integration** — Agents can call into GitHub Copilot’s own shell and file-access tools directly as a provider.
- **First-party AutoGen & Semantic Kernel migration guides** — Official, documented migration paths for teams moving existing AutoGen or Semantic Kernel projects onto the unified framework.

## Use cases

- **Migrating an existing AutoGen or Semantic Kernel project** — A team follows Microsoft’s first-party migration guide to move a production multi-agent system off a now-maintenance-mode framework onto the supported successor.
- **Production agent that touches a real environment** — An agent uses the Agent Harness’s shell/filesystem providers and human-in-the-loop approval to safely take real actions rather than only returning text.
- **Cost- and latency-sensitive multi-step tool use** — A workflow switches to CodeAct so the model batches tool calls into one executed program instead of many round trips, cutting tokens and latency on long tool-use chains.

## Integrations

Azure OpenAI, OpenAI, Microsoft Foundry, Anthropic, Ollama, Foundry Local, GitHub Copilot, Copilot Studio · Model Context Protocol (MCP) tools · Agent2Agent (A2A) protocol · Google Gemini (Go SDK) · Azure Functions & durable hosting · OpenTelemetry / Application Insights

## Sources

- https://github.com/microsoft/agent-framework
- https://learn.microsoft.com/en-us/agent-framework/
- https://learn.microsoft.com/en-us/agent-framework/support/faq
- https://learn.microsoft.com/en-us/agent-framework/agents/providers/index
- https://devblogs.microsoft.com/agent-framework/microsoft-agent-framework-at-build-2026-announce/
- https://learn.microsoft.com/en-us/agent-framework/migration-guide/from-autogen/index
- https://devblogs.microsoft.com/foundry/microsoft-agent-framework-reaches-release-candidate/
