francoscorporation/antigravity-awesome-skills/agent-framework-azure-ai-py
Claude Code and agent skill by francoscorporation/antigravity-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code interpreter, file search, web search), integrating MCP servers, managing conversation threads, or implementing streaming responses. Covers function tools, structured outputs, and multi-tool agents.
Install
npx vskill@latest install francoscorporation/antigravity-awesome-skills/agent-framework-azure-ai-pySKILL.md
The same SKILL.md was published earlier as francoscorporation/antigravity-awesome-skills/agent-framework-azure-ai-py.
Agent Framework Azure Hosted Agents
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
Architecture
Installation
Environment Variables
Authentication
Core Workflow
Basic Agent
Agent with Function Tools
Agent with Hosted Tools
Streaming Responses
Conversation Threads
Structured Outputs
Provider Methods
| Method | Description | |
|---|---|---|
create_agent() | Create new agent on Azure AI service | |
get_agent(agent_id) | Retrieve existing agent by ID | |
as_agent(sdk_agent) | Wrap SDK Agent object (no HTTP call) |
Hosted Tools Quick Reference
| Tool | Import | Purpose | |
|---|---|---|---|
HostedCodeInterpreterTool | from agent_framework import HostedCodeInterpreterTool | Execute Python code | |
HostedFileSearchTool | from agent_framework import HostedFileSearchTool | Search vector stores | |
HostedWebSearchTool | from agent_framework import HostedWebSearchTool | Bing web search | |
HostedMCPTool | from agent_framework import HostedMCPTool | Service-managed MCP | |
MCPStreamableHTTPTool | from agent_framework import MCPStreamableHTTPTool | Client-managed MCP |
Complete Example
Conventions
- Always use async context managers:
async with provider: - Pass functions directly to
tools=parameter (auto-converted to AIFunction) - Use
Annotated[type, Field(description=...)]for function parameters - Use
get_new_thread()for multi-turn conversations - Prefer
HostedMCPToolfor service-managed MCP,MCPStreamableHTTPToolfor client-managed
Reference Files
- references/tools.md: Detailed hosted tool patterns
- references/mcp.md: MCP integration (hosted + local)
- references/threads.md: Thread and conversation management
- references/advanced.md: OpenAPI, citations, structured outputs
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-framework-azure-ai-py/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/francoscorporation/antigravity-awesome-skills/agent-framework-azure-ai-py)