Build container-based Foundry Agents with Azure AI Projects SDK (ImageBasedHostedAgentDefinition). Use when creating hosted agents with custom container images in Azure AI Foundry.
75
62%
Does it follow best practices?
Impact
100%
2.56xAverage score across 3 eval scenarios
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/agents-v2-py/SKILL.mdThe canonical home for this skill is agents-v2-py in sickn33/antigravity-awesome-skills
Async agent lifecycle management with error handling
Async identity import
100%
100%
Async client import
100%
100%
Async credential context
0%
100%
Async client context
100%
100%
Await create_version
30%
100%
list_versions call
0%
100%
delete_version params
0%
100%
Try/except error handling
100%
100%
Protocol version config
0%
100%
Core hosted agent creation with Azure AI Projects SDK
SDK version pin
0%
100%
DefaultAzureCredential auth
100%
100%
Endpoint from env var
0%
100%
Correct model imports
0%
100%
create_version method
0%
100%
ImageBasedHostedAgentDefinition
0%
100%
Protocol version config
0%
100%
CPU as string
0%
100%
Memory Gi suffix
0%
100%
Specific image tag
100%
100%
Multi-tool agent with MCP and environment configuration
Tools as list of dicts
0%
100%
code_interpreter tool
0%
100%
MCP tool type
0%
100%
MCP server_label
50%
100%
MCP server_url
50%
100%
environment_variables dict
100%
100%
Endpoint env var in container
0%
100%
DefaultAzureCredential
100%
100%
list_versions call
100%
100%
Protocol version config
100%
100%
8a63c75
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.