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