azure-ai-projects
Microsoft Corporation Azure AI Projects Client Library for Python
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-projectsuv
uv add azure-ai-projectspoetry
poetry add azure-ai-projectsInstalling 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
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
agent-framework-foundryProvides Microsoft Foundry integrations for the…
permissive · top 15,000 on PyPI
azure-ai-agentsBuild and deploy AI agents on Azure using…
permissive · top 5,000 on PyPI
azure-ai-inferenceUnified client library for chat completions,…
permissive · top 5,000 on PyPI
foundry-platform-sdkA Python client library for the Foundry API…
permissive · top 5,000 on PyPI
langchain-azure-aiIntegrates Microsoft Foundry (Azure AI)…
permissive · top 5,000 on PyPI
azure-ai-vision-imageanalysisCalls Azure's Computer Vision service to…
permissive · top 15,000 on PyPI
azure-ai-agentserver-coreProvides the host framework and infrastructure…
permissive · top 5,000 on PyPI
agent-frameworkBuilds and orchestrates AI agents powered by…
permissive · top 5,000 on PyPI
azure-ai-agentserver-responsesProvides the Responses protocol endpoints for…
permissive · top 15,000 on PyPI
foundry-local-sdkA Python SDK for discovering, downloading,…
permissive · top 15,000 on PyPI