skillfed

azure-ai-agents

Microsoft Corporation Azure AI Agents Client Library for Python

azure-ai-agents v1.1.0 7.6M downloads/30d#1,716 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

Azure AI Agents is a Python client library for building and managing AI agents on Microsoft's Azure AI Agents Service. It provides synchronous and asynchronous APIs to create agents, manage threads and messages, and orchestrate agent runs with support for multiple LLM providers and a rich tool ecosystem (file search, code interpretation, function calling, Bing grounding, Azure AI Search, OpenAPI integration). The library handles authentication via Azure Entra ID and integrates with Azure AI Foundry projects for resource management.

The package is designed for developers building generative AI applications that need agentic capabilities—agents that can reason, use tools, and interact with external systems. It abstracts away the complexity of the underlying Azure AI Agents Service, offering both synchronous and asynchronous clients. While it can be used independently, the documentation recommends pairing it with azure-ai-projects for simplified access to advanced features like agent lifecycle management, model enumeration, and observability.

Use it for:

  • Build a customer support agent that searches internal documentation and executes code to troubleshoot issues.
  • Create a data analysis agent that interprets code, processes files, and retrieves information from Azure AI Search.
  • Develop a multi-turn conversational agent with function calling to integrate with external APIs and business logic.
  • Deploy an agent that grounds responses using Bing search results for real-time information retrieval.
  • Implement an agent that manages file uploads and searches over document collections using vector stores.

Worth the install?

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

Build and deploy AI agents on Azure using models from OpenAI, Microsoft, and other LLM providers, with support for tools like file search, code interpretation, and function calling.

Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and addresses a clear need for developers building agents on Azure. It supports current Python versions (3.9+), integrates with standard Azure authentication patterns, and offers both sync and async APIs. No known security vulnerabilities. Suitable for production use if you are committed to the Azure ecosystem; not a good fit if you need multi-cloud or on-premises agent infrastructure.

Install

azure-ai-agents on PyPI

pip

pip install azure-ai-agents

uv

uv add azure-ai-agents

poetry

poetry add azure-ai-agents

Installing azure-ai-agents

Before you install

Low install friction with three lightweight runtime dependencies (isodate, azure-core, typing-extensions). Active maintenance with recent releases; last commit 2026-08-14 and 5588 repository stars indicate ongoing development.

License in practice

MIT License permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice in distributions.

Quickstart

pip install azure-ai-agents

import os
from azure.ai.agents import AgentsClient
from azure.identity import DefaultAzureCredential

agents_client = AgentsClient(
    endpoint=os.environ["PROJECT_ENDPOINT"],
    credential=DefaultAzureCredential(),
)
agent = agents_client.create_agent(
    model=os.environ["MODEL_DEPLOYMENT_NAME"],
    name="my-agent",
    instructions="You are helpful agent",
)

Requires Python 3.9 or later, an Azure subscription, an Azure AI Foundry project, and Entra ID authentication via DefaultAzureCredential (which requires Azure CLI and az login).

Verify before relying

  • Whether the package works standalone or if azure-ai-projects is effectively required for production use cases.
  • Performance characteristics and latency expectations for agent creation and message processing.
  • Cost implications of using Azure AI Agents Service beyond the SDK itself.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-core, typing-extensions
Maintenance actively maintained — 374 days since the last release
Last repo commit
First released
Downloads 7,601,444/month — #1,716 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_ai_agents-1.1.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Tags

azure ai agents clientbuild agents azurellm agents azureazure openai agentsagent framework azureai agents service pythonazure generative ai agents
azure-sdkagent-frameworkllm-integration

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

azure-ai-projects

Provides a Python client for Microsoft Foundry…

permissive · top 5,000 on PyPI

azure-ai-vision-imageanalysis

Calls Azure's Computer Vision service to…

permissive · top 15,000 on PyPI

azure-ai-inference

Unified client library for chat completions,…

permissive · top 5,000 on PyPI

azure-search-documents

Client library for querying, indexing, and…

unclear · top 5,000 on PyPI

agent-framework-ollama

Integrates Ollama LLM provider support into…

permissive · top 15,000 on PyPI

agent-framework-foundry

Provides Microsoft Foundry integrations for the…

permissive · top 15,000 on PyPI

azure-mgmt-resource-deployments

Manages Azure resource deployments…

permissive · top 5,000 on PyPI

agent-framework

Builds and orchestrates AI agents powered by…

permissive · top 5,000 on PyPI

agent-framework-foundry-local

Integrates Microsoft Agent Framework with…

permissive · top 15,000 on PyPI

microsoft-agents-a365-runtime

Provides core runtime utilities, environment…

permissive · top 15,000 on PyPI

Further reading