Microsoft Agent Framework
Also known as: AutoGen, Microsoft AutoGen, Semantic Kernel, Microsoft Semantic Kernel
Microsoft Agent Framework is Microsoft's open source SDK for building AI agents and multi agent workflows in Python and .NET, with Go in preview, and the successor to both AutoGen and Semantic Kernel. Agents call tools and MCP servers through models from Microsoft Foundry, OpenAI, Anthropic, Bedrock, Gemini or Ollama, while graph workflows add checkpointing, human approval and handoff or group chat patterns. It is free under the MIT license and runs anywhere, including as hosted agents on Foundry.
Microsoft Agent Framework is an open source SDK from Microsoft Corporation, released under the MIT license and now at version 1.0 for Python and .NET, with a Go version in public preview. It is the successor to Semantic Kernel and to AutoGen, whose repository is archived and points new users to it. The record covers the framework and the hosting integrations documented with it; Copilot Studio and the Microsoft 365 Agents SDK are graded on the Microsoft record.
An agent in the framework wraps a model client with instructions, tools and context providers. Tools include ordinary functions, hosted and local MCP servers, code interpreter, file search, web search and shell tools, and any function can require a person's approval before it runs. Sessions carry conversation state, storage providers persist it, and context providers add memory from Mem0, Redis, Azure Cosmos DB, Neo4j or a file store scoped to a user, or knowledge from Azure AI Search and vector stores. The Harness bundles planning and to do tracking, context compaction, file access, memory and standing tool approvals for long running work.
Graph workflows connect agents and functions through executors and edges, with checkpoints to resume, human in the loop requests, sub workflows and ready orchestration patterns for sequential, concurrent, handoff, group chat and Magentic coordination, and background agents let a parent delegate tasks to child agents. Middleware intercepts every run, FIDES labels content as trusted or untrusted and blocks sensitive tools on untrusted input, and Microsoft Purview middleware applies data loss prevention and audit. Built in evaluation runs local checks and Foundry evaluators against an agent, and OpenTelemetry traces, logs and metrics follow the GenAI conventions.
The framework itself is free. Costs come from the model providers it calls and from wherever it runs. Agents can be self hosted behind OpenAI compatible Responses endpoints, as A2A or MCP servers, or as Telegram bots, run durably on Azure Functions or the customer's own compute with the Durable Extension, or deploy as hosted agents in Microsoft Foundry Agent Service, which gives each agent its own Entra identity. Support is community based through GitHub, and the framework publishes no compliance attestation of its own.
The framework fits developers and platform teams in the Microsoft ecosystem who want a code first, model neutral way to build agents and multi agent workflows they can host anywhere, and teams moving off AutoGen or Semantic Kernel. It fits less well for business users who want a no code agent builder, which is Copilot Studio's job, or for buyers who want a vendor supported, priced product with its own SLA and attestations.
Vendor details
Canonical URL
https://learn.microsoft.com/en-us/agent-framework/overview/
Category
Agent infrastructure
Subcategory
Open source SDK in Python and .NET for building agents and multi agent workflows, successor to AutoGen and Semantic Kernel
Funding status
A product of Microsoft Corporation; company funding is outside the scope of this record.
Company status
first party product
Use cases & customers
Primary use cases
Target customers
Deployment options
Integrations
Model providers Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock, Google Gemini, Mistral, Ollama, Foundry Local, ONNX, NVIDIA NIM and Dapr; agent services Foundry, GitHub Copilot, Copilot Studio, Anthropic Claude and A2A; hosted and local MCP tools, Foundry Toolbox and shell tools; context providers Azure AI Search, Azure Cosmos DB, Mem0, Neo4j, Redis and Valkey; Microsoft Purview middleware; OpenTelemetry and the Aspire dashboard; AG-UI, ChatKit and DevUI; Telegram hosting helpers.
In practice
A .NET team builds a claims triage workflow in which an intake agent hands off to a coverage agent and a fraud agent in parallel, checkpoints after each step, and pauses for an adjuster's approval before any payment tool runs.
A Python developer moving off AutoGen ports a group chat of research agents to the framework's group chat orchestration, swaps the model from Azure OpenAI to Anthropic in one line, and traces every model and tool call in the Aspire dashboard.
An enterprise wraps its customer support agent with Purview middleware so prompts containing sensitive data are blocked by its data loss prevention policies, and deploys it as a hosted agent on Foundry with its own Entra identity.
Sources & related URLs
Related / legacy domains
Research sources
Agentic Index coverage score
12.0 / 14 capabilities · 86%
| Integrations & Tool Calling | Full |
|---|---|
|
Agents act in outside systems through tools the developer gives them. Any function becomes a tool with typed parameters, hosted MCP servers run on the provider's side and local MCP servers run beside the agent, and the Foundry Toolbox and shell tools add more. Code interpreter, file search and web search come from the model providers that offer them, and developers control which tools are available on each run. Agents can also call other agents through A2A, Copilot Studio, GitHub Copilot or Foundry agent services. Sourcelearn.microsoft.com/en-us/agent-framework/agents/toolsread 2026-11-09 |
|
| Workflow Orchestration | Full |
|
Graph based workflows connect agents and functions through executors and edges with conditional routing, shared state, events and sub workflows, alongside a functional workflow API and declarative workflows in YAML. Ready orchestration patterns cover sequential, concurrent, handoff, group chat and Magentic coordination, where a manager agent plans and assigns work to specialists. A workflow can itself be wrapped as an agent, and background agents let a parent delegate tasks to named child agents that run concurrently. Sourcelearn.microsoft.com/en-us/agent-framework/workflows/orchestrationsread 2026-11-09 |
|
| Knowledge Grounding & RAG | Full |
|
Retrieval runs through context providers and vector stores. The RAG guide grounds an agent in documents indexed in a vector store with embeddings, an Azure AI Search provider searches an existing index before each run, Azure Content Understanding turns files into searchable content, and a Neo4j provider brings in a knowledge graph. Provider file search searches files uploaded to a model service. The indexes live in the customer's own search service or database and persist across runs. Sourcelearn.microsoft.com/en-us/agent-framework/agents/ragread 2026-11-09 |
|
| Human Oversight & Guardrails | Full |
|
Any function tool can be marked as needing approval, so the agent's run stops with an approval request and the tool runs only after a person says yes in a new run. Workflows pause on human in the loop requests and resume from the answer, and the Harness adds standing approvals a user can grant once for a tool. Termination and guardrail middleware can stop a run or rewrite its result, and FIDES blocks sensitive tools from acting on untrusted content before they run. Sourcelearn.microsoft.com/en-us/agent-framework/agents/tools/tool-approvalread 2026-11-09 |
|
| Security, Identity & Governance | Partial |
|
As a library, the framework has no user accounts, roles or sign in of its own; identity comes from the Azure credentials or provider keys the application passes in. Its governance controls act on content and tools: FIDES labels every piece of content for integrity and confidentiality and enforces policy before a sensitive tool runs, and Microsoft Purview middleware blocks prompts and responses under data loss prevention policies. The open source framework carries no compliance attestation of its own. Sourcelearn.microsoft.com/en-us/agent-framework/agents/securityread 2026-11-09 |
|
| Observability & Auditability | Full |
|
Agents and workflows emit OpenTelemetry traces, logs and metrics under the GenAI semantic conventions, covering each model call, tool call and workflow executor, to any OpenTelemetry backend, with the Aspire dashboard suggested for local viewing and DevUI showing traces beside a test chat. Workflows raise events as each executor runs, and Purview middleware logs AI interactions for audit and compliance review in Microsoft Purview. Sourcelearn.microsoft.com/en-us/agent-framework/agents/observabilityread 2026-11-09 |
|
| Memory & State Persistence | Full |
|
Sessions carry an agent's conversation, storage providers persist it, and compaction keeps long histories within the model's context. For memory across sessions, context providers write and read back what the agent should remember, from Mem0, Redis, Valkey, Azure Cosmos DB, a semantic chat history memory provider, or a file store that shares memory files across sessions when given a stable scope such as a user ID. Each store is the customer's own, so the team sets how long memory lives and can delete one user's memory. Sourcelearn.microsoft.com/en-us/agent-framework/concepts/agents/conversations/context-providersread 2026-11-09 |
|
| Deployment & Data Residency | Full |
|
The framework runs wherever the customer runs Python or .NET, on its own servers, containers or Kubernetes, and agents can be served from the customer's infrastructure behind Responses, OpenAI compatible, A2A or MCP endpoints. The Durable Extension runs durable agents and workflows on Azure Functions or on the customer's own compute against a Durable Task Scheduler, and hosted agents can deploy to Microsoft Foundry Agent Service instead. Local models through Ollama, Foundry Local or ONNX keep model calls on the customer's machines. Sourcelearn.microsoft.com/en-us/agent-framework/hostingread 2026-11-09 |
|
| Prebuilt Agents / Templates / Packs | Partial |
|
Starting points are building blocks rather than finished agents. The Harness is an opinionated agent setup for research, coding and data analysis that the developer configures with a chat client and the capabilities it needs, declarative agents and workflows are written in YAML, and orchestration patterns are ready to fill with the team's own agents. Samples in the repository and a Microsoft maintained skill help coding agents build Agent Framework apps. Sourcelearn.microsoft.com/en-us/agent-framework/concepts/harnessread 2026-11-09 |
|
| Triggers & Channel Coverage | Full |
|
With the Durable Extension on Azure Functions, agents and workflows run from Functions triggers and bindings such as timers, queues, webhooks and HTTP endpoints the Functions model generates, and an MCP server trigger hosts an agent as an MCP server without trigger glue. Self hosted agents answer OpenAI Responses, OpenAI compatible, A2A and MCP requests, and Telegram helpers turn bot updates into agent runs. Anywhere else, the application decides when to call the agent. Sourcelearn.microsoft.com/en-us/agent-framework/hosting/durable-extensionread 2026-11-09 |
|
| Model Flexibility & Routing | Full |
|
The developer picks the model client for each agent from Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock, Google Gemini, Mistral, NVIDIA NIM, Ollama, Foundry Local, ONNX or Dapr, and agents in one workflow can each use a different provider. Runtime model routing can send a run to a different model based on the request, and a custom chat client adds any other service. Sourcelearn.microsoft.com/en-us/agent-framework/concepts/agents/runtime-model-routingread 2026-11-09 |
|
| APIs / SDKs / MCP Extensibility | Full |
|
The framework is itself the SDK, with published API references for .NET and Python and a Go version in preview. Agents built with it can be exposed to outside callers as OpenAI Responses or OpenAI compatible endpoints, as A2A servers with agent cards, or as MCP servers, and the Durable Extension generates REST APIs for sending messages, checking status and managing sessions. Custom agents, chat clients, middleware and context providers extend it. Sourcelearn.microsoft.com/en-us/agent-framework/hosting/self-hostingread 2026-11-09 |
|
| Testing, Debugging & Optimization | Full |
|
A built in evaluation framework scores an agent's quality, safety and correctness. Evaluation items wrap whole conversations, evaluators range from fast local checks during development to Microsoft Foundry's cloud evaluators, or any custom one, and a run returns pass and fail counts with per item detail. In .NET it builds on Microsoft.Extensions.AI.Evaluation. DevUI gives a local test chat with traces, and AG-UI apps can be tested in Dojo. Sourcelearn.microsoft.com/en-us/agent-framework/agents/evaluationread 2026-11-09 |
|
| Browser / Computer-use | Not documented |
|
Computer use passes through from the model provider. OpenAI and Foundry clients expose a native computer tool with which a Responses model asks for ordered desktop or browser actions, but the application owns the execution environment, presents safety checks for approval, performs the actions and returns screenshots. The framework itself ships no browser, desktop session or runner for an agent to drive. Sourcelearn.microsoft.com/en-us/agent-framework/agents/tools/computer-useread 2026-11-09 |
|
The Agentic Index coverage score grades every vendor Full, Partial or Not documented against the same 14 buyer facing capabilities, from public evidence only. Each capability links to how all vendors in the index score on it. How this evidence is graded
Pricing
Free and open source under the MIT license. Costs come from the model providers the agents call and from the Azure services or infrastructure they run on.
No charge for the framework; model usage bills on the customer's provider accounts and hosting bills under the Azure service or infrastructure used
Included quota
Everything in the framework is included: agents, tools, MCP, workflows and orchestrations, memory and context providers, evaluation, observability and hosting integrations.
What is public
The license and the framework's full feature set; there is nothing to buy from the framework itself.
Billing mechanics
None for the framework; each model provider and Azure service bills on its own terms.
Cost watchouts
Model calls, Azure hosting, search indexes and memory stores the agents rely on all bill separately on the customer's own accounts.
Variable cost rationale
The framework costs nothing, so spend is whatever the agents use: model tokens on the customer's provider accounts, plus Azure Functions, Durable Task Scheduler or Foundry hosted agent charges where those are used.
Additional watchouts
The Go version is in preview, and background agents are experimental.
Overage / add-ons
No usage billing from the framework.
Sales call required
No, self serve available
Free / trial
The whole framework is free under the MIT license for Python, .NET and the Go preview.
Lowest paid plan
No paid plan. The framework is free and open source.
Commercial notes
Microsoft offers the framework free as the successor to Semantic Kernel and AutoGen, with Microsoft Foundry as one hosting option among several.
Key ambiguities
No paid support offering is described for the framework itself, and Azure service pricing for hosting is outside the framework's pages.
Cancellation / refund
No contract; the MIT license governs use of the framework.
Support SLA / resale
Community support through GitHub issues and discussions; no SLA attaches to the framework itself.
Missing data
Any paid support or SLA option for the framework.
Related vendors
- AgentOps — Agent observability and debugging platform: open source SDKs trace…
- AgentPhone — AgentPhone gives the AI agents a team builds their own US or…
- Agno — Python agent framework and AgentOS runtime (formerly Phidata) for…
- AIsa — Resource and payment gateway for AI agents, with one key to 110+…
- Albato — Albato is a no code integration platform that sells an embedded,…
- AlphaBitCore — AI control plane for regulated financial firms: one gateway enforces…
Alternatives to Microsoft Agent Framework
The closest documented capability profiles to Microsoft Agent Framework among agent infrastructure platforms tracked by Agentic Index, ordered by similarity on the same 14 point evidence the rankings use. No vendor pays for placement.
- Agno13.0 / 14Fuller documented coverage on Security, Identity & Governance and Prebuilt Agents, Templates & Packs
- Tray.ai13.0 / 14Fuller documented coverage on Security, Identity & Governance and Prebuilt Agents, Templates & Packs
- xpander.ai12.0 / 14Fuller documented coverage on Security, Identity & Governance
- Bernstein10.5 / 14A lighter documented profile than Microsoft Agent Framework
- Kestra12.5 / 14Fuller documented coverage on Security, Identity & Governance and Prebuilt Agents, Templates & Packs
- LangChain11.5 / 14Fuller documented coverage on Prebuilt Agents, Templates & Packs
Similarity is computed from each vendor's Agentic Index coverage score evidence, axis by axis, not from the totals. How this evidence is graded