Skip to content
AgentAgent framework

agent-framework

Multi-language framework for production AI agents and multi-agent workflows

Pricing
Open source
Platforms
API, CLI
GitHub stars
14.7K
Last commit
today
Language
Python
License
MIT

About agent-framework

agent-framework is an open-source agent framework for multi-agent frameworks. It is available on API and CLI.

Microsoft Agent Framework is an open framework for building AI agents and multi-agent workflows in Python and .NET, with a separate Go SDK. It aims to help teams move agents from prototype to production while keeping architecture choices open.

It offers graph-based orchestration patterns (sequential, concurrent, handoff and group collaboration) with checkpointing, streaming, human-in-the-loop and time-travel. It also provides middleware, OpenTelemetry-based observability, declarative agents defined in YAML, and hosting on Foundry infrastructure.

It supports several providers including Microsoft Foundry, Azure OpenAI, OpenAI and the GitHub Copilot SDK, and is MIT licensed.

What it does

Python and .NET
Consistent APIs across Python and C#/.NET, with a separate Go SDK.
Graph-based workflows
Sequential, concurrent, handoff and group collaboration patterns with checkpointing.
Provider flexibility
Supports multiple LLM providers so architecture can change over time.
Middleware
Flexible request and response processing, exception handling and custom pipelines.
OpenTelemetry observability
Built-in distributed tracing and monitoring.
Declarative agents
Define agents in YAML for faster setup and versioning.
Foundry hosted agents
Deploy agents to Foundry-hosted infrastructure with few additional lines of code.

Good for

  • Build production multi-agent systems in .NET or Python
  • Orchestrate agents with human-in-the-loop approval
  • Trace and monitor agent runs with OpenTelemetry
  • Host agents on Foundry infrastructure
  • Define agents declaratively in YAML

Pricing

Open source

MIT-licensed

Prices change. Check aka.ms before you buy.

agent-framework FAQ

Which languages does it support?

Python and .NET, with a Go SDK in a separate repository.

Which providers are supported?

The README names Microsoft Foundry, Azure OpenAI, OpenAI and the GitHub Copilot SDK.

What is the license?

MIT.

Does it support human-in-the-loop?

Yes, workflows include human-in-the-loop along with checkpointing and streaming.

Is agent-framework free?

Yes. agent-framework is open source, so you can use and self-host it for free.

What are the best alternatives to agent-framework?

The closest alternatives to agent-framework are AutoGPT, hermes-agent, deepseek-harness, dify and langchain.

Alternatives to agent-framework

  1. AutoGPT

    Agent

    Hosted team of AI Experts for content, sales and research, coordinated by Otto

    • Free trial
    • Hosted agent
    • 188K GitHub stars
    • AI models and LLM tooling
  2. Open-source self-improving agent with memory, scheduling and many chat gateways

    • Freemium
    • Open-source agent
    • 264K GitHub stars
    • AI models and LLM tooling
  3. Open-source agent harness from DeepSeek, built on a plugin architecture

    • Open source
    • Open-source agent
    • 282K GitHub stars
    • Multi-agent frameworks
  4. dify

    Agent

    Visual platform for building and deploying agentic workflows and knowledge pipelines

    • Freemium
    • Agent framework
    • 161K GitHub stars
    • Workflow automation
  5. Python library for building agents from a model, tools, prompt and middleware

    • Open source
    • Agent framework
    • 150K GitHub stars
    • AI models and LLM tooling
  6. Open-source terminal agent for Gemini Code Assist workflows on Google Cloud

    • Open source
    • Open-source agent
    • 109K GitHub stars
    • AI models and LLM tooling