Agent skill · software engineering · sickn33

agents-v2-py

Build container-based Foundry Agents with Azure AI Projects SDK (HostedAgentDefinition). Use when creating hosted agents with custom container images in Azure AI Foundry.

Why this skill is useful

Adds executable scripts for creating and managing Azure AI hosted agents with specific container configurations that aren't widely documented.

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 Compatibility alias of hosted-agents-v2-py; use that ID for new references when no existing contract requires this one. The instruction-only procedure remains local; no executable support files are bundled so existing installations continue to work offline. This compatibility guide documents the hosted-agent procedure, not an additional capability; older copies may use retired preview names. 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/agents-v2-py--92ae63

View the source on GitHub

Browse the @skills marketplace