BRK249 · Breakout

From traces to better agents: The Foundry improvement loop

  • Wednesday 18 November
  • 46 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 200
  • Worth watching: 2/3

Speakers: Avinav Jami, Charles Kim, Takashi Okamoto, Yuji Shono

Watch on Microsoft’s site from 08:26

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

The session shows the Microsoft Foundry improvement loop for production agents: capture expert feedback on traces, find failures with Agent Insights, generate fixes with Agent Optimizer and validate them with continuous evaluation on live traffic. A demo with a Caldova Pharmaceuticals research agent over Fabric IQ covers trace annotation, the 'learn from past activity' optimization that proposes a new skill, and an evaluation score rising from 36% to 89%. Agent Insights is announced as GA, as is tracing for agents built outside Foundry; annotation on traces, rubric evaluators, golden datasets, skill, prompt and cost optimization are in public preview. NTT Data presents a PMO agent using Azure DevOps, Teams and Work IQ whose rubric score rose from 8.6 to 83.3 after optimization, with an estimated 60% reduction in effort. The Q&A mentions a preview of managed harness agents in Foundry.

Best for: Developers and agent owners running Foundry-hosted or external agents in production who want a concrete trace-evaluate-optimize workflow.

Session timeline by chapter

New material starts at 08:26. Before 08:26 come the intro, audience poll and a demo of the agent's shortcomings; at 08:26 the Foundry-specific loop starts with annotating a production trace.

Where to skip: Skip to 08:26; the core is 08:26–20:56 (annotation, Optimizer, Insights GA, continuous evaluation and the status roundup at 16:08). The NTT Data architecture and rubric part at 26:03–31:26 is worth it; the Q&A at 36:59 covers managed harness agents and missing knowledge. Skip the intro, the NTT video and vision (20:56–26:03) and the closing.

