BRK251 · Breakout

Agents in production: Observe, evaluate, and optimize with Foundry

  • Wednesday 18 November
  • 48 min
  • Catalogue level: (100) Foundational
  • Our depth rating: 300
  • Worth watching: 2/3

Speakers: Han Che, Divya Chirasani, Deepraj Khot

Watch on Microsoft’s site from 04:11

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 walks through a continuous improvement loop for production agents in Microsoft Foundry: tracing, evaluation, insights, human annotation and optimization. Demos show trace views, synthetic and live-trace golden datasets, auto-generated quality and safety rubric evaluators, and offline versus continuous evaluation (67% offline vs 40% on live traffic). Han Che announces Foundry insights from production traces as GA, with Agent Optimizer capabilities (fix insights, optimize skills from traces, optimize for cost) and human annotation in public preview. A fleet view previews project-wide monitoring of quality, cost and budgets. TCS shows how its AKS operations agent cut tokens from 275K to 94K and raised its evaluation score by 15%.

Best for: Agent developers and platform owners running agents in Foundry who need to evaluate, monitor and optimize quality and cost in production.

Session timeline by chapter

New material starts at 04:11. After a four-minute framing with industry data and an audience poll, the session moves into tracing setup and new dataset and rubric evaluator capabilities.

Where to skip: Skip to 04:11. The core is the rubric evaluator demo at 10:54, the insights demo at 19:32 and Agent Optimizer at 25:51; the fleet monitoring part at 32:37 matters for platform owners. The TCS story at 36:24 is useful for real numbers, while the TCS demo at 43:51 and the wrap-up from 46:38 can be skipped.

