Microsoft Agent Framework vs LangGraph
ComparisonMicrosoft Agent Framework vs LangGraph compares two MIT-licensed, graph-based frameworks for building stateful agents and multi-agent workflows. Microsoft Agent Framework is the successor to AutoGen and Semantic Kernel, generally available since version 1.0 on 3 April 2026 for .NET and Python. LangGraph, from LangChain Inc., describes itself as a low-level orchestration framework and runtime for long-running, stateful agents, available for Python and JavaScript/TypeScript.
The two have converged on much of the same design: explicit graphs, checkpointed execution, pause-and-resume for human review, and streaming. The practical differences are language and ecosystem. Agent Framework is the only one of the pair with a first-class .NET SDK and tight integration with Microsoft Foundry and Azure; LangGraph has no .NET SDK, a larger open-source footprint (about 42,800 GitHub stars against about 14,000, as of October 2026) and a deployment product, LangSmith Deployment, that is not tied to one cloud.
Feature Comparison
| Dimension | Microsoft Agent Framework | LangGraph |
|---|---|---|
| Maintainer | Microsoft (same teams as AutoGen and Semantic Kernel) | LangChain Inc. |
| Licence | MIT | MIT |
| Languages | .NET and Python (GA); Go in public preview | Python and JavaScript/TypeScript |
| Current release (6 Oct 2026) | python-1.20.0 (2 Oct 2026); dotnet-1.23.0 (1 Oct 2026) | langgraph 1.2.14 on PyPI; requires Python 3.10+ |
| Core abstraction | Agents plus workflows: typed executors connected by edges, run in supersteps; Python also has an experimental functional API | Graphs of nodes and edges over shared state; docs cite Pregel and Apache Beam as inspiration |
| Prebuilt orchestration patterns | Sequential, concurrent, handoff, group chat, Magentic-One | Low-level by design; higher-level agents come from LangChain and Deep Agents built on top |
| Persistence | Checkpoints at superstep boundaries; Python stores: in-memory, file, Azure Cosmos DB | Checkpointers per thread: in-memory, SQLite, Postgres; separate store for cross-thread memory |
| Human-in-the-loop | Request/response executors and tool approvals; pause and resume from checkpoints | interrupt() pauses a node; resume with Command(resume=...) on the same thread ID |
| Declarative definition | YAML agents and workflows (GA at 1.0) | Not publicly documented in the pages reviewed |
| Model providers | Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock, Google Gemini, Ollama | No model client of its own; usable without LangChain, typically paired with LangChain model integrations |
| Observability | Built-in OpenTelemetry tracing; DevUI (preview at 1.0) | LangSmith for traces, state transitions and debugging |
| Managed hosting | Foundry hosted agents (preview at 1.0); native Foundry hosting added in python-1.20.0 | LangSmith Deployment: cloud, hybrid, self-hosted, or standalone server |
Detailed Analysis
Lineage and design intent
Microsoft's documentation is direct about where Agent Framework comes from: it "combines AutoGen's simple agent abstractions with Semantic Kernel's enterprise features" such as session-based state, type safety, middleware and telemetry, and adds graph-based workflows for explicit multi-agent orchestration. The 1.0 announcement lists single agents and service connectors, middleware, memory and context providers, the workflow engine, multi-agent orchestration patterns, declarative YAML and MCP support as generally available. DevUI, Foundry hosted agents, skills and an opinionated "Agent Harness" were still in preview at that point.
LangGraph starts from the other end. Its documentation calls it a low-level orchestration framework that lets developers mix deterministic, hand-coded steps with LLM-driven steps, and it deliberately ships few opinions about prompts or agent architecture. Higher-level conveniences sit in separate packages: LangChain agents provide prebuilt architectures, and Deep Agents is described as an agent harness built on LangGraph. Teams that want batteries included will find more of them inside Agent Framework itself; teams that want a small core will find LangGraph closer to that.
Durable execution and state
Both frameworks checkpoint at the boundary of a parallel step. Agent Framework creates a checkpoint at the end of each superstep, capturing executor state, pending messages, pending requests and responses, and shared state. Since Python 1.13.0 it also records entry checkpoints so that a whole run is replayable. Resuming into a rebuilt workflow requires the same topology and stable executor identities, a constraint Microsoft documents in detail for .NET agents.
LangGraph persists a snapshot of graph state per thread through a checkpointer, which its docs tie to conversation continuity, human-in-the-loop, time travel and fault tolerance. The storage menus differ in a telling way: Agent Framework's documented Python options are in-memory, local file and Azure Cosmos DB, while LangGraph's are in-memory, SQLite and Postgres. Both allow custom stores, but the defaults show which infrastructure each vendor expects. Microsoft also warns that its file and Cosmos stores use restricted pickle deserialisation and that checkpoint storage must be treated as a trust boundary.
Multi-agent patterns
Agent Framework inherits AutoGen's catalogue. Sequential, concurrent, handoff, group chat and Magentic-One orchestrations are named, stable builders, and the checkpoint documentation shows each with a default workflow name. Workflows can be wrapped as agents and nested.
LangGraph expresses the same topologies as graphs that the developer assembles. That is more work for a standard supervisor pattern and less constraining for an unusual one. Neither project's own documentation offers comparative performance evidence for these patterns, and whether adding agents improves results at all is contested (see multi-agent systems), so pattern availability should not be read as a quality claim.
Ecosystem and deployment
Agent Framework's provider list at 1.0 covered Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic Claude, Amazon Bedrock, Google Gemini and Ollama, with MCP support stable and A2A 1.0 support described as "coming soon"; later .NET release notes refer to A2A agent run modes. Hosting leans on Azure, and the October 2026 Python release added native Foundry hosting.
LangGraph's production story runs through LangSmith. LangSmith Deployment is described as a workflow orchestration runtime for agent workloads with durable execution, streaming and horizontal scaling, offered as managed cloud (Plus plan or above), hybrid, self-hosted with a control plane (Enterprise plan) or a standalone server in Docker or Kubernetes. Its documentation says it also runs agents built with other frameworks. LangGraph names Klarna, Uber and J.P. Morgan as users; adoption figures for Agent Framework beyond repository statistics are not publicly documented in the sources reviewed.
Best For
.NET and C# services
Microsoft Agent FrameworkIt is the only one of the two with a GA .NET SDK. LangGraph offers Python and JavaScript/TypeScript only.
Azure and Microsoft Foundry estates
Microsoft Agent FrameworkFoundry model clients, Cosmos DB checkpoint storage and Foundry hosting are first-party integrations.
TypeScript or Node.js back ends
LangGraphLangGraph.js is a maintained equivalent of the Python library. Agent Framework has no JavaScript SDK.
Custom control flow with minimal abstraction
LangGraphA small graph-and-state core with few built-in opinions suits unusual topologies and teams that want to own the agent design.
Standard multi-agent patterns out of the box
Microsoft Agent FrameworkSequential, concurrent, handoff, group chat and Magentic-One builders ship as stable components.
Postgres-backed persistence on any cloud
LangGraphPostgres and SQLite checkpointers are documented defaults, and deployment options include self-hosted and standalone servers.
Migrating from AutoGen or Semantic Kernel
Microsoft Agent FrameworkMicrosoft positions it as the next generation of both and publishes migration guides for each.
Approval gates in long-running workflows
EitherBoth pause at a checkpoint, wait for human input and resume. The choice follows language and hosting, not capability.
The Bottom Line
As of October 2026 these are closer in capability than their histories suggest. Both are MIT-licensed, both model work as checkpointed graphs, and both support streaming, human approval and resumption after failure. A feature-by-feature reading will not separate them cleanly.
Language and platform will. Microsoft Agent Framework is the natural choice for .NET teams, for organisations standardised on Azure and Foundry, and for anyone carrying AutoGen or Semantic Kernel code forward. LangGraph is the natural choice for Python and TypeScript teams that want a low-level core, cloud-neutral persistence and a large existing community, and that are comfortable adopting LangSmith for tracing and deployment.
Both projects release frequently: Agent Framework went from 1.0 to Python 1.20 in six months. Pin versions, read the checkpoint upgrade notes before each bump, and keep orchestration logic thin enough that the harness could be replaced.
Further Reading
- Microsoft Agent Framework Version 1.0 (April 2026) – Microsoft DevBlogs
- Microsoft Agent Framework Overview – Microsoft Learn
- Agent Framework Workflows: Checkpoints – Microsoft Learn
- Workflow Concepts – Microsoft Learn
- microsoft/agent-framework repository and releases – GitHub
- LangGraph Overview – LangChain Docs
- LangGraph Persistence – LangChain Docs
- LangGraph Interrupts – LangChain Docs
- LangSmith Deployment – LangChain Docs
- langchain-ai/langgraph repository – GitHub