← all repositories
microsoft/agent-framework

A framework for when your agent prototype needs to survive real traffic

A bilingual toolkit for Python and .NET that tries to keep your multi-agent workflows from collapsing the moment they leave your laptop.

12.3k stars Python AgentsLLMOps · Eval
agent-framework
Velocity · 7d
+25
★ / day
Trend
steady
star history

What it does

MAF is an open-source framework for building, orchestrating, and deploying AI agents across Python and .NET. It wraps LLM providers—including Microsoft Foundry, Azure OpenAI, OpenAI, and the GitHub Copilot SDK—into a consistent API, then adds graph-based workflows, middleware pipelines, and observability hooks so you can move from a single prompt to durable, restartable multi-agent systems without rewriting your stack.

The interesting bit

The framework treats production as a first-class concern rather than an afterthought: it includes checkpointing, time-travel debugging, human-in-the-loop controls, and a declarative YAML layer for agent definitions. There is even a DevUI for visually debugging workflows, which suggests Microsoft noticed that tracing a handoff between three LLM agents in a log stream is roughly as pleasant as reading raw TCP dumps.

Key highlights

  • Consistent APIs for both Python and .NET, with parallel sample directories for every concept.
  • Graph-based orchestration patterns out of the box—sequential, concurrent, handoff, and group collaboration—with checkpointing and streaming.
  • Built-in OpenTelemetry integration for distributed tracing across agent boundaries.
  • “Foundry Hosted Agents” promise cloud deployment with two extra lines of code.
  • Experimental “AF Labs” packages for benchmarking and reinforcement learning research.

Caveats

  • The README warns that third-party providers and non-Azure models are “at your own risk,” with data-flow and compliance burdens falling on you.
  • DefaultAzureCredential is flagged as convenient for dev but risky in production due to latency and fallback probing—so the “easy” auth path has documented sharp edges.

Verdict

Worth evaluating if you are shipping agent systems to production and want guardrails around observability, durability, and human oversight. Skip it if you are looking for a quick, provider-agnostic script layer with no Azure affinity.

Frequently asked

What is microsoft/agent-framework?
A bilingual toolkit for Python and .NET that tries to keep your multi-agent workflows from collapsing the moment they leave your laptop.
Is agent-framework open source?
Yes — microsoft/agent-framework is open source, released under the MIT license.
What language is agent-framework written in?
microsoft/agent-framework is primarily written in Python.
How popular is agent-framework?
microsoft/agent-framework has 12.3k stars on GitHub and is currently holding steady.
Where can I find agent-framework?
microsoft/agent-framework is on GitHub at https://github.com/microsoft/agent-framework.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.