技能 microsoft-foundry
📦

microsoft-foundry

安全 ⚙️ 外部命令🔑 環境變數📁 檔案系統存取🌐 網路存取⚡ 包含腳本

使用 Microsoft Foundry 建構 AI 代理程式

此技能協助開發人員在 Microsoft Azure AI Foundry 中建構、部署及管理 AI 代理程式與模型。它提供完整的代理程式建立、模型部署、容量規劃、RBAC 管理及疑難排解工作流程。

支援: Claude Codex Code(CC)
🥉 73 青銅
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「microsoft-foundry」。 Create a new agent with the GPT-4 model

預期結果:

I will create a new AI agent using the Microsoft Agent Framework. Let me first check your Azure Foundry project configuration...

正在使用「microsoft-foundry」。 Deploy my agent to production

預期結果:

I'll help you deploy the agent to Azure. This involves: 1) Building the container image, 2) Pushing to ACR, 3) Creating the agent definition in Foundry.

正在使用「microsoft-foundry」。 Where can I deploy a model with 5000 TPM?

預期結果:

I'll check capacity across Azure regions for you. Let me query the available capacity...

安全審計

安全
v1 • 2/21/2026

All static findings are false positives. The 1370 flagged patterns are documentation code examples in markdown files, not actual code execution. This is an official Microsoft skill for Azure AI Foundry operations. The backtick syntax in markdown code blocks triggered external_commands alerts, path references in docs triggered filesystem alerts, and .env documentation triggered env_access alerts. No malicious intent or actual security vulnerabilities found.

39
已掃描檔案
5,601
分析行數
5
發現項
1
審計總數

偵測到的模式

False Positive: Documentation Code Examples
審計者: claude

品質評分

36
架構
100
可維護性
87
內容
50
社群
100
安全
91
規範符合性

你能建構什麼

建構與部署企業級 AI 代理程式

使用 Microsoft Agent Framework SDK 建立具有自訂工具與多代理程式工作流程的 AI 代理程式,然後將其部署至 Azure Container Apps 以用於生產環境。

大規模管理模型部署

探索跨 Azure 區域的可用模型容量、使用自訂配置部署模型,並有效率地管理部署生命週期。

設定 AI 資源的存取控制

設定 RBAC 權限、管理角色指派,並設定受控身分識別以安全存取 Foundry 資源。

試試這些提示

建立新代理程式
Create a new AI agent using Microsoft Agent Framework. The agent should use the gpt-4o model and have a tool that can search Azure documentation.
將代理程式部署至生產環境
Deploy my agent to Azure Container Apps. Use ACR for image storage and configure the agent with environment variables for the project endpoint.
尋找模型容量
Find available capacity for deploying gpt-4o in the East US region. I need at least 10K TPM.
疑難排解代理程式失敗
My agent deployment is failing. Check the container logs and tell me what errors are occurring.

最佳實務

  • 使用 azd (Azure Developer CLI) 進行專案環境管理與環境變數設定
  • 在執行工作流程前閱讀子技能文件 - 每個文件都有特定步驟與驗證
  • 在部署前於 .env 檔案中設定本機開發的環境變數
  • 使用受控身分識別而非在代理程式配置中嵌入憑證

避免

  • 不要在執行工作流程前略過閱讀子技能文件
  • 不要在代理程式原始碼中硬編碼 Azure 憑證 - 使用環境變數
  • 不要在未先設定適當 RBAC 權限的情況下部署代理程式

常見問題

什麼是 Microsoft Azure AI Foundry?
Microsoft Azure AI Foundry(前身為 Azure AI Foundry)是一個用於建構、自訂及管理企業級 AI 應用程式的平台,整合了 AI 代理程式、模型部署及生命週期管理功能。
我需要 Azure 訂閱才能使用此技能嗎?
是的,您需要具備 Azure AI Foundry 存取權限的有效 Azure 訂閱。此技能將協助您設定本機環境以連線至您的 Foundry 專案。
此技能可以建立新的 Azure 資源嗎?
此技能可協助建立 Foundry 專案、資源及管理部署。若要建立如訂閱的基礎 Azure 資源,您需要��用其他工具。
支援哪些程式語言?
Microsoft Agent Framework 支援 Python。此技能包含 Python 基礎代理程式開發的範例與工作流程。
如何疑難排解部署失敗?
使用疑難排解子技能來檢視容器日誌、查詢遙測資料及診斷問題。此技能提供取得診斷資訊的命令。
我可以在此技能中使用自己的模型嗎?
是的,您可以部署自訂模型或使用 Azure 模型目錄中的模型。此技能支援預設部署與完全自訂部署。