Agent skill · software engineering · sickn33

hosted-agents-v2-py

Build hosted agents using Azure AI Projects SDK with HostedAgentDefinition. Use when creating container-based agents in Azure AI Foundry.

Why this skill is useful

Provides specific commands and parameters for creating and managing hosted agents in Azure AI Foundry that the AI wouldn't reliably generate on its own.

What it needs

Requires azure-ai-projects, azure-identity installed locally. Requires azure account access. About 5k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

Compatibility and maintenance Primary editorial path for this compatibility group. The instruction-only procedure remains local; no executable support files are bundled so existing installations continue to work offline. This is one shared procedure, not an additional capability. Preserve the callable ID when an existing manifest or client configuration uses it. Modified in AAS on 2026-09-05; original metadata and license notices are retained. Azure AI Hosted Agents (Python) Build container-based hosted agents using HostedAgentDefinition from the Azure AI Projects SDK. Installation These are SDK 2.3.0 instruction fragments aligned with the current Microsoft hosted-agent guide. Validate the installed schema and service support before provisioning; documentation inspection is not a cloud integration test. Environment Variables Prerequisites Before creating hosted agents: 1. Container Image - Build and push to Azure Container Registry (ACR) 2. ACR Pull Permissions - Grant the project identity the registry role supported by its permission mode; current hosted-agent guidance uses Container Registry Repository Reader 3. Capability Host - Confirm current project/region hosted-agent availability and the application's network policy; do not enable public hosting automatically 4. SDK Version - Ensure azure-ai-projects==2.3.0 Authentication Use the approved Azure credential flow for the intended tenant/subscription; this sketch uses DefaultAzureCredential: Core Workflow 1. Imports 2. Create Hosted Agent 3. List Agent Versions Inspect the exact returned model for supported fields; a created version is not proof a running container is healthy. Close synchronous client/credential resources through their supported context managers or close() methods. 4. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/hosted-agents-v2-py--ef000f

View the source on GitHub

Browse the @skills marketplace