๐Ÿค– Open Source Release

Microsoft Agent Framework: Open-Source AI Agent SDK

MAF reached General Availability in April 2026 -- a free, production-ready SDK for Python and .NET developers who want to build real multi-agent AI systems without vendor lock-in.

By Free AI News Editorial ยท ยท ยท 9 min read

Quick Answer: Microsoft Agent Framework (MAF) is a free, open-source SDK that hit v1.0 General Availability in April 2026. It supports Python and .NET, handles multi-agent orchestration with durable workflows, ships with MCP integration, and can deploy to Azure AI Foundry or run fully on your own hardware against any LLM provider.

If you have ever tried to get two AI agents to collaborate on a task reliably -- without one of them hallucinating a tool call, losing track of state mid-workflow, or requiring you to write 400 lines of retry logic -- you already understand the problem Microsoft Agent Framework was built to solve. MAF is not a wrapper or a chatbot kit. It is a production-grade orchestration runtime, and it arrived at General Availability in April 2026, right as the "agentic era" stopped being a marketing phrase and started being a real architectural challenge for engineering teams.

Microsoft announced the framework prominently at Open Source Summit North America 2026 and again at Build 2026, which opened on June 2 in San Francisco. The message both times was the same: agents are the new apps, and MAF is the open-source foundation Microsoft wants developers to build them on. Compared to what came before -- AutoGen's conversational loops, Semantic Kernel's plugin model -- MAF is a meaningful step up in architectural clarity and operational capability.

Developer working on multi-agent AI workflow in a modern workspace

What Is the Microsoft Agent Framework and Where Did It Come From?

Microsoft Agent Framework -- MAF for short -- is an open-source SDK and runtime for building, orchestrating, and operating multi-agent AI systems. It lives on GitHub under the microsoft org, installs via pip install agent-framework for Python or NuGet for .NET, and is licensed permissively for both commercial and personal use.

MAF is best understood as the merger and evolution of two earlier Microsoft projects: AutoGen, which pioneered conversational multi-agent patterns in 2023, and Semantic Kernel, which provided a plugin-oriented integration layer for connecting LLMs to business tools. Both were useful research platforms. Neither was designed from the ground up for production deployments where durability, observability, and governance are non-negotiable. MAF is.

The framework reached v1.0 GA in April 2026 after roughly a year of preview. It carries forward the lessons of its predecessors but replaces their ad-hoc architectures with a consistent core: a graph-based workflow engine, a provider-agnostic agent runtime, and a middleware system that lets teams intercept, audit, and govern every agent action at every step of the pipeline.

What Are the Core Features That Make MAF Worth Using?

MAF 1.0 ships with a feature set that puts it well ahead of most open-source agent frameworks on production readiness. Here are the capabilities that matter most:

Graph-Based Orchestration

Build sequential pipelines, concurrent fan-outs, agent handoffs, and group collaboration patterns using a declarative graph model. No manual state threading required.

Durable Workflows

Workflows checkpoint automatically. If a run fails mid-step, MAF restarts from the last checkpoint -- not from scratch. Supports time-travel debugging for replaying past states.

Human-in-the-Loop

Pause any workflow at any node, surface a decision to a human, then resume with the human's input baked into the agent's context. First-class, not bolted on.

MCP Integration (GA)

Connect agents to any MCP-compatible tool server -- databases, file systems, web APIs -- using the open Model Context Protocol standard. No custom adapters needed.

Provider Flexibility

Swap between Azure OpenAI, OpenAI, GitHub Copilot SDK, local Ollama endpoints, or any OpenAI-compatible API without rewriting your agent logic.

Middleware Pipeline

Register middleware for request/response processing, exception handling, cost tracking, and custom audit pipelines. Works like ASP.NET middleware -- composable and testable.

A companion project, the Agent Governance Toolkit, extends MAF with intent-based authorization and cost governance. Install it with pip install agent-governance-toolkit[full] and you get audit trails, per-agent spend caps, and safety rails that integrate directly with MAF's middleware pipeline -- a setup that matters a lot for regulated industries and enterprise deployments.

How Does MAF Compare to AutoGen, LangGraph, and Other Agent Frameworks?

The open-source agent framework landscape has gotten crowded fast. Here is where MAF sits relative to the most commonly compared alternatives:

The key differentiator is production maturity. Most open-source frameworks are still research-grade tools that assume a happy path. MAF was designed with the assumption that agents will fail, providers will rate-limit, humans will need to intervene, and someone in compliance will eventually ask for an audit log. Check out our full open-source AI models index for more framework comparisons.

Modern tech workspace with multiple screens showing AI agent dashboard

How Do You Install and Start Building with MAF?

Getting started with MAF takes about five minutes. The install path is standard for both runtimes:

# Python
pip install agent-framework
# .NET
dotnet add package Microsoft.AgentFramework

From there, the official MAF docs on Microsoft Learn walk through building your first agent (single-turn), then adding a second agent (handoff pattern), then composing a full durable workflow with checkpointing. The sample library on GitHub covers 40+ scenarios including sequential, concurrent, and group collaboration workflows in both Python and C#.

For local development, MAF works out of the box with any OpenAI-compatible endpoint -- including Ollama running Llama 3, Mistral Small, or Qwen 3.6 on your own machine. You do not need an Azure account to develop and test. Azure comes in when you are ready to deploy to managed cloud infrastructure, at which point the Foundry Hosted Agents feature lets you push a production-ready agent with two additional lines of code on top of your existing local setup.

