Prerequisites
Before you begin, you need:- An Azure subscription. If you don’t have one, create one for free.
- If you have an existing Foundry project, you need
Foundry Project Managerat project scope. If you need to create a new Foundry project, you need theOwnerrole at resource group scope. For the full role matrix, see Hosted agent permissions reference. - Python 3.13 or later.
Clean up resources
Delete the resources when you’re finished so you stop incurring charges.Troubleshooting
For the full permission and role-assignment matrix, see Hosted agent permissions reference.
What you learned
In this quickstart, you:- Scaffolded a hosted agent project from the Basic agent sample.
- Uploaded and routed a hosted agent version with the Python SDK or scaffolded the sample with Azure Developer CLI.
- Tested the agent locally.
- Deployed the agent to Foundry Agent Service.
- Sent test prompts from the Python SDK, Azure Developer CLI, VS Code, Foundry canvas, or a coding agent that uses the Microsoft Foundry Skill.