agents-v2-py

Deploy container-based hosted agents in Azure AI Projects.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/caobingsheng/skills --skill agents-v2-py-caobingsheng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-v2-py
Source: https://github.com/caobingsheng/skills/tree/main/agent/agents-v2-py
Command: npx skills add https://github.com/caobingsheng/skills --skill agents-v2-py-caobingsheng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the deployment and management of hosted agents built from custom container images in Azure AI Projects, simplifying scalable agent infrastructure.

Core Features & Use Cases

  • Create and version hosted agents using ImageBasedHostedAgentDefinition with container images, CPU/memory, tools, and environment variables.
  • Define protocol support via ProtocolVersion (e.g., RESPONSES) to enable standardized interactions.
  • Use cases include building private agents for data processing, coding tasks, or automation pipelines with container images hosted in ACR.

Quick Start

Create a hosted agent by supplying a container image, CPU/memory, and protocol version, then instantiate it through the AIProjectClient.

Frequently Asked Questions about agents-v2-py

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a custom container image as a hosted agent in Azure AI Projects?

To deploy a container-based hosted agent in Azure AI Projects, supply your custom container image, CPU and memory limits, and protocol version, then instantiate it through the AIProjectClient using the ImageBasedHostedAgentDefinition.

What is an ImageBasedHostedAgentDefinition and when do I need it?

An ImageBasedHostedAgentDefinition is a configuration structure used to create and version hosted agents built from custom container images. You need it when defining custom resources like CPU, memory, tools, and environment variables for scalable agent infrastructure.

How do I configure environment variables and resources for Python agents in Azure AI?

You configure environment variables and resources by defining them within the ImageBasedHostedAgentDefinition, specifying your container image, CPU and memory allocations, required tools, and environment variables before instantiation via the AIProjectClient.

Can I use Azure Container Registry images to build private agents for automation pipelines?

Yes, you can use container images hosted in Azure Container Registry to build private agents for data processing, coding tasks, or automation pipelines by referencing the image in your ImageBasedHostedAgentDefinition configuration.

What protocol versions does Azure AI support for standardized agent interactions?

Azure AI hosted agents support standardized interactions through ProtocolVersion definitions, such as RESPONSES, enabling consistent communication protocols between your container-based agents and the Azure AI platform.

Do I need any specific dependencies to launch Python-hosted agents on Azure AI?

No specific external dependencies are required to use this Skill. You need an existing Azure AI Projects environment, a configured container image, and the AIProjectClient to instantiate your hosted agent with the defined resource and protocol settings.