Chapters (13)

  1. 00:00 Recap Depth 100 · Novelty 0/3

    Speakers, audience poll and why agents in production rarely improve

    Charles Kim introduces the speakers from Microsoft Foundry and NTT Data and polls the audience on tracing, evals and evaluation of live traces. He cites industry surveys showing most teams have observability and offline evals but few evaluate live production traffic, and lists the cost of wrong answers. He frames the goal as a feedback loop in Foundry for developers, subject matter experts and leaders, working for agents hosted in Foundry or elsewhere as long as Foundry can see the traces.

  2. 04:06 Demo Depth 200 · Novelty 1/3

    Demo: Caldova research agent over Fabric IQ and the manual feedback problem

    Charles runs a hosted Foundry agent for Caldova Pharmaceuticals that assesses R&D programs, connected through the Foundry toolbox to departments over a Fabric connection (Fabric IQ). The long-running agent returns only a conditional assessment and tells him to contact departments himself instead of reconciling the evidence proactively. He describes the manual workaround: dumping questions and answers into a spreadsheet, labelling them good or bad and noting missed department lookups to rewrite the prompt.

  3. 08:26 Demo Depth 200 · Novelty 2/3

    Demo: annotating a production trace with expert feedback in Foundry

    Avinav Jami describes the typical manual loop (user complaint, reading traces, guessing a fix, redeploying) and Foundry's alternative: Insights finds problems, Optimizer recommends fixes and Evaluation proves them. He locates Charles's conversation in the trace view and annotates it in the conversation view, rating the interaction, marking the task outcome as partial success and writing what the agent should have done. The annotation is stored in Foundry together with the trace.

  4. 10:44 Demo Depth 300 · Novelty 2/3

    Demo: Agent Optimizer 'learn from past activity' proposes a new skill

    Avinav starts an optimization job using the new 'learn from past activity' capability, which analyses traces including annotated ones. He selects the agent version, optionally skills, the trace time window, an optimization model and a judge model. The output identifies that the agent did not consult all departments and recommends a new skill with instructions and examples; the clustered traces behind the decision can be inspected and the new version promoted to production.

  5. 13:20 Demo Depth 200 · Novelty 3/3

    Agent Insights GA and setting up continuous evaluation on sampled live traffic

    Avinav announces Agent Insights as generally available: it detects, clusters and ranks failures users hit, links to the failing traces, recommends configuration fixes and can hand off directly to optimization. He applies a suggested config fix and deploys a second agent version. He then creates a continuous evaluation targeting the agent on sampled live traffic with configurable sampling rate and traces per run, using quality criteria plus custom rubrics, and shows results in the evaluation view and the agent's monitor tab.

  6. 16:08 New Depth 200 · Novelty 2/3

    Results 36% to 89% and the improvement loop feature roundup with statuses

    Version 2 of the agent is run again; after one optimization turn the evaluation score rose from 36% to 89% and follow-up prompts dropped to three. Avinav then summarises the loop: capture feedback (annotation on traces, rubric evaluators, golden datasets – preview), identify (Insights and tracing for non-Foundry agents – GA), optimize (Insights to Agent Optimizer, skill and prompt optimization, cost optimization – preview) and validate with continuous evaluation where the winner becomes the new baseline. The optimized agent finally consults every department and produces an investment recommendation.

  7. 20:56 Customer story Depth 100 · Novelty 1/3

    NTT Data video: project management agent built with Foundry improvement loop

    A video from NTT Data describes its smart AI agent approach and a project management agent built on Microsoft Foundry. It uses tracing and insights for observability, rubric-based evaluations against defined criteria and Agent Optimizer to refine instructions, tools and reusable PMO skills before redeploying. Initial estimates for a sample project indicate around 60% less time on certain project management tasks, with people kept involved in key decisions.

  8. 22:50 Customer story Depth 200 · Novelty 1/3

    NTT Data vision: smart AI agent pillars and AgentOps with harness cycles

    Yuji Shono outlines NTT Data's smart AI agent vision: personal agents using expert agents, digital workers and eventually the physical world, built on five technology pillars. He focuses on AgentOps with harness, meaning governance, security and quality. The model has an outer cycle (execution, observability, evaluation, human-in-the-loop decision) and an inner cycle (optimization, then approval and deployment).

  9. 26:03 Customer story Depth 300 · Novelty 2/3

    NTT Data PMO agent: architecture, rubric evaluation and optimization from 8.6 to 83.3

    Takashi Okamoto explains the PMO agent: project data in Azure DevOps and Teams, with Teams data retrieved via Work IQ; the agent monitors status, identifies risks, prepares reports and suggests follow-ups for project manager approval. Improvement used traces and insights, dataset generation from traces, a rubric evaluator with 14 weighted business-specific criteria, and Foundry optimization of the system prompt and agent skills. For the query about task 204 the original agent failed because the work item ID was not resolved in Azure DevOps; the optimizer added an instruction for resolving Azure DevOps IDs, raising the rubric quality score from 8.6 to 83.3.

  10. 31:26 Customer story Depth 100 · Novelty 1/3

    NTT Data business impact estimate and key lessons on defining quality

    Takashi reports an experimental estimate of 60% reduction in human effort for one project, from 907.3 to 364.7, and notes NTT Data runs 2,000 projects in Japan alone. Yuji summarises the lesson: improving agents starts with defining what quality means for the business, understanding agent behaviour and measuring whether improvements work. He thanks Microsoft and Microsoft Japan and states the intent to extend the approach to more enterprise workflows.

  11. 34:26 Closing Depth 100 · Novelty 1/3

    More customer results, how to start the loop and related Ignite sessions

    Charles cites DocuSign, Heidi and Mazda results with fine-tuning and optimization in Foundry. He recommends starting with one agent and one problem: have an expert rate traces to set a baseline, enable tracing and Insights, send top issues to Agent Optimizer, compare candidates and re-measure. He repeats that observability for external agents is GA via OpenTelemetry traces and points to THR860, BRK251, LAB663 and BRK252.

  12. 36:59 Q&A Depth 300 · Novelty 1/3

    Q&A: managed harness agents, missing knowledge and end-user feedback

    Asked about using GitHub Copilot and other coding harnesses inside Foundry, Avinav says a managed harness experience exists and customers can contact Microsoft to join a preview, alongside prompt and hosted agents. On missing knowledge, Charles explains that feedback in traces describing expected tool or data use lets Agent Optimizer adjust prompt instructions, skill loading or tool descriptions, which agents often misuse. On end-user feedback beyond thumbs up/down, Yuji answers that NTT Data starts from data and standard operating documents and captures expert knowledge during production.

  13. 44:08 Q&A Depth 100 · Novelty 0/3

    Q&A: NTT Data's early AgentOps challenges and closing call to action

    Asked about challenges, Yuji says NTT Data started establishing AgentOps around 2024, when few tools existed, building its own solutions on open-source frameworks for financial, public sector and enterprise use cases. He says Foundry's capabilities now make this much easier. Charles closes by urging attendees to start with one agent and one problem and run the continuous improvement loop.

