Skip to main content
Agent Optimizer is currently in preview. This preview is provided without a service-level agreement, and we don’t recommend it for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.
In this quickstart, you deploy the optimization sample agent, run the agent optimizer to improve its instructions, and deploy the winning candidate. For the concepts behind each step and the full end-to-end path, see the optimization workflow.

Prerequisites

Before you begin, you need:
  • Your Azure subscription must be on the allow list for the agent optimizer. Contact your Microsoft representative to request access.
The agent optimizer is currently in preview.

Clean up resources

If your workflow created resources through the AZD project, delete the provisioned resources when you finish experimenting:
Why --purge? Foundry accounts use soft-delete by default. Without --purge, the resource name stays reserved for 48 hours, and reprovisioning with the same name fails.

Troubleshooting

What you learned

In this quickstart, you:
  • Deployed the optimization sample agent by using the customer-support template.
  • Ran the agent optimizer by using the Azure Developer CLI, Python SDK, .NET SDK, Visual Studio Code, or the Microsoft Foundry Skill.
  • Deployed the winning candidate and verified the improvement.

Next steps