·hosted-agents-v2-py
</>

hosted-agents-v2-py

microsoft/agent-skills

Build hosted agents using Azure AI Projects SDK with ImageBasedHostedAgentDefinition. Use when creating container-based agents that run custom code in Azure AI Foundry. Triggers: "ImageBasedHostedAgentDefinition", "hosted agent", "container agent", "create_version", "ProtocolVersionRecord", "AgentProtocol.RESPONSES".

0Installs·0Trend·@microsoft

Installation

$npx skills add https://github.com/microsoft/agent-skills --skill hosted-agents-v2-py

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 |

Build hosted agents using Azure AI Projects SDK with ImageBasedHostedAgentDefinition. Use when creating container-based agents that run custom code in Azure AI Foundry. Triggers: "ImageBasedHostedAgentDefinition", "hosted agent", "container agent", "create_version", "ProtocolVersionRecord", "AgentProtocol.RESPONSES". Source: microsoft/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/microsoft/agent-skills --skill hosted-agents-v2-py
Category
</>Dev Tools
Verified
First Seen
2026-02-03
Updated
2026-02-18

Quick answers

What is hosted-agents-v2-py?

Build hosted agents using Azure AI Projects SDK with ImageBasedHostedAgentDefinition. Use when creating container-based agents that run custom code in Azure AI Foundry. Triggers: "ImageBasedHostedAgentDefinition", "hosted agent", "container agent", "create_version", "ProtocolVersionRecord", "AgentProtocol.RESPONSES". Source: microsoft/agent-skills.

How do I install hosted-agents-v2-py?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/microsoft/agent-skills --skill hosted-agents-v2-py Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/microsoft/agent-skills