What changed

Microsoft opened a public preview in Foundry Agent Service that starts from eligible prompt-agent trace insights, generates candidate changes to instructions and function-calling tool descriptions, evaluates them and lets teams promote a reviewed version. Hosted agents use the separate Foundry Toolkit or Azure Developer CLI workflow.

Why it matters

Agent improvement moves from ad hoc prompt editing into a trace-linked candidate and evaluation workflow, but promotion remains a governance decision rather than an automatic production change.

What to do

Copy one non-production prompt agent, select a trace insight, generate candidates and compare evaluation results against the current version. Keep tools read-only or isolated, record the exact instruction and tool-schema diff, and require human approval before promotion.

Caveat

This is a Microsoft public preview, not an independent effectiveness result. The portal path excludes Copilot-harness agents, hosted agents use separate tooling, and trace quality or evaluation design can still optimize the wrong behavior.