The framework also has an active Discord server (discord.gg/b5zjErwbQM) and a dedicated devblog at devblogs.microsoft.com/agent-framework where the engineering team posts deep dives on durable workflows, governance patterns, and upcoming features. If you are evaluating which framework to commit to for a multi-agent project in 2026, the ecosystem around MAF is worth factoring in alongside the technical capabilities. See our free AI tools directory for more open-source developer resources.

Is Microsoft Agent Framework Truly Free and Open Source?

Yes -- and this is one area where the story is unambiguously positive. The framework code is on GitHub, the Python package is on PyPI, and the .NET package is on NuGet. You can inspect, fork, contribute to, and deploy it in commercial products without paying Microsoft anything for the framework itself.

The costs that do apply are the ones you would expect from any AI project: the LLM API calls your agents make. If you route through Azure OpenAI, you pay Azure OpenAI pricing. If you use OpenAI directly, you pay OpenAI's API rates. If you self-host a model via Ollama or LocalAI, your only cost is the hardware. MAF itself adds zero overhead to that bill.

The optional Azure AI Foundry hosting (Foundry Hosted Agents) is a paid managed service -- but it is strictly optional. The framework runs fully on-premises, in your own cloud, or on a developer laptop. Microsoft's business model here is the classic open-core play: the SDK is free, and you pay if you want the managed cloud deployment layer. For most developers and small teams, the free local path is entirely sufficient for development and even production at moderate scale. Browse our free vs. paid AI comparisons for more context on open-source vs. commercial tradeoffs in 2026.

What Are MAF's Current Limitations and What Is on the Roadmap?

No framework ships perfect, and MAF is no exception. The most significant current limitation is the Agent-to-Agent (A2A) protocol, which is still in development as of v1.0. A2A will enable structured cross-runtime messaging between agents -- for example, a .NET orchestrator delegating to a Python specialist agent over a standardized protocol. Until A2A ships, cross-language agent collaboration requires manual API bridging, which is doable but adds friction.

The migration story from AutoGen is also still evolving. Microsoft published a migration guide covering the most common patterns, but teams with complex AutoGen workflows should budget time for the port. The APIs are conceptually familiar but not syntactically compatible -- you are not doing a find-and-replace, you are restructuring your agent topology around MAF's graph model.

On the roadmap, A2A 1.0 support is the highest-profile upcoming feature, alongside deeper Windows Local AI integration (local NPU execution without cloud round-trips), expanded MCP server catalog, and more built-in governance templates in the Agent Governance Toolkit. Microsoft has committed to a rapid release cadence through 2026 given Build's emphasis on agents as the central product theme for the year.

๐Ÿ”‘ Key Takeaways

  • Microsoft Agent Framework reached v1.0 General Availability in April 2026, making it one of the most mature open-source multi-agent SDKs available today for Python and .NET teams.
  • MAF is completely free to use -- the framework itself has no licensing cost, and you only pay for the underlying AI API calls or Azure hosting you choose to use.
  • Durable workflows with checkpointing, time-travel debugging, and human-in-the-loop are first-class features, not afterthoughts -- a major step up from AutoGen and most alternative frameworks.
  • MCP (Model Context Protocol) integration is GA in v1.0, meaning agents can connect to standardized tool servers -- databases, APIs, file systems -- without custom adapter code.
  • The Agent-to-Agent (A2A) protocol is still in development, so cross-language agent collaboration requires manual bridging in the current release -- something to factor into architecture decisions today.

Frequently Asked Questions

Is Microsoft Agent Framework free to use?

Yes. MAF is fully open-source and free. The code is on GitHub, the Python package installs via pip install agent-framework, and the .NET package is on NuGet -- all at no cost. You only pay for the AI provider you connect to (Azure OpenAI, OpenAI, or your own self-hosted model) at standard API rates. The optional Azure AI Foundry hosted deployment is a paid managed service, but it is not required.

What languages does Microsoft Agent Framework support?

MAF supports Python and C#/.NET with consistent APIs across both runtimes. Teams can run agents in either language side by side. The upcoming Agent-to-Agent (A2A) protocol will enable structured cross-runtime collaboration, so a .NET orchestrator can delegate tasks to a Python sub-agent. A2A 1.0 is expected in a future update beyond the current v1.0 release.

How does Microsoft Agent Framework differ from AutoGen?

MAF is Microsoft's evolution of both AutoGen and Semantic Kernel into a single production-ready foundation. AutoGen focused on conversational multi-agent patterns. MAF adds durable workflow primitives with checkpointing, graph-based orchestration, governance hooks, and optional cloud deployment -- making it substantially better suited to enterprise production workloads. The migration guide on candede.com covers the most common porting patterns.

Can Microsoft Agent Framework run locally without Azure?

Yes. MAF is fully provider-agnostic. You can run it locally against any OpenAI-compatible endpoint -- Ollama, LM Studio, LocalAI -- or point it at OpenAI's API directly. Azure AI Foundry deployment is strictly optional. It adds managed scaling and observability for production deployments, but developers and small teams can build and ship entirely without an Azure account.

What is the Model Context Protocol (MCP) integration in MAF?

MCP is an open standard for connecting AI agents to external tools and data sources. MAF 1.0 ships with MCP integration at General Availability, meaning agents can call any MCP-compatible tool server -- databases, APIs, file systems -- using a structured, vendor-neutral protocol. This removes the need to write custom adapters for every new data source your agents need to access.

Browse Open Source AI Models โ†’ Free AI Developer Tools

๐Ÿ”” Get Free AI Alerts First

When a model goes free, a paywall drops, or a deal appears -- you'll know before everyone else. No spam, just signal.