Skills agents-v2-py
๐Ÿ“ฆ

agents-v2-py

Content revision r2 Medium Risk โšก Contains scriptsโš™๏ธ External commands๐ŸŒ Network access๐Ÿ”‘ Env variables

Build Container-Based Azure AI Hosted Agents

Deploying custom agent containers in Azure AI Foundry requires precise SDK, identity, registry, and protocol configuration. This skill provides focused Python patterns for creating and managing hosted agents.

Supports: Claude Codex Code(CC)
๐Ÿ“Š 69 Adequate

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "agents-v2-py" from https://skillstore.io/skills/sickn33-agents-v2-py.md and its manifest at https://skillstore.io/api/skills/sickn33-agents-v2-py/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "agents-v2-py". Plan a hosted agent named invoice-reader using a fixed registry image and modest resources.

Expected outcome:

A deployment outline with prerequisite checks, authenticated client setup, a versioned image reference, response protocol configuration, one CPU, and two GiB memory.

Using "agents-v2-py". Explain why my hosted agent reports ImagePullBackOff.

Expected outcome:

  • Confirm that the image path and fixed tag exist in the registry.
  • Verify that the project managed identity has the AcrPull role.
  • Check registry networking and retry after permission propagation.

Using "agents-v2-py". Design an asynchronous creation flow.

Expected outcome:

An async lifecycle plan that opens credential and project client contexts, creates one agent version, reports its state, and closes both clients.

Security Audit

Medium Risk
v5 โ€ข 7/23/2026 Open versioned report

All 65 static findings are false positives caused by Markdown syntax, normal Python imports, example URLs, endpoint-only environment access, and troubleshooting text. Two contextual risks remain: copy-ready examples use mutable latest image tags, and an unguarded example deletes a cloud agent version. No prompt injection or malicious intent was found.

1
Files scanned
332
Lines analyzed
0
Review items
0
False positives ignored

Confirmed security concerns (2)

Medium
Mutable Container Image Tags in Creation Examples
Copy-ready creation examples use the latest tag, so a moved registry tag can change which container code Azure executes.
Both executable examples explicitly reference latest, although the later best-practice section advises fixed production tags.
Low
Cloud Agent Version Deletion Without a Guard
The example directly deletes an Azure agent version without validating the target or requiring confirmation, creating accidental resource-loss risk.
The delete_version call is explicit and unguarded, but it targets a named version and is presented as an intentional management operation.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/sickn33-agents-v2-py/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/sickn33-agents-v2-py/security.svg)](https://skillstore.io/skills/sickn33-agents-v2-py?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/sickn33-agents-v2-py?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-agents-v2-py/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-agents-v2-py.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

sickn33. (2026). agents-v2-py security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-agents-v2-py/audits/5

BibTeX citation

@techreport{sickn33-sickn33-agents-v2-py-2026, author = {sickn33}, title = {agents-v2-py security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/sickn33-agents-v2-py/audits/5}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "agents-v2-py security audit report (audit version 5)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-07-23" url: "https://skillstore.io/skills/sickn33-agents-v2-py/audits/5" identifiers: - type: other value: "skillstore:sickn33-agents-v2-py:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
69
Community
83
Spec Compliance

What You Can Build

Create a First Hosted Agent

Prepare a Python workflow that authenticates and deploys a custom container as an Azure AI hosted agent.

Standardize Deployment Configuration

Define consistent protocols, resources, tools, image references, and environment settings for hosted agent releases.

Diagnose Hosted Agent Failures

Review registry permissions, image paths, capability hosts, and protocol versions when agent creation fails.

Try These Prompts

Check Prerequisites
Review my Azure AI project setup for a container-based hosted agent. Identify missing SDK, registry, identity, capability host, and endpoint requirements.
Draft Agent Creation
Create a Python hosted-agent workflow for image [image reference], agent [name], CPU [value], and memory [value]. Use DefaultAzureCredential and fixed image tags.
Configure Tools and Runtime
Extend my hosted-agent design with [tools], protocol [protocol], and these non-secret environment settings: [settings]. Explain required permissions and trust boundaries.
Review a Production Design
Audit this Azure hosted-agent deployment plan: [plan]. Check image immutability, least privilege, secret handling, MCP trust, resource sizing, cleanup controls, and async lifecycle management.

Best Practices

  • Use immutable image digests or fixed version tags for repeatable deployments.
  • Grant only required registry and project permissions through managed identities.
  • Validate tool endpoints, protect secrets, and confirm destructive operations before execution.

Avoid

  • Do not deploy production agents from mutable latest image tags.
  • Do not place credentials or secrets directly in source code or container settings.
  • Do not enable code execution, file access, or MCP tools without reviewing their trust boundaries.

Frequently Asked Questions

Which Python packages are required?
The examples use azure-ai-projects version 2.0.0b3 or later and azure-identity.
How does authentication work?
The skill uses DefaultAzureCredential, which can select supported local or managed Azure identities.
Must the container image be in Azure Container Registry?
The documented workflow assumes Azure Container Registry and requires the project managed identity to have pull access.
Can I configure tools for the hosted agent?
Yes. Examples cover code interpreter, file search, and MCP tools, but each tool requires a security review.
Does the skill support asynchronous Python?
Yes. It includes an async pattern using Azure credential and project client context managers.
Does this skill deploy Azure infrastructure?
No. It documents hosted-agent SDK operations and assumes the required Azure resources and permissions already exist.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

ebdfe608f5de2b66ff37ab4af12af8ac4f5e8006

Maintenance freshness

7/26/2026

Usage

5 downloads ยท 117 views

File structure

๐Ÿ“„ SKILL.md

More from sickn33

View all
View all