Microsoft Agent Framework vs Microsoft Foundry Agent Service
Compare setup, tools, permissions, pricing and limitations side by side.
Microsoft
Microsoft Agent Framework
Developing Python or .NET agents with session state, middleware and approval steps
Microsoft
Microsoft Foundry Agent Service
Operating agents in Azure projects with managed infrastructure and enterprise identity
Add an agent
Every spec in one table
Scroll sideways to see every agent.
| Specification | ||
|---|---|---|
| Category | Developer frameworks and runtimes | Developer frameworks and runtimes |
| Best suited to | Developing Python or .NET agents with session state, middleware and approval steps | Operating agents in Azure projects with managed infrastructure and enterprise identity |
| Availability | Public packages and tutorials. Microsoft documents Go support as public preview. | Available through Microsoft Foundry. Agent types and individual features have their own regional availability and release status. |
| Interfaces | Python and .NET packages, with a separate preview Go SDK | Foundry portal, SDK and APIs |
| Execution environment | Application process with developer-selected state storage and hosting. | Managed prompt agent runtime and supported hosted agent deployments. Hosted agents run application code in managed containers. |
| Model choice | Provider integrations include Microsoft Foundry, Anthropic, OpenAI and Ollama. | Uses authorized model deployments available within the Foundry project and selected agent type. |
| Tools and integrations | MCP, tool calls, middleware, persistence and graph-based orchestration. | Foundry tools and connected services, Azure identity, and application-defined frameworks where supported. |
| Human review and controls | Use tool approval, middleware and workflow checkpoints where supported by the chosen SDK. | Scope identity, tool permissions, secrets and available connections at deployment. |
| Prerequisites | A supported SDK, compatible model credentials and optional state or hosting infrastructure. | An Azure subscription and properly configured Foundry project, model and identity resources. |
| License and hosting | Public SDK distribution. Hosted provider and deployment terms apply separately. | Managed Azure service. Frameworks and container dependencies have separate terms. |
| Useful tasks |
|
|
| Pricing and usage | Costs depend on the chosen inference provider, runtime, storage and optional hosted services. | Charges depend on model, tools, storage and selected agent runtime. Review the rate card for deployed components. |
| Setup steps |
|
|
| Limitations |
|
|
| Official sources | Sources checked | Sources checked |
Change the comparison
Frequently asked questions
Which agent should I choose?
Microsoft Agent Framework is suited to developing Python or .NET agents with session state, middleware and approval steps. Microsoft Foundry Agent Service is suited to operating agents in Azure projects with managed infrastructure and enterprise identity.
How do their costs compare?
Microsoft Agent Framework — Costs depend on the chosen inference provider, runtime, storage and optional hosted services. Microsoft Foundry Agent Service — Charges depend on model, tools, storage and selected agent runtime. Review the rate card for deployed components.
What do I need before using these agents?
Microsoft Agent Framework — A supported SDK, compatible model credentials and optional state or hosting infrastructure. Microsoft Foundry Agent Service — An Azure subscription and properly configured Foundry project, model and identity resources.
Which limitations matter most?
Microsoft Agent Framework — Preview SDKs may lack capabilities from other language implementations. Microsoft Foundry Agent Service — Support differs by region, framework and agent type.