Chapters (11)

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

    Why production agents need observability beyond uptime: industry data and audience poll

    Divya Chirasani introduces the speakers from Microsoft Foundry and TCS and frames the session around confidence in production agents. She cites industry figures on quality as a barrier to production and a Gartner forecast that many agents will be disabled by 2027. She contrasts traditional observability (is it up, fast, error-free) with checking whether a non-deterministic agent is doing the right thing, and polls the audience on tracing, live-traffic evaluation and confidence in quality.

  2. 04:11 New Depth 200 · Novelty 2/3

    Build stage: tracing setup, evaluator types and new dataset and rubric evaluator capabilities

    Agents hosted in Foundry are traced by default without code changes; agents hosted elsewhere need the Microsoft OpenTelemetry distro and a few lines of code, with traces stored in Application Insights that must be connected to the Foundry project. Evaluation is explained as code-based, model-based and human-based, with model-based being the most widely used. New items: task-based rubrics in evaluation datasets, sending live traffic traces to datasets, rubric evaluators extended from quality to safety, and decision models to power evaluators at low cost and high speed but without score reasoning.

  3. 07:03 Demo Depth 200 · Novelty 2/3

    Demo: agent traces view, custom filters and synthetic dataset generation

    In a recorded demo, Divya shows the agent traces tab with conversation, user and graph views, inline human feedback annotation and evaluation results per trace, plus custom attribute filters added this year. She explains a golden dataset as a baseline of queries covering tasks, user segments and ambiguous requests. She generates 15 synthetic dataset items from an agent hosted in Foundry and shows adding selected live traces to a dataset with optional test-case rubrics. She notes all features are available live and also code-first.

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

    Demo: auto-generated quality and safety rubric evaluators, offline and continuous evaluation

    Divya auto-generates a quality rubric evaluator for the Cordova investment agent from agent context, optional attachments and live trace examples, producing dimensions such as retrieval, citations and conflict handling; a safety evaluator selects prompt injection as the most relevant dimension. A one-time offline evaluation on the 15-item synthetic dataset scores 67% (10 passes). She then schedules the same evaluator hourly on live traffic with random or intelligent sampling of 100 traces, which scores only 40%, showing live queries differ from anticipated ones.

  5. 16:48 New Depth 200 · Novelty 3/3

    Insights from production traces GA; optimization strategies and human annotation in preview

    Han Che moves to the production stage and announces that Foundry insights surfaced from production traces are generally available, with three new optimization strategies and human annotation in public preview. Insights analyse dozens to thousands of traces and turn them into evidence-backed findings. He highlights four capabilities: scheduled continuous analysis, findings linked to traces, prioritisation via custom categories, and handoff to a coding agent or the Foundry Agent Optimizer for fixes.

  6. 19:32 Demo Depth 300 · Novelty 2/3

    Demo: insights inbox, trace evidence, annotations, custom priority categories and metrics

    Using the Cordova portfolio review agent, Han selects a judge model, enables scheduled analysis and opens an inbox-style insights page. One insight shows the agent recommends actions such as pause and names a single owner without sufficient evidence; he verifies it in a linked trace and adds an annotation. He explains the eight default priority categories (e.g. cost and tokens, latency, hallucination, safety), a custom category with steering instructions, and a metrics dashboard showing insight counts, analysed traces, token usage, estimated cost and grouping by category or severity.

  7. 25:51 Demo Depth 300 · Novelty 3/3

    Agent Optimizer: fix insights, optimize skills from traces, optimize for cost, candidate review

    Han presents three new Agent Optimizer capabilities: fix insights, optimize skills from historical traces (create or improve skills), and optimize for the lowest-cost agent version that keeps quality. In the demo, the Fix Insight button opens an optimization run with agent version, optimization and evaluation models and maximum candidates; multiple insights can be fixed together. The results page compares candidates to the baseline using rubric scores from 0 to 1 and an insights improved column; the system recommended the candidate that raised overall quality over one that fixed more insights. He recaps the loop of traces, insights, rubric evals, annotation and optimization.

  8. 32:37 Demo Depth 200 · Novelty 2/3

    Demo: fleet monitoring of agents and models with quality, cost and budgets

    Divya announces a preview of the fleet view to see health, quality and cost of all agents in one place. The Monitor page shows project-wide active agents and models, runs, token usage, cost and policy violations, operational metrics (errors, latency, model requests), and agent quality charts per evaluator across agents. Errors drill down to traces (a rate limit in the demo). The cost view shows spend and month-end forecast, monthly or daily project budgets, per-agent share and an agent cost page with cost per run and token usage including cache hit rate.

  9. 36:24 Customer story Depth 300 · Novelty 2/3

    TCS story: AKS operations agent cut tokens from 275K to 94K with Foundry observability

    Deepraj Khot of TCS describes TCS Autonomous Operations, a multi-agent solution automating Azure cloud operations, and its AKS operations agent that analyses cluster alerts, performs root cause analysis and proposes remediations using skills and recipes. KPIs were token consumption, skill selection accuracy and plan accuracy. TCS used datasets generated from telemetry, insights in build and design, custom rubric evaluators, and optimization cycles every two weeks, promoting candidates only on significant improvement. Two insights (repeated skill loading and querying all pods instead of the faulty one) drove a 66% token reduction; overall evaluation score rose 15%.

  10. 43:51 Demo Depth 200 · Novelty 1/3

    TCS demo: insights priorities, skill-loading fix and rubric optimization from 85% to 100%

    Deepraj shows the TCS Foundry project with the AKS agent, insights priorities set to cost and tokens and tool call failures, and an insight identifying the repeated skill-loading pattern with a proposed fix. A later run found tool-invocation JSON payloads targeting non-faulty pods. The optimization used a custom rubric with weighted dimensions for tool use quality, task completion and task adherence, raising the baseline score of about 85% to 100%.

  11. 46:38 Closing Depth 100 · Novelty 0/3

    Wrap-up: announcement recap, resources, related sessions and feedback

    Deepraj notes skill loading improved by about 15 to 20% and hands back. The speakers point to a recap slide of announcements, the Foundry link, observability documentation for a code-first approach and a launch blog post. They mention related sessions on governance, FinOps and hands-on labs, offer to answer questions in person and ask for feedback.

