agents-v2-py

Create container-based hosted agents for Azure AI Foundry projects using the Azure AI Projects Python SDK.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill agents-v2-py-microsoft
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agents-v2-py
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-python/skills/agents-v2-py
Command: npx skills add https://github.com/microsoft/skills --skill agents-v2-py-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams automate the creation and management of container-based hosted agents for Azure AI Foundry projects, simplifying deployment and scaling of AI tasks.

Core Features & Use Cases

  • Create hosted agents from container images using the Azure AI Projects SDK for Python.
  • Configure resources and environment variables to tailor agent behavior and performance.
  • Manage agent versions and define the protocol support for the agent's communications.

Quick Start

Install dependencies and run provided sample code to create a hosted agent with a container image.

Frequently Asked Questions about agents-v2-py

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

FAQPage Schema
How do I create container-based hosted agents for Azure AI Foundry projects?▼

You create container-based hosted agents by using the Azure AI Projects Python SDK to configure and deploy custom container images for your AI tasks.

What is an image-based hosted agent definition in Azure AI?▼

An image-based hosted agent definition is a configuration that uses custom container images to deploy and manage AI agents, specifying resource allocation and environment variables.

How do I configure environment variables and resources for Azure AI hosted agents?▼

You configure environment variables and resource allocation within the ImageBasedHostedAgentDefinition using the Azure AI Projects Python SDK to tailor agent behavior.

Can I manage protocol versions for Azure AI container agents?▼

Yes, you can define and manage protocol versions for your container-based hosted agents to ensure correct agent communications within Azure AI Foundry projects.

What is the best way to automate deployment of Azure AI hosted agents?▼

The best way to automate deployment is using the Azure AI Projects Python SDK to create and manage container-based hosted agents with custom images and configurations.

Do I need the Azure AI Projects Python SDK to deploy container hosted agents?▼

Yes, the Azure AI Projects Python SDK is required to implement the configuration, resource allocation, and best-practice examples for deploying container-based hosted agents.