microsoft-foundry
使用 Microsoft Foundry 建構 AI 代理程式
此技能協助開發人員在 Microsoft Azure AI Foundry 中建構、部署及管理 AI 代理程式與模型。它提供完整的代理程式建立、模型部署、容量規劃、RBAC 管理及疑難排解工作流程。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「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...
安全審計
安全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.
風險因素
⚙️ 外部命令 (5)
🔑 環境變數 (3)
📁 檔案系統存取 (3)
🌐 網路存取 (3)
偵測到的模式
品質評分
你能建構什麼
建構與部署企業級 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?
我需要 Azure 訂閱才能使用此技能嗎?
此技能可以建立新的 Azure 資源嗎?
支援哪些程式語言?
如何疑難排解部署失敗?
我可以在此技能中使用自己的模型嗎?
開發者詳情
作者
microsoft授權
MIT
儲存庫
https://github.com/microsoft/github-copilot-for-azure/tree/main/plugin/skills/microsoft-foundry/引用
main