agent-framework-azure-ai-py
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
Skill by tapanshah
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tapanshah-agent-framework-azure-ai-py
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: cloud, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
agent-framework-azure-ai-py- Description
- Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
- License
- MIT
- Instructions
- 332 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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)
```
## Installation
```bash
# Full framework (recommended)
pip install agent-framework --pre
# Or Azure-specific package only
pip install agent-framework-azure-ai --pre
```
## Environment Variables
```bash
export AZURE_AI_PROJECT_ENDPOINT="https://<project>.services.ai.azure.com/api/projects/<project-id>"
export AZURE_AI_MODEL_DEPLOYMENT_NAME="gpt-4o-mini"
export BING_CONNECTION_ID="your-bing-connection-id" # For web search
```
## Authentication
```python
from azure.identity.aio import AzureCliCredential, DefaultAzureCredential
# Development
credential = AzureCliCredential()
# Production
credential = DefaultAzureCredential()
```
## Core Workflow
### Basic Agent
```python
import asyncio
from agent_framework.azure import AzureAIAgentsProvider
from azure.identity.aio import AzureCliCredential
async def main():
async with (
AzureCliCredential() as credential,
AzureAIAgentsProvider(credential=credential) as provider,
):
agent = await provider.create_agent(
name="MyAgent",
instructions="You are a helpful assistant.",
)
result = await agent.run("Hello!")
print(result.text)
asyncio.run(main())
```
### Agent with Function Tools
```python
from typing import Annotated
from pydantic import Field
from agent_framework.azure import AzureAIAgentsProvider
from azure.identity.aio import AzureCliCredential
def get_weather(
location: Annotated[str, Field(description="City name to get weather for")],
) -> str:
"""Get the current weather for a location."""
return f"Weather in {location}: 72°F, sunny"
def get_current_time() -> str:
"""Get the current UTC time."""
from datetime import datetime, timezone
return datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M:%S UTC")
async def main():
async with (
AzureCliCredential() as credential,
AzureAIAgentsProvider(credential=credential) as provider,
):
agent = await provider.create_agent(
name="WeatherAgent",
instructions="You help with weather and time queries.",
tools=[get_weather, get_current_time], # Pass functions directly
)
result = await agent.run("What's the weather in Seattle?")
print(result.text)
```
### Agent with Hosted Tools
```python
from agent_framework import (
HostedCodeInterpreterTool,
HostedFileSearchTool,
HostedWebSearchTool,
)
from agent_framework.azure import AzureAIAgentsProvider
from azure.identity.aio import AzureCliCredential
async def main():
async with (
AzureCliCredential() as credential,From tapanshah/antigravity-aswsome-skills, MIT.
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Mar 20, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.659score
agent-framework-azure-ai-py
sickn33
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillAFreshness: A★ 48.4KClaude Code +9 - 0.326score
agent-framework-azure-ai-py
manu14357
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillCFreshness: C★ 16Claude Code +9 - 0.308score
agent-framework-azure-ai-py
ivalenzuela
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillBFreshness: BClaude Code +9 - 0.278score
agent-framework-azure-ai-py
vikrampal038
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillCFreshness: CClaude Code +9 - 0.278score
agent-framework-azure-ai-py
Harshal-S-Bhoyar
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillCFreshness: CClaude Code +9 - 0.278score
agent-framework-azure-ai-py
globallayer
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillCFreshness: CClaude Code +9 - 0.278score
agent-framework-azure-ai-py
NagarjunDP
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillCFreshness: CClaude Code +9 - 0.253score
agent-framework-azure-ai-py
TheAutomationZone
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillDFreshness: D★ 1Claude Code +9 - 0.239score
agent-framework-azure-ai-py
oaor75
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillDFreshness: DClaude Code +9 - 0.239score
agent-framework-azure-ai-py
Sapeksh2001
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillDFreshness: DClaude Code +9 - 0.239score
agent-framework-azure-ai-py
UhdyIndy
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillDFreshness: DClaude Code +9 - 0.239score
agent-framework-azure-ai-py
yehia-alhaddad
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
SkillDFreshness: DClaude Code +9
Cite this page
agent-framework-azure-ai-py skill. Agent Mart. https://agentmart.dev/skills/tapanshah-agent-framework-azure-ai-py (last updated 2026-10-24)