AI ShortsOpen the app
Agents ยท

Microsoft Foundry adds a loop that improves agents

Microsoft Foundry now feeds real usage records, expert notes and test scores into an agent optimizer, announced at Ignite and reported on 30 November. The optimizer suggests changes for a developer to approve. The failure-grouping part is generally available, and the optimizer itself is in preview. No prices were given.

Microsoft describes four stages: define what good looks like, find where the agent falls short, optimize, and check before release. Production traces, expert annotations and evaluation scores flow into an agent optimizer.

The optimizer tries candidate setups for a hosted agent, covering its instructions, skills, tool descriptions and model choice, ranks them against criteria the team defines, and leaves the developer to deploy the best. When wording is not enough, Managed Training or Programmed Training can change model weights, with explicit approval needed.

Generally available now are production insights, which group repeated failures and rank possible fixes, and multi-turn evaluation and tracing for agents built outside Foundry with LangGraph, LangChain and CrewAI. In preview are the optimizer, trace annotations, golden datasets, rubric evaluators and Programmed Training.

Limits: the optimizer supports hosted agents using the Responses protocol, works in every region with hosted agents except Norway East, and each run needs two models deployed in the project. Microsoft's claim that its model router saves up to 65% comes from its own testing.

New to this? The key idea

An AI agent that works in production keeps meeting cases its builders never tried. A feedback loop collects those failures, tests small changes, and keeps the one that scores best, much like a coach reviewing game film before changing the plan.

Use it at work

Use it for: teams running agents on Azure who want a repeatable way to improve them instead of editing prompts by hand.

Try it: the article lists an Azure Developer CLI flow. Run azd ai agent eval init to generate a dataset and evaluator, azd ai agent eval run for a baseline score, azd ai agent optimize to search candidates, azd ai agent optimize apply --candidate <id> to apply the winner locally, then azd deploy.

Before you roll it out: pricing not stated. The optimizer is preview and needs hosted agents with the Responses protocol plus two deployed models per run. Traces and annotations live in your Foundry project. Treat the 65% router saving as a vendor figure.

Summaries are written by AI from the linked source. Always check the original.

Get AI Shorts by email

Every morning, the day's stories in one short email. Unsubscribe in one tap.