If you find these articles useful, you can support my work through Stripe.
Contribute via StripeOnce an agent is in production, I want a repeatable way to learn from failures without letting a noisy trace rewrite the live agent. Microsoft's Ignite announcements describe a production-to-evaluation loop in Microsoft Foundry: define what good looks like, find recurring problems, test candidate changes against the same evidence, and let the team decide what ships. The newer Microsoft Foundry continuous-improvement post and the Foundry Agent Service update add implementation detail beyond the Ignite Book of News announcement.
This connects to the evaluation work in my AI-300 guide to GenAI quality and observability and AI-300 guide to improving GenAI systems. Those posts cover the engineering practices; this article focuses on the Foundry workflow announced at Ignite.
Control point: A trace can inform a candidate, but only a human-approved release should change production. Keep evaluation, review and release as separate steps.
The loop starts with evidence, not an optimizer
A trace records an agent run step by step: the request, the agent's actions, tool calls and response. Traces help explain what happened, but they are not automatically training examples and they should not trigger silent production changes. Teams need a reviewed evaluation dataset that reflects real tasks, plus explicit criteria for quality, safety, latency and cost.
- Establish a baseline. Curate representative tasks and score whole conversations, not only the final answer.
- Identify recurring failures. Use production insights to group repeated issues and inspect the evidence behind them.
- Test candidate changes. Compare instructions, skills or model choices against the same evaluation set.
- Approve and release. A person selects the candidate, then validates it in the release process.
- Measure production again. Monitor quality, safety, latency and token use; the next regression becomes the next investigation.
The deployed version becomes the next baseline. That gives the team a measurable sequence of changes rather than an informal collection of prompt edits.
What is available and what is preview
| Capability | Status in Microsoft's current posts | Role in the loop |
|---|---|---|
| Multi-turn evaluation | Generally available | Scores full conversations against task criteria. |
| Insights | Generally available | Finds recurring production issues and supporting evidence. The Foundry Agent Service update says visibility also covers LangGraph, LangChain and CrewAI agents. |
| Annotations on traces and evaluation datasets | Public preview | Lets reviewers mark what worked and what should have happened, then reuse reviewed examples as tests. |
| Safety rubric support and golden datasets | Preview | Turns business criteria and reviewed examples into repeatable evaluation inputs. |
| Insights sent to Agent Optimizer | Preview | Starts a candidate optimization run from a recurring production issue. |
| Skill and cost optimization | Preview | Tests revised skills or lower-cost model choices against the evaluation set. |
| Managed Training | Availability varies by model and training workflow | Runs a supported training job from data and settings managed in Foundry. |
| Programmed Training | Public preview with explicit access approval | Lets engineers define a Python training loop while Foundry runs model operations on managed GPUs. |
The status is per capability, not a blanket status for "continuous improvement" or for the whole Agent Optimizer. Check the current Agent Optimizer documentation and the Foundry portal before designing around a preview feature.
From traces to a tested agent change
In the announced flow, Insights groups recurring problems and shows the evidence. A reviewer can annotate selected traces and turn those reviews into an evaluation dataset. Agent Optimizer can then generate candidate changes and score them against the same evaluations. The newer workflow adds routes from Insights to the optimizer and proposes skill changes, while keeping adoption with the team.
This distinction matters operationally: a candidate that scores well is not yet a production change. Review the diff, inspect the examples that improved and regressed, then use a staged deployment with a rollback path. Microsoft's blog says Foundry can run statistical comparisons, and continuous evaluation can keep checking live traffic after release.
For a real pilot, keep a small golden set for high-risk actions, a broader regression set for ordinary requests, and separate safety tests for prompt injection and unauthorized tool use. The checks in my earlier Foundry security and isolation article cover the runtime and authorization boundaries that evaluations alone cannot provide.
Catch a duplicate tool call before it becomes normal
Suppose an order-status agent calls its lookup tool twice even though the first response already contains the current status. You don't need to fine-tune a model to investigate that behavior.
Check turn order, tool inputs and outputs, duration, model and prompt or skill version. Confirm the second call adds no new information.
Mark the duplicate call in a reviewed example. Add valid retry cases too, then compare the current skill with a candidate on the same evaluation set.
Compare task success, calls per conversation, end-to-end latency, token cost and safety results. Stage the change only if quality holds.
When instruction changes stop helping
Training changes model weights, so it is a different intervention from editing instructions, tools or skills. Try the simpler configuration changes first. If a repeatable task still fails and you have appropriate data, Managed Training offers the managed job path; use Programmed Training when the workflow needs a custom recipe or control over sampling, scoring and update steps.
| Path | Who controls the loop | What to verify |
|---|---|---|
| Managed Training | Foundry runs a supported training workflow from the submitted data and settings. | Base model, region, data format, training method, resulting adapter deployment, and cost. |
| Programmed Training | Your Python driver composes the training operations. Foundry executes model sampling and updates. | Preview approval, supported model and region, GPU capacity, recipe requirements, and budget. |
Microsoft's November 18 Programmed Training post lists LoRA preview support for Qwen3.8-27B, Qwen3.6-35B-A3B, gpt-oss-120b and Muse-Glimmer-30B. Nemotron Ultra is available on request. The list and preview access can change, so check the live Foundry fine-tuning documentation before selecting a model.
The preview exposes GPU operations such as sample, forward_backward, optim_step, save_weights_for_sampler and save_weights. Your Python driver decides which prompts to sample, how to grade results, when to update the adapter and when to checkpoint. Foundry runs the model operations on managed GPUs; the service doesn't accept arbitrary uploaded training code. This split lets an engineer control the loop without owning the GPU cluster.
Reuse the same held-out evaluation set before and after training. Keep training data separate from that set, check for sensitive or personal data in traces, and compare quality with inference cost and latency. More training is not a result unless it improves the task you actually need to run.
How this connects to the other Foundry updates
Continuous improvement is easier to understand alongside the features it depends on. Foundry IQ covers the knowledge agents retrieve; the MAI models and model router cover model selection; and Foundry on AKS, Agent Sandbox and Agent Grid cover deployment and runtime boundaries. Windows 365 for Agents is a separate desktop execution option. None of these capabilities automatically becomes part of the improvement loop.
Sources and next steps
- Microsoft Azure Blog: Continuous improvement comes to Microsoft Foundry
- Microsoft Foundry Blog: What's new in Foundry Agent Service at Ignite 2026
- Microsoft Foundry Blog: Programmed Training
- Microsoft Learn: Fine-tuning in Microsoft Foundry
Next part
Part 4: AKS runtime & controls moves from evaluation into deployment, network policy and code-execution isolation.


