Deployment Workflows for Agents v2 #321
Replies: 3 comments
-
|
Hi @nnellanspdl, Here’s what I’ve learned so far:
Microsoft’s current “golden path” for scalable agent deployment:
If you’re deploying across multiple Foundry projects or subscriptions, parameterize your deployment scripts and use environment-specific secrets or variables. For hosted agents, you can use container tags or metadata to track versions. For prompt agents, consider embedding commit hashes or semantic versions in the agent description. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @thedevopsguy ! |
Beta Was this translation helpful? Give feedback.
-
|
Keeping this thread up to date with my latest findings: It appears the REST API for Foundry Projects v2 has hit GA/v1 release. Here is the Microsoft short link for the v1 docs: https://aka.ms/azsdk/azure-ai-projects-v2/api-reference-v1
The Python SDK had a new beta release 2.0.0 b4 which uses the new GA/v1 API referenced above
The AgentSchema project does support all 3 types of Agents, but it appears this is not yet ready for primetime, in my opinion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TLDR: I'm looking for the "golden path" to managing and deploying Foundry Agents at scale and via automation workflows and Agents-as-code.
ARM providers exist for Foundry accounts, Projects, Model Deployments, and other Foundry-related things. So, I can deploy and manage those easily via IaC such as Bicep and/or Terraform.
However, deploying and managing Agents is much trickier. I'm specifically referring to the new v2 Agents (prompt agents, hosted agents, and workflows). It appears I must interact with the Foundry SDK in order to manage these Agents. And there are multiple ways that I've found to interact with the Foundry SDK:
Directly use the Preview REST API (2025-11-15-preview)
<project>/agentsendpoint to create a new Agent<project>/agents/<agent>endpoint to update an existing Agent<project>/agents/<agent>/versionsendpoint to create a new version of an AgentUse the Azure CLI (with the preview command group)
az cognitiveservices agent createaz cognitiveservices agent updateUse the Azure Developer CLI (with the preview extension) and AgentSchema
azd ai agent init --manifest agentSchema.yamlazure.yaml. Then, I must deploy thatazure.yamlfile with another commandazd up, correct? This is slightly clunky.Use the various SDKs programatically
Did I miss any ways to deploy/update Agents V2 in Foundry?
What is Microsoft's preferred method for managing Agents at scale, for example across many Foundries and many landing zones/Subscriptions?
Beta Was this translation helpful? Give feedback.
All reactions