What it is
Microsoft Agent Framework (MAF) is Microsoft's open-source SDK for building single AI agents and multi-agent workflows in .NET and Python, with a Go version in public preview. It is the direct successor to both Semantic Kernel and AutoGen, built by the same teams: it keeps AutoGen's simple agent abstractions, adds Semantic Kernel's enterprise plumbing (sessions, type safety, middleware, telemetry), and introduces graph-based workflows for explicit control. Version 1.0 shipped in April 2026 with stable APIs and long-term support. In November 2026 the main GitHub repository was taken offline after malicious versions of its Python package were published to PyPI (see milestones).
How it works
You create an agent from a model client (Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Bedrock, Gemini, Ollama and others), give it instructions and tools (functions or MCP servers), and run it inside a session that holds conversation state. When a task has well-defined steps, you wire agents and plain functions into a workflow graph instead, which gives explicit execution order, checkpointing and human-in-the-loop pauses. Ready-made orchestration patterns (sequential, concurrent, handoff, group chat, Magentic-One) cover common multi-agent shapes.
Key concepts
- Agent
- An LLM-backed unit that interprets input, calls tools and MCP servers, and generates responses.
- Workflow
- A graph that connects agents and functions through explicit execution paths, with checkpointing and human-in-the-loop support.
- Agent session
- The object that holds an agent's state and conversation history across turns.
- Context provider
- A pluggable component that supplies memory or retrieved knowledge to an agent.
- Middleware
- Hooks that intercept agent and tool calls to add filtering, safety checks or telemetry.
- Harness agent
- An opinionated, batteries-included agent for long multi-step tasks (planning, context compaction, file access, tool approval).
Use it when
- You build on .NET or Azure / Microsoft Foundry and want a first-party, long-term-supported agent framework.
- You are migrating an existing Semantic Kernel or AutoGen codebase (Microsoft publishes migration guides for both).
- You need explicit multi-agent workflows with checkpointing and human approval steps.
Look elsewhere when
- Simple tasks a plain function can do: Microsoft's own docs say "if you can write a function to handle the task, do that instead of using an AI agent."
- You need Go in production today; the Go version is still a public preview without declarative agents or functional workflows.
Who uses it
- KPMG
Aligned its KPMG Clara AI audit platform with the framework so specialized agents connect to enterprise data and tools.
Evidence: azure.microsoft.com
- Commerzbank
Piloting the framework to power avatar-driven customer support.
Evidence: azure.microsoft.com
- TCS
Building a multi-agent practice on the framework for finance, IT operations and retail solutions.
Evidence: azure.microsoft.com
Milestones
- Unauthorized versions 1.26.1 and 1.26.2 of the agent-framework PyPI package shipped a credential stealer; Microsoft removed them, advised pinning 1.26.0, and took the GitHub repo offline while investigating. (devblogs.microsoft.com)
- Version 1.0 released for .NET and Python with stable APIs and long-term support (devblogs.microsoft.com)
- Release candidate published; feature surface locked (devblogs.microsoft.com)
- Announced in public preview as the convergence of Semantic Kernel and AutoGen (azure.microsoft.com)
Start learning
learn.microsoft.com
- Your first agent ↗tutorial
learn.microsoft.com
learn.microsoft.com
github.com