Sign in
Explore
Skills · SkillDevOps & CloudData & AIAgents & MCPCloud platformsCI/CDReviewed

azure-ai-projects-py

Build AI apps with the Azure AI Projects Python SDK: Foundry project clients, versioned agents, evaluations and connections.

Kind
Skill
Works with
Claude Code
Languages
Python
Source
microsoft/skills @ 2130750147de
Path
.github/plugins/azure-sdk-python/skills/azure-ai-projects-py/SKILL.md
Jobs
Implementation, Testing
Topics
Agents & MCP, Cloud platforms, CI/CD

Credit

Made by
microsoft
Original
github.com/microsoft/skills/blob/2130750147dee0311215099ddf36…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/azure-ai-projects-py/ (the skill folder)
  • 11 file(s) the skill refers to
  • 11 other files in the folder: references/agents.md, references/api-reference.md, references/async-patterns.md, references/built-in-evaluators.md and 7 more
Runs scripts
Yes
  • run_batch_evaluation.py
  • scripts/run_batch_evaluation.py
  • shell block in the text
  • shell block in the text (references/connections.md)
Uses the network
Yes
  • downloads Python packages
  • downloads Python packages (references/async-patterns.md)
  • HTTP client calls (references/async-patterns.md)
Needs secrets
Yes
  • AZURE_TOKEN_CREDENTIALS
  • API_KEY
  • NO_AUTH
Reads environment variables
  • AZURE_AI_PROJECT_ENDPOINT
  • AZURE_AI_MODEL_DEPLOYMENT_NAME
  • AZURE_TOKEN_CREDENTIALS
  • API_KEY
  • NO_AUTH
  • BING_CONNECTION_NAME
Reads outside the project
  • /usr/bin/env (scripts/run_batch_evaluation.py)
Calls other skills
  • azure-ai-agents-python
  • /weather
Value without its scripts
High
  • The main file never tells the agent to run a bundled script, so the text works without them.
  • scripts/run_batch_evaluation.py: Batch Evaluation CLI Tool
Source revision
2130750147de
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Azure AI Projects Python SDK (Foundry SDK)

Build AI applications on Microsoft Foundry using the `azure-ai-projects` SDK.

## Installation

```bash
pip install azure-ai-projects azure-identity
```

## Environment Variables

```bash
AZURE_AI_PROJECT_ENDPOINT="https://<resource>.services.ai.azure.com/api/projects/<project>"  # Required for all auth methods
AZURE_AI_MODEL_DEPLOYMENT_NAME="gpt-4o-mini"  # Required for all auth methods
AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production
```

## Authentication & Lifecycle

> **🔑 Two rules apply to every code sample below:**
>
> 1. **Prefer `DefaultAzureCredential`.** It works locally (Azure CLI / VS Code / Developer CLI) and in Azure (managed identity, workload identity) with no code change. Avoid connection strings, account/API keys — they bypass Entra audit and rotation.
>    - Local dev: `DefaultAzureCredential` works as-is.
>    - Production: set `AZURE_TOKEN_CREDENTIALS=prod` (or `AZURE_TOKEN_CREDENTIALS=<specific_credential>`) to constrain the credential chain to production-safe credentials.
…