Announcements (12)

  • 06:05 not stated Microsoft Foundry

    Task-based rubrics in evaluation datasets

    Evaluation datasets can include task-based rubrics for more advanced evaluations.

    Speaker’s quote (at 06:05)
    „A few announcements here. For evaluation data sets, we have included task-based rubric.“
  • 06:32 not stated Microsoft Foundry

    Send live traffic traces to datasets

    Traces from live traffic can be added directly to evaluation datasets.

    Speaker’s quote (at 06:32)
    „You can also easily send your live traffic traces to the data set.“
  • 06:32 not stated Microsoft Foundry

    Rubric evaluators for safety

    Custom rubric evaluators, previously available for quality, can now also be built for safety.

    Speaker’s quote (at 06:32)
    „Previously, you were able to build rubric evaluators for quality. Now you can do it for safety.“
  • 06:32 not stated Microsoft Foundry

    Decision models for evaluators

    Low-cost, fast decision models can power evaluators at scale, though they do not return the reasoning behind a score.

    Speaker’s quote (at 06:32)
    „And finally, we are also introducing decision models to power the evaluators.“
  • 08:27 not stated Microsoft Foundry

    Custom trace filters

    Traces can be filtered by their attributes to query a specific set for manual review.

    Speaker’s quote (at 08:27)
    „In addition, this year we also added custom filters.“
  • 17:40 GA Microsoft Foundry

    Foundry insights from production traces

    Analyses production traces and surfaces evidence-backed insights with suggested actions.

    Speaker’s quote (at 17:40)
    „I'm excited to announce that Foundry Surface Insights from production traces is now generally available.“
  • 17:40 public-preview Microsoft Foundry

    Human annotation

    Lets agent owners annotate traces, with annotations permanently linked and used as input to evaluations and optimizations.

    Speaker’s quote (at 17:40)
    „three new optimization strategies plus human annotation capability are all in public preview now.“
  • 25:51 public-preview Microsoft Foundry

    Fix insights with Agent Optimizer

    Sends one or more reviewed insights to Agent Optimizer to generate improved agent candidates.

    Speaker’s quote (at 25:51)
    „we added three new capabilities in Agent Optimizer. Fix insights with Agent Optimizer, which is very obvious.“
  • 25:51 public-preview Microsoft Foundry

    Optimize skills from traces

    Learns from historical traces to create a new skill or improve an existing skill of the agent.

    Speaker’s quote (at 25:51)
    „The second one is optimize skills from traces.“
  • 26:18 public-preview Microsoft Foundry

    Optimize for cost

    Finds the lowest-cost version of an agent while maintaining a high quality bar.

    Speaker’s quote (at 26:18)
    „And the third one is optimize for cost. It will help you to find the lowest cost version of your agent“
  • 32:37 not stated Microsoft Foundry

    Fleet view

    Shows health, quality and cost of all agents and models in a project in one place.

    Speaker’s quote (at 32:37)
    „We are announcing a preview of our fleet view. So you can look at the health and quality of all your agents in one place.“
  • 35:23 not stated Microsoft Foundry

    Project budgets for agents

    Monthly or daily budgets can be set on how much agents in a project can spend.

    Speaker’s quote (at 35:23)
    „now you can put budgets in your projects on how much agents in the projects can spend.“

