CtrlK
BlogDocsLog inGet started
Tessl Logo

agents-v2-py

Build container-based Foundry Agents using Azure AI Projects SDK with ImageBasedHostedAgentDefinition. Use when creating hosted agents that run custom code in Azure AI Foundry with your own container images. Triggers: "ImageBasedHostedAgentDefinition", "hosted agent", "container agent", "Foundry Agent", "create_version", "ProtocolVersionRecord", "AgentProtocol.RESPONSES", "custom agent image".

84

1.31x
Quality

77%

Does it follow best practices?

Impact

100%

1.31x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/agents-v2-py/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

23%

Deploy a Custom Sentiment Analysis Agent to Azure AI Foundry

Core hosted agent creation with SDK

Criteria
Without context
With context

SDK version constraint

50%

100%

azure-identity in requirements

100%

100%

DefaultAzureCredential import

100%

100%

Correct model imports

50%

100%

create_version method used

100%

100%

ImageBasedHostedAgentDefinition used

0%

100%

ProtocolVersionRecord with RESPONSES

100%

100%

Endpoint from environment

100%

100%

No hardcoded secrets

100%

100%

environment_variables dict

100%

100%

Code interpreter tool format

0%

100%

DefaultAzureCredential usage

100%

100%

100%

Production Agent with External Tool Integration

MCP tools, resource limits, production best practices

Criteria
Without context
With context

MCP tool type field

100%

100%

MCP server_label field

100%

100%

MCP server_url field

100%

100%

file_search tool included

100%

100%

CPU within valid range

100%

100%

Memory within valid range

100%

100%

No latest tag in production

100%

100%

try/except around creation

100%

100%

list_versions called

100%

100%

delete_version called

100%

100%

Endpoint from environment

100%

100%

create_version method

100%

100%

100%

48%

Async Agent Provisioning Service

Async agent creation pattern

Criteria
Without context
With context

Async credential import

100%

100%

Async client import

100%

100%

Models imports correct

0%

100%

Async credential context manager

0%

100%

Async client context manager

100%

100%

Await create_version

0%

100%

ProtocolVersionRecord RESPONSES v1

0%

100%

asyncio.run entrypoint

100%

100%

Endpoint from environment

100%

100%

SDK version constraint

0%

100%

Repository
haniakrim21/everything-claude-code
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.