Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

agent-framework-azure-ai-py

Skill by sickn33

Shows how to build persistent agents on Azure AI Foundry with the Microsoft Agent Framework Python SDK. Aimed at Python developers building Azure-hosted agents with tools, streaming and conversation threads.

  • Score 91
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install agent-framework-azure-ai-py

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/agent-framework-azure-ai-py ~/.claude/skills/agent-framework-azure-ai-py

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install agent-framework-azure-ai-py in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill provides code patterns for building persistent agents on Azure AI Foundry with the Microsoft Agent Framework Python SDK. It shows how to create an agent with AzureAIAgentsProvider, pass Python functions as tools, and use hosted code interpreter, web search and file search tools. It also covers streaming responses, conversation threads, structured outputs and MCP tools, both service-managed and client-managed.

The examples follow an older Agent Framework generation and are not verified against the current package. The source tells readers to identify the installed version and follow the matching official sample before adapting the code. It is aimed at Python developers who can manage the Azure tenant, project, role and cost controls. Creating agents and running prompts sends data to Azure services and can incur charges.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create or get agentsCreates a new agent on Azure AI, or retrieves an existing agent by ID.
  • Function toolsPasses plain Python functions to the agent as tools.
  • Hosted code interpreterLets the agent execute Python code.
  • Hosted web searchLets the agent search the web through Bing.
  • Hosted file searchLets the agent search vector stores.
  • MCP toolsConnects service-managed or client-managed MCP servers as agent tools.
  • Streaming responsesStreams agent output in chunks with run_stream.
  • Conversation threadsKeeps context across turns using get_new_thread.
  • Structured outputsReturns responses matching a Pydantic model through response_format.

What you need

  • Azure AI Foundry project endpoint
  • Azure sign-in through Azure CLI or DefaultAzureCredential
  • Model deployment such as gpt-4o-mini
  • Microsoft Agent Framework Python SDK
  • Bing connection ID for web search

Try asking

  • Build an Azure AI agent that answers weather questions with a Python function tool.
  • Show me how to stream responses from a persistent Foundry agent.
  • Create a thread-based agent that remembers context across two questions.

Good to know

  • The examples use an older SDK generation and are not verified against the current package.
  • Do not combine the legacy classes with an unpinned latest install.
  • Closing clients does not delete hosted agents, files, vector stores or threads.
  • Prompts are not access controls, so tenant and resource checks belong in tools.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/agent-framework-azure-ai-py/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • UPSTREAM-LICENSE.txt1 KB
  • UPSTREAM-NOTICE.md2 KB
  • references/advanced.md14 KB
  • references/mcp.md8 KB
Show all 7 files
  • references/threads.md8 KB
  • references/tools.md8 KB

Alternatives to agent-framework-azure-ai-py

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

agent-framework-azure-ai-py: common questions

Does this skill work with the latest Agent Framework package?

The source says the examples are not verified against the current package. It advises identifying the installed version and using the matching official API or sample.

Which Azure services does it need?

It uses Azure AI Foundry through a project endpoint and a model deployment. Azure credentials come from Azure CLI or DefaultAzureCredential.

Does closing the client delete hosted agents?

No. The source says closing clients does not delete hosted agents, files, vector stores or threads, so cleanup has to be done separately.

How do I install agent-framework-azure-ai-py?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is agent-framework-azure-ai-py free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is agent-framework-azure-ai-py safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to agent-framework-azure-ai-py?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

agent-framework-azure-ai-py Install

Add to stack

Loading.