Microsoft Agent Framework
A library for building tool-using agents and explicit, multi-step application workflows.
At a glance
- Provider
- Microsoft
- Best suited to
- Developing Python or .NET agents with session state, middleware and approval steps
- Availability
- Public packages and tutorials. Microsoft documents Go support as public preview.
- Interfaces
- Python and .NET packages, with a separate preview Go SDK
- Execution environment
- Application process with developer-selected state storage and hosting.
- Model choice
- Provider integrations include Microsoft Foundry, Anthropic, OpenAI and Ollama.
- Tools and integrations
- MCP, tool calls, middleware, persistence and graph-based orchestration.
- Human review and controls
- Use tool approval, middleware and workflow checkpoints where supported by the chosen SDK.
- Prerequisites
- A supported SDK, compatible model credentials and optional state or hosting infrastructure.
- License and hosting
- Public SDK distribution. Hosted provider and deployment terms apply separately.
Pricing and usage
Costs depend on the chosen inference provider, runtime, storage and optional hosted services.
What you can do with it
- 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.
How to get started
- Choose a language from the Microsoft Learn tutorial.
- Install the relevant packages and configure your model provider.
- Start with a local agent, then test state handling and approvals before hosting.
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.
Official sources
Sources checked
Frequently asked questions
How do I start using Microsoft Agent Framework?
Choose a language from the Microsoft Learn tutorial. Install the relevant packages and configure your model provider. Start with a local agent, then test state handling and approvals before hosting.
How is Microsoft Agent Framework priced?
Costs depend on the chosen inference provider, runtime, storage and optional hosted services.
What should I check before giving it access?
Use tool approval, middleware and workflow checkpoints where supported by the chosen SDK. Preview SDKs may lack capabilities from other language implementations.