← Back to blog

Article not found

Microsoft Foundry adds an optimization loop for production agents

Microsoft brings Foundry a continuous loop to improve AI agents using real traces, annotations and evaluations. The analytics part is already available, while optimization and training remain in preview.

Microsoft Foundry adds an optimization loop for production agents

Microsoft has announced in Foundry a new continuous improvement loop for AI agents already in use, built around what actually happens in production. The mechanism connects operational traces, expert annotations and evaluation scores to identify where an agent goes wrong, propose changes and validate them before release. According to InfoQ, based on Microsoft documentation, the flow is divided into four steps: defining what counts as a good outcome, finding weak points, optimizing and verifying before deployment. Not everything is available at the same level yet: tools for insight into recurring errors are generally available, while optimizer, trace annotations, reference datasets, safety-coverage evaluators and training functions remain in preview.

The most interesting aspect for those who develop or govern agents is not the promise of autonomy, but the attempt to make a process that today often relies on manual trial and error more disciplined. The optimizer evaluates an agent against criteria defined by the team and generates candidate configurations that act on system instructions, skills, tool descriptions and model choice. The proposals are then ranked, so that a developer can apply the best variant. Microsoft also adds an economic argument: the model router usable in this process, in the company’s internal tests, can reduce costs by up to 65% compared with sending every request to a high-end model. This is a figure attributed by the source to Microsoft tests, so it should be read as an indication of potential and not as a guaranteed result in every context.

For an SME, this update matters above all at the operational and governance level. The new feature attempts to close the gap between experimentation and ongoing management: not just building an agent, but observing it with traces and evaluations, understanding where it regresses and introducing corrections through a verifiable process. It is also relevant that Microsoft says it supports tracing and multi-turn evaluation for agents built outside Foundry with frameworks such as LangGraph, LangChain and CrewAI. In practice, a company that has already started working on custom agents can read this move as an attempt to standardize monitoring, version comparison and release quality, rather than leaving these steps to scripts and ad hoc procedures.

The most mature part of the message, however, is perhaps the one about limits. In the comments collected by InfoQ and in the technical materials cited, the central point is not an agent that changes itself, but a process in which the human remains the final gate. The changes proposed by the optimizer must be approved before going into production; moreover, the recommendation is to separate evaluation and release, check which examples improve or worsen, and roll out in phases with the possibility of reverting to the previous version. The signal on training is also cautious: Microsoft and the engineers involved suggest first exhausting the cheaper interventions on instructions, tools and skills, and only then considering paths that change the model weights. For those who develop or buy custom software, the message is clear: the real difference will not be made by a “smarter” agent in the abstract, but by an evaluation and correction pipeline that makes quality, risk and cost measurable over time.

Source: InfoQ, 30 November 2026