When prompting is not enough for your agent

Microsoft Developer focuses on improving an AI agent through a measured optimization loop rather than repeated manual prompt edits.

Overview

The video demonstrates how to use Agent Optimizer in Microsoft (Azure) AI Foundry to iteratively improve an agent’s instruction/configuration with evidence-based evaluation.

What problem this addresses

Agent optimization workflow shown

1) Start with evaluation data and success criteria

2) Establish a baseline

3) Create a new optimization

4) Choose models for optimization and evaluation

5) Use production traces as input data

6) Review estimated costs

7) Run the optimizer and compare results

8) Validate quality, latency, and safety signals

9) Final check before shipping

Video timeline