frank-luongt/faos-skills-marketplace/azure-ai-projects-py
Claude Code and agent skill by frank-luongt/faos-skills-marketplace
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install frank-luongt/faos-skills-marketplace/azure-ai-projects-pySKILL.md
The same SKILL.md was published earlier as frank-luongt/faos-skills-marketplace/azure-ai-projects-py.
Azure AI Projects Python SDK (Foundry SDK)
Build AI applications on Microsoft Foundry using the azure-ai-projects SDK.
Installation
Environment Variables
Authentication
Client Operations Overview
| Operation | Access | Purpose | |
|---|---|---|---|
client.agents | .agents.* | Agent CRUD, versions, threads, runs | |
client.connections | .connections.* | List/get project connections | |
client.deployments | .deployments.* | List model deployments | |
client.datasets | .datasets.* | Dataset management | |
client.indexes | .indexes.* | Index management | |
client.evaluations | .evaluations.* | Run evaluations | |
client.red_teams | .red_teams.* | Red team operations |
Two Client Approaches
1. AIProjectClient (Native Foundry)
2. OpenAI-Compatible Client
Agent Operations
Create Agent (Basic)
Create Agent with Tools
Versioned Agents with PromptAgentDefinition
See references/agents.md for detailed agent patterns.
Tools Overview
| Tool | Class | Use Case | |
|---|---|---|---|
| Code Interpreter | CodeInterpreterTool | Execute Python, generate files | |
| File Search | FileSearchTool | RAG over uploaded documents | |
| Bing Grounding | BingGroundingTool | Web search (requires connection) | |
| Azure AI Search | AzureAISearchTool | Search your indexes | |
| Function Calling | FunctionTool | Call your Python functions | |
| OpenAPI | OpenApiTool | Call REST APIs | |
| MCP | McpTool | Model Context Protocol servers | |
| Memory Search | MemorySearchTool | Search agent memory stores | |
| SharePoint | SharepointGroundingTool | Search SharePoint content |
See references/tools.md for all tool patterns.
Thread and Message Flow
Connections
See references/connections.md for connection patterns.
Deployments
See references/deployments.md for deployment patterns.
Datasets and Indexes
See references/datasets-indexes.md for data operations.
Evaluation
See references/evaluation.md for evaluation patterns.
Async Client
See references/async-patterns.md for async patterns.
Memory Stores
Best Practices
- Use context managers for async client:
async with AIProjectClient(...) as client: - Clean up agents when done:
client.agents.delete_agent(agent.id) - Use `create_and_process` for simple runs, streaming for real-time UX
- Use versioned agents for production deployments
- Prefer connections for external service integration (AI Search, Bing, etc.)
SDK Comparison
| Feature | azure-ai-projects | azure-ai-agents | |
|---|---|---|---|
| Level | High-level (Foundry) | Low-level (Agents) | |
| Client | AIProjectClient | AgentsClient | |
| Versioning | create_version() | Not available | |
| Connections | Yes | No | |
| Deployments | Yes | No | |
| Datasets/Indexes | Yes | No | |
| Evaluation | Via OpenAI client | No | |
| When to use | Full Foundry integration | Standalone agent apps |
Reference Files
- references/agents.md: Agent operations with PromptAgentDefinition
- references/tools.md: All agent tools with examples
- references/evaluation.md: Evaluation operations overview
- references/built-in-evaluators.md: Complete built-in evaluator reference
- references/custom-evaluators.md: Code and prompt-based evaluator patterns
- references/connections.md: Connection operations
- references/deployments.md: Deployment enumeration
- references/datasets-indexes.md: Dataset and index operations
- references/async-patterns.md: Async client usage
- references/api-reference.md: Complete API reference for all 373 SDK exports (v2.0.0b4)
- scripts/run_batch_evaluation.py: CLI tool for batch evaluations
<!-- Source: .faos/custom/skills/cloud/azure/ai-agents/azure-ai-projects-py/SKILL.md -->
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cowork/azure-ai-projects-py/SKILL.md
Popularity
- Repository stars
- 21
- Repository forks
- 8
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/frank-luongt/faos-skills-marketplace/azure-ai-projects-py)