Demos (6)

  • 07:03 You can try it yourself Microsoft Foundry

    An agent developer inspects traces and builds a golden evaluation dataset for an investment agent using synthetic generation and live traces.

    Steps (7)
    1. Open the agent traces tab and select a conversation to view trajectory, duration and tokens.
    2. Switch to the user view to see the question, response and metadata, and add human feedback annotations.
    3. Optionally open the graphical trace view and apply custom attribute filters to select traces.
    4. Go to Data in the navigation and choose synthetic data generation.
    5. Enter a prompt describing the scenarios to cover (e.g. happy path), select the agent hosted in Foundry, a generation model and the number of items (15).
    6. Review generated items with description, query and expected result.
    7. Alternatively select relevant live traces and send them to the dataset, optionally enabling test-case rubrics with a chosen model.

    Prerequisites: A Foundry project with a connected Application Insights resource, an agent (hosted in Foundry for automatic context) and a model deployment for generation.

  • 10:54 You can try it yourself Microsoft Foundry

    Measure the quality of an investment agent before and after launch using auto-generated rubric evaluators on a golden dataset and on live traffic.

    Steps (6)
    1. Create a rubric evaluator, give it a name and choose Quality (or Safety).
    2. Select auto-generate rubric, a model and the target agent; optionally add attachments such as product specs and live traces as examples.
    3. Review the generated rubric dimensions (for quality: retrieval, citations, conflict handling; for safety: prompt injection).
    4. Create a one-time evaluation: pick the agent, individual turns or full conversation, the synthetic dataset, the judge model and the custom evaluator (or from about 60 built-in evaluators).
    5. Run it as an offline evaluation and inspect the score and per-item failure reasons.
    6. Set up the same evaluator on live traffic: hourly schedule, random sampling of 100 traces per evaluation and a model, then review the live score.

    Prerequisites: A Foundry agent, a dataset, a model deployment for rubric generation and judging, and live traffic traces for continuous evaluation.

  • 19:32 You can try it yourself Microsoft Foundry

    An agent owner finds and verifies a recurring answer-generation issue (overconfident decisions without evidence) in a portfolio review agent using insights.

    Steps (7)
    1. Open the Insights tab and go to Settings; select a judge model.
    2. Run insights on demand or enable scheduled analysis and set the frequency.
    3. Open the insights page and select an insight to read its details.
    4. Open the linked traces and check the user view to verify the issue.
    5. Use the Annotation tab to add annotations to the trace and review history.
    6. In Settings, choose priority categories, add a custom category and write instructions describing what to flag and the expected behaviour.
    7. Open the metrics dashboard and group insights by category or severity to decide what to fix first.

    Prerequisites: A Foundry agent with production traces and a judge model deployment.

  • 26:46 You can try it yourself Microsoft Foundry

    Turn verified insights into improved agent versions and choose which candidate to promote to production.

    Steps (7)
    1. On the insights page click the Fix Insight button (top right).
    2. In Create optimization run review the agent name, target version, optimization and evaluation models and maximum number of candidates; adjust if needed.
    3. To fix several issues, click Select insights, choose multiple insights and click Fix.
    4. Wait for the job (minutes to hours depending on configuration).
    5. On the results page compare candidates against the baseline score and the insights improved column.
    6. Open run details for a candidate and view per-row pass/fail with rubric explanations.
    7. Promote the chosen candidate to production as a new agent version.

    Prerequisites: Generated insights for a Foundry agent and available model deployments for optimization and evaluation.

  • 33:04 Not stated Microsoft Foundry

    A platform owner monitors health, quality and cost across all agents and models in a Foundry project.

    Steps (6)
    1. Open Monitor in the navigation and select the whole project or a specific agent, and the time range.
    2. Review the summary of active models and agents, runs, token usage, cost and policy violations.
    3. Review operational metrics and model usage, then click through errors to the underlying traces.
    4. In Agent quality, pick evaluators to chart scores across agents.
    5. Open Cost to see spend, month-end forecast, budgets and per-agent share.
    6. Drill into an agent cost page to view traces, cost per run and the token usage tab (cache hit rate).

    Prerequisites: A Foundry project with multiple agents, configured evaluators and optionally budgets.

  • 43:51 Not stated Microsoft Foundry

    TCS reduces token consumption and improves quality of its AKS diagnosis agent using insights and rubric-based optimization.

    Steps (6)
    1. Open the Foundry project and the AKS agent's insights.
    2. Configure priorities (cost and tokens, tool call failures).
    3. Run insights and review the skill-loading pattern insight with its proposed fix; apply the fix.
    4. Rerun insights and fix the tool-invocation payload issue targeting non-faulty pods.
    5. Define a rubric evaluator with weighted dimensions (tool use quality, task completion, task adherence).
    6. Run optimization cycles and compare candidate scores against the baseline.

    Prerequisites: A Foundry project with a traced agent and production or test telemetry.

Watch on Microsoft’s site: BRK251