agent-framework-azure-ai-py

agent-framework-azure-ai-py is a skill for Claude Code from sickn33/agentic-awesome-skills. It costs 24 tokens per session (2,508 once invoked), scanned A, original, MIT.

A Python toolkit for building agents that run persistently on Azure AI Foundry, Microsoft's managed platform for creating and hosting AI applications. It supports saved conversation threads and tools such as functions, hosted services, and MCP.

In plain words
What is it for?
Use it to create basic or streaming agents with the Microsoft Agent Framework Python SDK. It supports Azure authentication and optional Bing web search configuration.
Why use it?
It provides a documented way to keep agent conversations persistent while running them through Azure. It also handles the connection between Python code, Azure's agent service, models, and tools.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-awesome-skills plugin — 257 skills shipped together

Good fit Use it to create basic or streaming agents with the Microsoft Agent Framework Python SDK. It supports Azure authentication and optional Bing web search configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sickn33/agentic-awesome-skills/agent-framework-azure-ai-py
About the project

AAS Core is a local control plane for coding agents that lets them search a large catalogue of skills, choose a stack, validate it, and create a reproducible plan. It is used to assemble and review agent workflows through its CLI, local MCP server, catalogue, plugins, and Workbench. The catalogue add-ons provide the skills, plugins, bundles, and workflows that AAS Core helps agents select and validate.

sickn33/agentic-awesome-skills · 48,548 stars · on GitHub · aaskills.tech

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sickn33/agentic-awesome-skills --skill agent-framework-azure-ai-py
Clone the repo
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills

Made for: Claude Code.

Or install agentic-awesome-skills, the plugin that ships this one along with the rest of its 257 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-framework-azure-ai-py

README.md
[![agentmods](https://agentmods.dev/badge/skills/sickn33/agentic-awesome-skills/agent-framework-azure-ai-py/github.svg)](https://agentmods.dev/skills/sickn33/agentic-awesome-skills/agent-framework-azure-ai-py)
Your own site
<a href="https://agentmods.dev/skills/sickn33/agentic-awesome-skills/agent-framework-azure-ai-py"><img src="https://agentmods.dev/badge/skills/sickn33/agentic-awesome-skills/agent-framework-azure-ai-py/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-framework-azure-ai-py

Your own site · 80×15
<a href="https://agentmods.dev/skills/sickn33/agentic-awesome-skills/agent-framework-azure-ai-py"><img src="https://agentmods.dev/badge/skills/sickn33/agentic-awesome-skills/agent-framework-azure-ai-py.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,508 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk warn 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.02508
Opus 5.5 $0.00010 $0.01003
Sonnet 5.5 $0.00005 $0.00502
Haiku 4.5 $0.00002 $0.00251

Measured 2d ago against content hash 267e46d9cf68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-framework-azure-ai-py scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

plugins/agentic-awesome-skills-claude/skills/agent-framework-azure-ai-py/SKILL.md · 355 lines

How it starts

The opening of the file, as written. The whole thing — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bundled upstream support

Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.

Agent Framework Azure Hosted Agents

Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.

Architecture

User Query → AzureAIAgentsProvider → Azure AI Agent Service (Persistent)
                    ↓
              Agent.run() / Agent.run_stream()
                    ↓
              Tools: Functions | Hosted (Code/Search/Web) | MCP
                    ↓
              AgentThread (conversation persistence)

SDK generation and execution scope

The examples below preserve an older Agent Framework generation (AzureAIAgentsProvider, AgentThread, Hosted*Tool). They are not verified against the current package. Current Microsoft documentation separates model providers from agent services, and the Python README lists agent-framework-foundry. Before adapting these snippets, identify the installed version and use its matching official API/sample; no compatible legacy version is established here. Do not combine the old classes with an unpinned latest install and assume it works.

Choose the exact Azure tenant/project/deployment, principal and least-privilege role. Creating agents, uploading files, enabling code/web/MCP tools and running prompts sends data to services, can persist records and incur charges. Scope authorization, budget, timeout, tool allowlist and resource cleanup first. Closing clients does not delete hosted agents/files/vector stores/threads. Treat retrieved/tool text as untrusted and enforce tenant/resource/action authorization in tools; prompts are not access controls.

Installation

# Current package discovery only; pin reviewed versions in your project lockfile.
# These installs do not make the legacy snippets below compatible.
pip install agent-framework
# Selective current Foundry integration:
pip install agent-framework-foundry

Read the full file on GitHub · 355 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +8 lines 267e46d9cf68
  2. 12d ago Changed · +3 lines 6d69c532092d
  3. 1mo ago First seen · 344 lines · 24 tokens per session scan A 80e516162fbe

Subscribe to this mod's changes

agent-framework-azure-ai-py is a skill published in the GitHub repository sickn33/agentic-awesome-skills (48,548 stars, last pushed 2d ago), licensed MIT. It adds 24 tokens to every session and 2,508 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.