Skip to content

Azure Hosted Agents (Agent Framework)

Guides building persistent Azure AI Foundry agents with the Microsoft Agent Framework Python SDK, with safety caveats.

Stars
49,023
Licence
MIT
Files
7 files

What it does

When installed, the agent gets reference guidance for building persistent AI agents on Microsoft Azure AI Foundry using the Microsoft Agent Framework Python SDK. It covers agent creation, function tools, hosted code/web/file search tools, streaming, conversation threads, structured outputs and MCP connections. The skill itself is documentation and example code: it does not run anything by itself, but the agent may adapt these snippets into code that creates cloud resources and sends data to Azure.

Great for

  • Python developers prototyping Azure AI Foundry agents who can verify SDK versions themselves
  • Teams evaluating how Microsoft Agent Framework concepts like threads and tools fit together

Skip it if

  • Production deployments without checking the current official SDK, since the snippets are explicitly described as an older, unverified API generation and may not run
  • Users who cannot control Azure permissions or budgets, because creating agents, uploading files and enabling tools sends data and can incur charges and persist records

Try asking

  • “Create a persistent Azure AI Foundry agent in Python that answers questions with a function tool”
  • “Show me how to add streaming responses and conversation threads to my Azure agent”
  • “Write a Python agent that uses Bing web search through an Azure connection”
Step-by-step guide: how to use Azure Hosted Agents (Agent Framework)Install, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 7 original files, the MIT licence and an attribution note.

    agent-framework-azure-ai-py.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip agent-framework-azure-ai-py.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip agent-framework-azure-ai-py.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Check the installed Agent Framework version and use the matching official Microsoft sample before running any snippet.
  • Use least-privilege Azure roles, a budget limit and a tool allowlist; remember closing a client does not delete hosted agents, files or threads.
  • Treat tool and retrieved text as untrusted and enforce authorization inside your own tools rather than relying on prompts.

What's inside

  • references/advanced.md
  • references/mcp.md
  • references/threads.md
  • references/tools.md
  • SKILL.md
  • UPSTREAM-LICENSE.txt
  • UPSTREAM-NOTICE.md

Redistributed unmodified from sickn33/agentic-awesome-skills under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.