skillfed

azure-ai-projects

Microsoft Corporation Azure AI Projects Client Library for Python

azure-ai-projects v2.4.0 11.5M downloads/30d#1,388 on PyPI
Permissive license MIT Active released

What it is and what it does

The azure-ai-projects package is the Python client for Microsoft Foundry, a managed AI platform on Azure. It provides programmatic access to Foundry projects, allowing you to create and run agents (including containerized Hosted Agents), attach specialized tools and integrations, manage toolboxes, datasets, search indexes, and AI model deployments. The package wraps the Foundry v1 REST API and includes both stable and preview features; preview capabilities require setting allow_preview=True or accessing them through .beta sub-clients.

Typically used by developers building AI applications on Azure who need to orchestrate agents, manage resources, and integrate with Azure services like Storage, Search, Functions, and Fabric. The package depends on azure-core for HTTP handling, azure-identity for Entra ID authentication, openai for LLM operations, and azure-storage-blob for document management. It supports synchronous and asynchronous workflows and is actively maintained with support for Python 3.9 through 3.14.

Use it for:

  • Build and deploy multi-agent systems that leverage Azure's managed hosting and scaling infrastructure.
  • Create agents with specialized tools (search, code execution, web browsing, image generation) without managing infrastructure.
  • Fine-tune AI models on your own data and manage model deployments within a Foundry project.
  • Manage datasets, search indexes, and document uploads for retrieval-augmented generation (RAG) workflows.
  • Integrate agents with external systems via OpenAPI, Azure Functions, and Microsoft Fabric for enterprise automation.
  • Evaluate and monitor generative AI application performance using built-in evaluation rules and red-team scanning.

Worth the install?

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

Provides a Python client for Microsoft Foundry projects, enabling creation and management of AI agents, toolboxes, datasets, and integration with Azure AI services and OpenAI models.

Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and provides a comprehensive, well-documented interface to Microsoft Foundry. It is suitable for production use of stable features. If you are building AI agents on Azure or need to manage Foundry resources programmatically, this is the standard choice. Be aware that preview features are subject to change and should not be used in production without careful testing.

Install

azure-ai-projects on PyPI

pip

pip install azure-ai-projects

uv

uv add azure-ai-projects

poetry

poetry add azure-ai-projects

Installing azure-ai-projects

Before you install

Low installation friction with a pure-Python wheel. Actively maintained with a release 18 days ago. Depends on established Azure SDK packages (azure-core, azure-identity, azure-storage-blob) and openai, all standard in the ecosystem.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.

Quickstart

pip install azure-ai-projects

import os
from azure.ai.projects import AIProjectClient
from azure.identity import DefaultAzureCredential

with DefaultAzureCredential() as credential:
    client = AIProjectClient(
        endpoint=os.environ["FOUNDRY_PROJECT_ENDPOINT"],
        credential=credential
    )

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

Verify before relying

  • Whether async support requires aiohttp as an optional dependency or if it is bundled.
  • Performance characteristics when managing large numbers of agents or datasets.
  • Stability guarantees for preview features marked as such in the API.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 6 — isodate, azure-core, typing-extensions, azure-identity, openai, azure-storage-blob
Maintenance actively maintained — 18 days since the last release
First released
Downloads 11,517,912/month — #1,388 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_ai_projects-2.4.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

azure ai agents python clientmicrosoft foundry sdkazure ai project managementai agent creation frameworkazure openai integrationfoundry toolbox managementazure ai deployment client
azure-sdkai-agentscloud-platform

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-foundry

Provides Microsoft Foundry integrations for the…

permissive · top 15,000 on PyPI

azure-ai-agents

Build and deploy AI agents on Azure using…

permissive · top 5,000 on PyPI

azure-ai-inference

Unified client library for chat completions,…

permissive · top 5,000 on PyPI

foundry-platform-sdk

A Python client library for the Foundry API…

permissive · top 5,000 on PyPI

langchain-azure-ai

Integrates Microsoft Foundry (Azure AI)…

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-agentserver-core

Provides the host framework and infrastructure…

permissive · top 5,000 on PyPI

agent-framework

Builds and orchestrates AI agents powered by…

permissive · top 5,000 on PyPI

azure-ai-agentserver-responses

Provides the Responses protocol endpoints for…

permissive · top 15,000 on PyPI

foundry-local-sdk

A Python SDK for discovering, downloading,…

permissive · top 15,000 on PyPI

Further reading