ZMIME
Comparison · 2 agents

Microsoft Agent Framework vs Microsoft Foundry Agent Service

Compare setup, tools, permissions, pricing and limitations side by side.

  1. Microsoft

    Microsoft Agent Framework

    Developer frameworks and runtimes

    Developing Python or .NET agents with session state, middleware and approval steps

  2. Microsoft

    Microsoft Foundry Agent Service

    Developer frameworks and runtimes

    Operating agents in Azure projects with managed infrastructure and enterprise identity

  3. Add an agent

Side by side

Every spec in one table

Scroll sideways to see every agent.

Microsoft Agent Framework vs Microsoft Foundry Agent Service
SpecificationMicrosoft Agent FrameworkMicrosoftMicrosoft Foundry Agent ServiceMicrosoft
CategoryDeveloper frameworks and runtimesDeveloper frameworks and runtimes
Best suited toDeveloping Python or .NET agents with session state, middleware and approval stepsOperating agents in Azure projects with managed infrastructure and enterprise identity
AvailabilityPublic 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.
InterfacesPython and .NET packages, with a separate preview Go SDKFoundry portal, SDK and APIs
Execution environmentApplication 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 choiceProvider integrations include Microsoft Foundry, Anthropic, OpenAI and Ollama.Uses authorized model deployments available within the Foundry project and selected agent type.
Tools and integrationsMCP, tool calls, middleware, persistence and graph-based orchestration.Foundry tools and connected services, Azure identity, and application-defined frameworks where supported.
Human review and controlsUse tool approval, middleware and workflow checkpoints where supported by the chosen SDK.Scope identity, tool permissions, secrets and available connections at deployment.
PrerequisitesA 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 hostingPublic SDK distribution. Hosted provider and deployment terms apply separately.Managed Azure service. Frameworks and container dependencies have separate terms.
Useful tasks
  • Give a single agent a function it can call.
  • Add a human check to a multi-step workflow.
  • Persist state for a workflow that may need to resume.
  • Deploy a supported agent behind a project endpoint.
  • Attach an authorized model and business-data tool.
  • Observe and update a running agent deployment.
Pricing and usage

Costs depend on the chosen inference provider, runtime, storage and optional hosted services.

Official cost reference

Charges depend on model, tools, storage and selected agent runtime. Review the rate card for deployed components.

Official cost reference

Setup steps
  1. Choose a language from the Microsoft Learn tutorial.
  2. Install the relevant packages and configure your model provider.
  3. Start with a local agent, then test state handling and approvals before hosting.

Official setup guide

  1. Create a Foundry project and configure a supported model.
  2. Choose the agent type and connect approved tools.
  3. Deploy to a supported region and monitor usage.

Official setup guide

Limitations
  • Preview SDKs may lack capabilities from other language implementations.
  • Data boundaries depend on the services the application connects.
  • Existing AutoGen and Semantic Kernel projects have separate migration guidance.
  • Support differs by region, framework and agent type.
  • Runtime charges can apply in addition to model and tool costs.
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.