renatoschust-dot/gamai-skills/agent-framework-azure-ai-py
Claude Code and agent skill by renatoschust-dot/gamai-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
Install
npx vskill@latest install renatoschust-dot/gamai-skills/agent-framework-azure-ai-pySKILL.md
The same SKILL.md was published earlier as renatoschust-dot/gamai-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
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
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
- 5
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/renatoschust-dot/gamai-skills/agent-framework-azure-ai-py)