Description
agents-v2-py is an agent skill that teaches a coding assistant how to deploy container-based agents to Azure AI Foundry. The skill uses ImageBasedHostedAgentDefinition from the Azure AI Projects SDK. You give it a container image and resource specs such as CPU and memory limits, and the SDK handles registration, versioning and protocol setup, so you do not configure Azure container hosting, capability hosts and protocol wiring by hand in the portal. Agents deployed this way can use tools such as code interpreter and MCP servers. Each deployment is a version, so you can keep several versions of a hosted agent and roll back to an earlier one. Typical uses are deploying a custom Python agent as a versioned container, registering a data-processing agent image with fixed CPU and memory limits, and attaching code interpreter or an MCP server to a container-based agent. The skill is part of Microsoft's skills collection on GitHub and is installed with the command shown on this page.…
Highlights
- Deploy custom container images as hosted agents
- Set CPU and memory limits per agent
- Versioned agents with rollback
- Attach code interpreter or MCP tools
- Built on the Azure AI Projects SDK
Ratings & Reviews
No ratings yet
Be the first to rate microsoft/agents-v2-py.
People also visit
microsoft/agents-v2-py FAQ
What does this skill do?
It guides a coding assistant to deploy a container image as a hosted agent in Azure AI Foundry, using the Azure AI Projects SDK.
How do I install it?
Run npx skills add https://github.com/microsoft/skills --skill agents-v2-py, or paste the skill link into your coding assistant and ask it to install the skill.
Can I roll back a deployed agent?
Yes. The skill covers managing several versions of a hosted agent and returning to a previous version.
Which tools can a hosted agent use?
The page lists code interpreter and MCP servers as tools that can be attached to a container-based agent.
What are the best microsoft/agents-v2-py alternatives?
Popular alternatives to microsoft/agents-v2-py include microsoft/agent-framework-azure-ai-py, azure-hosted-copilot-sdk and microsoft-foundry. See all microsoft/agents-v2-py alternatives