Announcements (11)

  • 10:44 not stated Microsoft Foundry

    Agent Optimizer: learn from past activity

    Optimization mode that analyses an agent's traces, including annotated traces, to decide what to optimize and propose changes such as new skills.

    Speaker’s quote (at 10:44)
    „Here we introduce a new capability called learn from past activity, which looks at your traces, including the annotated traces“
  • 13:20 GA Microsoft Foundry

    Agent Insights

    Detects failures users face across traces, clusters and ranks them for triage, recommends fixes and can send issues directly into optimization.

    Speaker’s quote (at 13:20)
    „So that's where Agent Insights comes in. Agent Insights is now available in GA. And what we do here is detect failures“
  • 17:35 public-preview Microsoft Foundry

    Annotation on traces

    Experts annotate traces where the agent ran and their feedback becomes test cases.

    Starting this week

    Speaker’s quote (at 17:35)
    „Starting this week, your expert can annotate traces right where the agent ran, and those feedback become test cases.“
  • 17:35 public-preview Microsoft Foundry

    Rubric evaluators

    Evaluators that score quality and safety against your own criteria.

    Speaker’s quote (at 17:35)
    „rubric evaluators score quality and safety against your own criteria“
  • 17:35 public-preview Microsoft Foundry

    Evaluation with golden datasets

    Turns real traces into repeatable tests and benchmarks every agent version against them.

    Speaker’s quote (at 17:35)
    „evaluation with golden data sets turn real traces into repeatable tests and benchmark every version that you want to measure against. All these features are now available in preview.“
  • 18:04 GA Microsoft Foundry

    Tracing for agents built outside Foundry

    Brings traces of non-Foundry agents into Foundry so insights and evals work for Foundry and non-Foundry agents in one observability pane.

    Speaker’s quote (at 18:04)
    „And tracing now works for agents built outside Foundry. That is also generally available.“
  • 18:31 public-preview Microsoft Foundry

    Insights to Agent Optimizer

    Insights sends recurring problems directly into Agent Optimizer, which tests several fixes against evaluations so you choose which to ship.

    Speaker’s quote (at 18:31)
    „Insights can now send recurring problems straight into our agent optimizer. That's in preview“
  • 19:00 public-preview Microsoft Foundry

    Skill and prompt optimization

    Improves how the agent works by optimizing its skills and prompts from past feedback.

    Speaker’s quote (at 19:00)
    „Skill and prompt optimization improve how the agent works from past feedback.“
  • 19:00 public-preview Microsoft Foundry

    Cost optimization

    Optimization aimed at controlling agent costs, alongside model router and training.

    Speaker’s quote (at 19:00)
    „we now have cost optimization, model router, and training to give you the reverse to control your costs. All of these features are now available in preview.“
  • 19:25 not stated Microsoft Foundry

    Continuous evaluation

    Evaluates sampled production traffic continuously, compares every version to the baseline and makes the winner the new baseline.

    Speaker’s quote (at 19:25)
    „Every version is going to be compared to our baseline. Continuous evaluation keeps course on the production traffic.“
  • 37:55 not stated Microsoft Foundry

    Managed harness agents in Foundry

    Hosting agents that use harnesses such as GitHub Copilot in Foundry, available by contacting Microsoft to join a preview.

    Speaker’s quote (at 37:55)
    „we have a manage harness experience and you should be able to reach out to us and we can get you onto a preview“

Demos (4)

  • 04:32 Not stated Microsoft Foundry

    Show a hosted research agent that assesses R&D programs for investment decisions and expose its shortcomings that require manual feedback.

    Steps (5)
    1. Open the hosted agent in Microsoft Foundry that is connected to departments through the Foundry toolbox over a Fabric connection.
    2. Ask the agent about the status of the North Star Separation Science program.
    3. Wait while the long-running agent queries the departments over Fabric IQ.
    4. Review the conditional assessment listing owners to follow up with.
    5. Copy questions and responses into a spreadsheet, label each as good or bad and note which department lookups were missed.

    Prerequisites: A hosted agent in Microsoft Foundry connected via the Foundry toolbox to department data over a Fabric connection.

  • 09:24 You can try it yourself Microsoft Foundry

    An agent owner or subject matter expert records structured feedback directly on a production conversation trace instead of in a spreadsheet.

    Steps (6)
    1. Open the agent in Microsoft Foundry and go to the trace view.
    2. Find the relevant conversation among the latest conversations.
    3. Open it in the conversation view and choose annotation.
    4. Rate the interaction and set the task outcome to partial success.
    5. Write a note describing what the agent should have done.
    6. Annotate further conversations and save them.

    Prerequisites: Tracing enabled for the agent so conversations appear in Foundry.

  • 11:21 You can try it yourself Microsoft Foundry

    Turn annotated production traces into a concrete agent improvement (a new skill) and promote it as a new agent version.

    Steps (8)
    1. Open the optimize experience for the agent and start an optimization job using learn from past activity.
    2. Select the agent version (version 1).
    3. Optionally select the skills the agent uses (left blank in the demo).
    4. Confirm the automatically detected traces and choose the look-back period.
    5. Choose an optimization model and a judge model and start the run.
    6. Review the result: the identified problem and the recommended new skill.
    7. Inspect the skill content and the clustered traces used for the decision.
    8. Promote the new agent version with the skill to production.

    Prerequisites: Traces for the agent, ideally with annotations; access to an optimization model and a judge model.

  • 13:20 You can try it yourself Microsoft Foundry

    Find failures proactively with Agent Insights, fix the configuration, and set up a continuous evaluation that monitors the new agent version on live traffic.

    Steps (8)
    1. Open Agent Insights for the agent and select an insight.
    2. Review the failed department calls, the linked traces and the recommended configuration fix.
    3. Apply the fix and deploy a second version of the agent.
    4. Go to the evaluation experience and create a continuous evaluation.
    5. Choose the agent as target and select the agent and full conversations.
    6. Choose live traffic, set the sampling rate and the number of traces per run.
    7. Select the quality criteria plus custom rubrics and create the evaluation.
    8. Review past runs and scores, and evaluation scores in the agent's monitor tab.

    Prerequisites: Agent with tracing and live traffic; custom rubrics defined if used.

Watch on Microsoft’s site: BRK249