Microsoft/agent-framework-azure-ai-py — Agent Skills | officialskills.sh
Back to skills

agent-framework-azure-ai-py

officialai-tools

Python SDK for building persistent agents on Azure AI Foundry.

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill agent-framework-azure-ai-py
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-python/skills/agent-framework-azure-ai-py
View on GitHub

What This Skill Does

Python SDK for building persistent agents on Azure AI Foundry. Supports function tools, hosted tools (code interpreter, file search, Bing web search), MCP server integration, conversation threads, and streaming responses. Uses AzureAIAgentsProvider to create and manage agents backed by the Azure AI Agent Service.

Managing agent lifecycle, thread persistence, and tool dispatch manually against the Azure AI REST API requires hundreds of lines of boilerplate that this SDK reduces to a handful of async context managers.

When to use it

  • Building a multi-turn customer support bot that retains conversation context across sessions
  • Running Python code server-side during agent execution without local compute
  • Connecting an agent to Bing search to answer questions about current events
  • Returning structured Pydantic objects from agent responses for downstream processing
  • Attaching MCP servers to an agent to extend it with external tool APIs