skillfed

agent-framework

Microsoft Agent Framework for building AI Agents with Python. This package contains all the core and optional packages.

agent-framework v1.14.0 1.5M downloads/30d#3,810 on PyPI12,803
Permissive license Active released

What it is and what it does

Agent Framework is Microsoft's Python library for building and coordinating AI agents that interact with large language models. It provides a high-level Agent class that wraps OpenAI and Azure OpenAI chat clients, allowing you to define agent behavior through instructions, attach tools for function calling, and compose multiple agents into orchestrated workflows. The framework handles async execution, message passing, and agent-to-agent handoff patterns out of the box.

The package is designed for both simple single-agent tasks (summarization, Q&A) and complex multi-agent scenarios (sequential workflows, concurrent execution, group chat). It abstracts away boilerplate LLM integration code and provides patterns for common orchestration use cases like writer-reviewer loops and specialized agent teams. Installation is straightforward—either install the full framework with all integrations or pick specific sub-packages (core, foundry, copilotstudio) to keep dependencies lean.

Use it for:

  • Build a single agent that summarizes documents or answers questions using OpenAI or Azure OpenAI as the backbone.
  • Create a multi-agent workflow where specialized agents (e.g., writer, reviewer, editor) collaborate sequentially or in parallel to refine content.
  • Attach custom Python functions as tools to agents so they can call weather APIs, database queries, or other services during execution.
  • Orchestrate agent handoff patterns where one agent routes tasks to another based on expertise or context.
  • Integrate with Microsoft Foundry or Copilot Studio for enterprise LLM and workflow management.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Builds and orchestrates AI agents powered by OpenAI and Azure OpenAI APIs, with support for multi-agent workflows, tool calling, and agent-to-agent collaboration patterns.

Yes. The package is actively maintained, production-stable, has no known vulnerabilities, and offers low install friction. It's a solid choice if you're building AI agents on OpenAI or Azure OpenAI and want structured orchestration patterns without writing boilerplate. The permissive MIT license and broad Python version support (3.10–3.14) add to its appeal. Start with a single agent to validate your use case, then scale to multi-agent workflows as needed.

Install

agent-framework on PyPI

pip

pip install agent-framework

uv

uv add agent-framework

poetry

poetry add agent-framework

Installing agent-framework

Before you install

Active maintenance with recent release; low install friction as a pure Python wheel with a single core dependency. Supports Python 3.10 through 3.14 and shows strong adoption (top 5000 PyPI by downloads).

License in practice

MIT license (permissive) allows unrestricted use, modification, and distribution in commercial and private projects.

Quickstart

pip install agent-framework

import asyncio
from agent_framework import Agent
from agent_framework.openai import OpenAIChatClient

async def main():
    agent = Agent(
        client=OpenAIChatClient(),
        instructions="You are a helpful assistant."
    )
    result = await agent.run("Your prompt here")
    print(result)

asyncio.run(main())

Requires Python 3.10+. Requires OpenAI or Azure OpenAI API credentials set as environment variables (OPENAI_API_KEY or AZURE_OPENAI_API_KEY, etc.).

Verify before relying

  • Whether agent-framework-core and integration packages (foundry, copilotstudio) are included in the main agent-framework install or require separate installation.
  • Specific performance characteristics or limits for multi-agent orchestration (e.g., concurrent agent scaling, latency).
  • Whether the framework supports non-OpenAI LLM providers beyond Azure OpenAI.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 1 — agent-framework-core
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Downloads 1,527,626/month — #3,810 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: agent_framework-1.14.0-py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

ai agent framework pythonmulti-agent orchestrationopenai agent builderllm agent frameworkagentic workflow orchestrationpython agent toolsagent framework azure openai
multi-agent-orchestrationllm-integrationasync-framework

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

agent-framework-core

Build, orchestrate, and deploy AI agents and…

permissive · top 5,000 on PyPI

agent-framework-devui

Provides a lightweight web UI and…

permissive · top 15,000 on PyPI

agent-framework-openai

Provides OpenAI and Azure OpenAI integration…

permissive · top 5,000 on PyPI

agent-framework-orchestrations

Provides high-level builder patterns for…

permissive · top 15,000 on PyPI

semantic-kernel

Semantic Kernel is a Python SDK for building AI…

permissive · top 5,000 on PyPI

agent-framework-copilotstudio

Integrates Microsoft Copilot Studio published…

permissive · top 15,000 on PyPI

agent-framework-foundry-local

Integrates Microsoft Agent Framework with…

permissive · top 15,000 on PyPI

agent-framework-chatkit

Bridges Microsoft Agent Framework agents with…

permissive · top 15,000 on PyPI

agent-framework-claude

Integrates Claude with Microsoft Agent…

permissive · top 15,000 on PyPI

agent-framework-ollama

Integrates Ollama LLM provider support into…

permissive · top 15,000 on PyPI

Further reading