azure-ai-projects-py
Skill by sickn33
Guides building AI applications on Microsoft Foundry with the azure-ai-projects Python SDK. It covers versioned agents, model deployments, connections and cloud evaluation runs. It is meant for developers who want bounded, approved workflows.
Install azure-ai-projects-py
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-ai-projects-py ~/.claude/skills/azure-ai-projects-pyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-ai-projects-py ~/.gemini/antigravity-cli/skills/azure-ai-projects-pyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-ai-projects-py in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides work on Microsoft Foundry projects using the azure-ai-projects Python SDK. It covers project connections, model deployments, versioned agents, evaluation datasets and cloud evaluation workflows. It tells the assistant to identify the installed SDK generation first, because the checked 2.0.0b4 snapshot uses versioned agents while classic thread and run recipes belong to the separate azure-ai-agents package.
The skill includes a Python example that creates one explicitly requested versioned agent and a batch evaluation helper script. The script uploads a selected JSONL file, creates an evaluation and a run, and may incur cloud or model charges, so it requires an explicit --allow-paid flag. It is aimed at developers who want least-privilege, bounded workflows with explicit approval for files, tools and spend.
Written from the project's SKILL.md and checked against it.
What it can do
- Versioned agent creationCreates a named agent version from a prompt definition and calls it through the OpenAI responses API.
- Connections and deploymentsReads project connection and model deployment metadata before choosing a model.
- Tool call boundariesGuides validation of model tool call arguments and permissions before any execution.
- Batch evaluation helperScript uploads a JSONL file and creates an evaluation and run with row, byte and timeout limits.
- Evaluation referencesIncludes notes on built-in and custom evaluators, datasets, indexes and async patterns.
What you need
- A Microsoft Foundry project endpoint set in AZURE_AI_PROJECT_ENDPOINT
- A model deployment name set in AZURE_AI_MODEL_DEPLOYMENT_NAME
- Azure credentials available to DefaultAzureCredential
- Python with azure-ai-projects, azure-identity and openai installed
- Explicit budget approval before paid cloud evaluation runs
Try asking
- Create a versioned Foundry agent named requested-agent for my project
- Run a batch evaluation with coherence on my approved JSONL file
- Check which model deployments and connections my Foundry project has
Good to know
- Checked against the 2.0.0b4 SDK snapshot; later versions can differ.
- Classic agents belong to the separate azure-ai-agents package.
- A poll timeout does not cancel the remote evaluation run.
- No local check proves live Azure availability or model quality.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-ai-projects-py/SKILL.md, skills/azure-ai-projects-py/scripts/run_batch_evaluation.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
UPSTREAM-LICENSE.txt1 KB -
UPSTREAM-NOTICE.md4 KB -
references/agents.md8 KB -
references/api-reference.md9 KB
Show all 14 files
-
references/async-patterns.md8 KB -
references/built-in-evaluators.md13 KB -
references/connections.md6 KB -
references/custom-evaluators.md16 KB -
references/datasets-indexes.md5 KB -
references/deployments.md5 KB -
references/evaluation.md12 KB -
references/tools.md13 KB -
scripts/run_batch_evaluation.py18 KB
Alternatives to azure-ai-projects-py
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
azure-ai-projects-py: common questions
Does this skill work with classic agents?
No. The source says classic agents belong to azure-ai-agents, while this skill targets versioned agents in the checked 2.0.0b4 snapshot.
Does the batch evaluation script cost money?
It may incur cloud and model charges, and the --allow-paid flag is required to run it. The source says this flag is not a spend estimate or spend enforcement.
Does the skill fetch connection secrets?
The source says not to fetch connection secrets for a listing task and to inspect the credential chain without printing credentials.
How do I install azure-ai-projects-py?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-ai-projects-py free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-ai-projects-py safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-ai-projects-py?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
