hosted-agents-v2-py
✓使用 Azure AI Projects SDK 和 ImageBasedHostedAgentDefinition 構建託管代理。 在創建在 Azure AI Foundry 中運行自定義代碼的基於容器的代理時使用。 觸發器:“ImageBasedHostedAgentDefinition”、“託管代理”、“容器代理”、 “create_version”、“ProtocolVersionRecord”、“AgentProtocol.RESPONSES”。
SKILL.md
Build container-based hosted agents using ImageBasedHostedAgentDefinition from the Azure AI Projects SDK.
Minimum SDK Version: 2.0.0b3 or later required for hosted agent support.
| containerprotocolversions | list[ProtocolVersionRecord] | Yes | Protocol versions the agent supports | | image | str | Yes | Full container image path (registry/image:tag) | | cpu | str | No | CPU allocation (e.g., "1", "2") | | memory | str | No | Memory allocation (e.g., "2Gi", "4Gi") | | tools | list[dict] | No | Tools available to the agent |
使用 Azure AI Projects SDK 和 ImageBasedHostedAgentDefinition 構建託管代理。 在創建在 Azure AI Foundry 中運行自定義代碼的基於容器的代理時使用。 觸發器:“ImageBasedHostedAgentDefinition”、“託管代理”、“容器代理”、 “create_version”、“ProtocolVersionRecord”、“AgentProtocol.RESPONSES”。 來源:microsoft/agent-skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/microsoft/agent-skills --skill hosted-agents-v2-py- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-03
- 更新時間
- 2026-02-18
快速解答
什麼是 hosted-agents-v2-py?
使用 Azure AI Projects SDK 和 ImageBasedHostedAgentDefinition 構建託管代理。 在創建在 Azure AI Foundry 中運行自定義代碼的基於容器的代理時使用。 觸發器:“ImageBasedHostedAgentDefinition”、“託管代理”、“容器代理”、 “create_version”、“ProtocolVersionRecord”、“AgentProtocol.RESPONSES”。 來源:microsoft/agent-skills。
如何安裝 hosted-agents-v2-py?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/microsoft/agent-skills --skill hosted-agents-v2-py 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/microsoft/agent-skills
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-03