Agents built on Microsoft Foundry can now learn from their own production traffic. At Ignite, Microsoft added continuous improvement to the platform, routing traces, expert annotations, and evaluation scores into the Microsoft Foundry Agent Optimizer, which proposes changes for a developer to approve. The announcement, reported by InfoQ on November 30, frames the shift as a move away from shipping an agent once and leaving it alone.
Tina Schuchman, corporate vice president for Microsoft Foundry, announced the capabilities as a four-stage loop. The stages are establish what good looks like, identify where the agent falls short, optimize, and validate before release. According to the Microsoft Foundry blog, the loop never changes a production agent automatically. A candidate improvement is tested, ranked, and shown to a developer, and only a human-approved release reaches production.
The timing matters because agent deployments have moved from demos into daily operations. Teams now run agents that answer customers, query operational data, and call tools on live systems. When those agents stumble, the failure shows up in production traces long before anyone writes a bug report. Foundry aims to turn that trace data into a tested fix instead of a support ticket.
How the four-stage loop works
The loop starts with a definition of quality. In Foundry, that standard lives in evaluations, which are automated tests that score an agent's responses against criteria the team chooses. According to Microsoft, the evaluation step now includes multi-turn scoring, which grades whole conversations rather than single replies, since most agent failures play out across several exchanges.
The second stage finds recurring problems. A capability called Insights groups production traces into findings a team can act on, such as places where an agent fails, tools it misuses, or costs that concentrate in one spot. Insights is generally available, and the same visibility now extends to agents built outside Foundry with LangGraph, LangChain, and CrewAI. Each insight can include representative traces, the agent versions affected, a likely cause, and a recommended next action.
The third stage is where the Microsoft Foundry Agent Optimizer does its work. The optimizer evaluates a hosted agent against the criteria the team defined, then generates candidate configurations covering system instructions, skills, tool descriptions, and model choice. Each candidate is tested against the team's evaluations and ranked, so a developer can deploy the best one. The optimizer first appeared in private preview at Build in June, and it now connects directly to Insights, so a production problem can become a set of tested candidate fixes with one step.
The optimizer also leans on a separate model called a reflector, which reads failing traces and diagnoses why the agent scored poorly. According to an engineering post from the team behind the optimizer, the reflector influenced results more than the agent's own model did. A stronger reflector helped more than switching the agent between model variants. Developers run the loop from the Azure Developer CLI, with commands to generate a dataset and evaluator, score the current version as a baseline, search over candidates, apply the winner locally, and then deploy it as the next version.
The fourth stage is validation. A candidate is compared with the version running today, and the team decides whether to ship it. If the change ships, that version becomes the baseline for the next round. The loop repeats, so each pass builds on the last.
Gulf Air runs the loop in production
Gulf Air is one of the first customers to describe the workflow in production. In a joint post with Microsoft, the airline explained how it prepared a voice agent and a chat agent for its Falcon Eye operational analysis application, which went live on November 9. The agents query operational data through APIs and a Postgres MCP server.
The team generated about 10,000 candidate evaluation questions for the agents. Selected questions ran in batches of 100, and a 400-question run completed shortly before launch. The team used insights from those runs to send eligible instruction and tool-description issues to the optimizer. According to InfoQ, the post does not publish accuracy, latency, or cost improvements, so the public evidence so far is the process itself rather than measured gains.
The Gulf Air example also shows how evaluation work scales. Ten thousand candidate questions is far more than a team would write by hand, and the batching approach let the airline test the agents against a wide slice of operational queries before the launch date. The pattern is likely to spread as more teams treat evaluation data as a standing asset rather than a one-off checklist.
The human approval gate
Practitioners responding to the announcement focused on where the human sits in the loop. Writing on DEV Community, Hector Flores advised treating the model router savings figure as a ceiling rather than a forecast, and welcomed the approval step before an optimized agent ships. The concern is straightforward: self-modifying agents with no review gate are an incident waiting to happen.
Security architect and Microsoft MVP Harri Jaakkonen made the same point about separating evaluation from release. In a walkthrough of the new capabilities, Jaakkonen advised teams to review the diff, inspect which examples improved and which regressed, and deploy in stages with a rollback path. A trace can inform a candidate, the advice runs, but only a human-approved release should change production.
Jaakkonen also suggested keeping a small golden dataset for high-risk actions, a broader regression set for ordinary requests, and separate safety tests for prompt injection and unauthorized tool use. The structure mirrors how mature software teams already ship code, with the evaluation suite playing the role of a test suite and the approval gate playing the role of a code review.
When a fix needs more than new instructions, teams can turn to training. Managed Training, which Microsoft previously called managed fine-tuning, changes model weights, as does Programmed Training. Programmed Training divides the work, with the customer writing a Python driver that runs supervised fine-tuning or reinforcement learning on an open-weight model while Foundry executes the GPU steps underneath. Jaakkonen pointed out that access requires explicit approval and that Foundry will not run arbitrary uploaded training code. The advice is to exhaust cheaper changes to instructions, tools, and skills first.
What is available now, and what is still in preview
Availability differs across the capabilities. Production insights, multi-turn evaluation, and tracing for agents built outside Foundry are generally available. The Microsoft Foundry Agent Optimizer, the option to send an insight straight to the optimizer, annotations on traces, golden datasets, rubric evaluators with safety coverage, and Programmed Training are in preview.
Microsoft also claims that its model router, which the optimizer can use for model selection, saves up to 65 percent compared with sending every request to a frontier model, based on its own testing. That figure comes from Microsoft's own testing rather than an independent measurement, and practitioners have urged teams to treat it as a ceiling.
The optimizer supports hosted agents that use the Responses protocol, according to Microsoft Learn, and runs in every region that offers hosted agents except Norway East. Each optimization run needs two models deployed in the Foundry project. Microsoft documents insights, the agent optimizer, and rubric evaluators on Microsoft Learn, and an optimizer quickstart walks through optimizing a sample hosted agent.
The broader pattern is easy to see. Earlier this year, agent platforms competed on which models they offered and which tools they connected. The Foundry announcement shifts the competition toward what happens after deployment: who can measure an agent, find its weak spots, and improve it without breaking what already works. For teams running agents in production, that loop may matter more than the next model release. Related coverage includes the recent launch of a remote MCP server that puts dozens of media models in reach of agents, and the arrival of a credential broker that gives agents one key to every cloud.
Sources: InfoQ, Microsoft Foundry Adds an Optimization Loop for Production Agents; Microsoft Foundry Blog, What's new in Microsoft Foundry, Ignite 2026. Further reading: Viddo AI MCP Server Puts 76 Video, Image and Audio Models in Reach; AWS IAM Credential Broker Gives Agents One Key to Every Cloud.
Comments 0
No comments yet. Be the first to share your thoughts!
Leave a comment
Share your thoughts. Your email will not be published.