azure-ai-projects-py
Build AI applications using the Azure AI Projects Python SDK (azure-ai-projects). Use when working with Foundry project clients, creating versioned agents with PromptAgentDefinition, running evaluations, managing connections/deployments/datasets/indexes, or using OpenAI-compatible clients. This is the high-level Foundry SDK - for low-level agent operations, use azure-ai-agents-python skill.
Why use this skill?
Learn to use the azure-ai-projects-py skill to manage Azure AI Foundry agents, deployments, and evaluations with this complete guide.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/thegovind/azure-ai-projects-pyWhat This Skill Does
The azure-ai-projects-py skill provides a powerful interface for interacting with the Azure AI Foundry platform using the official Python SDK. It serves as your primary bridge to managing the end-to-end lifecycle of AI applications in an enterprise Azure environment. This skill allows you to programmatically manage project assets, including model deployments, connections to external services, dataset management, and indexing for RAG pipelines. It is the high-level management layer that sits above your specific agent implementations.
Installation
To integrate this skill into your environment, use the OpenClaw CLI:
clawhub install openclaw/skills/skills/thegovind/azure-ai-projects-py
You will also need the relevant Python dependencies installed in your execution environment:
pip install azure-ai-projects azure-identity
Ensure your AZURE_AI_PROJECT_ENDPOINT is correctly set in your environment variables to authorize the SDK to communicate with your specific Azure AI Project.
Use Cases
- Project Orchestration: Automate the creation and configuration of AI Foundry projects, including setting up connections to data stores or model endpoints.
- Agent Lifecycle Management: Use the
AIProjectClientto programmatically create, update, and version control your agents, including those defined viaPromptAgentDefinition. - Evaluation Pipelines: Run automated evaluations against your models to track performance metrics and drift over time.
- RAG Implementation: Manage index creation and dataset uploads, facilitating easier RAG workflows for your AI agents.
- Unified API Usage: Seamlessly switch between Foundry-specific management operations and standard OpenAI-compatible API calls using the
get_openai_client()method.
Example Prompts
- "Initialize the Azure AI Project client using my environment variables and list all available model deployments in the project."
- "Create a new versioned agent using PromptAgentDefinition with the gpt-4o-mini model and standard instructions for a technical support bot."
- "Fetch the current list of datasets from my AI project and run a simple evaluation on the 'test-set-01' using the evaluation module."
Tips & Limitations
- Hierarchy: Remember that this is a project-management SDK. If you need low-level, individual agent threading and run control, you should pair this with the
azure-ai-agents-pythonskill. - Authentication: Always utilize
DefaultAzureCredentialto ensure your local development flows match your production identity management seamlessly. - Versioning: When working with agents, lean on the
PromptAgentDefinitionfor consistent and reproducible deployments in production pipelines. - Scope: This skill requires an active Azure AI Project; it cannot perform operations on generic OpenAI endpoints without a valid Azure Foundry project context.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-thegovind-azure-ai-projects-py": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
azure-ai-evaluation-py
Azure AI Evaluation SDK for Python. Use for evaluating generative AI applications with quality, safety, and custom evaluators. Triggers: "azure-ai-evaluation", "evaluators", "GroundednessEvaluator", "evaluate", "AI quality metrics".
azure-cosmos-py
Azure Cosmos DB SDK for Python (NoSQL API). Use for document CRUD, queries, containers, and globally distributed data. Triggers: "cosmos db", "CosmosClient", "container", "document", "NoSQL", "partition key".
azd-deployment
Deploy containerized applications to Azure Container Apps using Azure Developer CLI (azd). Use when setting up azd projects, writing azure.yaml configuration, creating Bicep infrastructure for Container Apps, configuring remote builds with ACR, implementing idempotent deployments, managing environment variables across local/.azure/Bicep, or troubleshooting azd up failures. Triggers on requests for azd configuration, Container Apps deployment, multi-service deployments, and infrastructure-as-code with Bicep.
agent-framework-azure-ai-py
Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code interpreter, file search, web search), integrating MCP servers, managing conversation threads, or implementing streaming responses. Covers function tools, structured outputs, and multi-tool agents.
github-issue-creator
Convert raw notes, error logs, voice dictation, or screenshots into crisp GitHub-flavored markdown issue reports. Use when the user pastes bug info, error messages, or informal descriptions and wants a structured GitHub issue. Supports images/GIFs for visual evidence.