Microsoft Agent Framework in our research
All researchStudy
AI Agent Pricing Index, October 2026
Pricing
Free only
17 of the 149 agents we checked are free with no paid plan.
Price checked 19 September 2026.
What we checked on Microsoft Agent Framework
Writes code
Agents you build can write and run code through CodeAct or a provider-hosted code interpreter, but both are gated: the documented CodeAct connector is in preview and code interpreter depends on the model provider you choose.
CodeAct lets an agent solve a task by writing code and executing it through an execute_code tool. Instead of asking the model to emit one tool call…
Whole-codebase work
The Harness targets long multi-step work with context compaction, file memory and todo tracking, and shell tools default to working-directory confinement; the vendor documents no repository indexing or repo-wide migration.
A harness wraps a chat client with the scaffolding an agent needs to work through long, multi-step tasks - planning / execution modes, a todo list to…
Ships it
The beta agent-framework-tools package gives an agent local or Docker shell execution, so it can run any command you approve; no deploy, release or pull-request step is documented.
Shell execution can modify files, launch processes, access credentials, and communicate with external systems. Use the least-privileged execution…
Done-for-you service
Microsoft ships a package you install and run yourself; nobody builds or operates the agent for you, and support is the public GitHub repository, discussions and office hours.
Microsoft Agent Framework is an open-source SDK for building AI agents that can reason, use tools, and interact with users and other agents. It…
Runs autonomously
The agent-mode provider ships an explicitly autonomous execute mode that works a plan to completion, and the Harness keeps an agent progressing through long multi-step tasks without a person each turn.
Execute is autonomous. The agent works through the plan, makes reasonable choices when details are ambiguous, and marks todos complete.
Multi-agent
Five built-in orchestration patterns coordinate several agents on one task, and a parent agent can additionally delegate concurrent work to named child agents in their own sessions.
Agent Framework provides several built-in multi-agent orchestration patterns:
Agent permissions
Approval is per tool and configurable in code: the local shell tool asks for every command by default, regex allow and deny lists pre-filter commands, and disabling approval requires an explicit unsafe acknowledgement.
LocalShellTool runs commands directly on the host. It defaults to a persistent shell, a 30-second timeout, 64-KiB output truncation,…
Claude
Anthropic is a first-class model provider with its own client package, reachable through Anthropic directly or through Foundry, Bedrock and Vertex AI endpoints.
Anthropic — Claude model inference through Anthropic and supported hosted endpoints.
GPT
Both OpenAI directly and Azure OpenAI are listed model providers, covering Chat Completions and the Responses API, with Microsoft Foundry as a third route to the same models.
OpenAI — OpenAI Chat Completions and Responses APIs.
Open models
Ollama, ONNX Runtime GenAI and Foundry Local are all listed as providers for running open-weight models locally, though the comparison table shows they support fewer hosted-tool features than the cloud providers.
Ollama — Local open-source model inference.
Model choice
You choose the model: eleven providers are documented and, in .NET, any inference service implementing the standard chat-client interface can back an agent without framework changes.
Any inference service that provides a Microsoft.Extensions.AI.IChatClient implementation can back a ChatClientAgent.
In your editor
Not an editor product. The documented client surfaces are OpenAI-compatible HTTP, A2A, AG-UI web apps, Telegram and MCP; no IDE or editor extension appears in the docs.
After choosing a host, select the client integration that fits your scenario:
On the command line
A terminal surface exists only as developer tooling: the DevUI command line launches agents from a directory, and the Harness console apps are explicitly samples rather than shipped components.
If you have agents and workflows organized in a directory structure, launch DevUI from the command line:
In a browser
DevUI gives a browser interface for running and debugging agents, but the vendor labels it a sample app unfit for production; shipping a real web surface means adding the preview AG-UI or ChatKit integrations.
DevUI is a sample app to help you visualize and debug your agents and workflows during development. It is not intended for production use.
Self-hosted
Self-hosting is one of the two documented hosting models: the agent runs in your own web service, container or runtime and you keep routing, identity, storage and scaling.
Your application runs in your web service, container, runtime, or existing infrastructure.
Open source
The whole framework is published under the MIT licence on GitHub, permitting commercial use, modification and redistribution without a fee or a contributor agreement.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to…
How it meters
The framework itself costs nothing, so all spend is model and tool consumption metered by whichever provider you configure; Microsoft publishes no calculator and states the usage cost is yours.
Third-Party Systems are Non-Microsoft Products under the Microsoft Product Terms and are governed by their own third-party license terms. You are…
Free tier
No sales call, no account and no licence fee: the packages install from PyPI and NuGet under an MIT grant that is explicitly free of charge.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")
API access
The product is itself a code library, and its hosting packages additionally expose an agent over OpenAI-compatible Responses and Chat Completions endpoints from your own server.
OpenAI-compatible endpoints for Responses and Chat Completions-compatible APIs.
MCP server
Another agent can reach yours over MCP or A2A, but the Python hosting packages that expose those endpoints are prerelease, and you must build and secure the server yourself.
MCP tools for exposing an agent or workflow as a native MCP tool.
Bring your own key
You bring your own inference: the framework requires you to configure your chosen provider's keys and endpoints, and it never brokers or resells model access.
API Dependencies: Requires proper configuration of LLM provider keys and endpoints
Admin controls
Constraints are real but developer-set in code, not an admin console: per-tool approval, regex shell allow and deny lists, and FIDES policy middleware that blocks a sensitive tool before it runs.
ShellPolicy applies regular-expression allow and deny lists before execution. Deny rules take precedence.
Audit log
Agent actions are traceable via OpenTelemetry, and the FIDES security provider keeps per-session audit records of policy decisions, but there is no administrative action log because there is no admin plane.
SecureAgentConfig stores labels, hidden variables, audit records, and pending approvals in the active AgentSession.
Opt out of training
Microsoft makes no training claim for the framework and instead pushes the question to whichever model or tool provider you configure, telling you to review their retention and privacy terms first.
Provider Due Diligence: Before integrating any external service, you should review their privacy policies, security practices, data retention…
Data residency
Because you host it, residency follows your deployment and your chosen providers; Microsoft explicitly makes keeping data inside your compliance and geographic boundaries your responsibility rather than guaranteeing a region.
It is your responsibility to manage whether your data will flow outside of your organization's Azure compliance and geographic boundaries and any…
Getting out
Nothing is locked in a vendor store: sessions and history go to a session store you implement over your own database or blob storage, and there are no credits to expire.
Your application controls routing, identity, authorization, request policy, storage, deployment, and scaling.
Microsoft Agent Framework price and terms
Terms
- Free plan
- YesYesThe entire framework is free under the MIT licence with no paid tier, no seats and no usage cap
The terms in full
the only spend is inference and tooling billed by the model provider you configure.
For AI agents
- MCP server
- Partly
- API
- Yes
Where these prices come from
github.com/microsoft/agent-framework/blob/main/LICENSE, checked
Microsoft Agent Framework alternatives
All 9 alternativesHead to headMicrosoft Agent Framework vs Google Agent Development Kit (ADK)Microsoft Agent Framework vs AutoGen
- This spot is openBe the first agent people see on Microsoft Agent Framework's page.
- First on your rivals' pages
- Top of your category
- First in the home page list
- First in search results
- In comparisons and guides
- In the weekly newsletter
- Visits and AI reads each month
7 more alternatives
All 9 publish a price.
- OpenAI Agents SDK (Python)FreeOpen-source Python framework for building agents with tools, handoffs, guardrails and tracing.
- LangGraphFree, then $39 a seat a monthOpen-source orchestration framework and runtime for stateful, long-running LLM agents, from LangChain.
- CrewAIFreeOpen-source multi-agent framework with a managed platform for deploying and governing agent workflows.
- LiveKit AgentsFree, then $50 a monthOpen-source Python and Node.js framework for voice AI agents, with LiveKit Cloud hosting, telephony and observability.
Questions about Microsoft Agent Framework
- How much does Microsoft Agent Framework cost?
- Microsoft Agent Framework is free to use. From github.com/microsoft/agent-framework/blob/main/LICENSE, checked 19 September 2026.
- Does Microsoft Agent Framework have an API or an MCP server?
- It has an API. It has a limited MCP server.
- Is Microsoft Agent Framework open source, and can you host it yourself?
- It is open source. You can host it yourself.
- What have we checked on Microsoft Agent Framework?
- 26 facts, under these headings: What it does, how much it does unattended, which models it runs on, where you use it, whose machine it runs on, what it costs to run, buying it for a team, what happens to your code.
- How do we check Microsoft Agent Framework?
- We hold 26 facts on Microsoft Agent Framework, quoted from 23 pages. Facts and price last checked 19 September 2026.
Sources and changes
Last changed
Sources23
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/model-providers
- learn.microsoft.com/en-us/agent-framework/hosting
- learn.microsoft.com/en-us/agent-framework/hosting/self-hosting
- learn.microsoft.com/en-us/agent-framework/overview
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/tools/shell-tools
- github.com/microsoft/agent-framework/blob/main/LICENSE
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/middleware/purview
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/model-providers/openai
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/devui
- learn.microsoft.com/en-us/agent-framework/support/faq
- github.com/microsoft/agent-framework/blob/main/TRANSPARENCY_FAQ.md
- learn.microsoft.com/en-us/agent-framework/agents/code-act
- learn.microsoft.com/en-us/agent-framework/agents/planning-and-todos
- learn.microsoft.com/en-us/agent-framework/agents/security
- learn.microsoft.com/en-us/agent-framework/concepts/agents/conversations/storage
- learn.microsoft.com/en-us/agent-framework/concepts/agents/safety
- learn.microsoft.com/en-us/agent-framework/concepts/harness
- learn.microsoft.com/en-us/agent-framework/get-started/harness
- learn.microsoft.com/en-us/agent-framework/hosting/self-hosting/mcp
- learn.microsoft.com/en-us/agent-framework/integrations
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/agent-services/github-copilot
- learn.microsoft.com/en-us/agent-framework/workflows/orchestrations
- api.github.com/repos/microsoft/agent-frameworkRepository
Written about it elsewhere1
Repository30 August 2026
- Licence
- MIT
- Stars
- 13,219
- Forks
- 2,240
- Last push
- 30 August 2026
Is this yours?
AI assistants like ChatGPT and Claude opened The Agents Index pages 2,746 times in September. Claiming is free. You get this page's reader numbers and the verified owner mark. You confirm it with an email at learn.microsoft.com.
Report an error if a fact is wrong.