product updateMicrosoft

Microsoft Foundry adds optimizer loop for agents: insights GA, optimizer still in preview

TL;DR

At Ignite, Microsoft added a four-stage continuous improvement loop to Foundry that feeds traces, annotations, and evaluation scores into an agent optimizer. Production insights and multi-turn evaluation are generally available, while the optimizer itself remains in preview.

4 min read
0

Microsoft Foundry agents can now learn from their own production traffic, with a developer approving every change. Announced at Ignite, the new continuous improvement loop routes traces, expert annotations, and evaluation scores into an agent optimizer that proposes changes. The optimizer itself is in preview, according to InfoQ's report.

Four stages, mixed availability

Tina Schuchman, corporate vice president for Microsoft Foundry, described the loop as four stages: establish what good looks like, identify where the agent falls short, optimize, and validate before release.

Generally available:

  • Production insights, which group recurring failures and rank possible fixes
  • Multi-turn evaluation
  • Tracing for agents built outside Foundry with LangGraph, LangChain, and CrewAI

In preview:

  • The agent optimizer
  • Sending an insight directly to the optimizer
  • Annotations on traces
  • Golden datasets
  • Rubric evaluators with safety coverage
  • Programmed Training

How the optimizer works

The optimizer first appeared in private preview at Build in June. It evaluates a hosted agent against criteria the team defines, then generates candidate configurations covering system instructions, skills, tool descriptions, and model choice. It ranks the candidates so a developer can deploy the best one.

According to Microsoft Learn, it supports hosted agents that use the Responses protocol. It runs in every region that offers hosted agents except Norway East, and each run needs two models deployed in the Foundry project.

Microsoft claims its model router, which the optimizer can use for model selection, saves up to 65% compared with sending every request to a frontier model. The figure is based on Microsoft's own testing.

In a separate engineering post, the optimizer team said the reflector, a separate model that reads failing traces and diagnoses poor scores, influenced results more than the agent's own model. They report that a stronger reflector helped more than switching the agent between gpt-4o and gpt-4.1-mini.

CLI workflow

Developers run the loop from the Azure Developer CLI:

  • azd ai agent eval init generates a dataset and evaluator from a one-paragraph description
  • azd ai agent eval run scores the current version as a baseline
  • azd ai agent optimize searches over candidates
  • azd ai agent optimize apply --candidate <id> applies the winner locally
  • azd deploy ships it as the next version

Weight-level changes

When a fix needs more than new instructions, teams can use Managed Training (previously called managed fine-tuning) or Programmed Training. Both change model weights. In Programmed Training, the customer writes a Python driver that runs supervised fine-tuning or reinforcement learning on an open-weight model, while Foundry executes the GPU steps.

Security architect and Microsoft MVP Harri Jaakkonen noted that access requires explicit approval and that Foundry won't run arbitrary uploaded training code. He advises exhausting cheaper changes to instructions, tools, and skills first.

Gulf Air in production

Gulf Air is one of the first customers to describe the workflow in production. In a joint post with Microsoft, the airline said it prepared a voice agent and a chat agent for its Falcon Eye operational analysis application, which went live on November 9. The application queries operational data through APIs and a Postgres MCP server.

The team generated about 10,000 candidate evaluation questions, ran selected questions in batches of 100, and completed a 400-question run shortly before launch. It used insights to send eligible instruction and tool-description issues to the optimizer. The post does not publish accuracy, latency, or cost improvements.

Practitioner reaction

DEV Community author Hector Flores advised treating the 65% router savings as a ceiling rather than a forecast. He welcomed the approval step, writing that self-modifying agents with no review gate are "an incident waiting to happen." Jaakkonen advised reviewing the diff, inspecting which examples improved and regressed, and deploying in stages with a rollback path. He also suggested 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.

What this means

The generally available pieces (production insights, multi-turn evaluation, and cross-framework tracing) are usable now, including for agents built outside Foundry. The part that rewrites agent configuration is still in preview, with constraints: Responses-protocol hosted agents only, two deployed models per run, and no Norway East.

The design keeps a human approval step between optimization and release. The reflector finding suggests the diagnosing model deserves as much attention as the agent's own model. The only production case study, Gulf Air, does not yet publish measured gains, so the 65% routing figure remains an unverified vendor number.

Related Articles

product update

Anthropic launches Claude Ship: agents that review, fix and approve GitHub pull requests under team policy

Anthropic has introduced Claude Ship, a set of agents that review GitHub pull requests, push fixes, and approve the changes a team's policy allows. Code Review is generally available on Claude Team and Enterprise plans, while PR Steward and Claude Approvals are in beta.

product update

Perplexity adds Time Machine to its APIs, letting agents search the web as it was up to 365 days ago

Perplexity has added Time Machine to its Search and Context APIs, letting AI agents see the web as it looked up to 365 days ago. The goal is to stop forecasting tests from being spoiled by hindsight. Perplexity's performance figures come from its own tests.

product update

Google Research details how Duplex powers business calls in Gemini Tasks, via Nov. 20 engineering write-up

Google Research published an engineering write-up on Nov. 20 explaining how Duplex went from narrow tasks like restaurant bookings to powering business calls through Tasks in Gemini. The Tasks expansion itself was announced Nov. 17. The write-up covers how the calling system was built, not a new launch.

product update

Alibaba's Qwen Go opens free call-on-behalf AI service to general users

Alibaba's Qwen Go has opened its free call-on-behalf service to general users, according to Chinese reports dated November 25. The assistant contacts a person or business the user specifies, after the user gives instructions and authorizes the call. It is a product feature, not a new model release.

Comments

Loading...