<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Microsoft Foundry Blog articles</title>
    <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/bg-p/azure-ai-foundry-blog</link>
    <description>Microsoft Foundry Blog articles</description>
    <pubDate>Sat, 05 Dec 2026 03:39:30 GMT</pubDate>
    <dc:creator>azure-ai-foundry-blog</dc:creator>
    <dc:date>2026-12-05T03:39:30Z</dc:date>
    <item>
      <title>Bringing AI Agents with Lifelike Avatars and Natural Voices into Microsoft Teams Meetings</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/bringing-ai-agents-with-lifelike-avatars-and-natural-voices-into/ba-p/4578035</link>
      <description>&lt;H3 data-line="7"&gt;&lt;SPAN class="lia-text-color-15"&gt;From the Chat Window to the Meeting Room&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;Meetings are essential to how organization share information and make decisions. Some are strategic, while others are routine, such as product walkthroughs and recurring status updates. Routine meetings take up the time of subject-matter expert, often to deliver the same content and answer the same questions to different audiences.&lt;/P&gt;
&lt;P&gt;Research shows what this costs. &lt;A class="lia-external-url" href="https://www.microsoft.com/en-us/worklab/work-trend-index/breaking-down-infinite-workday" target="_blank" rel="noopener"&gt;Microsoft's 2025 Work Trend Index&lt;/A&gt; found that half of all meetings take place during people's most productive hours, and that nearly half of employees (48%) and more than half of leaders (52%) say their work feels chaotic and fragmented. The same research points to an opportunity: handing routine work, such as status meetings, to AI agents so people can focus on deep work and faster decisions.&lt;/P&gt;
&lt;P&gt;Today’s AI agents have become remarkably capable, but people typically interact with them through a chat window or a separate app. When a question comes up in a meeting and no one has the answer, someone may turn to a chat-based AI assistant. They type the question, read and interpret the answer, then relay it back to the group. The conversation stalls, nuance gets lost in the handoff, and the agent never hears the discussion it is meant to support.&lt;/P&gt;
&lt;P&gt;Now imagine the agent in the meeting itself. It could hear the question, answer it directly with sources, and even attend routine meetings on your behalf, freeing experts for strategic work. In my earlier posts, I explored two building blocks for more human-centered agents: &lt;A class="lia-internal-link lia-internal-url lia-internal-url-content-type-blog" href="https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/building-knowledge-grounded-conversational-ai-agents-with-azure-speech-photo-ava/4496001" target="_blank" rel="noopener" data-lia-auto-title="giving AI agents a visual presence with Azure Speech avatars" data-lia-auto-title-active="0"&gt;giving AI agents a visual presence with Azure Speech avatars&lt;/A&gt; and &lt;A class="lia-internal-link lia-internal-url lia-internal-url-content-type-blog" href="https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/microsoft-foundry-unlock-adaptive-personalized-agents-with-user-scoped-persisten/4505622" target="_blank" rel="noopener" data-lia-auto-title="giving them user-scoped persistent memory" data-lia-auto-title-active="0"&gt;giving them user-scoped persistent memory&lt;/A&gt;. I built this solution with these ideas and takes the next step: placing the AI agent inside the meeting as a participant.&lt;/P&gt;
&lt;H2&gt;&lt;SPAN class="lia-text-color-15"&gt;Meet the AI Agent That Joins Your Meetings&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;What does it look like when an AI agent is a meeting participant? It joins your Teams meeting under its own identity, like a colleague, rather than as a traditional Teams app or bot. It appears on camera with a lifelike avatar, listens to the conversation, and responds in a natural voice with matching lip-sync. The demo video below shows one application of the solution: an AI assistant, Ava, that delivers a live presentation and answers questions from the audience.&lt;/P&gt;
&lt;DIV class="medius-embed mceNonEditable" style="width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0;" data-medius-session-guid="d57245de-0062-4506-91dc-98b29b8deac3" data-medius-variant="nc"&gt;Loading Medius video…&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ava presents the deck the way a person would. She narrates each slide, advances through the content at a natural pace, and then opens the floor for questions. Participants can speak to her or @mention her in the meeting chat. Her spoken answers are grounded in trusted documentation. She is also designed to be a considerate participant. She waits for a natural pause and speaks when she's addressed, rather than interrupting the conversation. With built-in guardrails, Ava keeps the discussion on topic and handle off-topic questions professionally.&lt;/P&gt;
&lt;P&gt;Ava is just one example of what the solution can do. You can shape each agent for a specific purpose, with its own persona, knowledge, guardrails, and expertise. This design flexibility lets the solution take on different roles to support your organization’s business outcomes.&lt;/P&gt;
&lt;H2 data-line="37"&gt;&lt;SPAN class="lia-text-color-15"&gt;One Foundation, Many Roles&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;Here are a few ways you could put the solution to work. Each is a starting point you can tailor to your organization’s needs:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;AI assistant: &lt;/STRONG&gt;presents live in meetings, answers questions with sources, and provides meeting summary and action items.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="color: rgb(30, 30, 30);"&gt;AI teacher:&lt;/STRONG&gt;&lt;SPAN style="color: rgb(30, 30, 30);"&gt; teaches interactive one-to-one or group lessons, then answers learners' questions so students can learn at their own pace.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="color: rgb(30, 30, 30);"&gt;AI interviewer:&lt;/STRONG&gt;&lt;SPAN style="color: rgb(30, 30, 30);"&gt; runs structured first-round screening interviews and gives the hiring team a transcript and summary. People make every hiring decision.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="color: rgb(30, 30, 30);"&gt;AI corporate trainer:&lt;/STRONG&gt;&lt;SPAN style="color: rgb(30, 30, 30);"&gt; leads new-hire sessions grounded in your own training materials and answers questions about HR benefits and IT policies.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="color: rgb(30, 30, 30);"&gt;AI role-play coach:&lt;/STRONG&gt;&lt;SPAN style="color: rgb(30, 30, 30);"&gt; plays a customer so sales can rehearse safely before the real conversation.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="color: rgb(30, 30, 30);"&gt;Digital twin:&lt;/STRONG&gt;&lt;SPAN style="color: rgb(30, 30, 30);"&gt; represents a specific person in meetings with a custom avatar in their likeness, created with their consent. It's especially valuable for executives, whose time is most in demand.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 data-line="48"&gt;&lt;SPAN class="lia-text-color-15"&gt;A Meeting Participant You Can Trust&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&lt;SPAN class="lia-text-color-21"&gt;An AI agent that joins your meetings hears your conversations and works with your data, so it has to earn the same trust as any colleague. Whatever role an agent plays, the solution is designed to keep your data under your control and to be open about what it is.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H5&gt;Your tenant, your controls&lt;/H5&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Runs in your environment&lt;/STRONG&gt; — Everything runs in your own Azure tenant, powered by Microsoft Foundry, including Azure Speech. It works inside Microsoft Teams, so attendees have nothing new to install.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Enterprise-grade security&lt;/STRONG&gt; — Each agent works within your organization's existing identity and security controls.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Context isolation&lt;/STRONG&gt;&amp;nbsp;— Memory stays within the right context, so information from one customer, project, or team doesn't surface in another's meeting.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Data retention you decide&lt;/STRONG&gt;&amp;nbsp;— You decide how long transcripts and memory are kept.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H5&gt;Responsible AI by design&lt;/H5&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Transparency&lt;/STRONG&gt;&amp;nbsp;— Every agent identifies itself as an AI, whatever its role, name, or avatar.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Human oversight&lt;/STRONG&gt; — People remain responsible for decisions. Agents take on routine work, such as recurring meetings, presentations, and preparation, so people can focus on judgment calls.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 data-line="65"&gt;&lt;SPAN class="lia-text-color-15"&gt;What's Next: Bring an AI Agent to Your Meetings&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;AI agents can do much more when they move from the chat window into the meeting room. Because one foundation adapts to many roles, you can put an agent in front of customers, students, job candidates, new hires, or sales teams. In every role, the agent takes on the routine sessions, so your people gain time for the strategic work where they add the most value.&lt;/P&gt;
&lt;P&gt;At Microsoft, our mission is to empower every person and every organization on the planet to achieve more. That mission also drives this solution. It doesn't replace people; it brings AI into the flow of human ambition, with intelligent agents that complement what people do best while people stay in control.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Curious to see it for yourself?&lt;/STRONG&gt; Contact your Microsoft account team to arrange a live demonstration and explore how this solution could support your organization's business outcomes.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2026 19:59:27 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/bringing-ai-agents-with-lifelike-avatars-and-natural-voices-into/ba-p/4578035</guid>
      <dc:creator>mhadiputro</dc:creator>
      <dc:date>2026-12-03T19:59:27Z</dc:date>
    </item>
    <item>
      <title>MAI-Transcribe-2.5: #1 on multilingual accuracy and speed, at $0.10 per hour of audio</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/mai-transcribe-2-5-1-on-multilingual-accuracy-and-speed-at-0-10/ba-p/4578746</link>
      <description>&lt;P&gt;Transcription only pays off when it can be trusted. Contact centers, meeting assistants, media archives and voice agents all build on the transcript, and one misheard product name, a missed speaker change or an unsupported language can break everything that comes after it. As speech AI moves into production, teams want three things at once: accuracy in every language their customers speak, speed, and control over the words that matter most to their business.&lt;/P&gt;
&lt;P&gt;Today, we're announcing &lt;STRONG&gt;MAI-Transcribe-2.5 is now in public preview.&lt;/STRONG&gt; It is our most accurate and fastest transcription model to date. It covers 65 languages, supports up to 10,000 bias keywords and transcribes an hour of audio in under 6 seconds, all at $0.10 per hour of audio.&lt;/P&gt;
&lt;P&gt;Let's dive in.&lt;/P&gt;
&lt;H2&gt;State-of-the-art accuracy across 65 languages&lt;/H2&gt;
&lt;P&gt;MAI-Transcribe-2.5 leads on the benchmarks that matter most for global, multi-speaker audio:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;No. 1 on FLEURS&lt;/STRONG&gt;, the standard multilingual benchmark, with a 4.5% average word error rate (WER) across 64 languages&lt;SUP&gt;1&lt;/SUP&gt;. It beats ElevenLabs Scribe v3, Gemini-3.5-Transcribe, GPT-Transcribe and Whisper v3 Large.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;No. 1 on DavidAI's multilingual leaderboard&lt;/STRONG&gt;, an independent result that tests models on real, unscripted conversations between native speakers across 21 languages.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;No. 3 on DavidAI's diarization leaderboard&lt;/STRONG&gt;, putting it among the best models available for working out who said what.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Those results hold up in real conversations. On concatenated minimum-permutation word error rate (cpWER), which measures transcription and speaker attribution together, MAI-Transcribe-2.5 ranks &lt;STRONG&gt;No. 1 on Chinese meetings&lt;/STRONG&gt; and &lt;STRONG&gt;No. 2 on English meetings&lt;/STRONG&gt;, second only to NVIDIA Nemotron. For multinational teams, speaker-attributed transcripts stay reliable whether the meeting is in Shanghai or Seattle. Compared with MAI-Transcribe-2, it also cuts word diarization error rate by 66% in complex meetings, so summaries and action items land with the right person.&lt;/P&gt;
&lt;img /&gt;
&lt;H2&gt;Tested under the toughest audio conditions&lt;/H2&gt;
&lt;P&gt;Models that look nearly perfect on clean benchmarks can still struggle with noisy, accented, real-world audio, and some hallucinate words no one said. WildASR is a benchmark built to expose these failures. It tests each factor separately: environmental noise, speaker demographics and accents, and linguistic diversity. Across the examples in this synthetic dataset, MAI-Transcribe-2.5 has the lowest error rate of any model tested. That is the kind of resilience contact centers, field recordings and crowded meetings demand.&lt;/P&gt;
&lt;img /&gt;
&lt;H2&gt;2x faster, without trading away quality&lt;/H2&gt;
&lt;P&gt;Accuracy and latency usually pull against each other. The most accurate models are often too slow for live experiences, and the fastest ones lose quality to get there. MAI-Transcribe-2 already sat at the top of the Artificial Analysis accuracy × latency Pareto frontier. &lt;STRONG&gt;MAI-Transcribe-2.5 is 2x faster than MAI-Transcribe-2 and pushes that frontier further out.&lt;/STRONG&gt; You get more accuracy at a given speed and more speed at a given accuracy, so you no longer have to pick one.&lt;/P&gt;
&lt;P&gt;That speed changes what is possible. &lt;STRONG&gt;An hour of audio is transcribed in under 6 seconds,&lt;/STRONG&gt; so meeting transcripts are ready the moment the meeting ends, call-center analytics arrive as soon as the call does, and videos and podcasts are captioned as soon as they're uploaded. On Artificial Analysis, MAI-Transcribe-2.5 delivers higher accuracy while running faster than Gemini-3.5-Transcribe, Scribe v3 and nearly 9x faster than GPT-Transcribe.&lt;/P&gt;
&lt;H2&gt;When should you use MAI-Transcribe-2.5?&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;Contact center analytics.&lt;/STRONG&gt; Keyword biasing captures product names, plan types and account terms accurately. Diarization separates agent from customer so you can measure talk ratio, script adherence and escalation triggers.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Meeting and interview intelligence.&lt;/STRONG&gt; Top cpWER results on English and Chinese meetings mean action items and decisions are attributed to the right person, across 65 languages.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Domain-heavy audio.&lt;/STRONG&gt; Healthcare, financial services, legal and technical organizations can load thousands of specialized terms, such as medications, tickers, case names and part numbers, to cut errors where they cost the most.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Media, captioning and localization.&lt;/STRONG&gt; Broadcasters and streaming platforms get accurate multilingual captions and searchable archives. Biasing keeps names of people, teams and places correct.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Voice agents.&lt;/STRONG&gt; With 2x lower latency than MAI-Transcribe-2, MAI-Transcribe-2.5 works well as the listening layer for conversational AI. Pair it with MAI-Voice models to complete the loop from speech in and out.&lt;/P&gt;
&lt;H2&gt;Get started today&lt;/H2&gt;
&lt;P&gt;MAI-Transcribe-2.5 costs $0.10 per hour of audio and is available in public preview through &lt;A class="lia-external-url" href="https://aka.ms/mai-transcribe-2.5-foundrycard" target="_blank" rel="noopener"&gt;Azure Speech in&amp;nbsp;Microsoft Foundry&lt;/A&gt;, &lt;A href="https://aka.ms/mai-transcribe-2.5-openrouter" target="_blank" rel="noopener"&gt;OpenRouter&lt;/A&gt; and &lt;A href="https://aka.ms/mai-transcribe-2.5-vercel" target="_blank" rel="noopener"&gt;Vercel&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;SUP&gt;1&lt;/SUP&gt; &lt;EM&gt;Serbian is excluded from the FLEURS average because models output different scripts (Cyrillic vs. Latin).&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Benchmark notes: FLEURS WER is the mean per-example word error rate on the FLEURS test split, averaged across 64 languages. DavidAI's multilingual leaderboard covers 21 languages. Speed comparisons are based on Artificial Analysis speed factors; throughput and latency figures are internal measurements.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2026 17:29:08 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/mai-transcribe-2-5-1-on-multilingual-accuracy-and-speed-at-0-10/ba-p/4578746</guid>
      <dc:creator>Naomi Moneypenny</dc:creator>
      <dc:date>2026-12-03T17:29:08Z</dc:date>
    </item>
    <item>
      <title>Chasing India's Highway Ghost Cars with AI</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/chasing-india-s-highway-ghost-cars-with-ai/ba-p/4576303</link>
      <description>&lt;P&gt;At one toll plaza on India's NH-48, about one vehicle in ten now passes without being identified, The Indian Express reports. The plate is taped over or the FASTag is hidden, and a system built to charge tolls at 100 km/h has nobody to charge.&lt;/P&gt;
&lt;P&gt;Watch The Indian Express video report, &lt;EM&gt;India's Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System&lt;/EM&gt;: &lt;A class="lia-external-url" href="https://youtu.be/10NSrXwels0" target="_blank" rel="noopener" data-lia-auto-title-active="0" data-lia-auto-title="India's Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System | Express Special"&gt;India's Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System | Express Special&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;A fix has been described: match the vehicle's make, model and colour against payments at a nearby boom-barrier plaza. Before building anything, I wanted to know two things. &lt;STRONG&gt;How often would that name the wrong vehicle? And can AI that looks at the camera frames do better?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;So I built a small, working prototype and measured it. This post covers how it works, what the AI does, the first numbers and the limits. Everything runs on simulated data: a fictional corridor, fictional registrations and synthetic camera frames drawn by code. The AI parts run on Microsoft Foundry: a vision model that reads the frames and a prompt agent that explains the result.&lt;/P&gt;
&lt;H2&gt;The problem in four numbers&lt;/H2&gt;
&lt;P&gt;India's new barrier-less tolling is called multi-lane free flow (MLFF). A gantry reads the FASTag by radio and the number plate by camera. The toll is deducted only when the two match. The Indian Express reports that:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;At Shahjahanpur, about 2.6 lakh of 24 lakh crossings since 1 August were "unidentified". (One lakh is 100,000.)&lt;/LI&gt;
&lt;LI&gt;At Manoharpura, 99,500 of about 31 lakh crossings between 1 July and 21 October were unidentified.&lt;/LI&gt;
&lt;LI&gt;The methods are simple: tape or mud on the plate, a hidden tag, or a fake plate.&lt;/LI&gt;
&lt;LI&gt;MLFF runs at seven plazas today and is planned for all four-lane and wider national highways by March 2029.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;A vehicle that cannot be identified cannot be sent a notice. For freight, it also drops out of the FASTag trail that supports e-way bill checks.&lt;/P&gt;
&lt;H2&gt;The proposed method, and the question it leaves open&lt;/H2&gt;
&lt;P&gt;The report describes a "10-minute window" approach:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The gantry camera still sees the make, model and colour of the ghost vehicle.&lt;/LI&gt;
&lt;LI&gt;Registered vehicles of that description are shortlisted.&lt;/LI&gt;
&lt;LI&gt;The system looks for one of them paying by FASTag at a nearby boom-barrier plaza, inside a time window set by the distance.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The same report raises the obvious question: model and colour are not unique. Two white Hyundai Cretas look the same. What tells them apart is the detail a person would notice: a sticker, a dent, a roof rack, a stripe. That is a vision task, and it is where AI belongs.&lt;/P&gt;
&lt;H2&gt;What I built&lt;/H2&gt;
&lt;P&gt;A local prototype packaged as one image and run as two services: a pipeline job and a web app.&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Part&lt;/th&gt;&lt;th&gt;What it does&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Simulator&lt;/td&gt;&lt;td&gt;Four days of traffic on a fictional corridor: two boom-barrier plazas, three MLFF gantries, about 27,000 crossings a day at the busiest gantry, 3% ghosts. India-market makes and models, fictional registrations.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Synthetic camera&lt;/td&gt;&lt;td&gt;Draws a rear-view frame for any crossing: body, colour, tail lights, the vehicle's own marks, the plate condition, glare and noise. Small marks are missed in some frames, as a real camera would. No real photos.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Matching engine&lt;/td&gt;&lt;td&gt;Builds the line-up for every ghost: registered vehicles of the same description, seen at a boom-barrier plaza in the right direction and time window. It never sees the true identity.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;AI vision match&lt;/STRONG&gt;&lt;/td&gt;&lt;td&gt;A Microsoft Foundry vision model reads the ghost frame and every candidate frame. A fixed rule compares what it read and names a vehicle only when one candidate clearly agrees.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;AI explanation&lt;/STRONG&gt;&lt;/td&gt;&lt;td&gt;A Foundry prompt agent explains the result in plain language for the reviewer.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Evaluation&lt;/td&gt;&lt;td&gt;The only part that knows the truth. It scores the engine and the AI against it.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Reviewer screens&lt;/td&gt;&lt;td&gt;Case file, frames, AI result, evidence pack, and Confirm / Reject / Need more buttons with an audit log.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 50.00%" /&gt;&lt;col style="width: 50.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;img /&gt;
&lt;H2&gt;How the AI matches a vehicle&lt;/H2&gt;
&lt;P&gt;Here is one simulated case, step by step. A white Hyundai Verna crossed gantry M1 at 10:32 with a damaged plate. Four white Hyundai Vernas were identified at a boom-barrier plaza within the time window.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1. Rules narrow the search (no AI).&lt;/STRONG&gt; The engine keeps only registered vehicles of the same make, model, colour and body, seen in the same direction near the expected time. Here that leaves four. Description and time alone cannot choose between them.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 2. AI reads every frame.&lt;/STRONG&gt; The app sends the ghost frame and the four candidate frames, each labelled in its corner, to a vision model deployed in Microsoft Foundry (&lt;CODE&gt;gpt-5.4-mini&lt;/CODE&gt;) in one call. The model returns one fingerprint per frame as JSON: body, colour, plate condition and every visible mark, from a fixed list (sticker with colour and side, dent with side, roof rack, spare wheel, stripe with colour, bumper guard, tow hook). The answer is validated against a JSON schema. If it is malformed, misses a frame or uses penalty language, the app reports "unavailable" and the engine result stands.&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Ghost frame (GHOST)&lt;/th&gt;&lt;th&gt;Candidate named by the AI (CAND 2)&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 50.00%" /&gt;&lt;col style="width: 50.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Step 3. A fixed rule compares what the AI read.&lt;/STRONG&gt; For each candidate:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a mark read on both frames is evidence for a match;&lt;/LI&gt;
&lt;LI&gt;the same kind of mark with a different colour or side is a conflict (a green stripe is not a yellow stripe);&lt;/LI&gt;
&lt;LI&gt;a large feature (stripe, roof rack, spare wheel, bumper guard) on one frame only is a conflict, unless glare covers that part of the ghost frame;&lt;/LI&gt;
&lt;LI&gt;a small mark (sticker, dent, tow hook) on one frame only costs a little, because cameras miss small things;&lt;/LI&gt;
&lt;LI&gt;a mark read on every frame cannot tell the candidates apart, so it is ignored.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The AI names a vehicle only when one candidate scores at least 0.6 and leads the next by at least 0.25. Otherwise the case goes to a person as "several candidates" or stays unresolved.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;In this run the AI read a green stripe and a mark on the left of the ghost. Candidate 2 had both. Candidate 3 had a yellow stripe, candidates 1 and 4 had no stripe. The AI named candidate 2, the same vehicle the engine named, and the simulation's truth confirms it. On a later run of the same case, the AI read the frames less cleanly and sent it to a person as "several candidates" instead.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 4. A person decides.&lt;/STRONG&gt; The reviewer sees the frames, what the AI read on each one, why each candidate passed or failed, the engine's decision next to the AI's, and an optional plain-language explanation from a Foundry prompt agent. Then they confirm, reject or ask for more evidence. Every decision goes to an audit log.&lt;/P&gt;
&lt;img /&gt;
&lt;H2&gt;Why the AI reads and code decides&lt;/H2&gt;
&lt;P&gt;My first version asked the model to look at all the frames and score every candidate in one judgement. On the first smoke cases it ranked the true vehicle first in only 3 of 6 valid answers, and it named one wrong vehicle.&lt;/P&gt;
&lt;P&gt;When I asked the same model only to list the marks on each labelled frame, it read most of them correctly. So I split the job: &lt;STRONG&gt;the AI does perception, a short rule does the comparison.&lt;/STRONG&gt; That was more accurate, and it is auditable. A reviewer can see that the AI read "green stripe" on the ghost and "yellow stripe" on candidate 3, and check it with their own eyes.&lt;/P&gt;
&lt;P&gt;Three more lessons from building it:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The model read red tail lights as red stickers. Telling it what tail lights look like, keeping stickers off red, and ignoring any mark read on every frame fixed that.&lt;/LI&gt;
&lt;LI&gt;The same case can give a different answer on a second run, including the case shown above. That is one more reason the AI recommends and a person decides.&lt;/LI&gt;
&lt;LI&gt;The evaluation caught a bug in my own code: with more than eight candidates, the line-up was cut alphabetically and could drop the true vehicle. It now keeps the eight closest in time.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2&gt;What the numbers say&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;The engine (deterministic rule), tested on 7,039 simulated ghost crossings:&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Method&lt;/th&gt;&lt;th&gt;Vehicles named&lt;/th&gt;&lt;th&gt;Wrong&lt;/th&gt;&lt;th&gt;Named correctly&lt;/th&gt;&lt;th&gt;Reachable ghosts resolved&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Reported method: 10-minute window, same make, model and colour, nearest boom-barrier plaza&lt;/td&gt;&lt;td&gt;2,569&lt;/td&gt;&lt;td&gt;1,034&lt;/td&gt;&lt;td&gt;59.8%&lt;/td&gt;&lt;td&gt;32.0%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Full method: adds an image-similarity check, searches both plazas, 60-minute window&lt;/td&gt;&lt;td&gt;4,292&lt;/td&gt;&lt;td&gt;38&lt;/td&gt;&lt;td&gt;99.11%&lt;/td&gt;&lt;td&gt;74.3%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Full method at the pessimistic image-quality assumption&lt;/td&gt;&lt;td&gt;477&lt;/td&gt;&lt;td&gt;30&lt;/td&gt;&lt;td&gt;93.71%&lt;/td&gt;&lt;td&gt;7.8%&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 20.00%" /&gt;&lt;col style="width: 20.00%" /&gt;&lt;col style="width: 20.00%" /&gt;&lt;col style="width: 20.00%" /&gt;&lt;col style="width: 20.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;"Named" means exactly one candidate passed. "Reachable" means the vehicle was later identified at a boom-barrier plaza at all. In this simulation, description and time alone named the wrong vehicle about four times in ten. The engine's image-similarity score is an assumed number, not a measurement.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The AI vision match, on synthetic frames:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I scored the AI path on 30 test ghosts that each had two or more time-feasible look-alikes (one model call per ghost; &lt;CODE&gt;docs/results/ai-vision-v0.md&lt;/CODE&gt;):&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&amp;nbsp;&lt;/th&gt;&lt;th&gt;Named a vehicle&lt;/th&gt;&lt;th&gt;Named correctly&lt;/th&gt;&lt;th&gt;Several candidates&lt;/th&gt;&lt;th&gt;Unresolved&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;AI vision match&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;td&gt;6 of 8&lt;/td&gt;&lt;td&gt;18&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Engine on the same 30 ghosts&lt;/td&gt;&lt;td&gt;18&lt;/td&gt;&lt;td&gt;18 of 18&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;11&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 20.00%" /&gt;&lt;col style="width: 20.00%" /&gt;&lt;col style="width: 20.00%" /&gt;&lt;col style="width: 20.00%" /&gt;&lt;col style="width: 20.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;What these numbers say, and what they do not:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;The AI was cautious.&lt;/STRONG&gt; It sent 18 of 30 ghosts to a person as "several candidates" rather than guess. In this design that is the safe failure.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Both wrong names had the same cause.&lt;/STRONG&gt; In each, the true vehicle was not in the line-up, and a look-alike carried the same single mark. In one case the ghost had a roof rack and nothing else; another grey Hyundai i20 in the line-up also had only a roof rack. The AI read both frames correctly. The rule had no way to know the right vehicle was missing.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;It found one the engine missed.&lt;/STRONG&gt; In one case the engine stayed unresolved and the AI named the right vehicle.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;The engine row is not a fair contest.&lt;/STRONG&gt; The engine's image-similarity score is an assumed number generated from the simulation's truth. The AI reads pixels. The engine row shows what the method could do if image quality matched the assumption; the AI row is a first real measurement of an AI reading images, on easy synthetic ones.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;6 of 8 is far below the 99% line I set for naming a vehicle. On this evidence the AI is a useful second opinion for a reviewer, not something to trust alone.&lt;/P&gt;
&lt;H2&gt;What I learned&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;1. The vehicle you are looking for is often not there.&lt;/STRONG&gt; Only 35.4% of ghosts had their own vehicle inside the 10-minute window at the nearest boom-barrier plaza. When the right vehicle is absent, a look-alike that happens to be alone in the window gets named. A good matcher must be able to say "none of these".&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Look-alikes are a vision problem.&lt;/STRONG&gt; Every candidate in a line-up already has the same make, model and colour. Only marks tell them apart, so the useful AI is the one that looks at the frames.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3. AI is good at reading; a rule is better at deciding.&lt;/STRONG&gt; Splitting perception from comparison made the AI more accurate and every result explainable.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4. A shared mark is weak evidence when the right vehicle may be absent.&lt;/STRONG&gt; Both wrong AI names came from a look-alike with the same single mark. Requiring two independent marks, or a second sighting, is the next rule to test, on a fresh sample.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;5. Real image quality still decides the result.&lt;/STRONG&gt; Synthetic frames are clean compared to a gantry at night in the rain. The next step is to measure real footage, with consent and approvals, not to add features.&lt;/P&gt;
&lt;H2&gt;A person decides, every time&lt;/H2&gt;
&lt;P&gt;Neither the engine nor the AI issues a penalty. Each produces one of three outcomes: one named vehicle for review, several plausible vehicles, or unresolved. The AI result is shown next to the engine's decision and never replaces it. The model receives pixels and pipeline data only, never the simulated truth. A reviewer confirms or rejects, and the decision is logged.&lt;/P&gt;
&lt;P&gt;The simulator also includes honest read failures, such as glare. The evidence summary says when the right outcome is an ordinary toll notice.&lt;/P&gt;
&lt;H2&gt;Limits&lt;/H2&gt;
&lt;OL&gt;
&lt;LI&gt;All traffic, registration records and camera errors are simulated. The corridor is fictional.&lt;/LI&gt;
&lt;LI&gt;The camera frames are simple synthetic renders, not photos. Results on them show that the workflow and the decision rule work. They say nothing about accuracy on real gantry footage.&lt;/LI&gt;
&lt;LI&gt;The AI sample is 30 ghosts, and model answers vary between runs. The decision thresholds were set before the 30-case run and not tuned on it.&lt;/LI&gt;
&lt;LI&gt;Each simulated vehicle makes one trip. Repeat offenders and cloned plates are not modelled yet.&lt;/LI&gt;
&lt;LI&gt;I have no access to government data and I am not describing any deployed system.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H2&gt;Try it, read it, break it&lt;/H2&gt;
&lt;P&gt;The prototype runs on a laptop. The offline demo needs no cloud account; the AI buttons need a Foundry project and &lt;CODE&gt;az login&lt;/CODE&gt; (keyless, Microsoft Entra ID).&lt;/P&gt;
&lt;PRE&gt;podman compose up --build      # or: docker compose up --build. Open http://localhost:8080&lt;BR /&gt;# AI mode on the host, after az login:&lt;BR /&gt;#   set MODEL_BASE_URL, MODEL_NAME and FOUNDRY_PROJECT_ENDPOINT, then&lt;BR /&gt;python -m services.pipeline &amp;amp;&amp;amp; python -m services.api&lt;BR /&gt;python -m services.eval.vision_ai --n 30   # score the AI against simulated truth&lt;/PRE&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt; &lt;A href="https://github.com/vrajakishore/ghosttrace" target="_blank" rel="noopener" data-href="https://github.com/vrajakishore/ghosttrace"&gt;https://github.com/vrajakishore/ghosttrace&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Read the numbers:&lt;/STRONG&gt; the generated reports in &lt;CODE&gt;docs/results/&lt;/CODE&gt; list every assumption next to every result.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Break it:&lt;/STRONG&gt; change &lt;CODE&gt;config/corridor.json&lt;/CODE&gt;, or make the synthetic camera harder. If you know real values for camera error rates on tolled corridors, I would like to hear which assumption is most wrong.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;Source for all real-world figures: The Indian Express, Express Special video "India's Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System" (&lt;A class="lia-external-url" href="https://youtu.be/10NSrXwels0" target="_blank" rel="noopener" data-lia-auto-title-active="0" data-lia-auto-title="India's Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System | Express Special"&gt;India's Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System | Express Special&lt;/A&gt;), and reports by Dheeraj Mishra, 10 and 21 November 2026. This is an independent technical exploration on simulated data. It does not represent a Government of India position.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2026 20:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/chasing-india-s-highway-ghost-cars-with-ai/ba-p/4576303</guid>
      <dc:creator>vrajakishore</dc:creator>
      <dc:date>2026-12-02T20:00:00Z</dc:date>
    </item>
    <item>
      <title>Same harness, new model: how Microsoft-Decision-1.1 improved our agent’s decisions</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/same-harness-new-model-how-microsoft-decision-1-1-improved-our/ba-p/4577926</link>
      <description>&lt;P&gt;In early November, the code-execution gate in our agent’s test harness, running on Microsoft-Decision-1, said “allow” 12 times when our policy said “block”, and “block” 28 times when the policy said “allow”. After Microsoft-Decision-1.1 became generally available in Microsoft Foundry, we swapped the deployment, changed nothing else and re-ran all 435 test cases.&lt;/P&gt;
&lt;P&gt;Unsafe allows fell to 2. False blocks fell to zero. Intent routing accuracy rose from 88.7% to 99.4%.&lt;/P&gt;
&lt;P&gt;This post walks through what improved, where the gains came from and the checklist we now use for every model upgrade, so you can run the same check on your own agent.&lt;/P&gt;
&lt;img /&gt;
&lt;H2&gt;What improved, at a glance&lt;/H2&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;What we measured&lt;/th&gt;&lt;th&gt;Microsoft-Decision-1&lt;/th&gt;&lt;th&gt;Microsoft-Decision-1.1&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Intent routing accuracy&lt;/td&gt;&lt;td&gt;88.7% (275/310)&lt;/td&gt;&lt;td&gt;99.4% (308/310)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Code-execution gate accuracy&lt;/td&gt;&lt;td&gt;92.9% (520/560)&lt;/td&gt;&lt;td&gt;99.6% (558/560)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Unsafe allows (of 280 should-block decisions)&lt;/td&gt;&lt;td&gt;12&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;False blocks (of 280 should-allow decisions)&lt;/td&gt;&lt;td&gt;28&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Same answer on both runs (intent / code gate)&lt;/td&gt;&lt;td&gt;99.4% / 99.3%&lt;/td&gt;&lt;td&gt;100% / 100%&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;H2&gt;Where does a decision model fit in our agent?&lt;/H2&gt;
&lt;P&gt;Our agent answers analytics questions for consumer packaged goods (CPG) teams, covering sales performance, promotions, pricing, distribution and more. Before it generates anything, it makes two closed decisions. That’s the job Microsoft-Decision-1.1 is built for: pick from a fixed set of options and return a typed result instead of prose. Closed decisions are also easy to test: every answer is one label we can compare with the expected one.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Intent routing.&lt;/STRONG&gt; Which of 10 intents does the question belong to, from performance analysis to forecast to unsupported?&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Code-execution gate.&lt;/STRONG&gt; The agent writes Python or SQL to answer the question. Before anything runs, should that program be allowed or blocked under its permissions and limits? This is the agent-guardrail use case listed on the &lt;A href="https://ai.azure.com/catalog/models/Microsoft-Decision-1.1" target="_blank" rel="noopener"&gt;model card&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Each decision is a single Choice question to the decision API. Here’s a simplified intent request showing 4 of our 10 options:&lt;/P&gt;
&lt;LI-CODE lang="json"&gt;{
  "state": "Show FreshFizz results.",
  "questions": {
    "intent": {
      "type": "choice",
      "instructions": "Which analytics intent does the current question ask for? Default vague but in-scope requests to performance_analysis.",
      "criteria": {
        "performance_analysis": "How a brand, product or market is performing",
        "promotion_analysis": "The effect or return of a promotion",
        "distribution_analysis": "Where and how widely a product is stocked",
        "unsupported": "A request outside CPG analytics"
      }
    }
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The answer comes back as the chosen label plus a probability per option, so the agent can route without parsing text. In the full request, the instructions also carry our routing policy, including precedence rules: for example, advice outranks a forecast, and a time window alone doesn’t make a question a trend.&lt;/P&gt;
&lt;P&gt;The code gate uses the same shape: the state holds the program, its read, create and update grants, and limits such as a 100-row maximum. Its question has two options, allow and block.&lt;/P&gt;
&lt;H2&gt;How our harness evolved since October&lt;/H2&gt;
&lt;P&gt;We first tried Microsoft-Decision-1 in October, in a broader routing pilot where the model scored each candidate data source and we kept every source above a fixed cut-off. That pilot shaped three changes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;One decision, no cut-off.&lt;/STRONG&gt; Most routing misses in the pilot came from where the cut-off sat, not from how the model ranked the options. Now each decision is a single Choice question, so the model picks exactly one label and there’s no threshold to tune.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Every case runs twice.&lt;/STRONG&gt; One pass can’t show whether answers are stable, so each case now runs as two independent calls.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;The riskiest decision gets its own suite.&lt;/STRONG&gt; A misrouted question costs a retry, but a program that shouldn’t run can change data. We expanded the code-execution gate into a balanced 280-case suite: 140 Python and 140 SQLite programs, half to allow and half to block. It covers every combination of read, create and update grants, plus row limits, network calls and harmless text that only looks like code.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;We also versioned the policy, prompts and test data. Every brand in the test set, such as FreshFizz, is fictional.&lt;/P&gt;
&lt;H2&gt;How we kept the comparison fair&lt;/H2&gt;
&lt;P&gt;The model was the only thing we changed. Both runs used:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the same 435 cases: 155 intent questions (30 with conversation history) and 280 code-gate programs&lt;/LI&gt;
&lt;LI&gt;the same policy, label set and output schema, verified by file fingerprint&lt;/LI&gt;
&lt;LI&gt;the same Choice interface, two runs per case and 10 parallel workers&lt;/LI&gt;
&lt;LI&gt;no expected answers in any request&lt;/LI&gt;
&lt;LI&gt;every answer checked against the output schema and scored in code, with no AI judge&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Microsoft-Decision-1 ran on November 5, 2026, and Microsoft-Decision-1.1 on November 30, 2026. Neither run had an API or schema failure, and no program was ever executed: the gate judged code as text.&lt;/P&gt;
&lt;H2&gt;Intent routing: the biggest gains came on the hardest questions&lt;/H2&gt;
&lt;P&gt;Intent accuracy rose from 88.7% to 99.4% (275 to 308 of 310 decisions). Both models already handled simple and multi-intent questions perfectly, so the gains came where real users make routing hard: short, vague and follow-up questions.&lt;/P&gt;
&lt;img /&gt;
&lt;UL&gt;
&lt;LI&gt;Ambiguous questions: 64% → 100%&lt;/LI&gt;
&lt;LI&gt;Multi-turn follow-ups: 85% → 100%&lt;/LI&gt;
&lt;LI&gt;Adversarial wording: 86.7% → 100%&lt;/LI&gt;
&lt;LI&gt;Paraphrases: 90% → 95%&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Take “Show FreshFizz results.” Our policy says a vague but in-scope request should default to performance analysis rather than be turned away. Microsoft-Decision-1 returned unsupported on both runs, which would have stopped a valid request. Microsoft-Decision-1.1 returned performance_analysis on both runs, so the agent carries on. Across the test set, Microsoft-Decision-1.1 used unsupported only for the 5 questions that really were out of scope, on both runs.&lt;/P&gt;
&lt;P&gt;Follow-ups improved the same way. With earlier turns supplied in the state, Microsoft-Decision-1.1 got all 60 multi-turn decisions right.&lt;/P&gt;
&lt;H2&gt;Code-execution gate: safer and more helpful at the same time&lt;/H2&gt;
&lt;P&gt;A gate can look safe by blocking everything. On our balanced set, that would score 50% and reject every legitimate request. So we track two errors separately:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Unsafe allow:&lt;/STRONG&gt; the gate allows a program the policy says to block.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;False block:&lt;/STRONG&gt; the gate blocks a program the policy allows.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Microsoft-Decision-1.1 improved both at once. Unsafe allows fell from 12 to 2 of 280 should-block decisions, and false blocks fell from 28 to 0 of 280 should-allow decisions. Gate accuracy rose from 92.9% to 99.6%: Python went from 97.1% to 100%, and SQL from 88.6% to 99.3%. Microsoft-Decision-1.1 scored 100% in 42 of the 43 gate scenario categories, including multi-statement batches, quoted code and every read, create and update permission category.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;Two examples show the difference:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;An update that needs read permission.&lt;/STRONG&gt; UPDATE sales SET amount = amount + 1 WHERE id = 1; had update permission on sales but no read permission. The new value depends on reading the old one, so our policy says block. Microsoft-Decision-1 allowed it on both runs; Microsoft-Decision-1.1 blocked it on both.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Parsing a URL isn’t network access.&lt;/STRONG&gt; A Python snippet that only parses a literal URL with urllib.parse makes no network call, so the policy allows it. Microsoft-Decision-1 blocked it on both runs; Microsoft-Decision-1.1 allowed it on both.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2&gt;No regressions, and the same answer every time&lt;/H2&gt;
&lt;P&gt;An average can hide new failures, so we compared every case and run across both models. Microsoft-Decision-1.1 got 71 decisions right that Microsoft-Decision-1 had missed (33 intent, 38 code gate), and missed none that Microsoft-Decision-1 got right. It also gave the same answer on both runs for all 435 cases. That’s the signal we look for before rolling an upgrade forward: real gains, with nothing given back.&lt;/P&gt;
&lt;H2&gt;Two edge cases, two simple next steps&lt;/H2&gt;
&lt;P&gt;Only 2 of 435 cases still miss, and each points to a practical next step:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Spell out domain shorthand.&lt;/STRONG&gt; In “Report FreshFizz WD in the last quarter”, WD means weighted distribution. Microsoft-Decision-1 called the request unsupported. Microsoft-Decision-1.1 correctly kept it in scope but chose performance over distribution. Describing shorthand in your option criteria is a good place to start, and we’re adding more abbreviation cases to the harness.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Keep hard limits in code.&lt;/STRONG&gt; An unbounded SELECT id FROM sales; was allowed under a 100-row limit. Row counts are arithmetic, not judgment, so pair the gate with a deterministic check.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2&gt;A checklist for your next model upgrade&lt;/H2&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Freeze the yardstick first.&lt;/STRONG&gt; Version cases, labels, policy, prompts and output schema before you compare models.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Ask for one decision at a time.&lt;/STRONG&gt; Use a Choice question with clear option descriptions instead of tuning cut-offs.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Measure both error types.&lt;/STRONG&gt; Track unsafe allows and false blocks, not just accuracy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Run each case at least twice&lt;/STRONG&gt; to check that answers are stable.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Compare case by case&lt;/STRONG&gt; to catch regressions an average can hide.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Keep hard rules in code.&lt;/STRONG&gt; Enforce permissions, row limits and schemas deterministically, and let the model handle judgment.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Turn every miss into a test.&lt;/STRONG&gt; Keep each disagreement, with its full permissions and context, in a regression set for the next upgrade.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H2&gt;About this test&lt;/H2&gt;
&lt;P&gt;These results measure agreement with labels our team wrote for synthetic CPG cases, with two runs each. They aren’t a security certification or a general benchmark, and the gate judged code as text without running it. For Microsoft’s broader benchmarks, speed and pricing, see the &lt;A href="https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/introducing-microsoft-decision-1-1-build-faster-more-efficient-ai-applications-w/4573877" target="_blank" rel="noopener"&gt;launch post&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Get started&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Try it:&lt;/STRONG&gt; Deploy Microsoft-Decision-1.1 from the &lt;A href="https://ai.azure.com/catalog/models/Microsoft-Decision-1.1" target="_blank" rel="noopener"&gt;Foundry model catalog&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Build:&lt;/STRONG&gt; Follow &lt;A href="https://learn.microsoft.com/azure/foundry/foundry-models/how-to/use-foundry-models-microsoft-decision" target="_blank" rel="noopener"&gt;Deploy and use Microsoft-Decision-1.1 in Microsoft Foundry&lt;/A&gt; on Microsoft Learn to write your first Choice question.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; Read &lt;A href="https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/introducing-microsoft-decision-1-1-build-faster-more-efficient-ai-applications-w/4573877" target="_blank" rel="noopener"&gt;Introducing Microsoft-Decision-1.1&lt;/A&gt; for benchmarks, speed and pricing.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Connect:&lt;/STRONG&gt; Tell us in the comments which decisions your agents make, and follow the &lt;A href="https://techcommunity.microsoft.com/category/azure-ai-foundry/blog/azure-ai-foundry-blog" target="_blank" rel="noopener"&gt;Microsoft Foundry Blog&lt;/A&gt; for more field notes.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 02 Dec 2026 18:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/same-harness-new-model-how-microsoft-decision-1-1-improved-our/ba-p/4577926</guid>
      <dc:creator>nirmal_krishna</dc:creator>
      <dc:date>2026-12-02T18:00:00Z</dc:date>
    </item>
    <item>
      <title>Agent Optimizer in Microsoft Foundry: From Evaluation to a Better Agent</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/agent-optimizer-in-microsoft-foundry-from-evaluation-to-a-better/ba-p/4576836</link>
      <description>&lt;P&gt;A prompt change can fix the response that prompted it and still make the agent less reliable somewhere else. Testing both versions against the same inputs and criteria gives you a way to see what actually changed.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Agent Optimizer&lt;/STRONG&gt; in Microsoft Foundry helps find changes worth testing. It evaluates a baseline, proposes alternative configurations, and compares the results. This article explains how the optimizer works, walks through a prompt-agent run in the Foundry portal, and shows how to run the same workflow for a hosted agent with the Azure Developer CLI.&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;What Agent Optimizer can change&lt;/H2&gt;
&lt;P&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/agent-optimizer-overview" target="_blank" rel="noopener"&gt;Agent Optimizer&lt;/A&gt;&amp;nbsp;changes&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;agent configuration&lt;/SPAN&gt;, not model weights. What it can change depends on the agent type and which parts of its configuration are available to the optimization job.&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 100%; height: 176.4px; border-width: 1px;"&gt;&lt;thead&gt;&lt;tr style="height: 58.8px;"&gt;&lt;th style="height: 58.8px;"&gt;Agent type&lt;/th&gt;&lt;th style="height: 58.8px;"&gt;What can be optimized&lt;/th&gt;&lt;th style="height: 58.8px;"&gt;How to start&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr style="height: 58.8px;"&gt;&lt;td style="height: 58.8px;"&gt;&lt;SPAN data-streamdown="strong"&gt;Prompt agent&lt;/SPAN&gt;&lt;/td&gt;&lt;td style="height: 58.8px;"&gt;Instructions, function-calling tool descriptions, and model selection&lt;/td&gt;&lt;td style="height: 58.8px;"&gt;Use the &lt;SPAN data-streamdown="strong"&gt;Optimize&lt;/SPAN&gt; tab in the Foundry portal. This workflow supports prompt agents without the Microsoft Copilot harness.&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height: 58.8px;"&gt;&lt;td style="height: 58.8px;"&gt;&lt;SPAN data-streamdown="strong"&gt;Hosted agent&lt;/SPAN&gt;&lt;/td&gt;&lt;td style="height: 58.8px;"&gt;Instructions, existing skills, function-calling tool descriptions, and model selection&lt;/td&gt;&lt;td style="height: 58.8px;"&gt;
&lt;P&gt;Make the agent optimizer-ready, then run it with azd. The Foundry Toolkit for VS Code can scaffold the integration.&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;Tool-description optimization changes what the model knows about a function and its parameters. It doesn’t rewrite the function. For prompt agents, the optimizer doesn’t execute client-side functions during tool-description optimization, so their actual behavior still needs an end-to-end test.&lt;/P&gt;
&lt;P&gt;For hosted agents, refining an existing skill is different from&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/optimize-skills-from-traces" target="_blank" rel="noopener"&gt;learning a reusable skill from recorded conversations,&lt;/A&gt; which is a separate preview workflow.&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;How an optimization run works&lt;/H2&gt;
&lt;P&gt;A run starts with a&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;baseline&lt;/SPAN&gt;&amp;nbsp;to compare against, a&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;dataset&lt;/SPAN&gt;&amp;nbsp;to exercise the agent, and&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;evaluators&lt;/SPAN&gt;&amp;nbsp;that define what good behavior looks like. Include cases that cover the behavior you want to improve and cases that cover behavior you don’t want to break.&lt;/P&gt;
&lt;P&gt;The optimizer runs the baseline, scores its responses, generates alternative configurations, and evaluates those candidates. Foundry ranks the results using a composite score on a&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;0–1 scale&lt;/SPAN&gt;. That score helps you decide which candidate to inspect first; it isn’t the percentage of cases that passed.&lt;/P&gt;
&lt;P&gt;There are three model roles. The&amp;nbsp;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;agent model&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;produces responses, the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;evaluation model&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;judges them when model-based scoring is used, and the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;optimization model&lt;/SPAN&gt;&lt;/STRONG&gt; proposes changes. For a first run, keep the agent model fixed. If the result changes, it’s easier to tell whether the revised instructions helped.&lt;/P&gt;
&lt;img /&gt;
&lt;H3 data-streamdown="heading-3"&gt;Choose criteria that help diagnose failures&lt;/H3&gt;
&lt;P&gt;A convincing answer doesn’t tell you whether the agent used the right tool, supplied the right arguments, or handled a failed lookup correctly. Score those steps separately when they matter. Use deterministic checks for things that can be verified exactly, such as required fields or tool arguments. Use a model-based evaluator when the criterion requires judgment, such as whether an answer distinguishes confirmed facts from speculation.&lt;/P&gt;
&lt;P&gt;Foundry’s&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/agent-evaluators" target="_blank" rel="noopener"&gt;built-in agent evaluators&lt;/A&gt;&amp;nbsp;cover behaviors such as tool selection and input accuracy. A&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/quality-rubric-evaluators" target="_blank" rel="noopener"&gt;custom quality rubric&lt;/A&gt;&amp;nbsp;lets you define criteria specific to the agent. If a score is surprising, read the evaluator’s explanation alongside the response or trace. An ambiguous instruction, a bad tool call, and a backend error need different fixes.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Optimization jobs can invoke tools even though they run outside live traffic. If those tools can modify data, use read-only permissions or isolated test systems.&lt;/STRONG&gt;&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;Prompt agent: run it in the Foundry portal&lt;/H2&gt;
&lt;P&gt;The demo agent turns short synthetic notes into a brief with three headings:&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;Facts&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;Unknowns&lt;/SPAN&gt;, and&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;Next check&lt;/SPAN&gt;. The baseline specified the format but didn’t say what to do when the notes contradicted each other or didn’t support a conclusion.&lt;/P&gt;
&lt;P&gt;The run used&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;12 cases for tuning&lt;/SPAN&gt;&amp;nbsp;and held back&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;six for a separate evaluation&lt;/SPAN&gt;. A single quality rubric scored fidelity to the notes, handling of uncertainty, the usefulness of the next check, and clarity.&lt;/P&gt;
&lt;P&gt;In the&amp;nbsp;Foundry portal, open&amp;nbsp;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;Build → Agents&lt;/SPAN&gt;&lt;/STRONG&gt;, select the agent, and go to&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;&lt;STRONG&gt;Optimize → Create optimization&lt;/STRONG&gt; run&lt;/SPAN&gt;.&lt;/P&gt;
&lt;OL data-streamdown="ordered-list"&gt;
&lt;LI data-streamdown="list-item"&gt;&lt;SPAN data-streamdown="strong"&gt;&lt;STRONG&gt;Target&lt;/STRONG&gt;:&lt;/SPAN&gt;&amp;nbsp;Select the baseline version, evaluation model, optimization model, and candidate count. The demo used&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;v2&lt;/SPAN&gt;&amp;nbsp;as the baseline,&amp;nbsp;gpt-5-mini&amp;nbsp;as both agent and judge, and&amp;nbsp;gpt-5.4&amp;nbsp;to generate two candidates. The agent had no tools, and cross-model comparison was off.&lt;/LI&gt;
&lt;LI data-streamdown="list-item"&gt;&lt;SPAN data-streamdown="strong"&gt;&lt;STRONG&gt;Dataset&lt;/STRONG&gt;:&lt;/SPAN&gt;&amp;nbsp;Upload or select the tuning dataset. The wizard doesn’t map columns, so check that the dataset has the inputs the evaluator expects.&lt;/LI&gt;
&lt;LI data-streamdown="list-item"&gt;&lt;SPAN data-streamdown="strong"&gt;&lt;STRONG&gt;Criteria&lt;/STRONG&gt;:&lt;/SPAN&gt;&amp;nbsp;Select the quality rubric.&lt;/LI&gt;
&lt;LI data-streamdown="list-item"&gt;&lt;SPAN data-streamdown="strong"&gt;&lt;STRONG&gt;Review&lt;/STRONG&gt;:&lt;/SPAN&gt; Confirm the settings and submit the run.&lt;/LI&gt;
&lt;/OL&gt;
&lt;img /&gt;
&lt;H3 data-streamdown="heading-3"&gt;Read the results and inspect the prompt&lt;/H3&gt;
&lt;P&gt;Candidate 1 scored&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;0.859&lt;/SPAN&gt;&amp;nbsp;on the tuning run. The baseline scored&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;0.757&lt;/SPAN&gt;, and Candidate 2 scored&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;0.820&lt;/SPAN&gt;. That made Candidate 1 the first one to inspect.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;The prompt diff shows what the score alone can’t. Candidate 1 instructed the agent to preserve conflicting evidence, say when the notes didn’t establish a cause, and suggest one specific verification step rather than a list of possible follow-ups. The original prompt had left those decisions to the model. The model itself stayed the same.&lt;/P&gt;
&lt;img /&gt;
&lt;H3 data-streamdown="heading-3"&gt;Test the candidate on cases the optimizer didn’t see&lt;/H3&gt;
&lt;P&gt;Baseline v2 was evaluated on the six holdout cases in a&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/how-to/evaluate-generative-ai-app" target="_blank" rel="noopener"&gt;regular Foundry agent evaluation&lt;/A&gt;. Candidate 1 was then promoted to&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;v3 of the test agent&lt;/SPAN&gt; and evaluated on the same six cases with the same rubric. Neither holdout run was part of the optimization job.&lt;/P&gt;
&lt;img /&gt;&lt;img /&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;The revised agent passed three more cases in this demo. Six cases aren’t enough to establish production performance, but the comparison shows that the improvement wasn’t limited to the tuning set. One case still failed. Its response and the evaluator’s explanation are the best place to start before changing the instructions again.
&lt;H2 data-streamdown="heading-2"&gt;Hosted agent: optimize with the Azure Developer CLI&lt;/H2&gt;
&lt;P&gt;Hosted agents use the same optimization loop, but the application code loads the configuration. An&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/make-agent-optimizer-ready" target="_blank" rel="noopener"&gt;optimizer-ready hosted agent&lt;/A&gt;&amp;nbsp;can load its baseline configuration normally and use a candidate configuration during an optimization run. That lets the optimizer test changes without rewriting the application.&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/quickstarts/quickstart-optimize-hosted-agent?tabs=azd" target="_blank" rel="noopener"&gt;Microsoft Learn hosted-agent quickstart&lt;/A&gt;&amp;nbsp;covers the setup: deploy an optimizer-ready agent, register the dataset and evaluators, and create a turn-level agent evaluation named&amp;nbsp;optimize-check. The commands below use that setup. The measured results earlier in this article are from the prompt-agent walkthrough.&lt;/P&gt;
&lt;P&gt;First, measure the deployed baseline:&lt;/P&gt;
&lt;LI-CODE lang="powershell"&gt;azd ai eval run start --eval optimize-check --name baseline --wait
&lt;/LI-CODE&gt;
&lt;P&gt;Then run the optimizer using the same evaluation definition. Replace the placeholders with the model deployment names from your Foundry project.&lt;/P&gt;
&lt;LI-CODE lang="powershell"&gt;azd ai agent optimize \
  --eval optimize-check \
  --max-candidates 2 \
  --eval-model &amp;lt;eval-deployment&amp;gt; \
  --optimize-model &amp;lt;optimization-deployment&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;The results show how each candidate scored and which parts of the configuration changed. Apply the selected candidate locally, review the diff, and deploy it to the test environment. Then rerun optimize-check:&lt;/P&gt;
&lt;LI-CODE lang="powershell"&gt;azd ai agent optimize apply --candidate &amp;lt;candidate-id&amp;gt;
azd deploy
azd ai eval run start --eval optimize-check --name optimized --wait
&lt;/LI-CODE&gt;
&lt;P&gt;The last command measures the&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;deployed&lt;/SPAN&gt; candidate. Because it reuses the evaluation that supplied the tuning data, it doesn’t test unseen inputs. To check whether the improvement carries over, compare the baseline and candidate on a separate holdout dataset, as in the prompt-agent walkthrough.&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;Where Foundry Insights fits&lt;/H2&gt;
&lt;P&gt;At&amp;nbsp;&lt;A class="lia-external-url" href="https://devblogs.microsoft.com/foundry/whats-new-in-microsoft-foundry-ignite-2026/#the-continuous-improvement-loop" target="_blank" rel="noopener"&gt;Microsoft Ignite 2026&lt;/A&gt;,&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;Foundry Insights and multi-turn evaluation reached general availability&lt;/SPAN&gt;. Agent Optimizer was already generally available.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the portal demo, the tuning run identified which prompt to inspect. The diff showed what changed, and the holdout showed where the change helped: the revised agent passed five of six cases, compared with two for the baseline. One case still failed. That response and the evaluator’s explanation give the next round of work a concrete starting point.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Dec 2026 16:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/agent-optimizer-in-microsoft-foundry-from-evaluation-to-a-better/ba-p/4576836</guid>
      <dc:creator>SriAishwaryaMasina</dc:creator>
      <dc:date>2026-12-02T16:00:00Z</dc:date>
    </item>
    <item>
      <title>Claude Code Meets Microsoft Foundry: From Terminal to Your First AI-Assisted Coding Session</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/claude-code-meets-microsoft-foundry-from-terminal-to-your-first/ba-p/4577461</link>
      <description>&lt;H2&gt;Claude Code + Microsoft Foundry: a local helper, an Azure connection&lt;/H2&gt;
&lt;P&gt;Imagine asking a coding assistant to explain an unfamiliar repository, trace a bug, or suggest a change without leaving your terminal. Now imagine connecting that experience to a model deployment accessed through your organization's Azure identity and permissions. That is the idea behind using Claude Code with Microsoft Foundry.&lt;/P&gt;
&lt;P&gt;The easiest way to understand the setup is to separate the &lt;STRONG&gt;helper&lt;/STRONG&gt; from the &lt;STRONG&gt;gate&lt;/STRONG&gt;. Claude Code is the helper at your desk: it runs locally and can work with your project. Foundry is the entry point to the Claude deployment: it provides the endpoint and the access boundary for model requests.&lt;/P&gt;
&lt;P&gt;The first diagram captures that distinction. You ask the helper a question; the request crosses an identity check before reaching the model. Connecting the two changes where model requests go, not who should remain in control of local files and commands.&lt;/P&gt;
&lt;img&gt;&lt;EM&gt;The tool stays local; the model and its access rules live in Azure.&lt;/EM&gt;&lt;/img&gt;
&lt;P&gt;This is a useful mental model, not a claim that every part of the workflow is isolated automatically. Claude Code can send relevant prompts and project context to the model service, and local tools can have their own network behavior. Use approved repositories and confirm your organization's data-handling and networking requirements before connecting sensitive work.&lt;/P&gt;
&lt;H2&gt;Understand the four-box architecture&lt;/H2&gt;
&lt;P&gt;Behind that simple analogy is a request path with four parts: the developer, the Claude Code CLI, the Foundry endpoint, and the Claude deployment. The diagram below puts them in order and marks the boundary between your laptop and Azure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;img&gt;&lt;EM&gt;Two boxes on your laptop, two in Azure. Every problem lives in one box.&lt;/EM&gt;&lt;/img&gt;
&lt;P&gt;You type into Claude Code. The CLI sends a model request to the configured Foundry endpoint. That endpoint directs the request to the deployment, and the model's response returns to your session. The local assistant can then propose its next action, subject to its permissions and your review.&lt;/P&gt;
&lt;P&gt;Keeping these four boxes in mind makes troubleshooting less mysterious. A missing CLI command is a local installation problem. A hostname that cannot resolve points toward the endpoint or network. A rejected identity points toward authentication or access. A missing deployment points toward model selection.&lt;/P&gt;
&lt;H3&gt;Before you begin&lt;/H3&gt;
&lt;P&gt;You need Claude Code installed, an eligible Azure subscription, a Foundry resource and project, an available Claude deployment, and permission to invoke it. Creating or purchasing the deployment can require additional resource-management and Marketplace permissions. If your team has already provisioned it, ask for the resource and deployment names rather than creating another resource.&lt;/P&gt;
&lt;P&gt;For Entra ID authentication, install the Azure CLI as well. On Windows, follow Claude Code's documented Git Bash or WSL requirements. This walkthrough uses PowerShell syntax for the configuration steps.&lt;/P&gt;
&lt;P&gt;Confirm the CLI is available before debugging Azure settings:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;EM&gt;&lt;STRONG&gt;claude --version&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If it is missing, follow the &lt;A href="https://learn.microsoft.com/azure/foundry/foundry-models/how-to/configure-claude-code#install-claude-code-cli" target="_blank" rel="noopener"&gt;official installation instructions&lt;/A&gt;, then open a fresh terminal if the installation changed your PATH.&lt;/P&gt;
&lt;H2&gt;Start with two exact names&lt;/H2&gt;
&lt;P&gt;Before changing any terminal settings, collect two values from Foundry: your &lt;STRONG&gt;resource name&lt;/STRONG&gt; and your &lt;STRONG&gt;Claude deployment name&lt;/STRONG&gt;. They answer different questions. The resource identifies where the request goes; the deployment identifies what should answer it.&lt;/P&gt;
&lt;P&gt;In the Foundry portal, look under &lt;STRONG&gt;Manage &amp;gt; Project details&lt;/STRONG&gt; for the parent resource. Then open your Claude deployment under &lt;STRONG&gt;Models + endpoints&lt;/STRONG&gt; and copy its deployment name. Portal labels can evolve, but the distinction between these two values is the important part.&lt;/P&gt;
&lt;P&gt;The two cards below show the common mix-ups: using a URL where a resource name belongs, or using a catalog model identifier where a deployment name belongs.&lt;/P&gt;
&lt;img&gt;&lt;EM&gt;Most failed setups are a typo or the wrong name in one of these two.&lt;/EM&gt;&lt;/img&gt;
&lt;P&gt;Set ANTHROPIC_FOUNDRY_RESOURCE to the &lt;EM&gt;name alone&lt;/EM&gt;, such as &amp;lt;foundry-resource-name&amp;gt;. Do not put https://, a project path, or /anthropic into this variable. Claude Code constructs the resource endpoint from that name.&lt;/P&gt;
&lt;P&gt;A URL-based configuration is also supported through the separate ANTHROPIC_FOUNDRY_BASE_URL variable. That does not make a URL valid inside ANTHROPIC_FOUNDRY_RESOURCE. This walkthrough uses the resource-name approach so the two are not mixed.&lt;/P&gt;
&lt;P&gt;For the model, copy the deployment name exactly. It may happen to match the model's catalog identifier, but do not assume it does. An incorrect resource name can lead to a DNS error such as ENOTFOUND; an incorrect deployment name can lead to a not-found response.&lt;/P&gt;
&lt;H2&gt;Authenticate with a badge, not a shared secret&lt;/H2&gt;
&lt;P&gt;Once you know the destination, decide how to authenticate. Claude Code supports Microsoft Entra ID and a Foundry API key. For an enterprise setup, Entra ID is the recommended starting point because Claude Code can use your Azure CLI credentials without asking you to copy a long-lived API key into a terminal.&lt;/P&gt;
&lt;P&gt;The next diagram contrasts the two approaches. On the top path, you sign in and Azure checks what your identity may access. On the bottom path, a key acts as a credential that must be protected and rotated.&lt;/P&gt;
&lt;img&gt;&lt;EM&gt;Entra ID means no secret in the terminal; your role decides access.&lt;/EM&gt;&lt;/img&gt;
&lt;H3&gt;Sign in with your Azure identity&lt;/H3&gt;
&lt;P&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;STRONG&gt;&lt;EM&gt;az login &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;STRONG&gt;&lt;EM&gt;az account show&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Check that the account, tenant, and subscription are the ones associated with your Foundry resource. If the resource is in another tenant, use az login --tenant &amp;lt;tenant-id&amp;gt;. Claude Code uses the Azure CLI session for this authentication path; you do not sign in with an Anthropic subscription through the client's /login command.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Authentication is not authorization.&lt;/STRONG&gt; Successfully signing in proves who you are, not that you may invoke this deployment. The diagram uses Foundry User as an example role; the applicable role and assignment scope must grant the required access on your actual resource. Ask the resource administrator to verify the appropriate data-plane permissions rather than assuming any similarly named role is sufficient.&lt;/P&gt;
&lt;H3&gt;If you use an API key instead&lt;/H3&gt;
&lt;P&gt;Obtain the Foundry key through an approved process and supply it through ANTHROPIC_FOUNDRY_API_KEY. Do not confuse it with an Anthropic API key. Keep the value out of source control, screenshots, copied transcripts, and logs. Prefer your organization's approved secret-injection method over typing a literal key into shell history, and do not persist it with setx.&lt;/P&gt;
&lt;H2&gt;Configure the connection and launch Claude Code&lt;/H2&gt;
&lt;P&gt;With the names collected and authentication ready, configure Claude Code in the terminal you will use to launch it. The diagram groups the core settings into three switches: enable Foundry, identify the resource, and select the primary model deployment.&lt;/P&gt;
&lt;img&gt;&lt;EM&gt;Three settings point Claude Code at your deployment; the launch flag removes ambiguity.&lt;/EM&gt;&lt;/img&gt;
&lt;P&gt;In PowerShell, replace both placeholders with the values you copied:&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;&lt;SPAN class="lia-text-color-15"&gt;$env:CLAUDE_CODE_USE_FOUNDRY = "1" &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="lia-text-color-15"&gt;$env:ANTHROPIC_FOUNDRY_RESOURCE = "&amp;lt;foundry-resource-name&amp;gt;" &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="lia-text-color-15"&gt;$env:ANTHROPIC_DEFAULT_SONNET_MODEL = "&amp;lt;claude-sonnet-deployment-name&amp;gt;" &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="lia-text-color-15"&gt;claude --model "&amp;lt;claude-sonnet-deployment-name&amp;gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;The first variable enables the Foundry integration. The second identifies the resource. The third maps the Sonnet model role to your deployment. Passing the deployment name explicitly with --model makes the intended model for this session clear.&lt;/P&gt;
&lt;P&gt;The three-switch diagram describes the core connection, not every model role Claude Code can use. If your workflow uses Haiku for fast operations or Opus for reasoning, ensure the corresponding deployments are available and configure their names too:&lt;/P&gt;
&lt;PRE&gt;&lt;BR /&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;STRONG&gt;$env:ANTHROPIC_DEFAULT_HAIKU_MODEL = "&amp;lt;claude-haiku-deployment-name&amp;gt;" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;STRONG&gt;$env:ANTHROPIC_DEFAULT_OPUS_MODEL = "&amp;lt;claude-opus-deployment-name&amp;gt;"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;Use names for deployments that actually exist in your resource. Specifying the primary model does not automatically provision deployments for other model roles.&lt;/P&gt;
&lt;P&gt;PowerShell's $env: assignments affect the current process and programs launched from it. Set them in the same terminal that launches Claude Code. For future sessions, save non-secret configuration in your shell profile or use setx; changes made with setx apply to new terminals, not the current one.&lt;/P&gt;
&lt;H2&gt;Check the map, then prove the trip&lt;/H2&gt;
&lt;P&gt;When Claude Code starts, it is tempting to treat a healthy-looking settings screen as the finish line. It is not. A configuration check tells you how the client is configured; a real model request tells you whether the whole path works.&lt;/P&gt;
&lt;P&gt;The diagram below makes that difference explicit: /status checks the map, while a test prompt makes the trip through name resolution, authentication, authorization, deployment selection, and model inference.&lt;/P&gt;
&lt;img&gt;&lt;EM&gt;Configuration can look perfect and still fail; only a real reply proves it.&lt;/EM&gt;&lt;/img&gt;
&lt;P&gt;Inside the Claude Code session, run:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;STRONG&gt;/status&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Check the reported provider and model against your intended Foundry configuration. Confirm the resource setting in the launching shell as well. The exact fields shown by /status can vary with the client version, so do not assume every value will appear on that screen.&lt;/P&gt;
&lt;P&gt;Next, send a small prompt that does not require repository access or tool execution:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;STRONG&gt;Reply with exactly: Foundry connection successful&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;A successful model response, together with the expected provider and deployment configuration, is the practical end-to-end check. It demonstrates that this request reached an accessible deployment and received a response. The sentence itself is not independent proof of the provider: another model could produce the same words, which is why the configuration check matters too.&lt;/P&gt;
&lt;P&gt;This smoke test does not certify every model role, private-network policy, or future repository action. It proves the path for the request you just made. Model calls also consume quota and may incur charges, so keep the first test small.&lt;/P&gt;
&lt;H2&gt;Troubleshoot one checkpoint at a time&lt;/H2&gt;
&lt;P&gt;If the test fails, use the error as a clue rather than changing every setting at once. The diagram maps common errors to the checkpoint worth investigating first. These are starting points for diagnosis, not a guarantee that every error has only one possible cause.&lt;/P&gt;
&lt;img&gt;&lt;EM&gt;Read the error code, jump to its checkpoint, fix one thing.&lt;/EM&gt;&lt;/img&gt;
&lt;H3&gt;Where to start when the connection fails&lt;/H3&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;STRONG&gt;Symptom&lt;/STRONG&gt;&lt;/th&gt;&lt;th&gt;&lt;STRONG&gt;First checks&lt;/STRONG&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;ENOTFOUND&lt;/td&gt;&lt;td&gt;Check that the resource variable contains only the resource name. Look for an unintended base-URL override, then check DNS, VPN, proxy, and any private-endpoint requirements.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HTTP 401&lt;/td&gt;&lt;td&gt;Refresh the Azure CLI sign-in and verify the tenant and account. If using a key, check that it is the correct Foundry key and is supplied correctly.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HTTP 403&lt;/td&gt;&lt;td&gt;Check permissions and their assignment scope. Also consider resource network-access restrictions; signing in successfully does not guarantee access.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HTTP 404&lt;/td&gt;&lt;td&gt;Check the exact deployment name, the selected resource, and the endpoint configuration. Confirm the deployment exists where the client is looking.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Wrong provider&lt;/td&gt;&lt;td&gt;Confirm CLAUDE_CODE_USE_FOUNDRY=1 is set in the process that launches Claude Code, then restart the client from that terminal.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Missing model role&lt;/td&gt;&lt;td&gt;Check the Sonnet, Haiku, and Opus mappings used by the workflow and verify their corresponding deployments exist.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HTTP 429&lt;/td&gt;&lt;td&gt;Check quota and rate limits in Foundry. Reduce request frequency or size rather than repeatedly retrying the same request.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 50.00%" /&gt;&lt;col style="width: 50.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;Fix the most likely layer, restart the session if its environment changed, and repeat the same small test. That keeps the investigation focused and makes it easier to tell which change actually helped.&lt;/P&gt;
&lt;H2&gt;Connected? Start read-only.&lt;/H2&gt;
&lt;P&gt;Once the smoke test works, begin with an approved sample repository and a deliberately limited request:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;STRONG&gt;Analyze this repository and explain its structure. &lt;BR /&gt;Do not modify files or run commands.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Treat that instruction as a starting point, not a replacement for tool permissions. Review the actions Claude Code proposes, inspect file changes before accepting them, and keep the developer in the approval loop. A successful connection is not permission to run arbitrary commands.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Claude Code is the helper. Foundry is the gate. Get the names and identity right, then verify with a real request.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The setup becomes much easier when you keep those responsibilities separate. Exact names prevent routing mistakes. Azure identity and permissions control access. A real response checks the connection. Careful review keeps the coding workflow under your control.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Further reading:&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/foundry-models/how-to/configure-claude-code" target="_blank" rel="noopener"&gt;Configure Claude Code for Microsoft Foundry&lt;/A&gt;;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/foundry-models/how-to/use-foundry-models-claude" target="_blank" rel="noopener"&gt;Deploy and use Claude models in Microsoft Foundry&lt;/A&gt;;&lt;BR /&gt;&lt;A href="https://code.claude.com/docs/en/quickstart" target="_blank" rel="noopener"&gt;Claude Code Quickstart&lt;/A&gt;.&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="lia-text-color-15"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Dec 2026 21:30:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/claude-code-meets-microsoft-foundry-from-terminal-to-your-first/ba-p/4577461</guid>
      <dc:creator>SapnaGiddegowda</dc:creator>
      <dc:date>2026-12-01T21:30:00Z</dc:date>
    </item>
    <item>
      <title>One Invoice Workflow, Three Ways to Run It in Microsoft Foundry</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/one-invoice-workflow-three-ways-to-run-it-in-microsoft-foundry/ba-p/4576431</link>
      <description>&lt;P&gt;An &lt;STRONG&gt;agent harness&lt;/STRONG&gt; is the software that coordinates a model, its tools, and the context it needs to do the work. If the model asks to look up an invoice, the harness handles the tool call and passes the result back. The model can then answer, ask for missing information, or request another tool. That back-and-forth is the agent loop.&lt;/P&gt;
&lt;P&gt;In Microsoft Foundry, a &lt;STRONG&gt;prompt agent&lt;/STRONG&gt; is a versioned definition: you configure the model, instructions, and tools, and Foundry runs the loop. The &lt;STRONG&gt;Microsoft Copilot harness&lt;/STRONG&gt; is an optional managed runtime for that same type of agent. A &lt;STRONG&gt;hosted agent&lt;/STRONG&gt; takes a different approach: Foundry hosts your application, but your code controls how the work runs.&lt;/P&gt;
&lt;P&gt;An invoice review makes the distinction concrete. Checking one invoice, reviewing six PDFs, and running a restartable batch all use the same financial rules. They don’t need the same execution behavior.&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;How to choose an agent runtime&lt;/H2&gt;
&lt;img /&gt;
&lt;P&gt;A default prompt agent can already make multiple model and tool calls. The question isn’t&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;“&lt;STRONG&gt;How many steps are there?”&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;It’s&lt;STRONG&gt;&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;“Can the managed runtime do what I need, or does my application need to control how the work runs?”&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;The invoice check that stays the same&lt;/H2&gt;
&lt;P&gt;An accounts payable analyst wants to know whether invoice&amp;nbsp;INV-104&amp;nbsp;matches its purchase order. The invoice is&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;$1,250 USD&lt;/SPAN&gt;&amp;nbsp;and the order,&amp;nbsp;PO-501, is&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;$1,000 USD&lt;/SPAN&gt;. The reconciliation API returns&amp;nbsp;AMOUNT_MISMATCH&amp;nbsp;and a variance of&amp;nbsp;25000&amp;nbsp;cents:&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;$250 over&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;All three approaches use that same read-only API. It checks that the currencies match before comparing amounts in integer minor units. The model explains the result; it doesn’t calculate it. And a match is just a match: the sample has no payment or approval operations.&lt;/P&gt;
&lt;P&gt;The data is synthetic. A PDF helps identify the invoice to look up, but the API compares its stored records—not the totals printed in the PDF.&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;1. Default prompt agent: Check an invoice on demand&lt;/H2&gt;
&lt;P&gt;“Check&amp;nbsp;INV-104&amp;nbsp;against its purchase order” is a good fit for the default runtime. The model can request&amp;nbsp;check_invoice&amp;nbsp;through the configured OpenAPI tool, and Foundry passes the result back so the model can explain the discrepancy. The business rules already live behind the API; there’s no need to build orchestration around them.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;2. Microsoft Copilot harness: Review a batch of PDFs&lt;/H2&gt;
&lt;P&gt;Now give the agent six PDFs instead of an invoice ID. It has to identify the invoices, handle the one file it can’t read, verify the other five, and produce something the analyst can download. The reconciliation API hasn’t changed. The work around it has.&lt;/P&gt;
&lt;P&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/use-tools-skills-copilot-harness?tabs=python&amp;amp;pivots=portal" target="_blank" rel="noopener"&gt;The&amp;nbsp;Microsoft Copilot harness in Foundry&lt;/A&gt;&amp;nbsp;is a &lt;STRONG&gt;managed runtime for prompt agents&lt;/STRONG&gt;, in&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;public preview&lt;/SPAN&gt;. Foundry runs the agent loop and sandbox; you configure the instructions, reusable skills, knowledge sources, and tools the task needs. In this example, a versioned review skill describes what to check and how to report it. The API supplies the financial evidence. The agent creates the reports in its conversation workspace, then uploads them to Foundry Files.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;Two fields in the agent definition make the distinction clear:&amp;nbsp;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;kind stays prompt; the runtime changes.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="json"&gt;kind: prompt
harness:
  type: microsoft_copilot_preview
&lt;/LI-CODE&gt;&lt;img /&gt;
&lt;P&gt;The trace is more useful than the final chat response for understanding what ran. It shows the skill invocation, model calls, five calls to the reconciliation tool, and a file-creation operation. There were&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;six PDFs but only five readable IDs&lt;/SPAN&gt;. The agent flagged the sixth file rather than guessing an ID.&lt;/P&gt;
&lt;img /&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;img /&gt;
&lt;H2 data-streamdown="heading-2"&gt;3. Hosted agent: Control retries and recovery&lt;/H2&gt;
&lt;P&gt;INV-107&amp;nbsp;is the case that best explains why you’d choose a hosted agent. In an interactive review, a timeout belongs in the report: the analyst can still use the other results and follow up on the unresolved invoice. In a batch workflow, the requirement can be stricter:&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;if verification is still unavailable after a fixed number of retries, save the completed checks but don’t commit the final report.&lt;/SPAN&gt;&amp;nbsp;A missing purchase order is a result. A timeout means the check couldn’t produce one.&lt;/P&gt;
&lt;P&gt;Foundry hosts the Python handler, but the handler sets the retry limit, saves a checkpoint for each completed invoice, and reuses those checkpoints when the same job is submitted again. It writes the final report only if that report doesn’t already exist. The model drafts a summary from the validated results; it doesn’t decide what to retry or when to commit.&lt;/P&gt;
&lt;img /&gt;
&lt;H2 data-streamdown="heading-2"&gt;The three approaches at a glance&lt;/H2&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&amp;nbsp;&lt;/th&gt;&lt;th&gt;Default prompt agent&lt;/th&gt;&lt;th&gt;Prompt agent with the Microsoft Copilot harness&lt;/th&gt;&lt;th&gt;Hosted agent&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;SPAN data-streamdown="strong"&gt;What you provide&lt;/SPAN&gt;&lt;/td&gt;&lt;td&gt;Model selection, instructions, and supported tools.&lt;/td&gt;&lt;td&gt;A prompt-agent definition with the Copilot harness selected, plus any supported skills and tools you need.&lt;/td&gt;&lt;td&gt;Application code with your chosen framework and dependencies.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;SPAN data-streamdown="strong"&gt;What Foundry manages&lt;/SPAN&gt;&lt;/td&gt;&lt;td&gt;The agent loop, including coordination of model and configured tool calls.&lt;/td&gt;&lt;td&gt;The agent loop, a per-conversation workspace, and a sandbox for supported operations.&lt;/td&gt;&lt;td&gt;Hosting and platform capabilities, including resilience when configured. Your code owns orchestration, retry policy, application checkpoints, and writes.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;SPAN data-streamdown="strong"&gt;When to choose it&lt;/SPAN&gt;&lt;/td&gt;&lt;td&gt;The default runtime and supported tools meet the requirement.&lt;/td&gt;&lt;td&gt;You need the managed workspace or other supported harness capabilities, and public preview is acceptable.&lt;/td&gt;&lt;td&gt;Your application needs to control how the work runs, resumes, or commits results.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;SPAN data-streamdown="strong"&gt;In the invoice example&lt;/SPAN&gt;&lt;/td&gt;&lt;td&gt;Check INV-104 and explain the $250 discrepancy.&lt;/td&gt;&lt;td&gt;Review six PDFs and return downloadable CSV and Markdown reports.&lt;/td&gt;&lt;td&gt;Reuse completed checks and prevent duplicate report commits for the same job.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;H2 data-streamdown="heading-2"&gt;Pick the runtime for the requirement&lt;/H2&gt;
&lt;P&gt;Start with a&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/quickstarts/prompt-agent?tabs=python" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;default prompt agent&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;when the model and supported tools can do the job. Reach for the&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/use-tools-skills-copilot-harness?tabs=python&amp;amp;pivots=portal" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;Microsoft Copilot harness&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;when you need managed capabilities such as a reusable skill and a workspace for files. Use a&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/hosted-agents" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;hosted agent&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;when your application needs to enforce retries, recovery, or write behavior in code.&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;A class="lia-external-url" href="https://github.com/sriaishwarya1709/foundry-agents-runtimes#readme" target="_blank" rel="noopener"&gt;sample repository&lt;/A&gt;&amp;nbsp;includes all three implementations, the six invoice PDFs, and a local checkpoint-recovery walkthrough. The invoice is&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;$250 over&lt;/SPAN&gt; in every version. What changes is who decides what happens next.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2026 20:17:21 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/one-invoice-workflow-three-ways-to-run-it-in-microsoft-foundry/ba-p/4576431</guid>
      <dc:creator>SriAishwaryaMasina</dc:creator>
      <dc:date>2026-12-01T20:17:21Z</dc:date>
    </item>
    <item>
      <title>From inline tools to a shared Toolbox in Microsoft Foundry</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/from-inline-tools-to-a-shared-toolbox-in-microsoft-foundry/ba-p/4575475</link>
      <description>&lt;P&gt;A travel agent needs weather forecasts, exchange rates, and local time. When a second agent needs those same capabilities, the team can configure each integration again—or manage them in one place.&lt;/P&gt;
&lt;P&gt;This article compares two configurations in Microsoft Foundry: one with tools attached directly to the agent, and one with the agent connected to a Toolbox. A separate field-operations demo shows how&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;Tool Search&lt;/SPAN&gt;&amp;nbsp;helps an agent discover the tools it needs at runtime.&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;What changes when agents use a Toolbox?&lt;/H2&gt;
&lt;P&gt;A&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/toolbox-overview" target="_blank"&gt;Toolbox in Microsoft Foundry&lt;/A&gt;&amp;nbsp;is a centrally managed, versioned collection of tools exposed through a&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;Model Context Protocol (MCP)-compatible endpoint&lt;/SPAN&gt;. Instead of wiring up each integration separately, authorized agents connect to the Toolbox. The services behind it don’t all have to speak MCP: one Toolbox can combine an OpenAPI service, a remote MCP server, and built-in Foundry tools.&lt;/P&gt;
&lt;P&gt;Toolboxes are managed in Foundry but aren’t tied to one language or framework. Microsoft documents integrations for &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/use-toolbox-hosted-agent" target="_blank"&gt;Microsoft Agent Framework and LangGraph&lt;/A&gt; and &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/use-toolbox-vs-code" target="_blank"&gt;GitHub Copilot in VS Code&lt;/A&gt;. A custom client can also connect if it supports the endpoint’s MCP transport, can reach the endpoint, and can authenticate.&lt;/P&gt;
&lt;img /&gt;
&lt;H2 data-streamdown="heading-2"&gt;The travel demo: individual tools versus one connection&lt;/H2&gt;
&lt;P&gt;The&amp;nbsp;travel-toolbox&amp;nbsp;contains OpenAPI tools for weather, geocoding, forecasts, and currency, alongside the Microsoft Learn MCP server and Code Interpreter.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;In the Foundry Playground, one agent lists its tools individually. The other references a single travel_toolbox connection. The integrations still need to be configured; the difference is&amp;nbsp;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;where&lt;/SPAN&gt;&lt;/STRONG&gt;. Moving them into the Toolbox means another agent can reuse them without setting them up again.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;Both agents received the same request for the current temperature in Paris. &lt;SPAN data-streamdown="strong"&gt;In this comparison, the &lt;STRONG&gt;Toolbox-backed agent used fewer input tokens than the agent with inline tools.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;Tool Search: find the right tool without loading every definition&lt;/H2&gt;
&lt;P&gt;&lt;SPAN data-streamdown="strong"&gt;Toolbox and Tool Search solve different problems.&lt;/SPAN&gt;&amp;nbsp;Toolbox lets agents share integrations.&amp;nbsp;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/tool-search" target="_blank"&gt;Tool Search&lt;/A&gt;&amp;nbsp;is optional and changes which tool definitions the model sees up front.&lt;/P&gt;
&lt;P&gt;With Tool Search enabled, the initial tool list contains&amp;nbsp;tool_search,&amp;nbsp;call_tool, and any explicitly pinned tools. The model describes the capability it needs in natural language.&amp;nbsp;tool_search&amp;nbsp;returns matching definitions, and&amp;nbsp;call_tool&amp;nbsp;invokes a discovered tool by name. Clear names and descriptions help distinguish tools that do similar things.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;&lt;SPAN data-streamdown="strong"&gt;Fibey Field Ops&lt;/SPAN&gt;&amp;nbsp;demo&lt;/STRONG&gt; checks whether all the parts for a sample work order are in stock. The activity pane shows the agent loading a work-order preparation skill, using Tool Search to find two relevant tools, and then calling&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;Get Work Order&lt;/SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;Check Stock (Batch)&lt;/SPAN&gt;. The skill provides instructions; the OpenAPI work-order tool and the MCP inventory tool retrieve the data.&lt;/P&gt;
&lt;img /&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;
&lt;P&gt;For a small Toolbox, exposing every tool directly may be simplest. As the collection grows,&amp;nbsp;Tool Search&amp;nbsp;can keep frequently used tools visible through pinning and let the agent discover the rest on demand. That can reduce the number of tool definitions sent to the model up front.&lt;/P&gt;
&lt;P&gt;Before sharing a Toolbox across agents, configure &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/tool-authentication" target="_blank"&gt;downstream authentication&lt;/A&gt; on the relevant project connections. Test changes at the &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/toolbox?pivots=python#create-a-toolbox-version" target="_blank"&gt;version-specific endpoint&lt;/A&gt; before promoting them. Agents using the stable consumer endpoint then pick up the new default without redeployment. Once agents are using it, the &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/monitor-toolbox" target="_blank"&gt;Toolbox Monitor dashboard&lt;/A&gt; can show usage and errors by version when Application Insights is connected.&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;The s&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/toolbox-overview#supported-tools" target="_blank"&gt;upported tools list &lt;/A&gt;also includes Web Search, Foundry IQ (Azure AI Search), File Search, agent-to-agent (A2A) integrations, Browser Automation, Fabric IQ, and Work IQ.&amp;nbsp;&lt;/P&gt;
&lt;H2 data-streamdown="heading-2"&gt;Start with one shared tool&lt;/H2&gt;
&lt;P&gt;Pick a read-only tool that two agents already need. Put it in a Toolbox, connect both agents to the stable endpoint, and confirm a successful call from each. That gives the team a baseline:&amp;nbsp;&lt;SPAN data-streamdown="strong"&gt;two agents, one integration to maintain&lt;/SPAN&gt;. Add Tool Search when the collection grows and different requests start needing different tools.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2026 18:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/from-inline-tools-to-a-shared-toolbox-in-microsoft-foundry/ba-p/4575475</guid>
      <dc:creator>SriAishwaryaMasina</dc:creator>
      <dc:date>2026-11-25T18:00:00Z</dc:date>
    </item>
    <item>
      <title>Build a multi-model video generation workflow with fal on Microsoft Foundry</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/build-a-multi-model-video-generation-workflow-with-fal-on/ba-p/4573786</link>
      <description>&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Building a compelling video experience rarely comes down to finding one model that does everything. Early in the creative process, you may want fast text-to-video generation to explore several directions. Once a composition is established, image-to-video can preserve the starting visual while adding motion. For more directed work, reference inputs can provide additional context from images, video, or audio.&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN data-contrast="auto"&gt;Fal on Microsoft Foundry brings these workflows together through a family of video generation models available from the Foundry model catalog. In this tutorial, we build a practical product-campaign workflow that starts with a creative brief and moves through text-to-video, image-to-video, and reference-to-video modalities. Along the way, we show how to select a model for each step, submit asynchronous generation jobs, monitor their status, retrieve the completed video, and structure the code so that it can be reused across models.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;The scenario: turn one creative brief into a coordinated campaign&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Imagine that a creative team is introducing a compact premium travel speaker called Northstar. The team needs three short assets:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="4" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;A concept clip to test the campaign mood and visual language quickly.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="5" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;A polished hero clip that animates an approved product image.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="6" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;A campaign variation that uses reference material to reinforce the established product and audio direction.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;The creative brief is intentionally specific enough to guide generation while leaving room for model interpretation:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="Callout" data-ccp-parastyle-defn="{&amp;quot;ObjectId&amp;quot;:&amp;quot;87e2d973-427c-519b-b678-9e233e159122|1&amp;quot;,&amp;quot;ClassId&amp;quot;:1073872969,&amp;quot;Properties&amp;quot;:[469775450,&amp;quot;Callout&amp;quot;,201340122,&amp;quot;2&amp;quot;,134233614,&amp;quot;true&amp;quot;,469778129,&amp;quot;Callout&amp;quot;,335572020,&amp;quot;1&amp;quot;,469777841,&amp;quot;Aptos&amp;quot;,469777844,&amp;quot;Aptos&amp;quot;,469769226,&amp;quot;Aptos&amp;quot;,335551500,&amp;quot;6108695&amp;quot;,268442635,&amp;quot;20&amp;quot;,335559685,&amp;quot;259&amp;quot;,335559737,&amp;quot;173&amp;quot;,335559739,&amp;quot;160&amp;quot;,335559738,&amp;quot;100&amp;quot;,201342446,&amp;quot;1&amp;quot;,201342447,&amp;quot;5&amp;quot;,201342448,&amp;quot;3&amp;quot;,201342449,&amp;quot;1&amp;quot;,469777842,&amp;quot;Arial&amp;quot;,469777843,&amp;quot;ＭＳ 明朝&amp;quot;,201341986,&amp;quot;1&amp;quot;]}"&gt;&lt;STRONG&gt;Creative brief&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt;A matte black portable speaker sits on a weathered stone ledge above a misty alpine lake at sunrise. The camera moves slowly toward the product. Soft wind moves &lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt;nearby grass&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt;. The visual style is premium, cinematic, restrained, and realistic, with cool blues and warm sunrise highlights. Avoid text, logos, extra products, distorted geometry, and abrupt camera movement.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335557856&amp;quot;:15856371,&amp;quot;335559685&amp;quot;:259,&amp;quot;335559737&amp;quot;:173,&amp;quot;335559738&amp;quot;:100,&amp;quot;335559739&amp;quot;:160,&amp;quot;335572083&amp;quot;:18,&amp;quot;335572084&amp;quot;:8,&amp;quot;335572085&amp;quot;:7566195,&amp;quot;469789810&amp;quot;:&amp;quot;single&amp;quot;}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;This is a useful application pattern because model choice follows the creative task instead of forcing every task through the same endpoint.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Choose the model and modality for the job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;At the time of writing, fal on Microsoft Foundry includes five video models in public preview. All five support text-to-video and image-to-video. MiniMax H3 Max additionally supports reference-to-video.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt; For comprehensive model details, please review the &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/how-to/fal-ai-models/enable-fal-models" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Model&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Modalities&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Best fit in the scenario&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;Deployment offering&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;LTX 2.5 Fast&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Text-to-video; image-to-video&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Rapid concept exploration and iteration&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Global Standard PayGo&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;LTX 2.5 Pro&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Text-to-video; image-to-video&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Higher-quality hero output after direction is approved&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Global Standard PayGo&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Kling v3 Pro&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Text-to-video; image-to-video&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Cinematic or multi-shot alternatives; native audio is available&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;US Data Zone&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;MiniMax H3 Max&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Text-to-video; image-to-video; reference-to-video&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Reference-guided campaign variation&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Global Standard PayGo&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;MiniMax H3 Max Turbo&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Text-to-video; image-to-video&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Alternative fast generation path&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Global Standard PayGo&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 25.00%" /&gt;&lt;col style="width: 25.00%" /&gt;&lt;col style="width: 25.00%" /&gt;&lt;col style="width: 25.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;H4 aria-level="2"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;How the asynchronous API workflow works&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Video generation is asynchronous. A production-oriented client should treat submission, status polling, result retrieval, and download as distinct operations:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN data-contrast="auto"&gt; Authenticate to the Foundry resource with a Microsoft Entra bearer token.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-contrast="auto"&gt; Submit a generation request to the selected model and modality route.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-contrast="auto"&gt; Capture the request_id returned by the service.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-contrast="auto"&gt; Poll the status route until the job reaches a terminal state.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-contrast="auto"&gt; Retrieve the completed result and extract the video URL.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN data-contrast="auto"&gt; Download or securely process the generated asset before the result URL expires.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4 aria-level="2"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Prerequisites&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="7" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;An Azure subscription.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="8" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;A Microsoft Foundry resource and project.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="9" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Subscription Owner or Subscription Contributor access to enable the preview (&lt;STRONG&gt;&lt;EM&gt;Fal.EnableDeploy&lt;/EM&gt;&lt;/STRONG&gt;) feature.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="10" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Foundry Owner access &lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;on&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt; the project to deploy models.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="11" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Azure CLI installed and authenticated with &lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;az&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt; login.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="12" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Python 3.10 or later with the requests package.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="13" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Model deployments for the &lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;fal&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt; models used by the walkthrough.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="14" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;A publicly reachable HTTPS image URL for image-to-video examples, plus reference URLs for the reference-to-video example.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H5 aria-level="3"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 3"&gt;Enable &lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="heading 3"&gt;fal&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="heading 3"&gt; and deploy the models&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;An administrator first enables the &lt;STRONG&gt;Fal.EnableDeploy&lt;/STRONG&gt; preview feature for the Azure subscription. In the Azure portal, open the subscription, select Preview features, search for &lt;STRONG&gt;Fal.EnableDeploy&lt;/STRONG&gt;, review the terms and data-handling disclosure, and register the feature. Registration can take up to 30 minutes.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;After registration, open the Foundry model catalog, select each required fal model, choose Deploy, configure the deployment name and supported deployment offering, and wait until the deployment status is Succeeded.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="Callout" data-ccp-parastyle-defn="{&amp;quot;ObjectId&amp;quot;:&amp;quot;87e2d973-427c-519b-b678-9e233e159122|1&amp;quot;,&amp;quot;ClassId&amp;quot;:1073872969,&amp;quot;Properties&amp;quot;:[469775450,&amp;quot;Callout&amp;quot;,201340122,&amp;quot;2&amp;quot;,134233614,&amp;quot;true&amp;quot;,469778129,&amp;quot;Callout&amp;quot;,335572020,&amp;quot;1&amp;quot;,469777841,&amp;quot;Aptos&amp;quot;,469777844,&amp;quot;Aptos&amp;quot;,469769226,&amp;quot;Aptos&amp;quot;,335551500,&amp;quot;6108695&amp;quot;,268442635,&amp;quot;20&amp;quot;,335559685,&amp;quot;259&amp;quot;,335559737,&amp;quot;173&amp;quot;,335559739,&amp;quot;160&amp;quot;,335559738,&amp;quot;100&amp;quot;,201342446,&amp;quot;1&amp;quot;,201342447,&amp;quot;5&amp;quot;,201342448,&amp;quot;3&amp;quot;,201342449,&amp;quot;1&amp;quot;,469777842,&amp;quot;Arial&amp;quot;,469777843,&amp;quot;ＭＳ 明朝&amp;quot;,201341986,&amp;quot;1&amp;quot;]}"&gt;&lt;STRONG&gt;Data handling&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt;fal&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt; services are &lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt;operated&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt; outside Microsoft facilities. Review the &lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt;fal&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="Callout"&gt; terms, data-egress implications, privacy requirements, and your organization’s compliance obligations before sending prompts or assets.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335557856&amp;quot;:16315114,&amp;quot;335559685&amp;quot;:259,&amp;quot;335559737&amp;quot;:173,&amp;quot;335559738&amp;quot;:100,&amp;quot;335559739&amp;quot;:160,&amp;quot;335572083&amp;quot;:18,&amp;quot;335572084&amp;quot;:8,&amp;quot;335572085&amp;quot;:9917743,&amp;quot;469789810&amp;quot;:&amp;quot;single&amp;quot;}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{&amp;quot;335557856&amp;quot;:16315114,&amp;quot;335559685&amp;quot;:259,&amp;quot;335559737&amp;quot;:173,&amp;quot;335559738&amp;quot;:100,&amp;quot;335559739&amp;quot;:160,&amp;quot;335572083&amp;quot;:18,&amp;quot;335572084&amp;quot;:8,&amp;quot;335572085&amp;quot;:9917743,&amp;quot;469789810&amp;quot;:&amp;quot;single&amp;quot;}"&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: All code samples in this walkthrough use Python and are intended to run in a Jupyter Notebook.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;H5 aria-level="2"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Set up the notebook environment&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;The companion notebook can be organized around a shared client so each scenario changes only the endpoint suffix and request payload.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335559739&amp;quot;:120}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;%pip install -q requests 
 
import json 
import os 
import subprocess 
import time 
from pathlib import Path 
from typing import Any, Dict 
 
import requests &lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Configure the resource and model deployment names. The deployment names must match the deployments in your Foundry project.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;FOUNDRY_RESOURCE_NAME = os.environ.get( 
    "FOUNDRY_RESOURCE_NAME", "your-foundry-resource" 
) 
FOUNDRY_HOST = ( 
    f"https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com" 
) 
 
DEPLOYMENTS = { 
    "ltx_fast": os.environ.get("LTX_FAST_DEPLOYMENT", "ltx-2-5-fast"), 
    "ltx_pro": os.environ.get("LTX_PRO_DEPLOYMENT", "ltx-2-5-pro"), 
    "kling_pro": os.environ.get("KLING_PRO_DEPLOYMENT", "kling-v3-pro"), 
    "minimax_h3": os.environ.get("MINIMAX_H3_DEPLOYMENT", "minimax-h3-max"), 
} &lt;/LI-CODE&gt;
&lt;H5&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Authenticate for local development&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&lt;SPAN data-contrast="auto"&gt;This Python helper invokes Azure CLI as a subprocess. It is still Python, not a Bash sample.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;def get_bearer_token() -&amp;gt; str: 
    command = [ 
        "az", "account", "get-access-token", 
        "--scope", "https://cognitiveservices.azure.com/.default", 
        "--query", "accessToken", 
        "--output", "tsv", 
    ] 
    token = subprocess.check_output(command, text=True).strip() 
    if not token: 
        raise RuntimeError("Azure CLI did not return an access token.") 
    return token 
 
 
def auth_headers() -&amp;gt; Dict[str, str]: 
    return { 
        "Authorization": f"Bearer {get_bearer_token()}", 
        "Content-Type": "application/json", 
    } &lt;/LI-CODE&gt;
&lt;H5&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Create the asynchronous generation client&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&lt;SPAN data-contrast="auto"&gt;Video generation is asynchronous. The client submits a job, polls its status, retrieves the result, and downloads the completed video.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;FAILURE_STATES = {"FAILED", "CANCELED", "CANCELLED"} 
 
 
def submit_generation(route: str, payload: Dict[str, Any]) -&amp;gt; str: 
    response = requests.post( 
        f"{FOUNDRY_HOST}{route}", 
        headers=auth_headers(), 
        json=payload, 
        timeout=120, 
    ) 
    response.raise_for_status() 
    request_id = response.json().get("request_id") 
    if not request_id: 
        raise RuntimeError(f"No request_id returned: {response.text}") 
    return request_id 
 
 
def wait_for_completion(request_root: str, request_id: str) -&amp;gt; None: 
    started = time.monotonic() 
    while True: 
        response = requests.get( 
            f"{FOUNDRY_HOST}{request_root}/requests/{request_id}/status", 
            headers=auth_headers(), 
            timeout=60, 
        ) 
        response.raise_for_status() 
        body = response.json() 
        status = body.get("status", "UNKNOWN") 
        print(f"{request_id}: {status}") 
        if status == "COMPLETED": 
            return 
        if status in FAILURE_STATES: 
            raise RuntimeError(f"Generation ended with {status}: {body}") 
        if time.monotonic() - started &amp;gt; 1800: 
            raise TimeoutError(f"Timed out waiting for {request_id}") 
        time.sleep(5) 
 
 
def get_result(request_root: str, request_id: str) -&amp;gt; Dict[str, Any]: 
    response = requests.get( 
        f"{FOUNDRY_HOST}{request_root}/requests/{request_id}", 
        headers=auth_headers(), 
        timeout=60, 
    ) 
    response.raise_for_status() 
    return response.json() 
 
 
def download_video(video_url: str, output_path: str) -&amp;gt; Path: 
    output = Path(output_path) 
    with requests.get( 
        video_url, headers=auth_headers(), stream=True, timeout=180 
    ) as response: 
        response.raise_for_status() 
        with output.open("wb") as file: 
            for chunk in response.iter_content(1024 * 1024): 
                if chunk: 
                    file.write(chunk) 
    return output 
 
 
def run_generation(route, request_root, payload, output_path): 
    request_id = submit_generation(route, payload) 
    wait_for_completion(request_root, request_id) 
    result = get_result(request_root, request_id) 
    video_url = result.get("video", {}).get("url") 
    if not video_url: 
        raise RuntimeError(f"No video URL in result: {result}") 
    download_video(video_url, output_path) 
    return result &lt;/LI-CODE&gt;
&lt;H5 aria-level="1"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 1"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Step 1: Explore the concept with LTX 2.5 Fast&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;LI-CODE lang="python"&gt;campaign_prompt = """ 
A premium matte black portable speaker on a weathered stone ledge 
above a misty alpine lake at sunrise. Slow cinematic push-in. 
Subtle wind moves the grass. Realistic premium advertising style. 
No text, logos, duplicate products, warped geometry, or abrupt motion. 
""".strip() 
 
ltx_root = "/providers/falai/lightricks/ltx-2.5" 
concept_result = run_generation( 
    route=f"{ltx_root}/text-to-video/fast", 
    request_root=ltx_root, 
    payload={ 
        "model": DEPLOYMENTS["ltx_fast"], 
        "prompt": campaign_prompt, 
        "duration": 6, 
        "resolution": "720p", 
        "aspect_ratio": "16:9", 
    }, 
    output_path="northstar_concept_ltx_fast.mp4", 
) &lt;/LI-CODE&gt;
&lt;H5&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Step 2: Animate the approved hero image&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;LI-CODE lang="python"&gt;HERO_IMAGE_URL = "https://your-domain.example/northstar-hero.png" 
 
hero_result = run_generation( 
    route=f"{ltx_root}/image-to-video/pro", 
    request_root=ltx_root, 
    payload={ 
        "model": DEPLOYMENTS["ltx_pro"], 
        "prompt": ( 
            "Preserve the product design. Add a slow stable camera push, " 
            "subtle drifting mist, and gentle grass movement. No text or cuts." 
        ), 
        "image_url": HERO_IMAGE_URL, 
        "duration": 8, 
        "resolution": "1080p", 
        "aspect_ratio": "16:9", 
    }, 
    output_path="northstar_hero_ltx_pro.mp4", 
) &lt;/LI-CODE&gt;
&lt;H5&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Step 3: Test a cinematic alternative with Kling v3 Pro&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;LI-CODE lang="python"&gt;kling_root = "/providers/falai/kling/v3/pro" 
kling_result = run_generation( 
    route=f"{kling_root}/text-to-video", 
    request_root=kling_root, 
    payload={ 
        "model": DEPLOYMENTS["kling_pro"], 
        "prompt": campaign_prompt, 
        "duration": 6, 
        "aspect_ratio": "16:9", 
    }, 
    output_path="northstar_kling_v3_pro.mp4", 
) &lt;/LI-CODE&gt;
&lt;H5&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Step 4: Add reference context with &lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;MiniMax&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt; H3 Max&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;LI-CODE lang="python"&gt;minimax_root = "/providers/falai/minimax/h3-max" 
reference_result = run_generation( 
    route=f"{minimax_root}/reference-to-video", 
    request_root=minimax_root, 
    payload={ 
        "model": DEPLOYMENTS["minimax_h3"], 
        "prompt": ( 
            "Preserve the product appearance and follow the visual pacing " 
            "and audio mood of the supplied references. No text or logos." 
        ), 
        "references": [ 
            {"type": "image", "url": "https://your-domain.example/hero.png"}, 
            {"type": "video", "url": "https://your-domain.example/motion.mp4"}, 
            {"type": "audio", "url": "https://your-domain.example/audio.wav"}, 
        ], 
        "duration": 8, 
        "resolution": "768P", 
    }, 
    output_path="northstar_reference_minimax_h3.mp4", 
) &lt;/LI-CODE&gt;
&lt;H5&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Display outputs in the notebook&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;LI-CODE lang="python"&gt;from IPython.display import Video, display 
 
for path in [ 
    "northstar_concept_ltx_fast.mp4", 
    "northstar_hero_ltx_pro.mp4", 
    "northstar_kling_v3_pro.mp4", 
    "northstar_reference_minimax_h3.mp4", 
]: 
    print(path) 
    display(Video(path, embed=True, width=720)) &lt;/LI-CODE&gt;
&lt;H5 aria-level="2"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Evaluate and operationalize the workflow&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="11" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Prompt adherence: subject, setting, camera direction, and exclusions.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="12" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Identity and geometry: product consistency and physical plausibility.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="13" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Temporal consistency: stable motion, lighting, reflections, and boundaries.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="14" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Aesthetic fit: alignment with the intended campaign style.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="15" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Operational fit: latency, supported resolution, duration, region, quota, and cost.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H5 aria-level="3"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 3"&gt;Production considerations&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="16" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Use bounded retries with exponential backoff for transient failures.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="17" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Persist the request ID and last-known job state so polling can resume.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="18" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Do not log tokens, signed URLs, or sensitive prompts.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="19" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Move completed outputs to application-controlled storage before temporary links expire.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="20" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Keep payload construction in model-specific adapters because schemas differ.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H5 aria-level="3"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 3"&gt;Managed identity for hosted applications&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="Code Language" data-ccp-parastyle-defn="{&amp;quot;ObjectId&amp;quot;:&amp;quot;2c724cc9-c4c2-5581-8937-ed4a59cdaed2|1&amp;quot;,&amp;quot;ClassId&amp;quot;:1073872969,&amp;quot;Properties&amp;quot;:[469775450,&amp;quot;Code Language&amp;quot;,201340122,&amp;quot;2&amp;quot;,134233614,&amp;quot;true&amp;quot;,469778129,&amp;quot;CodeLanguage&amp;quot;,335572020,&amp;quot;1&amp;quot;,134224900,&amp;quot;true&amp;quot;,469777841,&amp;quot;Aptos&amp;quot;,469777844,&amp;quot;Aptos&amp;quot;,469769226,&amp;quot;Aptos&amp;quot;,335551500,&amp;quot;9917743&amp;quot;,268442635,&amp;quot;18&amp;quot;,335559739,&amp;quot;40&amp;quot;,335559738,&amp;quot;140&amp;quot;,134245418,&amp;quot;true&amp;quot;,201342446,&amp;quot;1&amp;quot;,201342447,&amp;quot;5&amp;quot;,201342448,&amp;quot;3&amp;quot;,201342449,&amp;quot;1&amp;quot;,469777842,&amp;quot;Arial&amp;quot;,469777843,&amp;quot;ＭＳ 明朝&amp;quot;,201341986,&amp;quot;1&amp;quot;]}"&gt;Language: Python&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;335559738&amp;quot;:140,&amp;quot;335559739&amp;quot;:40}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from azure.identity import DefaultAzureCredential 
 
credential = DefaultAzureCredential() 
token = credential.get_token( 
    "https://cognitiveservices.azure.com/.default" 
).token &lt;/LI-CODE&gt;
&lt;H5 aria-level="2"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Troubleshooting&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="21" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;401 or 403: verify token scope, project role, and preview registration.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="22" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;404&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;: verify&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt; the provider, version, model, and modality path.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="23" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;400&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;: validate&lt;/SPAN&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt; every payload field against the selected model schema.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="24" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Queued job: continue bounded polling and confirm quota and capacity.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="25" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Unreadable input: verify that the HTTPS asset URL is reachable and unexpired.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI aria-setsize="-1" data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;singleLevel&amp;quot;}" data-aria-posinset="26" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;&lt;SPAN data-ccp-parastyle="List Bullet"&gt;Missing video URL: inspect the sanitized result and update model-specific parsing.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H5 aria-level="2"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 2"&gt;Build around the creative goal&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:200,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;The application does not need to be designed around one model. Start with fast text-to-video exploration, move to image-to-video when the composition is approved, and add references when the creative direction needs more context. The companion notebook provides a practical starting point for adapting the prompts, assets, routes, and generation parameters to your own scenario.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;Conclusion&lt;/H4&gt;
&lt;P&gt;Generative video workflows don't need to be built around a single model or generation technique. With fal models on Microsoft Foundry, you can choose the model and modality that best fit each stage of your application, from quickly exploring ideas with text-to-video to bringing existing visuals to life with image-to-video and adding greater creative direction with reference inputs.&lt;/P&gt;
&lt;P&gt;In this walkthrough, we showed how those capabilities can come together in a practical, multi-model workflow using Python and Jupyter Notebook. Use the companion notebook to try the examples yourself, experiment with different models and prompts, and adapt the workflow to your own creative scenarios.&lt;/P&gt;
&lt;H3&gt;&lt;SPAN data-ccp-props="{}"&gt;Appendix&lt;/SPAN&gt;&lt;/H3&gt;
&lt;H4&gt;API routes for fal video models&lt;/H4&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Each fal model exposes a route for its supported video generation modalities. Replace {FOUNDRY_RESOURCE_NAME} with the name of your Microsoft Foundry resource.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Model&lt;/th&gt;&lt;th&gt;Modality&lt;/th&gt;&lt;th&gt;API route&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Kling v3 Pro&lt;/td&gt;&lt;td&gt;Text-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/kling/v3/pro/text-to-video" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/kling/v3/pro/text-to-video&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Kling v3 Pro&lt;/td&gt;&lt;td&gt;Image-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/kling/v3/pro/image-to-video" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/kling/v3/pro/image-to-video&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;LTX 2.5 Fast&lt;/td&gt;&lt;td&gt;Text-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/text-to-video/fast" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/text-to-video/fast&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;LTX 2.5 Fast&lt;/td&gt;&lt;td&gt;Image-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/image-to-video/fast" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/image-to-video/fast&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;LTX 2.5 Pro&lt;/td&gt;&lt;td&gt;Text-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/text-to-video/pro" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/text-to-video/pro&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;LTX 2.5 Pro&lt;/td&gt;&lt;td&gt;Image-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/image-to-video/pro" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/image-to-video/pro&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;MiniMax H3 Max&lt;/td&gt;&lt;td&gt;Text-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/minimax/h3-max/text-to-video" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max/text-to-video&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;MiniMax H3 Max&lt;/td&gt;&lt;td&gt;Image-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/minimax/h3-max/image-to-video" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max/image-to-video&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;MiniMax H3 Max&lt;/td&gt;&lt;td&gt;Reference-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/minimax/h3-max/reference-to-video" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max/reference-to-video&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;MiniMax H3 Max Turbo&lt;/td&gt;&lt;td&gt;Text-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/minimax/h3-max-turbo/text-to-video" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max-turbo/text-to-video&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;MiniMax H3 Max Turbo&lt;/td&gt;&lt;td&gt;Image-to-video&lt;/td&gt;&lt;td&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/minimax/h3-max-turbo/image-to-video" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max-turbo/image-to-video&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;H4&gt;Asynchronous request routes&lt;/H4&gt;
&lt;P&gt;After submitting a generation request, the service returns a request_id. Use that identifier to monitor and retrieve the generation job.&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Operation&lt;/th&gt;&lt;th&gt;HTTP method&lt;/th&gt;&lt;th&gt;Route pattern&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Submit a generation request&lt;/td&gt;&lt;td&gt;POST&lt;/td&gt;&lt;td&gt;{BASE_URL}/{MODALITY}&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Check request status&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;&lt;td&gt;{BASE_URL}/requests/{REQUEST_ID}/status&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Retrieve the completed result&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;&lt;td&gt;{BASE_URL}/requests/{REQUEST_ID}&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Download the generated video&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;&lt;td&gt;Use the URL returned in video.url&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;For example, a MiniMax H3 Max text-to-video request uses the following URLs:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Submit: {BASE_URL}/text-to-video&lt;/LI&gt;
&lt;LI&gt;Check status: {BASE_URL}/requests/{REQUEST_ID}/status&lt;/LI&gt;
&lt;LI&gt;Retrieve result: {BASE_URL}/requests/{REQUEST_ID}&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Where BASE_URL is:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://{foundry_resource_name}.services.ai.azure.com/providers/falai/v1/minimax/h3-max" target="_blank" rel="noopener"&gt;https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Video generation is asynchronous, so the initial request does not return the completed video. Retrieve the completed result, extract the generated video location from the response, and download or process the asset using the authorization requirements returned or documented for that model.&lt;/P&gt;
&lt;H4 aria-level="1"&gt;&lt;SPAN data-contrast="none"&gt;&lt;SPAN data-ccp-parastyle="heading 1"&gt;Resources&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;335559738&amp;quot;:480,&amp;quot;335559739&amp;quot;:0}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Microsoft Learn: &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/how-to/fal-ai-models/enable-fal-models&amp;nbsp;" target="_blank" rel="noopener"&gt;Fal models on Microsoft Foundry (preview)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;GitHub Samples: &lt;A class="lia-external-url" href="https://github.com/microsoft-foundry/model-releases/tree/main/4-models" target="_blank" rel="noopener"&gt;https://aka.ms/model-releases&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Nov 2026 17:32:16 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/build-a-multi-model-video-generation-workflow-with-fal-on/ba-p/4573786</guid>
      <dc:creator>alexanderhughes</dc:creator>
      <dc:date>2026-11-25T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Hosted agents in your own virtual network: five checks when the Agents page times out</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/hosted-agents-in-your-own-virtual-network-five-checks-when-the/ba-p/4575468</link>
      <description>&lt;P&gt;Over the last few weeks I have worked with several teams moving hosted agents into their own virtual network. Different industries, same five questions. This post answers each one with the commands I use to check it.&lt;/P&gt;
&lt;P&gt;Picture a financial services team running claims agents in a locked-down network. Public access on the Foundry resource is off. The agent subnet sits in a spoke VNet. Azure Cosmos DB, Storage and Azure AI Search sit behind private endpoints, some of them in a hub VNet. All outbound traffic goes through a firewall that inspects TLS. The deployment succeeds. Then the Agents page spins and fails with a timeout.&lt;/P&gt;
&lt;P&gt;Nothing is wrong with the agent. The network around it is missing one piece. Here is how to find it.&lt;/P&gt;
&lt;H2 style="font-size: 22px; margin-top: 32px; color: #1b1b1b;"&gt;Start with what runs in your agent subnet&lt;/H2&gt;
&lt;P&gt;When you bring your own VNet, the delegated agent subnet is where the agent infrastructure runs: the micro VMs that run hosted agent sessions, and a single-tenant data proxy for each project. Tool calls go through that data proxy, and its outbound traffic reaches your storage, databases and Key Vault through private endpoints. The platform also signs in to Microsoft Entra ID with managed identity from that subnet before it calls your resources.&lt;/P&gt;
&lt;P&gt;&lt;IMG style="max-width: 100%; height: auto; border: 1px solid #ddd;" src="https://devblogs.microsoft.com/foundry/wp-content/uploads/sites/89/2026/11/agent-subnet-traffic.webp" alt="The delegated agent subnet holds hosted agent sessions and the project's data proxy. The data proxy signs in to Microsoft Entra ID through your firewall, then reaches Cosmos DB, Storage, AI Search and Key Vault through private endpoints, which need private DNS zones linked to the agent VNet." /&gt;&lt;/P&gt;
&lt;P&gt;So every check below asks one question: can the agent subnet resolve and reach what it needs?&lt;/P&gt;
&lt;H2 style="font-size: 22px; margin-top: 32px; color: #1b1b1b;"&gt;1. Find the subnet that matters&lt;/H2&gt;
&lt;P&gt;Teams that set up networking in the portal are often not sure which subnet became the agent subnet. Ask the Foundry account:&lt;/P&gt;
&lt;PRE class="language-bash" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-bash"&gt;az cognitiveservices account show &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --name my-foundry --resource-group &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;rg&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --query &lt;SPAN class="token string"&gt;"properties.networkInjections"&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE class="language-json" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-json"&gt;&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;
  &lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="token property"&gt;"scenario"&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"agent"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="token property"&gt;"subnetArmId"&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"/subscriptions/&amp;lt;sub&amp;gt;/resourceGroups/&amp;lt;rg&amp;gt;/providers/Microsoft.Network/virtualNetworks/&amp;lt;vnet&amp;gt;/subnets/agent-subnet"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="token property"&gt;"useMicrosoftManagedNetwork"&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;false&lt;/SPAN&gt;
  &lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then look at that subnet:&lt;/P&gt;
&lt;PRE class="language-bash" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-bash"&gt;az network vnet subnet show &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --resource-group &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;rg&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; --vnet-name &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;vnet&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; --name agent-subnet &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --query &lt;SPAN class="token string"&gt;"{prefix:addressPrefix, delegations:delegations[].serviceName, links:serviceAssociationLinks[].name, routeTable:routeTable.id}"&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE class="language-json" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-json"&gt;&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
  &lt;SPAN class="token property"&gt;"delegations"&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Microsoft.App/environments"&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
  &lt;SPAN class="token property"&gt;"links"&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"legionservicelink"&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
  &lt;SPAN class="token property"&gt;"prefix"&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"10.0.4.0/24"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
  &lt;SPAN class="token property"&gt;"routeTable"&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token null keyword"&gt;null&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What good looks like:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The subnet is delegated to &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;Microsoft.App/environments&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;It is /27 or larger. Use /24 or larger for production.&lt;/LI&gt;
&lt;LI&gt;It uses an RFC 1918 range: &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;10.0.0.0/8&lt;/CODE&gt;, &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;172.16.0.0/12&lt;/CODE&gt; or &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;192.168.0.0/16&lt;/CODE&gt;. Every region where Agent Service is available supports &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;10.0.0.0/8&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Its range does not overlap any peered VNet.&lt;/LI&gt;
&lt;LI&gt;It belongs to one Foundry resource only. Several Foundry resources can share a VNet, but each one needs its own agent subnet.&lt;/LI&gt;
&lt;LI&gt;The &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;legionservicelink&lt;/CODE&gt; service association link means the agent environment is using the subnet. You will meet it again in check 5.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;One more thing to get right on day one: for hosted agents, network injection has to be part of the Foundry account when you first create it. You cannot add it to an existing account later.&lt;/P&gt;
&lt;H2 style="font-size: 22px; margin-top: 32px; color: #1b1b1b;"&gt;2. "Listing agents timed out" means the data proxy cannot read your Cosmos DB&lt;/H2&gt;
&lt;P&gt;This is the error I see most:&lt;/P&gt;
&lt;PRE class="language-text" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-text"&gt;Listing agents timed out after 8s while reading the agent index. This usually indicates the project's bring-your-own Cosmos DB endpoint is unreachable or misconfigured.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It comes back as &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;400 invalid_configuration&lt;/CODE&gt;, because the cause sits in your network or Cosmos DB setup, not in the service. In the portal, the same problem can show up as &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;Timeout of 60000ms exceeded&lt;/CODE&gt; on the Agent pages.&lt;/P&gt;
&lt;P&gt;The data proxy in your agent subnet could not reach your Cosmos DB account in time. The two causes I see most are DNS and the Entra sign-in in check 3. Start with DNS.&lt;/P&gt;
&lt;P&gt;First, confirm the Cosmos DB private endpoint exists and is approved. Look for the &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;Sql&lt;/CODE&gt; group:&lt;/P&gt;
&lt;PRE class="language-bash" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-bash"&gt;az network private-endpoint list --resource-group &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;rg&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --query &lt;SPAN class="token string"&gt;"[].{name:name, group:privateLinkServiceConnections[0].groupIds[0], status:privateLinkServiceConnections[0].privateLinkServiceConnectionState.status}"&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  -o table
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Next, check that the &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;privatelink.documents.azure.com&lt;/CODE&gt; zone is linked to the VNet that contains the agent subnet. A private DNS zone only answers for VNets that are linked to it.&lt;/P&gt;
&lt;PRE class="language-bash" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-bash"&gt;az network private-dns &lt;SPAN class="token function"&gt;link&lt;/SPAN&gt; vnet list --resource-group &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;dns-rg&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --zone-name privatelink.documents.azure.com &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --query &lt;SPAN class="token string"&gt;"[].{name:name, vnet:virtualNetwork.id, state:virtualNetworkLinkState}"&lt;/SPAN&gt; -o table
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then check the records. You should see one for the account and one for each region it runs in:&lt;/P&gt;
&lt;PRE class="language-bash" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-bash"&gt;az network private-dns record-set a list --resource-group &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;dns-rg&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --zone-name privatelink.documents.azure.com &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --query &lt;SPAN class="token string"&gt;"[].{name:name, ip:aRecords[0].ipv4Address}"&lt;/SPAN&gt; -o table
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE class="language-text" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-text"&gt;Name               Ip
-----------------  ---------
my-cosmos          10.0.5.9
my-cosmos-westus3  10.0.5.10
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If your VNet uses custom DNS servers instead of Azure DNS, make sure they forward these zones to the Azure DNS virtual server at &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;168.63.129.16&lt;/CODE&gt; from a VNet that is linked to the zones. DNS servers on premises cannot reach that address, so point them at a DNS forwarder or Azure DNS Private Resolver in Azure instead. Last, from a VM in the same VNet, run &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;nslookup &amp;lt;account&amp;gt;.documents.azure.com&lt;/CODE&gt; and confirm it returns your Cosmos DB private endpoint's IP, not just any private IP.&lt;/P&gt;
&lt;P&gt;The same fix applies when Key Vault or Application Insights resolve to public IPs from your VNet. Key Vault needs the &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;privatelink.vaultcore.azure.net&lt;/CODE&gt; zone. Application Insights goes through an Azure Monitor Private Link Scope, which has its own private DNS zones. In each case the zone has to exist, hold the records and be linked to the agent VNet.&lt;/P&gt;
&lt;H2 style="font-size: 22px; margin-top: 32px; color: #1b1b1b;"&gt;3. Your private CA does not cover the platform's Entra sign-in&lt;/H2&gt;
&lt;P&gt;Teams with a firewall that decrypts and re-signs TLS often register the firewall's CA with private CA trust (public preview) and expect the timeouts to stop. They do not, and that is expected. From the docs:&lt;/P&gt;
&lt;BLOCKQUOTE style="border-left: 4px solid #0078d4; margin: 16px 0; padding: 4px 16px; color: #333; background: #f3f8fd;"&gt;
&lt;P&gt;Private CA trust doesn't apply to the platform's own Microsoft Entra ID and managed identity traffic from the agent subnet. If a firewall TLS-inspects that traffic, agent operations such as listing agents or conversations can fail or time out, even after you add the firewall's CA.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When I reproduced this in a test subscription, with the agent subnet's Entra traffic routed through a decrypting proxy, registering the proxy's CA made no difference. A no-decrypt rule for the Entra hosts fixed it.&lt;/P&gt;
&lt;P&gt;The fix has two parts:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Exclude &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;login.microsoftonline.com&lt;/CODE&gt;, &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;{region}.login.microsoft.com&lt;/CODE&gt; and &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;control-{region}.identity.azure.net&lt;/CODE&gt; from TLS inspection.&lt;/LI&gt;
&lt;LI&gt;Allow those hosts on the firewall, plus the managed identity FQDNs from the &lt;A href="https://learn.microsoft.com/azure/container-apps/use-azure-firewall#application-rules" target="_blank"&gt;Azure Container Apps firewall guidance&lt;/A&gt; or the &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;AzureActiveDirectory&lt;/CODE&gt; service tag. If you put an NSG on the agent subnet, add a matching outbound rule for the &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;AzureActiveDirectory&lt;/CODE&gt; service tag.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Keep private CA trust on for what it is built for: letting tools, model gateways and your own agent code call internal services that use your company's certificates, with certificate checks still on. I covered that in the &lt;A href="https://devblogs.microsoft.com/foundry/hosted-agents-foundry-agent-service-ignite-2026/" target="_blank"&gt;hosted agents Ignite 2026 post&lt;/A&gt;.&lt;/P&gt;
&lt;H2 style="font-size: 22px; margin-top: 32px; color: #1b1b1b;"&gt;4. Resources in a peered hub VNet work, but DNS follows the agent subnet&lt;/H2&gt;
&lt;P&gt;Can Cosmos DB, Storage or Search sit in a peered VNet? Yes. The docs say peered virtual networks are supported, and note that data transfer costs can increase.&lt;/P&gt;
&lt;P&gt;Do you need a route table on the agent subnet for peering? No. When you peer two VNets, Azure adds a system route for each address range of the other VNet. Add a route table only if your design sends traffic through a firewall. If it does, check two things: that your user-defined routes do not override the peering routes to your private endpoints by mistake, and that the firewall allows the Entra hosts from check 3.&lt;/P&gt;
&lt;P&gt;What trips teams up is DNS. If the spoke uses Azure DNS, a zone linked only to the hub does not resolve in the spoke. Link each private DNS zone to the VNet that holds the agent subnet, or point that VNet at DNS servers that forward to &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;168.63.129.16&lt;/CODE&gt; from a linked VNet. And keep every peered range unique, because overlapping ranges cause routing failures.&lt;/P&gt;
&lt;H2 style="font-size: 22px; margin-top: 32px; color: #1b1b1b;"&gt;5. "DelegatedSubnetInUse" after you deleted an account&lt;/H2&gt;
&lt;P&gt;Dev and test teams often create and delete Foundry accounts on the same subnet. Deleting an account soft-deletes it, and its agent environment keeps the subnet until the account is purged. The next account on that subnet fails with &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;DelegatedSubnetInUse&lt;/CODE&gt;, and the subnet cannot be deleted.&lt;/P&gt;
&lt;P&gt;List soft-deleted accounts in the subscription:&lt;/P&gt;
&lt;PRE class="language-bash" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-bash"&gt;az cognitiveservices account list-deleted -o table
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If an old account is still there and you are done with it, purge it. Purge is permanent, so check the name first. It needs Cognitive Services Contributor, or Contributor assigned at the subscription level:&lt;/P&gt;
&lt;PRE class="language-bash" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-bash"&gt;az cognitiveservices account purge &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --location &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;region&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; --resource-group &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;rg&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; --name &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;old-account&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Give the platform some time to clean up, then check that the link is gone:&lt;/P&gt;
&lt;PRE class="language-bash" style="background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 12px; overflow-x: auto; font-size: 13px; line-height: 1.45;" tabindex="0"&gt;&lt;CODE class="language-bash"&gt;az network vnet subnet show &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --resource-group &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;rg&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; --vnet-name &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;vnet&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt; --name agent-subnet &lt;SPAN class="token punctuation"&gt;\&lt;/SPAN&gt;
  --query &lt;SPAN class="token string"&gt;"serviceAssociationLinks[].name"&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;An empty list means the subnet is free. For dev loops, the simpler habit is one agent subnet per account, or purge before you reuse.&lt;/P&gt;
&lt;H2 style="font-size: 22px; margin-top: 32px; color: #1b1b1b;"&gt;What to watch for&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;Keep private endpoint addresses out of &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;192.168.0.0/24&lt;/CODE&gt; for hosted agents. That range overlaps an internal sandbox network, and connections can fail with "No route to host" even when DNS is right.&lt;/LI&gt;
&lt;LI&gt;The Foundry resource and the VNet must be in the same region. Cosmos DB, Storage and Search can be in other regions.&lt;/LI&gt;
&lt;LI&gt;The portal does not show IP use for the delegated subnet. Watch for &lt;CODE style="background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 90%;"&gt;429 subnet_exhausted&lt;/CODE&gt; on session create or resume, and 5xx errors from the data proxy.&lt;/LI&gt;
&lt;LI&gt;For hands-on DNS, TCP and TLS checks from inside the network, &lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/troubleshoot-hosted-agent-networking" target="_blank"&gt;Troubleshoot hosted agent virtual network connectivity&lt;/A&gt; walks through them from a jump box.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 style="font-size: 22px; margin-top: 32px; color: #1b1b1b;"&gt;Docs&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/virtual-networks" target="_blank"&gt;Set up private networking for Foundry Agent Service&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/agents/concepts/agents-networking-deep-dive" target="_blank"&gt;Deep dive into Foundry Agent Service networking&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/troubleshoot-hosted-agent-networking" target="_blank"&gt;Troubleshoot hosted agent virtual network connectivity&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/private-certificate-authority" target="_blank"&gt;Connect agents to services that use a private certificate authority&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/dns/private-dns-overview" target="_blank"&gt;What is Azure Private DNS?&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/virtual-network/virtual-networks-udr-overview" target="_blank"&gt;Azure virtual network traffic routing&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If your team hit something on this path that is not here, tell me in the comments. The next post will come from those answers.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;This post is also on the &lt;A href="https://devblogs.microsoft.com/foundry/hosted-agents-private-network-setup/" target="_blank"&gt;Microsoft Foundry devblog&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2026 17:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/hosted-agents-in-your-own-virtual-network-five-checks-when-the/ba-p/4575468</guid>
      <dc:creator>muzzimam</dc:creator>
      <dc:date>2026-11-25T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Let the LLM Judge, Let Code Do the Math: Using a Rubric to Size Work Consistently</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/let-the-llm-judge-let-code-do-the-math-using-a-rubric-to-size/ba-p/4575343</link>
      <description>&lt;H2 data-line="6"&gt;Introduction&lt;/H2&gt;
&lt;P data-line="8"&gt;Many AI workflows end with the same request:&amp;nbsp;&lt;EM&gt;"Give this item a score."&lt;/EM&gt;&amp;nbsp;A priority, a risk level, a quality grade. The model reads something, and you need a number or a label back.&lt;/P&gt;
&lt;P data-line="10"&gt;Take support ticket triage. Tickets arrive all day, and each one needs an urgency level so the right ones are handled first. The obvious move is to give the ticket to a model and ask,&amp;nbsp;&lt;EM&gt;"Rate the urgency of this ticket from 1 to 5."&lt;/EM&gt;&lt;/P&gt;
&lt;P data-line="12"&gt;It works in a demo. It falls apart in production. This post covers why, what we replaced it with, and what we got out of it.&lt;/P&gt;
&lt;H2 data-line="16"&gt;The Problem: A Number From a Model Is a Number You Can't Defend&lt;/H2&gt;
&lt;P data-line="18"&gt;When we asked a model for a score directly, we hit the same issues repeatedly:&lt;/P&gt;
&lt;UL data-line="20"&gt;
&lt;LI data-line="20"&gt;&lt;STRONG&gt;Inconsistency.&lt;/STRONG&gt;&amp;nbsp;The same ticket could score a 3 on one run and a 5 on the next. Two near-identical tickets could land on different urgency levels with no clear reason.&lt;/LI&gt;
&lt;LI data-line="21"&gt;&lt;STRONG&gt;No explanation.&lt;/STRONG&gt;&amp;nbsp;"It's a 4" is not an answer a reviewer can challenge. There was no way to see&amp;nbsp;&lt;EM&gt;which&lt;/EM&gt;&amp;nbsp;aspect of the ticket drove the number.&lt;/LI&gt;
&lt;LI data-line="22"&gt;&lt;STRONG&gt;Hidden arithmetic.&lt;/STRONG&gt;&amp;nbsp;Models are not reliable calculators. Asking one to weigh several factors and apply thresholds inside a prompt is arithmetic in disguise, and small prompt edits shifted results unpredictably.&lt;/LI&gt;
&lt;LI data-line="23"&gt;&lt;STRONG&gt;Nothing to tune.&lt;/STRONG&gt;&amp;nbsp;If urgency ran too high for a certain kind of ticket, the only lever was to rewrite the prompt and hope. Every change risked side effects elsewhere.&lt;/LI&gt;
&lt;LI data-line="24"&gt;&lt;STRONG&gt;No way to measure improvement.&lt;/STRONG&gt;&amp;nbsp;A single opaque number is hard to compare against what an experienced agent would say, so we couldn't tell whether a change made things better or worse.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="26"&gt;The root cause is that we asked one component to do two jobs at once:&amp;nbsp;&lt;STRONG&gt;make a judgment&lt;/STRONG&gt;&amp;nbsp;about the ticket and&amp;nbsp;&lt;STRONG&gt;turn that judgment into a number&lt;/STRONG&gt;. Models are good at the first and unreliable at the second.&lt;/P&gt;
&lt;H2 data-line="30"&gt;The Idea: Separate Judgment From Math&lt;/H2&gt;
&lt;P data-line="32"&gt;We split the two jobs:&lt;/P&gt;
&lt;OL data-line="34"&gt;
&lt;LI data-line="34"&gt;&lt;STRONG&gt;The LLM only answers a checklist.&lt;/STRONG&gt;&amp;nbsp;A fixed list of binary Yes/No questions about the ticket, plus a short rationale.&lt;/LI&gt;
&lt;LI data-line="35"&gt;&lt;STRONG&gt;Code computes the score.&lt;/STRONG&gt;&amp;nbsp;Counting, bucketing, weighting, and mapping to a final level all happen deterministically, outside the model.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-line="37"&gt;The model never sees a score, a weight, or a threshold, and it must not return one. If it does, that's a contract violation.&lt;/P&gt;
&lt;P data-line="39"&gt;This pattern is often called a&amp;nbsp;&lt;STRONG&gt;checklist evaluation&lt;/STRONG&gt;&amp;nbsp;(CheckEval). It sits underneath a more familiar idea, the&amp;nbsp;&lt;STRONG&gt;rubric&lt;/STRONG&gt;: a set of weighted dimensions that together describe what you are scoring.&lt;/P&gt;
&lt;H2 data-line="43"&gt;Where Rubrics Come From: Microsoft Foundry Rubric Evaluators&lt;/H2&gt;
&lt;P data-line="45"&gt;We didn't invent the rubric idea. Microsoft Foundry ships&amp;nbsp;&lt;STRONG&gt;rubric evaluators&lt;/STRONG&gt;, which score an agent or model response against custom criteria (called&amp;nbsp;&lt;EM&gt;dimensions&lt;/EM&gt;) using an LLM as the judge. Their purpose is to let you define what "good" means for your use case and apply that judgment consistently.&lt;/P&gt;
&lt;P data-line="47"&gt;The core concepts line up closely with what we built:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Foundry rubric concept&lt;/th&gt;&lt;th&gt;How we used it&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Dimensions&lt;/STRONG&gt;: custom criteria, each with a description and a weight&lt;/td&gt;&lt;td&gt;Our scoring dimensions and their weights&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;1–5 rating per dimension&lt;/STRONG&gt;, combined as a weighted average&lt;/td&gt;&lt;td&gt;The same shape: per-dimension 1–5 scores and a weighted aggregate&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Pass/fail checklist mode&lt;/STRONG&gt;&amp;nbsp;for quality rubrics&lt;/td&gt;&lt;td&gt;The inspiration for our binary Yes/No questions&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Editable, versioned rubrics&lt;/STRONG&gt;: adjust descriptions, weights, and thresholds, and save changes as new versions&lt;/td&gt;&lt;td&gt;Our versioned config, tuned without code changes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Rubric health diagnostics&lt;/STRONG&gt;&amp;nbsp;that surface overlapping or low-coverage criteria&lt;/td&gt;&lt;td&gt;The same concern as keeping dimensions independent&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Continuous evaluation&lt;/STRONG&gt;&amp;nbsp;against live traffic&lt;/td&gt;&lt;td&gt;Our reference-free check on live results&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P data-line="58"&gt;Foundry's quality rubrics report either a 1–5 rating per dimension, which it normalizes to 0.0–1.0, or a pass/fail checklist. We combine the two ideas: a&amp;nbsp;&lt;STRONG&gt;binary checklist under each dimension&lt;/STRONG&gt;&amp;nbsp;whose Yes-count becomes the 1–5 score, with all arithmetic done in code. The model still acts as the judge, but only on questions a person can verify.&lt;/P&gt;
&lt;P data-line="60"&gt;Two ways to use this in practice:&lt;/P&gt;
&lt;UL data-line="62"&gt;
&lt;LI data-line="62"&gt;&lt;STRONG&gt;As the scoring mechanism itself.&lt;/STRONG&gt;&amp;nbsp;Define your dimensions and weights in a rubric and let the judge rate them.&lt;/LI&gt;
&lt;LI data-line="63"&gt;&lt;STRONG&gt;As the evaluation layer.&lt;/STRONG&gt;&amp;nbsp;Keep your own deterministic scoring, and use a rubric evaluator to check whether the judge's answers and final scores match your team's standards.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="65"&gt;Microsoft's guidance is also a good starting point for authoring: generate a rubric from your context to get a grounded baseline, then refine it by hand until its scores match your team's judgment.&lt;/P&gt;
&lt;H2 data-line="69"&gt;How the Rubric Works&lt;/H2&gt;
&lt;H3 data-line="71"&gt;1. Pick a few independent dimensions&lt;/H3&gt;
&lt;P data-line="73"&gt;A rubric breaks the thing you care about into dimensions. Each should capture something different, with no overlap. For ticket urgency, we might use three:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Dimension&lt;/th&gt;&lt;th&gt;What it measures&lt;/th&gt;&lt;th&gt;Example weight&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Impact&lt;/STRONG&gt;&lt;/td&gt;&lt;td&gt;How much is affected: users, revenue, data&lt;/td&gt;&lt;td&gt;0.40&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Severity&lt;/STRONG&gt;&lt;/td&gt;&lt;td&gt;How badly it is broken: outage, data loss, workaround available or not&lt;/td&gt;&lt;td&gt;0.40&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Time pressure&lt;/STRONG&gt;&lt;/td&gt;&lt;td&gt;How soon it matters: deadlines, SLAs, escalations&lt;/td&gt;&lt;td&gt;0.20&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P data-line="81"&gt;Keeping dimensions separate matters. A rare bug that corrupts data and a minor glitch that affects every user are both "urgent", for different reasons. A single "how urgent?" question blurs that distinction.&lt;/P&gt;
&lt;H3 data-line="83"&gt;2. Ask binary questions for each dimension&lt;/H3&gt;
&lt;P data-line="85"&gt;Each dimension gets a short list of Yes/No questions. For example:&lt;/P&gt;
&lt;UL data-line="87"&gt;
&lt;LI data-line="87"&gt;&lt;STRONG&gt;Impact:&lt;/STRONG&gt;&amp;nbsp;Does it affect more than one customer? Does it affect a paid or critical account? Does it block a core workflow?&lt;/LI&gt;
&lt;LI data-line="88"&gt;&lt;STRONG&gt;Severity:&lt;/STRONG&gt;&amp;nbsp;Is the service unavailable or failing outright? Is there data loss or corruption? Is there no workaround?&lt;/LI&gt;
&lt;LI data-line="89"&gt;&lt;STRONG&gt;Time pressure:&lt;/STRONG&gt;&amp;nbsp;Is an SLA about to be breached? Has the customer escalated? Is there a hard deadline mentioned?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="91"&gt;Binary questions are the key design choice. A model asked "rate the severity from 1 to 5" will drift. A model asked "is there data loss or corruption?" has a narrow, checkable job. A human can look at the answer and say&amp;nbsp;&lt;EM&gt;right&lt;/EM&gt;&amp;nbsp;or&amp;nbsp;&lt;EM&gt;wrong&lt;/EM&gt;.&lt;/P&gt;
&lt;H3 data-line="93"&gt;3. Turn answers into scores with plain arithmetic&lt;/H3&gt;
&lt;P data-line="95"&gt;For each dimension, count the "Yes" answers and map the count to a score:&lt;/P&gt;
&lt;P&gt;dimensionScore = (number of "Yes" answers) + 1 → 1 to 5&lt;/P&gt;
&lt;P data-line="101"&gt;Then combine the dimensions with a weighted average:&lt;/P&gt;
&lt;P&gt;aggregate = Σ ( weight × dimensionScore ) → 1 to 5&lt;/P&gt;
&lt;P data-line="107"&gt;Because the weights add up to 1, the aggregate stays on the same scale as the dimension scores. Cutoffs then map the aggregate to a level such as&amp;nbsp;&lt;EM&gt;Low, Normal, High, Urgent, Critical&lt;/EM&gt;.&lt;/P&gt;
&lt;H3 data-line="109"&gt;4. Map the level to whatever you need downstream&lt;/H3&gt;
&lt;P data-line="111"&gt;The level is a neutral, shared currency. A final, configurable step translates it into what the consumer needs: a queue, a response-time target, or an escalation. The top level can also trigger something special, such as paging an on-call engineer or routing to a human for review, instead of being treated as just another number.&lt;/P&gt;
&lt;H2 data-line="115"&gt;Guardrails on the Model&lt;/H2&gt;
&lt;P data-line="117"&gt;The judging model runs under strict rules:&lt;/P&gt;
&lt;UL data-line="119"&gt;
&lt;LI data-line="119"&gt;&lt;STRONG&gt;Temperature 0 and structured output.&lt;/STRONG&gt; The response is a JSON object with Booleans and a short rationale per dimension, nothing else.&lt;/LI&gt;
&lt;LI data-line="120"&gt;&lt;STRONG&gt;Answer only the questions provided.&lt;/STRONG&gt;&amp;nbsp;It can't add, drop, or rename questions.&lt;/LI&gt;
&lt;LI data-line="121"&gt;&lt;STRONG&gt;No numbers.&lt;/STRONG&gt;&amp;nbsp;It must never return scores, levels, or weights.&lt;/LI&gt;
&lt;LI data-line="122"&gt;&lt;STRONG&gt;Ground every answer in the provided context.&lt;/STRONG&gt;&amp;nbsp;If the ticket doesn't support a "Yes", the answer is "No". Treating absence of evidence as No keeps the model from over-claiming and keeps scores reproducible.&lt;/LI&gt;
&lt;LI data-line="123"&gt;&lt;STRONG&gt;Batch where possible.&lt;/STRONG&gt;&amp;nbsp;Scoring several items per call, with all dimensions at once, reduces cost and helps the model answer similar items consistently.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 data-line="127"&gt;Everything Lives in Config&lt;/H2&gt;
&lt;P data-line="129"&gt;The dimensions, questions, weights, score buckets, thresholds, and final mappings live in one versioned configuration file, not in code or in the prompt. Variants can override just the parts that differ: for example, a billing queue might add a question or weigh time pressure more heavily.&lt;/P&gt;
&lt;P data-line="131"&gt;That turned scoring from a prompt-engineering problem into a&amp;nbsp;&lt;STRONG&gt;tuning&lt;/STRONG&gt;&amp;nbsp;problem. Changing how a dimension counts is a small config change that can be reviewed, versioned, and rolled back.&lt;/P&gt;
&lt;H2 data-line="135"&gt;Every Score Leaves an Audit Trail&lt;/H2&gt;
&lt;P data-line="137"&gt;For every scored item we keep:&lt;/P&gt;
&lt;UL data-line="139"&gt;
&lt;LI data-line="139"&gt;the checklist answers and the rationale for each dimension&lt;/LI&gt;
&lt;LI data-line="140"&gt;the per-dimension scores&lt;/LI&gt;
&lt;LI data-line="141"&gt;the aggregate and the level&lt;/LI&gt;
&lt;LI data-line="142"&gt;the final output&lt;/LI&gt;
&lt;LI data-line="143"&gt;the version of the rubric that produced it&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="145"&gt;When someone asks "why did this ticket get a 4?", the answer is concrete:&amp;nbsp;&lt;EM&gt;these questions were answered Yes, here is the rationale, here is the arithmetic, and here is the rubric version.&lt;/EM&gt;&lt;/P&gt;
&lt;H2 data-line="149"&gt;Evaluating the Judge, Not Just the Output&lt;/H2&gt;
&lt;P data-line="151"&gt;Because the math is deterministic, the only thing that can go wrong is the&amp;nbsp;&lt;STRONG&gt;judgment&lt;/STRONG&gt;: a question answered incorrectly. A wrong "Yes" silently inflates a score. So that is what we evaluate:&lt;/P&gt;
&lt;UL data-line="153"&gt;
&lt;LI data-line="153"&gt;&lt;STRONG&gt;Answer correctness.&lt;/STRONG&gt;&amp;nbsp;Did the judge answer each question correctly for this ticket?&lt;/LI&gt;
&lt;LI data-line="154"&gt;&lt;STRONG&gt;Score correctness.&lt;/STRONG&gt;&amp;nbsp;Does the resulting level agree with what an experienced agent would say?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-line="156"&gt;This can run in two modes: a lightweight, reference-free check that grades the grader on live traffic and flags low-confidence results for human review, and a reference-based batch run against a dataset of expert-labeled examples. The batch run tracks answer accuracy, score error, level agreement, and determinism across repeated runs.&lt;/P&gt;
&lt;P data-line="158"&gt;When a disagreement shows up, the structure tells you which knob to turn:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Symptom&lt;/th&gt;&lt;th&gt;What to fix&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;A checklist answer is wrong&lt;/td&gt;&lt;td&gt;Reword the question or refine the judge's prompt&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Answers are right but the final score is off&lt;/td&gt;&lt;td&gt;Adjust the buckets, weights, or thresholds in config&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A systematic gap&lt;/td&gt;&lt;td&gt;Capture the case as new labeled data&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P data-line="166"&gt;Every fix is a versioned config or prompt change, re-validated by the batch evaluation before release.&lt;/P&gt;
&lt;H2 data-line="170"&gt;How It Helped&lt;/H2&gt;
&lt;UL data-line="172"&gt;
&lt;LI data-line="172"&gt;&lt;STRONG&gt;Consistency.&lt;/STRONG&gt;&amp;nbsp;The same ticket gets the same checklist answers, and the same answers always produce the same score. The variability is confined to a narrow, checkable yes/no step.&lt;/LI&gt;
&lt;LI data-line="173"&gt;&lt;STRONG&gt;Explainability.&lt;/STRONG&gt;&amp;nbsp;Every score traces back to specific answers and a short rationale. Reviewers can challenge a single question rather than an entire result.&lt;/LI&gt;
&lt;LI data-line="174"&gt;&lt;STRONG&gt;Tunability.&lt;/STRONG&gt;&amp;nbsp;Weights and thresholds are config. You can calibrate against expert judgment without redeploying code or rewriting prompts.&lt;/LI&gt;
&lt;LI data-line="175"&gt;&lt;STRONG&gt;Measurability.&lt;/STRONG&gt;&amp;nbsp;Structured output compares directly against labeled data, so you can tell whether a change helped.&lt;/LI&gt;
&lt;LI data-line="176"&gt;&lt;STRONG&gt;Reuse.&lt;/STRONG&gt;&amp;nbsp;The same approach works for other scoring problems, such as risk, quality, or lead priority. Only the questions and final mapping change.&lt;/LI&gt;
&lt;LI data-line="177"&gt;&lt;STRONG&gt;Safer failure modes.&lt;/STRONG&gt; Defaulting to "No" without evidence, flagging low-confidence answers, and routing the top level to a human push errors toward visible, reviewable outcomes instead of silent ones.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 data-line="200"&gt;References&lt;/H2&gt;
&lt;UL data-line="202"&gt;
&lt;LI data-line="202"&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/rubric-evaluators" data-href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/rubric-evaluators" target="_blank"&gt;Rubric evaluators in Microsoft Foundry&lt;/A&gt;: overview of rubric types, scoring, versioning, diagnostics, and continuous evaluation&lt;/LI&gt;
&lt;LI data-line="203"&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/quality-rubric-evaluators" data-href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/quality-rubric-evaluators" target="_blank"&gt;Quality rubric evaluators&lt;/A&gt;: weighted 1–5 dimensions and pass/fail checklists&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 24 Nov 2026 17:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/let-the-llm-judge-let-code-do-the-math-using-a-rubric-to-size/ba-p/4575343</guid>
      <dc:creator>paggarwal</dc:creator>
      <dc:date>2026-11-24T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Turn Agent Insights into Improvements</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/turn-agent-insights-into-improvements/ba-p/4575204</link>
      <description>&lt;H1&gt;What insight optimization does&lt;/H1&gt;
&lt;P&gt;A retail assistant can answer quickly, call its tools successfully, and still skip a step that matters. Perhaps it recommends an order change before checking eligibility. The request returns no infrastructure error, but the conversation does not meet the team's expectations. If that behavior keeps recurring, finding another example is not enough. The team needs a way to turn the pattern into a change it can evaluate.&lt;/P&gt;
&lt;P&gt;Insights Optimization is a public preview feature in Microsoft Foundry that connects those two activities. Agent insights identifies recurring behaviors in recorded traces and links findings to supporting evidence. From the Insights tab, developers can select one or more confirmed issues and ask agent optimizer to propose and evaluate candidate changes in a single run. The workflow starts with the evidence behind the issues rather than requiring developers to assemble every replay scenario by hand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The distinction between finding and fixing is important. An insight is an AI-generated finding to investigate, not proof that its diagnosis is correct. The owner should review the description, affected agent version, and linked conversations before choosing what to optimize. Some findings point to unclear instructions. Others point to an unavailable service, missing data, or a broken tool. Those dependencies need their own fixes; changing an agent's wording cannot repair them.&lt;/P&gt;
&lt;P&gt;In the current public preview, optimization for supported prompt agents can propose changes to agent instructions and function-calling tool descriptions. The aim is to improve selected behaviors through changes to the agent's existing instructions and tool descriptions, then provide evidence for deciding whether to adopt a candidate.&lt;/P&gt;
&lt;P&gt;The result is a reviewable proposal, not an automatic production deployment. Developers can inspect changes, compare evaluation results, and decide whether to promote a candidate. Keeping the current agent is a valid outcome when the run does not find a qualifying improvement.&lt;/P&gt;
&lt;P&gt;There is a separate operational boundary to understand before starting: &lt;STRONG&gt;evaluation executes the agent's tools&lt;/STRONG&gt;. A run can modify connected systems even if no candidate is ever promoted. Use read-only access or isolated test resources and permissions; isolating the execution environment alone does not isolate a production database. Evaluation can also incur tool charges and trigger rate limits. Manual promotion controls adoption of a candidate, not the side effects of testing candidates during optimization.&lt;/P&gt;
&lt;H1&gt;How it works&lt;/H1&gt;
&lt;P&gt;The insights optimization algorithm turns a selected set of recurring issues into a bounded search over candidate changes. Two questions guide that search: did the candidate address the selected failures, and did its broader behavior remain within the configured quality tolerance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;Figure 1. Evidence, candidate search, and adoption are separate stages. Evaluation calls tools; promotion remains a developer decision.&lt;/EM&gt;&lt;/P&gt;
&lt;H2&gt;1. Prepare evidence that can be replayed&lt;/H2&gt;
&lt;P&gt;Preparation starts with the selected insights, their supporting traces, and a pinned agent version. The system gathers conversation evidence, removes duplicates, and samples within the available capacity. Keeping the agent version fixed makes the comparison meaningful: the baseline is a specific configuration, not an agent changing underneath the experiment.&lt;/P&gt;
&lt;P&gt;The recorded conversations are converted into scenarios for a simulated user. A scenario captures what the user was trying to accomplish and the interaction needed to exercise that behavior. The agent then responds again, using its configured tools. This is a new execution grounded in historical evidence, not simply a rescore of the old answer.&lt;/P&gt;
&lt;P&gt;Where sufficient evidence is available, failure conversations are separated into training and validation groups without sharing source conversations between them. Training examples provide feedback for proposing changes; validation examples test those changes. Broader conversation evidence supplies an additional quality check, so the search is not judged only on the failures it targets.&lt;/P&gt;
&lt;P&gt;Evidence availability matters. If independent validation cohorts are unavailable, the implementation can use a shared failure-replay dataset and reports that limitation. Such a result is useful for inspecting behavior on those scenarios, but it is not evidence that the change generalizes to unseen conversations. Developers should not read “evaluated” as automatically meaning “independently tested.”&lt;/P&gt;
&lt;H2&gt;2. Establish what the unchanged agent does&lt;/H2&gt;
&lt;P&gt;Before proposing a fix, the optimizer evaluates the baseline. A historical failure may not reoccur: model outputs vary, tools or data may have changed, or the simulation may not reproduce the circumstances that caused the problem.&lt;/P&gt;
&lt;P&gt;The baseline therefore establishes which selected failures are reproducible and scorable in the evaluation. The remediation comparison focuses on qualified failures rather than claiming credit simply because a historical issue disappears during an unchanged-agent replay. If no selected failure reproduces, there is no measured failure signal for this search to improve.&lt;/P&gt;
&lt;P&gt;Evaluation uses two complementary signals. A remediation evaluator compares the replayed behavior with the source evidence for the selected insights. A generated quality rubric evaluates broader behavior against the agent's intended operation. The first asks whether the targeted issue was addressed; the second provides a regression check. Neither is automatically a business-outcome measurement or a substitute for an application's trusted task-success checker.&lt;/P&gt;
&lt;H2&gt;3. Propose a change from observed feedback&lt;/H2&gt;
&lt;P&gt;The optimizer uses sampled executions and evaluator feedback to propose revised instructions or function-tool descriptions. Rather than asking for a generally “better prompt,” it can work from a specific observed pattern: which step was missed, which action was inappropriate, or which instruction the agent did not apply consistently.&lt;/P&gt;
&lt;P&gt;Consider a hypothetical order-change workflow. The agent should check eligibility before changing an order. Evidence shows that it sometimes calls the change tool first. A candidate might make the sequence explicit and clarify the tool description so that eligibility is a prerequisite. The proposed change is a hypothesis about behavior, not a guarantee that adding a sentence will solve every related problem.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;Figure 2. A hypothetical illustration, not a measured benchmark result or a product demonstration: make the expected procedure explicit, then test whether the agent follows it without unacceptable trade-offs.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Candidate search is iterative. A proposal is exercised on sampled cases; promising candidates receive fuller validation. Feedback from evaluation informs subsequent proposals. The search stops when its candidate or evaluation budget is reached, or its stopping conditions are met. More candidates mean more opportunities to find a useful change, but also more executions to pay for and review.&lt;/P&gt;
&lt;H2&gt;4. Check targeted improvement and broader quality&lt;/H2&gt;
&lt;P&gt;A candidate needs more than a plausible system prompt rewrite. The recommendation policy requires measured remediation improvement and an acceptable quality result. Among qualifying candidates, remediation is the primary ranking signal, with quality used to distinguish otherwise comparable results.&lt;/P&gt;
&lt;P&gt;The quality guard permits a limited decrease. We set a tolerance of 0.02 on the normalized quality-score scale (two points on a 0-100 presentation). Either way, the guard is not a promise of zero regression. A candidate can be useful on the selected issues while still making other conversations worse. The owner must decide whether those trade-offs are acceptable.&lt;/P&gt;
&lt;P&gt;At a conceptual level, the loop looks like this:&lt;/P&gt;
&lt;img&gt;&lt;EM&gt;Figure 3. &lt;/EM&gt;Pseudo-code for the insights-optimization logic&lt;/img&gt;
&lt;P&gt;Independent validation is preferable, but the loop must expose when evidence is shared or incomplete. Missing evaluator output is not a successful fix. Likewise, a per-insight improvement can mean that some associated cases improved, not that every instance of the issue is resolved.&lt;/P&gt;
&lt;H2&gt;5. Review the evidence before adoption&lt;/H2&gt;
&lt;P&gt;Review should connect the candidate's text changes to its measured behavior. Start with the selected insights, inspect representative baseline and candidate executions, and examine the broader quality results. A single aggregate score can hide both useful fixes and new regressions.&lt;/P&gt;
&lt;P&gt;The run can also report remediation across the prepared failure scenarios, including training examples. That detail helps explain where a candidate worked, but it is not interchangeable with the validation objective used to recommend it. In particular, counting every replay that no longer shows an issue can overstate improvement if the baseline already handled that replay successfully.&lt;/P&gt;
&lt;P&gt;After review, promotion is a deliberate action. Continue monitoring after adoption: replay evidence is bounded, production traffic changes, and evaluation models are imperfect. Optimization supplies evidence for an engineering decision; it does not remove responsibility for that decision.&lt;/P&gt;
&lt;H1&gt;Benchmarks&lt;/H1&gt;
&lt;P&gt;We examined an internal test snapshot across four test workloads: Tau3-bench-retail, Weather, a healthcare-themed agent built only for internal testing (labeled Healthcare below; it is not a medical product, does not provide medical advice, and its results are not clinical validation), and Retail-tools. None is a customer deployment. Rather than select individual runs, we averaged &lt;STRONG&gt;every completed optimization job&lt;/STRONG&gt; in a seven-day window ending November 18, 2026, at 16:00 UTC. That gives 89 jobs: 27 for Tau3-bench-retail, 26 for Weather, and 18 each for Healthcare and Retail-tools. Fifteen of them kept the unchanged agent because no candidate qualified, and those jobs count in the averages.&lt;/P&gt;
&lt;P&gt;All jobs used the same search settings: instructions-only optimization, up to two proposed candidates, and one concurrent agent evaluation, against a pinned agent version per workload. The service was evolving during the window so treat these results as a &lt;STRONG&gt;descriptive snapshot of a preview service&lt;/STRONG&gt;, not a controlled comparison of fixed releases. The internal models and test setup also limit external reproducibility. Repeated jobs reuse the same prepared evidence, so they show run-to-run variation rather than 89 independent samples of production traffic.&lt;/P&gt;
&lt;H2&gt;Count improvements conservatively&lt;/H2&gt;
&lt;P&gt;"Selected insights" counts the findings submitted to optimization, not every finding a scan produced. "Problem conversations" counts distinct conversations in the prepared failure evidence; one conversation can support several insights.&lt;/P&gt;
&lt;P&gt;We credit only improvements the unchanged agent did not already achieve. An &lt;STRONG&gt;improved insight&lt;/STRONG&gt; has at least one case that still failed in the baseline replay and was remediated by the recommended candidate; it does not mean every case of that insight was fixed. A &lt;STRONG&gt;cleared conversation&lt;/STRONG&gt; had at least one such new remediation and no remaining selected issue in the candidate's evidence. Incomplete judgments, which affected 40 observations across 36 jobs, earn no credit, so the counts are lower bounds on what the available observations confirm.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;Figure 4. Internal seven-day test snapshot of a preview service; not production results. Bars show means per job across all 89 completed jobs, including 15 that kept the baseline. Each workload's improved insights and cleared conversations are shown next to its own totals of selected insights and prepared problem conversations, which are the denominators. Whiskers show observed minimum–maximum ranges across jobs, not confidence intervals. Outcomes are evaluator-assessed on prepared scenarios (training and held-out failure evidence), not results from deployed applications or success rates on unseen traffic. Healthcare is a test agent; its results are not clinical validation. Results are specific to this test setup and will vary.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Results differed across workloads in this snapshot, which is why we report them separately rather than as one headline rate. The workloads also differ in task structure, available evidence, and evaluation criteria, so these differences are not a controlled comparison between workloads. The Healthcare test agent and Retail-tools received a recommended change in all 18 jobs, with evaluator-assessed averages of 3.3 of 4 and 5.1 of 6 selected insights improved, and 17.3 of 19 and 12.5 of 21 problem conversations cleared. Weather's single selected insight was improved in 20 of 26 jobs, with 16.2 of 22 conversations cleared on average; per-job results ranged from 0 to 22 cleared conversations.&lt;/P&gt;
&lt;P&gt;Tau3-bench-retail had the lowest measured improvement in this snapshot. On average 1.8 of 5 selected insights improved and 2.6 of 14 conversations cleared, and 9 of its 27 jobs kept the baseline. One measured factor is visible in the figure: baseline replay reproduced a mean of 10.4 of the 14 prepared historical failures, and failures that did not reproduce could not be credited as improved. We did not isolate other factors. These results do not establish whether more candidates, more evidence, or other change types would improve outcomes for this workload.&lt;/P&gt;
&lt;P&gt;These counts describe evaluator-assessed behavior on prepared scenarios. They are not official Tau3 task-success scores, clinical validation, or evidence of equivalent improvement in a deployed application. The broader quality check is also not a promise of "no regression": Weather's mean broader-quality score decreased by about 0.003 on the normalized 0-1 scale, within the configured 0.02 acceptance tolerance. Review targeted outcomes and broader behavior together.&lt;/P&gt;
&lt;H2&gt;Account for the work required&lt;/H2&gt;
&lt;P&gt;Optimization consumes resources even when no candidate qualifies. In this internal test snapshot, mean recorded usage per completed job ranged from 3.1 million tokens for Weather to 10.9 million for Tau3-bench-retail, covering baseline evaluation, candidate search and evaluation, and failure reporting where recorded. These measurements reflect this test configuration and should not be read as expected customer usage or cost. Usage depends on scenario length, tool output, candidate budget, stopping conditions, and evaluation effort.&lt;/P&gt;
&lt;P&gt;We report tokens rather than dollars on purpose. Pricing depends on the deployments and billing terms in use, so applying an assumed rate would be misleading. Preparation, insight discovery, external tool or infrastructure charges are not included in this token usage. A financial comparison requires complete usage coverage and the applicable prices.&lt;/P&gt;
&lt;H2&gt;What we took away&lt;/H2&gt;
&lt;P&gt;Three practical points follow from these internal test runs. First, reproducibility matters: a historical failure that does not reoccur in baseline replay cannot be measured as improved, so check how many selected failures reproduce before judging a run. Second, look at the spread, not only the mean: Weather jobs ranged from no cleared conversations to all 22, so a single run can mislead in either direction. Third, keeping the baseline is a legitimate result. A run that finds no qualifying candidate is a signal to revisit the evidence and the diagnosis before trying again.&lt;/P&gt;
&lt;H1&gt;Get started&lt;/H1&gt;
&lt;P&gt;Insights Optimization is in public preview. The portal workflow currently only supports prompt agents that do not use the Microsoft Copilot harness; hosted agents use separate toolkit or CLI workflows. This preview is provided without a service-level agreement, and Microsoft does not recommend it for production workloads.&lt;/P&gt;
&lt;P&gt;Start with one confirmed issue and representative traces. Before running evaluation, ensure that tools have read-only access or isolated test resources and permissions. Review the candidate changes and both targeted and broader evaluation results before promotion.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Start building in Microsoft Foundry:&lt;/STRONG&gt; &lt;A href="https://ai.azure.com/" target="_blank" rel="noopener"&gt;ai.azure.com&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Get the BRK251 session:&lt;/STRONG&gt; &lt;A href="https://ignite.microsoft.com/en-US/sessions/BRK251" target="_blank" rel="noopener"&gt;Agents in production: Observe, evaluate, and optimize with Foundry&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Read the docs:&lt;/STRONG&gt; &lt;A href="https://review.learn.microsoft.com/en-us/azure/foundry/observability/how-to/agent-insights?branch=release-ignite26-foundry-2026-10" target="_blank" rel="noopener"&gt;Find recurring issues with insights&lt;/A&gt; and &lt;A href="https://review.learn.microsoft.com/en-us/azure/foundry/agents/how-to/optimize-agents-from-insights?branch=main" target="_blank" rel="noopener"&gt;Fix insights with agent optimizer (preview)&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Join the community:&lt;/STRONG&gt; &lt;A href="https://aka.ms/ai/discord" target="_blank" rel="noopener"&gt;Microsoft AI on Discord&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 23 Nov 2026 18:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/turn-agent-insights-into-improvements/ba-p/4575204</guid>
      <dc:creator>jcasantos</dc:creator>
      <dc:date>2026-11-23T18:00:00Z</dc:date>
    </item>
    <item>
      <title>Autonomous AI Cyberattacks: Architecting Cyber Defense with Azure</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/autonomous-ai-cyberattacks-architecting-cyber-defense-with-azure/ba-p/4574658</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;!-- INTRODUCTION (Tech Community introduction field, 191 characters): Autonomous AI compresses vulnerability discovery and exploitation to machine speed. This reference architecture shows how to build governed, agentic defense with Microsoft security and Azure. --&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;!-- PUBLISHING GATE: Business CELA approval remains REQUIRED AND PENDING because security is the primary subject. Complete Security SME, product SME, CELA self-check, Brand, Privacy, and other applicable reviews before publication. --&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;!-- IMAGE PORTABILITY NOTE: The ACDF architecture image uses an existing Tech Community blob reference supplied by the author. If the image does not render after copying this source into a different draft or community, re-upload the same image in that draft and replace only the img src value. --&gt;
&lt;P&gt;Attackers do not need a new vulnerability to change the economics of cyber defense. They can use AI agents to compare patches, identify likely weaknesses, generate candidate exploits, test them, and repeat the loop at machine speed. A recent NDTV report highlighted Google Threat Intelligence Group’s (GTIG) November 2026 finding that threat actors were using large language model (LLM) frameworks to automate vulnerability discovery and exploitation without a human in the loop &lt;A href="#community--1-reference-1" aria-label="Reference 1" target="_blank"&gt;[1]&lt;/A&gt;&lt;A href="#community--1-reference-2" aria-label="Reference 2" target="_blank"&gt;[2]&lt;/A&gt;. GTIG also identified an important limitation: many autonomous offensive frameworks currently trade stealth for velocity, producing forensic traffic and recognizable traces &lt;A href="#community--1-reference-1" aria-label="Reference 1" target="_blank"&gt;[1]&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;That combination changes the defender’s job. The patch window gets shorter, alert volume rises, and an incident can move from reconnaissance to impact before a manual queue catches up. But speed is not the same as invincibility. Noisy automation creates behavior that defenders can correlate, prioritize, and contain — if the defensive system is designed to reason and act safely at the same tempo.&lt;/P&gt;
&lt;P&gt;This article proposes an &lt;STRONG&gt;Autonomous Cyber Defense Framework (ACDF)&lt;/STRONG&gt;: a conceptual, human-governed architecture that combines Microsoft Sentinel, Microsoft Defender XDR, Microsoft Security Copilot, Microsoft Entra, Azure-native automation, and optional custom agents built with Microsoft Foundry Agent Service. ACDF is &lt;STRONG&gt;not&lt;/STRONG&gt; a Microsoft product or an official Microsoft framework. It is a reference pattern for deciding where autonomy helps, where deterministic policy must take control, and where a human must approve the next step.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Key takeaways&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use agents to accelerate investigation and recommendation, not to grant open-ended production authority.&lt;/LI&gt;
&lt;LI&gt;Keep authorization and high-impact decisions outside the language model.&lt;/LI&gt;
&lt;LI&gt;Separate read, reason, decide, and act into independently governed stages.&lt;/LI&gt;
&lt;LI&gt;Start with simulated telemetry and measure both security value and unsafe-action risk.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/BLOCKQUOTE&gt;
&lt;H2 id="why-autonomous-attacks-require-a-different-control-loop"&gt;Why autonomous attacks require a different control loop&lt;/H2&gt;
&lt;P&gt;Traditional security operations often follow a human-paced sequence: collect an alert, enrich it, assign it, investigate it, decide on containment, and execute a playbook. An autonomous attacker can run an Observe-Orient-Decide-Act loop continuously across many targets. It can branch, retry, and adapt based on tool output.&lt;/P&gt;
&lt;P&gt;The underlying techniques are often familiar: stolen credentials, exposed services, unpatched software, weak authorization, and lateral movement. The change is operational compression. GTIG describes automated patch-differential analysis and n-day exploitation pipelines that reduce the time between disclosure and weaponization. It also cautions that AI-generated exploit claims can fail, creating extra verification work for defenders &lt;A href="#community--1-reference-1" aria-label="Reference 1" target="_blank"&gt;[1]&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;A useful defensive response is therefore not “let an AI fight an AI.” It is a faster, evidence-driven control loop:&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI&gt;&lt;STRONG&gt;Observe:&lt;/STRONG&gt; collect endpoint, identity, cloud, network, application, and threat-intelligence signals.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Orient:&lt;/STRONG&gt; correlate events into an incident and establish asset, identity, and business context.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Decide:&lt;/STRONG&gt; score risk through deterministic policy, supported by agent-generated analysis and evidence.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Act:&lt;/STRONG&gt; execute only an allowlisted, least-privileged response appropriate to the risk tier.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Learn:&lt;/STRONG&gt; record the decision, approval, action, outcome, and analyst feedback for evaluation.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The architecture must assume that telemetry, retrieved documents, emails, web content, and even messages from another agent can be hostile. A prompt injection hidden inside a log field should never become an instruction to isolate a device or disable an identity.&lt;/P&gt;
&lt;H2 id="acdf-a-governed-autonomous-defense-architecture"&gt;ACDF: a governed autonomous-defense architecture&lt;/H2&gt;
&lt;img /&gt;
&lt;P class="lia-align-center"&gt;Figure 1. Proposed ACDF reference architecture. AI can enrich and recommend, while a deterministic policy decision point and human approval gates control consequential actions.&lt;/P&gt;
&lt;H3 id="signal-and-context-plane"&gt;1. Signal and context plane&lt;/H3&gt;
&lt;P&gt;The first layer collects normalized security signals. Microsoft Defender XDR can contribute cross-domain endpoint, identity, email, application, and cloud-app evidence. Microsoft Sentinel can add broader SIEM data, analytics, incidents, and threat hunting. Microsoft Defender for Cloud can contribute cloud workload posture and alerts; Microsoft Entra supplies identity and access context; Azure Monitor and application telemetry add service-level evidence.&lt;/P&gt;
&lt;P&gt;Coverage matters more than model sophistication. Missing identity logs, stale asset ownership, or incomplete endpoint onboarding can cause a sophisticated agent to produce a precise answer to the wrong question. Before adding agents, validate data freshness, retention, entity mapping, and the ownership of critical assets.&lt;/P&gt;
&lt;H3 id="correlation-and-detection-plane"&gt;2. Correlation and detection plane&lt;/H3&gt;
&lt;P&gt;Use native detections, behavioral analytics, advanced hunting, and incident correlation to reduce raw events into evidence-backed cases. Microsoft Sentinel data can be used with Security Copilot, and unified incidents in the Microsoft Defender portal can bring Sentinel and Defender XDR context together &lt;A href="#community--1-reference-3" aria-label="Reference 3" target="_blank"&gt;[3]&lt;/A&gt;&lt;A href="#community--1-reference-10" aria-label="Reference 10" target="_blank"&gt;[10]&lt;/A&gt;. The Microsoft Sentinel and natural-language-to-KQL plugins described in the Security Copilot integration documentation are in preview, and not all Microsoft Sentinel tables are supported. Advanced hunting with Microsoft Sentinel data also has documented limitations, so generated queries and coverage must be validated before operational use &lt;A href="#community--1-reference-3" aria-label="Reference 3" target="_blank"&gt;[3]&lt;/A&gt;&lt;A href="#community--1-reference-10" aria-label="Reference 10" target="_blank"&gt;[10]&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;This layer should retain deterministic detections for conditions that must be explainable and repeatable. Agents can propose hunts, summarize evidence, and identify gaps, but a model output is not itself a detection verdict.&lt;/P&gt;
&lt;H3 id="agentic-analysis-plane"&gt;3. Agentic analysis plane&lt;/H3&gt;
&lt;P&gt;Use the most managed capability that fits the task. Microsoft Security Copilot and its agents in Microsoft Defender support security workflows such as alert triage, threat intelligence, hunting, and risk analysis &lt;A href="#community--1-reference-4" aria-label="Reference 4" target="_blank"&gt;[4]&lt;/A&gt;&lt;A href="#community--1-reference-5" aria-label="Reference 5" target="_blank"&gt;[5]&lt;/A&gt;. Check the current product documentation before deployment: the broader Security Alert Triage Agent coverage includes preview capabilities, and the Security Analyst Agent documentation contains a prerelease notice. For a custom scenario that is not covered by an existing security agent, Microsoft Foundry Agent Service can provide Microsoft Entra identity, managed tools and toolboxes, tracing, and evaluation capabilities &lt;A href="#community--1-reference-6" aria-label="Reference 6" target="_blank"&gt;[6]&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;A practical separation of duties is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Intelligence agent:&lt;/STRONG&gt; summarizes public advisories and maps them to the organization’s technology inventory.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Investigation agent:&lt;/STRONG&gt; gathers read-only evidence for an incident and identifies competing hypotheses.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Risk agent:&lt;/STRONG&gt; proposes a score with citations to the evidence it used.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Response planner:&lt;/STRONG&gt; selects only from an allowlisted catalog of playbooks and explains prerequisites.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;These agents should not share a single broad identity. Give each agent the minimum data scope and tools it needs. Treat every inter-agent message as untrusted input and preserve provenance.&lt;/P&gt;
&lt;H3 id="policy-decision-point"&gt;4. Policy decision point&lt;/H3&gt;
&lt;P&gt;The policy decision point is deliberately outside the LLM. It combines stable facts — incident severity, asset criticality, identity privilege, confidence, blast radius, action reversibility, change window, and regulatory constraints — into an action tier.&lt;/P&gt;
&lt;P&gt;A simple policy can be expressed as four levels:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table style="width: 100%;"&gt;&lt;caption&gt;Table 1. Proposed ACDF action tiers and execution rules&lt;/caption&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="lia-border-color-custom-767676 lia-border-style-solid" scope="col" style="border-width: 1px; padding: 8px;"&gt;Tier&lt;/th&gt;&lt;th class="lia-border-color-custom-767676 lia-border-style-solid" scope="col" style="border-width: 1px; padding: 8px;"&gt;Example outcome&lt;/th&gt;&lt;th class="lia-border-color-custom-767676 lia-border-style-solid" scope="col" style="border-width: 1px; padding: 8px;"&gt;Execution rule&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;0 - Observe&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Add context, open an incident, notify an analyst&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;May run automatically&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;1 - Low-impact&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Increase logging, collect a diagnostic package, add a temporary tag&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Automatic only when allowlisted and reversible&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;2 - Contain&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Isolate one endpoint, revoke one session, block one indicator temporarily&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Named analyst approval; consider two-person approval for privileged assets&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;3 - High-impact&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Disable a privileged identity, remove production access, modify a firewall broadly, delete data&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;No autonomous execution; follow incident command and change-control procedures&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;Risk thresholds must be versioned configuration, not prompt text. The policy engine should fail closed when evidence is missing, conflicting, stale, or outside the evaluated operating range.&lt;/P&gt;
&lt;H3 id="controlled-action-plane"&gt;5. Controlled action plane&lt;/H3&gt;
&lt;P&gt;Microsoft Sentinel automation rules and playbooks based on Azure Logic Apps can provide a governed response mechanism &lt;A href="#community--1-reference-7" aria-label="Reference 7" target="_blank"&gt;[7]&lt;/A&gt;. Each playbook should have a narrow purpose, a managed identity or other approved authentication method, an explicit resource scope, a timeout, an idempotency key, a rollback path, and structured audit output.&lt;/P&gt;
&lt;P&gt;The agent does not receive a generic “run command” tool. It can request &lt;CODE&gt;collect_diagnostics&lt;/CODE&gt;, &lt;CODE&gt;temporarily_block_indicator&lt;/CODE&gt;, or &lt;CODE&gt;isolate_single_device&lt;/CODE&gt;, each with a typed schema and preconditions. The policy service reauthorizes every action at execution time. This helps reduce confused-deputy risk and prevents an old approval from being reused against a different resource.&lt;/P&gt;
&lt;H3 id="evidence-observability-and-learning-plane"&gt;6. Evidence, observability, and learning plane&lt;/H3&gt;
&lt;P&gt;Store a tamper-evident decision record containing the incident ID, evidence references, model and prompt version, policy version, tool request, approver, action result, rollback state, and analyst feedback. Foundry Agent Service supports tracing and evaluation for custom agents &lt;A href="#community--1-reference-6" aria-label="Reference 6" target="_blank"&gt;[6]&lt;/A&gt;; native Microsoft security experiences provide their own evidence and activity views.&lt;/P&gt;
&lt;P&gt;Do not train directly on every analyst click. A rushed approval, a false positive, or attacker-poisoned telemetry can become a persistent failure pattern. Curate feedback, separate evaluation data from production memory, and require review before changing prompts, policies, or action permissions.&lt;/P&gt;
&lt;H2 id="guardrails-that-matter-more-than-the-model"&gt;Guardrails that matter more than the model&lt;/H2&gt;
&lt;P&gt;The most important controls are architectural:&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI&gt;&lt;STRONG&gt;Separate read from write.&lt;/STRONG&gt; Investigation agents should be read-only. A distinct action service performs mutations after policy evaluation.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Authorize every action.&lt;/STRONG&gt; Recheck user, agent, resource, purpose, and policy at execution time — not only when a session starts.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Use least privilege and just-in-time access.&lt;/STRONG&gt; Use Microsoft Entra role-based access controls and Privileged Identity Management where applicable. Avoid standing administrative credentials.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Allowlist tools and parameters.&lt;/STRONG&gt; Block arbitrary shell, browser, query, or code execution in the response path unless it is isolated and explicitly required.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Require approval for consequence.&lt;/STRONG&gt; Human approval is mandatory for high-impact, irreversible, externally visible, privacy-sensitive, or legally significant actions.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Limit blast radius.&lt;/STRONG&gt; Set maximum affected identities, devices, subscriptions, duration, calls, tokens, and cost per run.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Treat context as data, not instructions.&lt;/STRONG&gt; Sanitize untrusted fields, isolate system instructions, and do not let retrieved content redefine the agent’s policy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Design for rollback.&lt;/STRONG&gt; Temporary blocks should expire; device isolation should have a tested release path; repeated requests should be idempotent.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Log enough to reconstruct the decision.&lt;/STRONG&gt; Capture evidence and rationale without copying unnecessary secrets or personal data into prompts or long-lived memory.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Provide a kill switch.&lt;/STRONG&gt; Security operations must be able to suspend an agent, revoke its identity, and disable playbooks independently.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;These controls align with Microsoft’s AI agent shared responsibility guidance: customers remain accountable for data, identity, authorization, human oversight, and governance, even when using a managed agent platform &lt;A href="#community--1-reference-8" aria-label="Reference 8" target="_blank"&gt;[8]&lt;/A&gt;. OWASP guidance similarly emphasizes least privilege, human approval for high-impact actions, input validation, memory protection, logging, and emergency shutdown &lt;A href="#community--1-reference-14" aria-label="Reference 14" target="_blank"&gt;[14]&lt;/A&gt;.&lt;/P&gt;
&lt;H2 id="safe-proof-of-concept-score-simulated-telemetry-and-request-approval"&gt;Safe proof of concept: score simulated telemetry and request approval&lt;/H2&gt;
&lt;P&gt;The following Python example is intentionally benign. It does not scan systems, generate exploits, or invoke a live security API. It scores synthetic observations, selects a recommendation from an allowlist, and emits an approval request. Use it to test the control boundary before connecting any production data.&lt;/P&gt;
&lt;PRE class="language-python" style="overflow-x: auto; white-space: pre;" tabindex="0" contenteditable="false" data-lia-code-value="from __future__ import annotations

from dataclasses import asdict, dataclass
from typing import Literal
import json
import re
import uuid

Action = Literal[
    &amp;quot;no_action&amp;quot;,
    &amp;quot;observe&amp;quot;,
    &amp;quot;collect_diagnostics&amp;quot;,
    &amp;quot;isolate_single_device&amp;quot;,
]
Status = Literal[&amp;quot;evaluated&amp;quot;, &amp;quot;rejected&amp;quot;]
POLICY_VERSION = &amp;quot;acdf-lab-v1&amp;quot;


@dataclass(frozen=True)
class SyntheticObservation:
    incident_id: str
    device_id: str
    failed_signins_10m: int
    privileged_identity: bool
    unusual_process: bool
    outbound_spike: bool
    asset_criticality: int  # 1=low, 2=medium, 3=high


@dataclass(frozen=True)
class Decision:
    decision_id: str
    policy_version: str
    status: Status
    score: int | None
    recommendation: Action
    requires_action_approval: bool
    requires_human_review: bool
    evidence: tuple[str, ...]
    validation_errors: tuple[str, ...]


def validate(obs: SyntheticObservation) -&amp;gt; tuple[str, ...]:
    &amp;quot;&amp;quot;&amp;quot;Reject malformed or out-of-scope inputs before scoring.&amp;quot;&amp;quot;&amp;quot;
    errors: list[str] = []

    if not re.fullmatch(r&amp;quot;SIM-[0-9]{4,8}&amp;quot;, obs.incident_id):
        errors.append(&amp;quot;incident_id must be a synthetic SIM identifier&amp;quot;)
    if not re.fullmatch(r&amp;quot;LAB-DEVICE-[0-9]{2,4}&amp;quot;, obs.device_id):
        errors.append(&amp;quot;device_id must identify an approved lab device&amp;quot;)
    if type(obs.failed_signins_10m) is not int or not 0 &amp;lt;= obs.failed_signins_10m &amp;lt;= 10_000:
        errors.append(&amp;quot;failed_signins_10m must be an integer from 0 to 10000&amp;quot;)
    if type(obs.privileged_identity) is not bool:
        errors.append(&amp;quot;privileged_identity must be boolean&amp;quot;)
    if type(obs.unusual_process) is not bool:
        errors.append(&amp;quot;unusual_process must be boolean&amp;quot;)
    if type(obs.outbound_spike) is not bool:
        errors.append(&amp;quot;outbound_spike must be boolean&amp;quot;)
    if type(obs.asset_criticality) is not int or obs.asset_criticality not in {1, 2, 3}:
        errors.append(&amp;quot;asset_criticality must be 1, 2, or 3&amp;quot;)

    return tuple(errors)


def evaluate(obs: SyntheticObservation) -&amp;gt; Decision:
    errors = validate(obs)
    if errors:
        # Fail closed: reject the record and propose no action.
        return Decision(
            decision_id=str(uuid.uuid4()),
            policy_version=POLICY_VERSION,
            status=&amp;quot;rejected&amp;quot;,
            score=None,
            recommendation=&amp;quot;no_action&amp;quot;,
            requires_action_approval=False,
            requires_human_review=True,
            evidence=(),
            validation_errors=errors,
        )

    score = 0
    evidence: list[str] = []

    if obs.failed_signins_10m &amp;gt;= 20:
        score += 20
        evidence.append(&amp;quot;failed_signins_10m&amp;gt;=20&amp;quot;)
    if obs.privileged_identity:
        score += 25
        evidence.append(&amp;quot;privileged_identity&amp;quot;)
    if obs.unusual_process:
        score += 25
        evidence.append(&amp;quot;unusual_process&amp;quot;)
    if obs.outbound_spike:
        score += 20
        evidence.append(&amp;quot;outbound_spike&amp;quot;)

    score += {1: 0, 2: 5, 3: 10}[obs.asset_criticality]

    if score &amp;gt;= 70:
        action: Action = &amp;quot;isolate_single_device&amp;quot;
    elif score &amp;gt;= 35:
        action = &amp;quot;collect_diagnostics&amp;quot;
    else:
        action = &amp;quot;observe&amp;quot;

    consequential = action == &amp;quot;isolate_single_device&amp;quot;
    return Decision(
        decision_id=str(uuid.uuid4()),
        policy_version=POLICY_VERSION,
        status=&amp;quot;evaluated&amp;quot;,
        score=score,
        recommendation=action,
        requires_action_approval=consequential,
        requires_human_review=consequential,
        evidence=tuple(evidence),
        validation_errors=(),
    )


sample = SyntheticObservation(
    incident_id=&amp;quot;SIM-0042&amp;quot;,
    device_id=&amp;quot;LAB-DEVICE-07&amp;quot;,
    failed_signins_10m=24,
    privileged_identity=False,
    unusual_process=True,
    outbound_spike=True,
    asset_criticality=2,
)

invalid_sample = SyntheticObservation(
    incident_id=&amp;quot;PROD-0042&amp;quot;,  # Rejected: outside this synthetic lab scope.
    device_id=&amp;quot;SERVER-01&amp;quot;,
    failed_signins_10m=-1,
    privileged_identity=False,
    unusual_process=False,
    outbound_spike=False,
    asset_criticality=9,
)

valid_decision = evaluate(sample)
rejected_decision = evaluate(invalid_sample)

assert valid_decision.recommendation == &amp;quot;isolate_single_device&amp;quot;
assert valid_decision.requires_action_approval is True
assert rejected_decision.status == &amp;quot;rejected&amp;quot;
assert rejected_decision.recommendation == &amp;quot;no_action&amp;quot;

print(json.dumps(asdict(valid_decision), indent=2))
print(json.dumps(asdict(rejected_decision), indent=2))"&gt;&lt;CODE&gt;from __future__ import annotations

from dataclasses import asdict, dataclass
from typing import Literal
import json
import re
import uuid

Action = Literal[
    "no_action",
    "observe",
    "collect_diagnostics",
    "isolate_single_device",
]
Status = Literal["evaluated", "rejected"]
POLICY_VERSION = "acdf-lab-v1"


@dataclass(frozen=True)
class SyntheticObservation:
    incident_id: str
    device_id: str
    failed_signins_10m: int
    privileged_identity: bool
    unusual_process: bool
    outbound_spike: bool
    asset_criticality: int  # 1=low, 2=medium, 3=high


@dataclass(frozen=True)
class Decision:
    decision_id: str
    policy_version: str
    status: Status
    score: int | None
    recommendation: Action
    requires_action_approval: bool
    requires_human_review: bool
    evidence: tuple[str, ...]
    validation_errors: tuple[str, ...]


def validate(obs: SyntheticObservation) -&amp;gt; tuple[str, ...]:
    """Reject malformed or out-of-scope inputs before scoring."""
    errors: list[str] = []

    if not re.fullmatch(r"SIM-[0-9]{4,8}", obs.incident_id):
        errors.append("incident_id must be a synthetic SIM identifier")
    if not re.fullmatch(r"LAB-DEVICE-[0-9]{2,4}", obs.device_id):
        errors.append("device_id must identify an approved lab device")
    if type(obs.failed_signins_10m) is not int or not 0 &amp;lt;= obs.failed_signins_10m &amp;lt;= 10_000:
        errors.append("failed_signins_10m must be an integer from 0 to 10000")
    if type(obs.privileged_identity) is not bool:
        errors.append("privileged_identity must be boolean")
    if type(obs.unusual_process) is not bool:
        errors.append("unusual_process must be boolean")
    if type(obs.outbound_spike) is not bool:
        errors.append("outbound_spike must be boolean")
    if type(obs.asset_criticality) is not int or obs.asset_criticality not in {1, 2, 3}:
        errors.append("asset_criticality must be 1, 2, or 3")

    return tuple(errors)


def evaluate(obs: SyntheticObservation) -&amp;gt; Decision:
    errors = validate(obs)
    if errors:
        # Fail closed: reject the record and propose no action.
        return Decision(
            decision_id=str(uuid.uuid4()),
            policy_version=POLICY_VERSION,
            status="rejected",
            score=None,
            recommendation="no_action",
            requires_action_approval=False,
            requires_human_review=True,
            evidence=(),
            validation_errors=errors,
        )

    score = 0
    evidence: list[str] = []

    if obs.failed_signins_10m &amp;gt;= 20:
        score += 20
        evidence.append("failed_signins_10m&amp;gt;=20")
    if obs.privileged_identity:
        score += 25
        evidence.append("privileged_identity")
    if obs.unusual_process:
        score += 25
        evidence.append("unusual_process")
    if obs.outbound_spike:
        score += 20
        evidence.append("outbound_spike")

    score += {1: 0, 2: 5, 3: 10}[obs.asset_criticality]

    if score &amp;gt;= 70:
        action: Action = "isolate_single_device"
    elif score &amp;gt;= 35:
        action = "collect_diagnostics"
    else:
        action = "observe"

    consequential = action == "isolate_single_device"
    return Decision(
        decision_id=str(uuid.uuid4()),
        policy_version=POLICY_VERSION,
        status="evaluated",
        score=score,
        recommendation=action,
        requires_action_approval=consequential,
        requires_human_review=consequential,
        evidence=tuple(evidence),
        validation_errors=(),
    )


sample = SyntheticObservation(
    incident_id="SIM-0042",
    device_id="LAB-DEVICE-07",
    failed_signins_10m=24,
    privileged_identity=False,
    unusual_process=True,
    outbound_spike=True,
    asset_criticality=2,
)

invalid_sample = SyntheticObservation(
    incident_id="PROD-0042",  # Rejected: outside this synthetic lab scope.
    device_id="SERVER-01",
    failed_signins_10m=-1,
    privileged_identity=False,
    unusual_process=False,
    outbound_spike=False,
    asset_criticality=9,
)

valid_decision = evaluate(sample)
rejected_decision = evaluate(invalid_sample)

assert valid_decision.recommendation == "isolate_single_device"
assert valid_decision.requires_action_approval is True
assert rejected_decision.status == "rejected"
assert rejected_decision.recommendation == "no_action"

print(json.dumps(asdict(valid_decision), indent=2))
print(json.dumps(asdict(rejected_decision), indent=2))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The key design choice is not the score. It is the boundary: the program creates a recommendation and evidence record, but it has no credential and no function that can isolate a device. Malformed or out-of-scope input is rejected with &lt;CODE&gt;no_action&lt;/CODE&gt; and routed for review. A separate approval and action service would validate the request again, re-check current policy and authorization, bind the approval to the exact action and lab resource, enforce an expiry, and then invoke a narrowly scoped playbook.&lt;/P&gt;
&lt;P&gt;To extend the lab safely:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Replace the single sample with version-controlled synthetic JSON Lines files.&lt;/LI&gt;
&lt;LI&gt;Add unit tests for thresholds, missing fields, duplicate requests, expired approvals, and rollback.&lt;/LI&gt;
&lt;LI&gt;Mock the playbook endpoint; return deterministic success, failure, timeout, and partial-completion responses.&lt;/LI&gt;
&lt;LI&gt;Add a read-only agent that explains the deterministic decision, then test whether hostile text inside a telemetry field can alter the proposed action.&lt;/LI&gt;
&lt;LI&gt;Never use real customer data, production credentials, malware, exploit code, or internet scanning in the experiment.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="evaluate-the-system-without-inventing-success"&gt;Evaluate the system without inventing success&lt;/H2&gt;
&lt;P&gt;Do not claim that an agent “reduces response time” or “improves accuracy” until the system has been evaluated against a documented baseline. A reproducible evaluation can compare three modes on the same labeled, synthetic scenario set:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Rules only:&lt;/STRONG&gt; deterministic scoring and static playbook selection.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Agent assisted:&lt;/STRONG&gt; an agent enriches and explains; policy still decides.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Agent plus governed action:&lt;/STRONG&gt; low-risk actions can run; consequential actions require approval.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Record the dataset version, scenario families, label owner, product configuration, model version, prompts, policy version, run count, and randomization settings. Measure:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table style="width: 100%;"&gt;&lt;caption&gt;Table 2. Reproducible evaluation metrics&lt;/caption&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="lia-border-color-custom-767676 lia-border-style-solid" scope="col" style="border-width: 1px; padding: 8px;"&gt;Metric&lt;/th&gt;&lt;th class="lia-border-color-custom-767676 lia-border-style-solid" scope="col" style="border-width: 1px; padding: 8px;"&gt;Definition&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Detection precision and recall&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Correct suspicious classifications relative to the labeled set&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Alert-to-decision latency&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Time from final synthetic event to a complete recommendation&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Unsafe-action proposal rate&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Proposals that violate the action policy divided by all proposals&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Approval override rate&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Approved recommendations that analysts change or reject&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Evidence completeness&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Required evidence fields present and traceable to source records&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Idempotency pass rate&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Repeated requests produce no duplicate side effect&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Rollback success rate&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Reversible actions restored within the test objective&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Cost per evaluated incident&lt;/td&gt;&lt;td class="lia-border-color-custom-767676 lia-vertical-align-top lia-border-style-solid" style="border-width: 1px; padding: 8px;"&gt;Model, compute, and automation cost for each completed case&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;Define gates before running the test. For example, any Tier 3 autonomous action, cross-tenant data exposure, policy bypass, or unlogged tool call should fail the release. Report confidence intervals or raw counts, not only percentages, and publish negative cases. An agent that is faster but proposes unsafe containment is not an improvement.&lt;/P&gt;
&lt;H2 id="operational-rollout-earn-autonomy-in-stages"&gt;Operational rollout: earn autonomy in stages&lt;/H2&gt;
&lt;P&gt;A production journey should expand authority only after evidence supports it:&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI&gt;&lt;STRONG&gt;Shadow:&lt;/STRONG&gt; the agent reads copied or synthetic data and produces recommendations that no one acts on.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Assist:&lt;/STRONG&gt; analysts can inspect evidence and manually launch existing playbooks.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Approve:&lt;/STRONG&gt; the system creates a typed action request; an authorized analyst approves it.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Bounded autonomy:&lt;/STRONG&gt; only reversible Tier 0 or Tier 1 actions run automatically within strict scope and volume limits.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Continuous assurance:&lt;/STRONG&gt; red-team prompt injection, poisoned telemetry, permission drift, model changes, tool failures, and rollback every release cycle.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Keep emergency response outside the experimental agent path. If the agent is unavailable or produces conflicting evidence, analysts must retain access to the native Microsoft Defender and Microsoft Sentinel workflows.&lt;/P&gt;
&lt;H2 id="limitations-and-design-boundaries"&gt;Limitations and design boundaries&lt;/H2&gt;
&lt;P&gt;ACDF does not eliminate cyber risk, replace patch management, or guarantee containment. Its effectiveness depends on telemetry quality, identity hygiene, asset context, well-tested playbooks, supported product capabilities, licensing, region, and operational maturity. Some Microsoft security agent capabilities and Security Copilot integrations are in preview and can change. Not all Microsoft Sentinel tables are supported in every Copilot or advanced-hunting path. Verify current documentation, permissions, query behavior, licensing, regional availability, and support boundaries before production use &lt;A href="#community--1-reference-3" aria-label="Reference 3" target="_blank"&gt;[3]&lt;/A&gt;&lt;A href="#community--1-reference-4" aria-label="Reference 4" target="_blank"&gt;[4]&lt;/A&gt;&lt;A href="#community--1-reference-5" aria-label="Reference 5" target="_blank"&gt;[5]&lt;/A&gt;&lt;A href="#community--1-reference-10" aria-label="Reference 10" target="_blank"&gt;[10]&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Language models can hallucinate, overgeneralize, follow malicious instructions embedded in context, or vary between runs. Deterministic policy reduces these risks but cannot compensate for incorrect labels, missing logs, compromised administrators, or an overly permissive action catalog. Legal, privacy, employee-monitoring, customer-contract, and regulatory obligations may also restrict what data an agent can process and which actions it may recommend or execute.&lt;/P&gt;
&lt;P&gt;Finally, autonomous defense should not become a reason to normalize autonomous disruption. The objective is controlled speed: faster evidence gathering, better prioritization, and narrowly governed response with clear accountability.&lt;/P&gt;
&lt;H2 id="start-with-one-bounded-control-loop"&gt;Start with one bounded control loop&lt;/H2&gt;
&lt;P&gt;Choose one high-volume, low-consequence security workflow. Build a synthetic scenario set, define an allowlisted action catalog, and separate the agent from the policy and action services. Connect read-only evidence first. Then run the evaluation until you can explain every decision, reproduce every result, and roll back every permitted action.&lt;/P&gt;
&lt;P&gt;If you already use Microsoft Defender XDR and Microsoft Sentinel, start by exploring their unified incidents, advanced hunting, Security Copilot integration, and documented agents. Treat preview capabilities and generated queries as inputs for validation, not as automatic authority. Use Microsoft Foundry Agent Service only when a custom agent is justified, and keep the action boundary outside the model.&lt;/P&gt;
&lt;P&gt;Autonomous attackers compress time. Defenders can respond by compressing analysis — without compressing governance.&lt;/P&gt;
&lt;H2 id="references"&gt;References&lt;/H2&gt;
&lt;OL type="1"&gt;
&lt;LI id="reference-1"&gt;Google Threat Intelligence Group, &lt;A href="https://cloud.google.com/blog/topics/threat-intelligence/agentic-threat-activity-crosses-a-significant-threshold" rel="noopener noreferrer" target="_blank"&gt;GTIG AI Threat Tracker: Agentic Threat Activity Crosses a Significant Threshold&lt;/A&gt;, November 16, 2026.&lt;/LI&gt;
&lt;LI id="reference-2"&gt;NDTV, &lt;A href="https://www.ndtv.com/artificial-intelligence/google-warns-era-of-autonomous-ai-attacks-has-arrived-12342693" rel="noopener noreferrer" target="_blank"&gt;Google Warns 'Era Of Autonomous AI Attacks Has Arrived'&lt;/A&gt;, November 18, 2026.&lt;/LI&gt;
&lt;LI id="reference-3"&gt;Microsoft Learn, &lt;A href="https://learn.microsoft.com/en-us/azure/sentinel/sentinel-security-copilot" rel="noopener noreferrer" target="_blank"&gt;Security Copilot with Microsoft Sentinel&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-4"&gt;Microsoft Learn, &lt;A href="https://learn.microsoft.com/en-us/defender-xdr/security-copilot-agents-defender" rel="noopener noreferrer" target="_blank"&gt;Deploy AI agents in Microsoft Defender&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-5"&gt;Microsoft Learn, &lt;A href="https://learn.microsoft.com/en-us/defender-xdr/security-analyst-agent" rel="noopener noreferrer" target="_blank"&gt;Microsoft Security Copilot Security Analyst Agent overview&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-6"&gt;Microsoft Learn, &lt;A href="https://learn.microsoft.com/en-us/azure/foundry/agents/overview" rel="noopener noreferrer" target="_blank"&gt;Agents in Microsoft Foundry&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-7"&gt;Microsoft Learn, &lt;A href="https://learn.microsoft.com/en-us/azure/sentinel/automation/logic-apps-playbooks" rel="noopener noreferrer" target="_blank"&gt;Azure Logic Apps for Microsoft Sentinel playbooks&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-8"&gt;Microsoft Learn, &lt;A href="https://learn.microsoft.com/en-us/azure/security/fundamentals/shared-responsibility-ai-agent" rel="noopener noreferrer" target="_blank"&gt;AI agent shared responsibility model&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-9"&gt;Microsoft Learn, &lt;A href="https://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-configure" rel="noopener noreferrer" target="_blank"&gt;What is Privileged Identity Management?&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-10"&gt;Microsoft Learn, &lt;A href="https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-microsoft-defender" rel="noopener noreferrer" target="_blank"&gt;Advanced hunting with Microsoft Sentinel data in Microsoft Defender&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-11"&gt;NIST, &lt;A href="https://nvlpubs.nist.gov/nistpubs/ai/nist.ai.600-1.pdf" rel="noopener noreferrer" target="_blank"&gt;Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile&lt;/A&gt;, NIST AI 600-1.&lt;/LI&gt;
&lt;LI id="reference-12"&gt;NIST, &lt;A href="https://nvlpubs.nist.gov/nistpubs/CSWP/NIST.CSWP.29.pdf" rel="noopener noreferrer" target="_blank"&gt;The NIST Cybersecurity Framework (CSF) 2.0&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-13"&gt;MITRE, &lt;A href="https://atlas.mitre.org/" rel="noopener noreferrer" target="_blank"&gt;ATLAS: Adversarial Threat Landscape for Artificial-Intelligence Systems&lt;/A&gt;.&lt;/LI&gt;
&lt;LI id="reference-14"&gt;OWASP Cheat Sheet Series, &lt;A href="https://cheatsheetseries.owasp.org/cheatsheets/AI_Agent_Security_Cheat_Sheet.html" rel="noopener noreferrer" target="_blank"&gt;AI Agent Security Cheat Sheet&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 23 Nov 2026 15:00:00 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/autonomous-ai-cyberattacks-architecting-cyber-defense-with-azure/ba-p/4574658</guid>
      <dc:creator>PavanKalyanChilakalapalli</dc:creator>
      <dc:date>2026-11-23T15:00:00Z</dc:date>
    </item>
    <item>
      <title>Gulf Air's Continuous Improvement Journey with Microsoft Foundry</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/gulf-air-s-continuous-improvement-journey-with-microsoft-foundry/ba-p/4574913</link>
      <description>&lt;P&gt;On November 9, Gulf Air reached a milestone: two AI agents in its Falcon Eye application—a voice agent and a chat agent—went live for users.&lt;/P&gt;
&lt;P&gt;The milestone did not come from finding one perfect prompt. Gulf Air had spent weeks building a demanding pool of evaluation questions, studying traces, finding gaps, changing instructions and code, and testing again. Ahmed reported that the team generated approximately &lt;STRONG&gt;10,000 candidate questions&lt;/STRONG&gt; across different business perspectives, then ran selected questions in smaller batches to exercise real aviation and management logic.&lt;/P&gt;
&lt;P&gt;Ahmed AbdulJalil Ebrahim described the impact plainly:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 96.3889%; border-width: 1px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;EM&gt;"&lt;/EM&gt; &lt;EM&gt;What evaluation, insights, and optimize did for us was really amazing. We were able to fix business logic the agent had not understood."&lt;/EM&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 100.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;For us, the important part of this story is not that one tool produced one answer. It is that Gulf Air assembled a repeatable improvement practice around the hard questions its business would actually ask.&lt;/P&gt;
&lt;H1&gt;The application had to do more than retrieve an answer&lt;/H1&gt;
&lt;P&gt;Falcon Eye is an important Gulf Air application used for operational analysis and management decision support. Ahmed described a five-agent vision spanning UI summaries, smart search, dynamic reporting, real-time voice, and a reasoning chat experience.&lt;/P&gt;
&lt;P&gt;These agents connect to operational data through APIs and a Postgres MCP. They can analyze information, perform calculations, and help users create reports or dashboards. That makes them useful, but it also raises the quality bar.&lt;/P&gt;
&lt;P&gt;A simple factual test cannot establish whether an agent:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;selected the right operational field for the user's question;&lt;/LI&gt;
&lt;LI&gt;followed an aviation-specific rule;&lt;/LI&gt;
&lt;LI&gt;generated an appropriate query;&lt;/LI&gt;
&lt;LI&gt;performed a calculation correctly;&lt;/LI&gt;
&lt;LI&gt;preserved the user's data permissions; or&lt;/LI&gt;
&lt;LI&gt;remained reliable when the same intent appeared in a different form.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For senior leaders asking operational or financial questions, a fluent answer is not enough. The reasoning path and the business result both matter.&lt;/P&gt;
&lt;H1&gt;Gulf Air built an evaluation pool around the hardest business questions&lt;/H1&gt;
&lt;P&gt;Ahmed described this generated question pool as covering multiple business perspectives. He emphasized that these were not only straightforward questions such as total departures or delays. They were intended to test the business logic that had been difficult to express through a system prompt alone.&lt;/P&gt;
&lt;P&gt;The team selected questions from that pool and generally ran them in batches of 100. The evaluation results separated successful answers, failures, no-answers, and errors. Gulf Air then examined the resulting traces and insights, brought the evidence into VS Code with its engineering context, implemented changes, and evaluated again.&lt;/P&gt;
&lt;P&gt;The loop looked like this:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;Run difficult evaluation questions&lt;BR /&gt;&amp;nbsp; -&amp;gt; inspect failures, no-answers, and errors&lt;BR /&gt;&amp;nbsp; -&amp;gt; review generated insights and supporting traces&lt;BR /&gt;&amp;nbsp; -&amp;gt; bring the evidence into the coding workflow&lt;BR /&gt;&amp;nbsp; -&amp;gt; change instructions, tools, or application logic&lt;BR /&gt;&amp;nbsp; -&amp;gt; test candidate improvements&lt;BR /&gt;&amp;nbsp; -&amp;gt; add independent human review&lt;BR /&gt;&amp;nbsp; -&amp;gt; run evaluation again&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 100.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Human review was a deliberate part of the process. Other team members approached the agent differently and documented issues that the original test design had missed. Their findings became new inputs to the next improvement cycle.&lt;/P&gt;
&lt;P&gt;Immediately before our November 9 conversation, Ahmed had completed another 400-question run and applied additional fixes. This was not a one-time benchmark. It was an operating rhythm.&lt;/P&gt;
&lt;H1&gt;Evidence became useful when it entered the engineering workflow&lt;/H1&gt;
&lt;P&gt;The workflow did not stop at an evaluation score or a list of traces. Gulf Air used the evidence to decide what to change.&lt;/P&gt;
&lt;P&gt;Insights from traces helped group recurring behaviors and connect them with representative executions. VS Code supplied the surrounding engineering context: code, APIs, MCP access, reports, and prior findings. The team could then investigate whether an issue came from instructions, tool behavior, application logic, or the test itself.&lt;/P&gt;
&lt;P&gt;This distinction matters. An insight can identify a pattern and point to a likely direction, but it is not automatically a validated fix. Gulf Air still reviewed the evidence, implemented the change in the appropriate system, and ran the agent again.&lt;/P&gt;
&lt;P&gt;That developer-led pattern is also central to the latest Microsoft Foundry experience:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Scheduled and on-demand analysis can process new traces incrementally after the initial lookback.&lt;/LI&gt;
&lt;LI&gt;Linked and highlighted traces let developers inspect the evidence behind an insight.&lt;/LI&gt;
&lt;LI&gt;Custom categories and additional instructions help focus future analysis on business-specific concerns.&lt;/LI&gt;
&lt;LI&gt;A proposed change can be copied into a coding workflow when the issue belongs in code or application configuration.&lt;/LI&gt;
&lt;LI&gt;For eligible instruction or tool-description issues, developers can use &lt;STRONG&gt;fix&lt;/STRONG&gt;&lt;STRONG&gt; insights&lt;/STRONG&gt; and create an agent optimizer run.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The handoff is important, but so is its boundary: a proposed fix is a starting point for validation, not an automatic production change.&lt;/P&gt;
&lt;H1&gt;From a selected insight to an evaluated candidate&lt;/H1&gt;
&lt;P&gt;From the &lt;STRONG&gt;Insights&lt;/STRONG&gt; tab, a developer can choose &lt;STRONG&gt;Select insights&lt;/STRONG&gt;, select the relevant insights, and choose &lt;STRONG&gt;Fix&lt;/STRONG&gt; &lt;STRONG&gt;insights&lt;/STRONG&gt; to create an optimization run. Foundry uses the selected evidence to prepare supported replay scenarios, proposes candidate changes, and compares them with the current agent version as the baseline.&lt;/P&gt;
&lt;P&gt;The goal is not to accept whichever candidate has the highest single score. Developers can inspect:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;which selected issues improved;&lt;/LI&gt;
&lt;LI&gt;the candidate's actual instruction or tool-description changes;&lt;/LI&gt;
&lt;LI&gt;per-scenario and overall evaluation results;&lt;/LI&gt;
&lt;LI&gt;quality comparisons with the baseline;&lt;/LI&gt;
&lt;LI&gt;token usage and estimated cost;&lt;/LI&gt;
&lt;LI&gt;latency; and&lt;/LI&gt;
&lt;LI&gt;whether independent conversations were available to check for broader regressions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Sometimes the responsible result is still the baseline. A candidate might fix one failure while regressing elsewhere, the evaluator might find the result inconclusive, or the available evidence might be too narrow. The developer reviews those trade-offs and explicitly decides whether to promote a candidate.&lt;/P&gt;
&lt;P&gt;Nothing in this workflow automatically changes the active agent. Human review, promotion, testing, and production activation remain separate decisions.&lt;/P&gt;
&lt;P&gt;Gulf Air assembled this handoff manually. The new select-insights-to-fix experience is designed to shorten part of that journey by carrying verified insight evidence into a controlled optimization run.&lt;/P&gt;
&lt;H1&gt;Confidence was the business outcome&lt;/H1&gt;
&lt;P&gt;The value of this work was not a single score or a one-time test. Each evaluation cycle produced reusable evidence - failure cases, traces, human-reviewed findings, and proposed changes that the team could carry into the next iteration. Validation became part of the engineering workflow rather than a final checkpoint before launch.&lt;/P&gt;
&lt;P&gt;The business outcome was confidence. Ahmed described the workflow as giving Gulf Air a level of confidence in its agents that the team had not achieved before. He also reported that Gulf Air management was impressed by the voice and chat-agent demonstration on launch day.&lt;/P&gt;
&lt;H1&gt;From Gulf Air: what changed for our team&lt;/H1&gt;
&lt;P&gt;&lt;EM&gt;“The agent refinement experience changed the way we approach agent AI development at Gulf Air. Instead of relying on individual tests or continually adjusting prompts, we can systematically challenge our agents with thousands of real business questions, understand where they struggle, and use evaluation, traces and insights to identify the underlying issues. This approach helps us refine how agents understand complex aviation business logic and gives our teams greater confidence in the agents we move into production. More importantly, it establishes a continuous development cycle where real-world usage and evaluation drive the next improvement.&lt;/EM&gt;&lt;EM&gt;”&lt;/EM&gt;&lt;/P&gt;
&lt;H1&gt;Five lessons for teams moving agents into production&lt;/H1&gt;
&lt;P&gt;Gulf Air's experience suggests five practical lessons.&lt;/P&gt;
&lt;H2&gt;1. Build the evaluation set around business difficulty&lt;/H2&gt;
&lt;P&gt;Start with the questions your business struggles to encode, not only the questions your agent already answers well. Include ambiguity, calculations, tool use, permissions, and domain rules.&lt;/P&gt;
&lt;H2&gt;2. Use insights to find patterns beyond predefined evaluations&lt;/H2&gt;
&lt;P&gt;Evaluations test the requirements a team already knows how to define. Insights can look across production traces for recurring behavior the team did not anticipate, bring related executions together, and show representative evidence. Custom categories and additional instructions can focus that analysis on business-specific concerns. Developers still review the cited traces and compare the finding with business expectations before deciding that an issue is real.&lt;/P&gt;
&lt;H2&gt;3. Turn recurring guidance into a reusable skill&lt;/H2&gt;
&lt;P&gt;When a verified issue reflects guidance the agent should apply across many future interactions, repeatedly tuning prompts might not be enough. A versioned skill can capture that learning in a form the team can review, evaluate, and deliberately adopt.&lt;/P&gt;
&lt;P&gt;Not every issue belongs in a skill. Code defects, tool-description problems, data-quality issues, and platform failures still need to go to the workflow that owns the responsible layer.&lt;/P&gt;
&lt;H2&gt;4. Compare trade-offs, not only quality scores&lt;/H2&gt;
&lt;P&gt;A candidate can improve one behavior while using more tokens, adding latency, or regressing on normal conversations. Compare candidates with the baseline and inspect the underlying evaluation cases.&lt;/P&gt;
&lt;H2&gt;5. Keep production changes explicit&lt;/H2&gt;
&lt;P&gt;Continuous analysis can discover new patterns, and optimization can test candidates. Neither should remove the developer's responsibility to review evidence, approve changes, and test the promoted version before sending production traffic to it.&lt;/P&gt;
&lt;H1&gt;The next chapter: keep learning after launch&lt;/H1&gt;
&lt;P&gt;Production is not the end of the evaluation set. It is where new evidence begins.&lt;/P&gt;
&lt;P&gt;Real users ask questions in ways a development team did not anticipate. Data changes, tools evolve, and a response that works for one scenario can fail at the edge of another. The opportunity is to turn those new production behaviors into the next round of learning without losing the controls that made the launch possible.&lt;/P&gt;
&lt;P&gt;For Gulf Air and other enterprises building complex agents, that means establishing a repeatable rhythm:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Observe new behavior in production traces.&lt;/LI&gt;
&lt;LI&gt;Verify the pattern against representative evidence and business expectations.&lt;/LI&gt;
&lt;LI&gt;Turn confirmed failures into evaluation coverage.&lt;/LI&gt;
&lt;LI&gt;Test candidate changes against the current baseline.&lt;/LI&gt;
&lt;LI&gt;Compare quality, latency, and cost rather than optimizing one measure in isolation.&lt;/LI&gt;
&lt;LI&gt;Promote a change only after human review, then watch the new version under real traffic.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This is the larger promise of continuous improvement in Microsoft Foundry. Insights from production traces can help teams discover what deserves attention. Evaluation makes expected behavior testable. Agent optimizer can compare possible improvements. Developers remain responsible for deciding what is correct, what is safe, and what should reach production.&lt;/P&gt;
&lt;P&gt;The next milestone is not an agent that changes itself without oversight. It is a controlled learning system in which production evidence, business context, evaluation, and human decisions reinforce one another.&lt;/P&gt;
&lt;P&gt;For Gulf Air, the first milestone is already real: difficult questions became evidence, evidence became engineering work, and that work helped two agents reach production with greater confidence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2026 20:26:48 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/gulf-air-s-continuous-improvement-journey-with-microsoft-foundry/ba-p/4574913</guid>
      <dc:creator>hanch</dc:creator>
      <dc:date>2026-12-01T20:26:48Z</dc:date>
    </item>
    <item>
      <title>Turn Human Feedback into a Reusable Quality Bar for AI Agents</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/turn-human-feedback-into-a-reusable-quality-bar-for-ai-agents/ba-p/4574554</link>
      <description>&lt;H4&gt;&lt;EM&gt;Human-in-the-loop for evaluation quality is now in public preview in Microsoft Foundry, announced at Microsoft Ignite on November 17, 2026.&lt;/EM&gt;&lt;/H4&gt;
&lt;P&gt;Your agent handled 10,000 conversations last week. Your team reviewed 50 and uncovered critical issues. But what happens to those findings? Too often, they end up in a spreadsheet, disconnected from your evaluation pipeline, never becoming reusable tests or measurable quality signals.&lt;/P&gt;
&lt;P&gt;Production traces reveal how your agent behaves with real users. Human reviewers bring the expertise to identify what worked, what failed, and what the agent should have done differently. The challenge is to turn these human feedbacks into evaluation signals that continuously measure and improve agent quality.&lt;/P&gt;
&lt;P&gt;With Human-in-the-loop for evaluation quality in Microsoft Foundry, teams can turn real-world agent interactions and human feedback into trusted evaluation datasets, actionable quality signals, and repeatable tests - connecting human judgment directly to the evaluation and optimization loop.&lt;/P&gt;
&lt;H2&gt;Why agent evaluation needs human feedback&lt;/H2&gt;
&lt;P&gt;Automated evaluators make it possible to assess AI agents at scale. But scale is only valuable when you can trust the results. When an LLM judge says your agent passed, is it evaluating what your business actually cares about?&lt;/P&gt;
&lt;P&gt;Unlike traditional software, good agent behavior is often defined by business requirements, domain expertise, and customer expectations. This knowledge typically lives in review comments, spreadsheets, and people's heads rather than in evaluation workflows.&lt;/P&gt;
&lt;P&gt;AI Agent teams face three challenges:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Valuable test cases are buried in production.&lt;/STRONG&gt; Real-world failures, edge cases, and unexpected behaviors are hidden among thousands of traces.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Human feedback is difficult to reuse.&lt;/STRONG&gt; Reviewer comments explain what went wrong, but cannot directly evaluate a different response from a future agent version.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Not every dataset is a trusted benchmark.&lt;/STRONG&gt; A large collection of examples doesn't necessarily represent the quality bar a team wants to maintain.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2&gt;What's new&lt;/H2&gt;
&lt;P&gt;Human-in-the-loop addresses these challenges by connecting production behavior, human feedback, evaluation and agent improvement in one workflow. It supports three goals:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;Goal&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;How Human-in-the-loop helps&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;Build trusted evaluation datasets&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;Convert production traces and conversations into representative test cases with human-reviewed expected outputs and annotations.&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;Make evaluation trustworthy&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;Generate test-case-specific scoring criteria from human feedback and evaluate agent responses against them.&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;Close the improvement loop&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;Reuse trusted datasets and task-level rubric evaluators to identify regressions and measure agent improvements.&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 50.00%" /&gt;&lt;col style="width: 50.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;H2&gt;From production behavior to evaluation datasets&lt;/H2&gt;
&lt;P&gt;Start with traces or conversations from an agent that’s already running. Use trace filters to identify representative scenarios, including successful interactions, recurring failures, and edge cases. For multi-turn tasks, review the full conversation to capture enough context for evaluation.&lt;/P&gt;
&lt;P&gt;Reviewers can capture four types of feedback directly on traces:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Ratings:&lt;/STRONG&gt; Overall assessment, such as thumbs up or down.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Tags:&lt;/STRONG&gt; Categories for scenarios and failure patterns.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Comments:&lt;/STRONG&gt; Why a response is right or wrong.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Expected outputs (ground truth):&lt;/STRONG&gt; What the agent should have said or done.&lt;/LI&gt;
&lt;/UL&gt;
&lt;img /&gt;
&lt;P&gt;Select annotated traces or conversations and add them to a new or existing evaluation dataset. When you enable test-case rubric generation, choose a model deployment. During dataset generation, Foundry preserves annotations and expected outputs, summarize conversations, and generate scoring criteria for an individual test case. Review generated rows and criteria before evaluating so they reflect the right context, policies, and expected behavior.&lt;/P&gt;
&lt;H2&gt;Build a benchmark your team trusts&lt;/H2&gt;
&lt;P&gt;Not all evaluation datasets serve the same purpose.&lt;/P&gt;
&lt;P&gt;A&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/human-in-the-loop-golden-datasets" target="_blank" rel="noopener"&gt; golden dataset &lt;/A&gt;is a small, intentionally curated collection of high-value examples that your team trusts as a benchmark for agent quality. These examples are typically grounded in production behavior and reviewed by domain experts. Unlike broad datasets used for experimentation or testing, golden datasets establish a consistent quality baseline.&lt;/P&gt;
&lt;P&gt;In Foundry, teams can mark a dataset as golden. Teams should continue reviewing and maintaining these benchmarks as production behavior and business requirements evolve.&lt;/P&gt;
&lt;H2&gt;Keep the improvement loop grounded&lt;/H2&gt;
&lt;P&gt;This is where human feedback becomes a repeatable evaluation signal.&lt;/P&gt;
&lt;P&gt;Consider a reviewer comment: "Explained how to request a refund but omitted the 30-day deadline." This feedback describes a specific response. But when the agent changes, it may generate a completely different response. How can the original feedback evaluate the new response?&lt;/P&gt;
&lt;P&gt;Foundry addresses this with &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/task-level-rubric-evaluator" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;task-level rubric evaluators&lt;/STRONG&gt;&lt;/A&gt; - automatically generating test-case scoring criteria that can be used to evaluate future responses to the same scenario.&lt;/P&gt;
&lt;P&gt;When adding annotated traces or conversations to a dataset with test-case rubrics generation enabled, teams select a model deployment. Foundry uses conversation history and human annotations to generate scoring criteria for each test case.&lt;/P&gt;
&lt;P&gt;For example, the reviewer comment can become a reusable criterion: "The response must state that refund requests must be submitted within 30 days." Expected outputs are preserved exactly as written and evaluated separately rather than being paraphrased into rubric criteria.&lt;/P&gt;
&lt;P&gt;For multi-turn evaluation, Foundry generates a conversation summary describing the scenario represented by each test case. Rubrics are generated during dataset creation, not dynamically during evaluation, so teams can inspect the generated criteria before using them.&lt;/P&gt;
&lt;P&gt;Teams should still use the &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/quality-rubric-evaluators" target="_blank" rel="noopener"&gt;shared quality rubric evaluators&lt;/A&gt; to consistently apply configured criteria across multiple test cases. The task-level rubric evaluator is a complementary approach for allowing teams to evaluate both scenario-specific requirements and broader quality expectations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;To validate whether human feedback improves the effectiveness of rubric-based evaluation, we tested this approach on HelpSteer3, a public dataset of human preference judgments. Rubrics informed by human annotations improved alignment with human preferences from 65% to 81% - &lt;STRONG&gt;a 16-percentage-point gain&lt;/STRONG&gt;, approaching the 89% agreement achieved by a second human annotator.&lt;/P&gt;
&lt;P&gt;By incorporating human feedback into test-case rubric generation, the task-level evaluator became more effective at distinguishing responses that better align with human preferences. These results demonstrate how human expertise can improve the fidelity of automated evaluation to human judgment while generating reusable, task-specific criteria for consistently assessing agent quality.&lt;/P&gt;
&lt;H2&gt;Get started&lt;/H2&gt;
&lt;P&gt;Human-in-the-loop for evaluation connects production traces or conversations, human feedback, curated datasets, and evaluation. It focuses on building agent improvement loop.&lt;/P&gt;
&lt;P&gt;To get started, you’ll need:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A Microsoft Foundry project with an agent that emits traces.&lt;/LI&gt;
&lt;LI&gt;Tracing configured with a connected Application Insights resource.&lt;/LI&gt;
&lt;LI&gt;Permissions to access traces and create evaluation datasets.&lt;/LI&gt;
&lt;LI&gt;A supported region for trace-based data generation.&lt;/LI&gt;
&lt;LI&gt;A model deployment (required for test-case rubric generation)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Production traces and annotations may contain sensitive information. Review privacy, retention, and dataset-access requirements before creating or sharing evaluation datasets.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Try it Now: &lt;/STRONG&gt;Follow the step-by-step guide to create your first golden dataset and task-level rubrics from production traces for evaluation&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/human-in-the-loop" target="_blank" rel="noopener"&gt;[Human in the loop (preview) - Microsoft Foundry | Microsoft Learn&lt;/A&gt;]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Watch the Ignite Session:&lt;/STRONG&gt; [&lt;A href="https://ignite.microsoft.com/en-US/sessions/BRK249" target="_blank" rel="noopener"&gt;From traces to better agents: The Foundry improvement loop&lt;/A&gt;]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2026 17:34:11 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/turn-human-feedback-into-a-reusable-quality-bar-for-ai-agents/ba-p/4574554</guid>
      <dc:creator>YanChen</dc:creator>
      <dc:date>2026-11-30T17:34:11Z</dc:date>
    </item>
    <item>
      <title>Foundry IQ: now managed for you in every Foundry project</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/foundry-iq-now-managed-for-you-in-every-foundry-project/ba-p/4573316</link>
      <description>&lt;H1&gt;Foundry IQ: Now managed for you in every Foundry project&lt;/H1&gt;
&lt;P&gt;Building AI agents that can answer questions from your documents just got simpler.&lt;/P&gt;
&lt;P&gt;Today we're announcing that every Microsoft Foundry project will include a managed Foundry IQ resource. Create knowledge bases and ground agents directly from your project, with no separate Foundry IQ (Azure AI Search) service to provision or manage.&lt;/P&gt;
&lt;P&gt;With a managed Foundry IQ resource, it's easier to connect your agent to a knowledge base and activate market-leading agentic retrieval, ingestion, content security, indexing, and source connections within your Foundry agent-building experience. You choose the content; Foundry IQ manages the underlying grounding infrastructure.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR4K-uce6W0NPtJ5TBRx9681UOVdCOEMzWVM3NTdLV0hCR0oxM0FVTk5UNS4u" target="_blank"&gt;Request access to the Foundry Managed Knowledge preview&lt;/A&gt;.&lt;/STRONG&gt; We're starting with limited preview access and plan to roll out managed Foundry IQ to all Microsoft Foundry projects in December 2026.&lt;/P&gt;
&lt;H2&gt;How it works&lt;/H2&gt;
&lt;P&gt;Start with an eligible project and permissions to create a knowledge base and access the content you want to use.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1: &lt;/STRONG&gt;Open&amp;nbsp;&lt;STRONG&gt;Knowledge&lt;/STRONG&gt; in your Foundry project and select &lt;STRONG&gt;Create a knowledge base&lt;/STRONG&gt;. In the configuration pane, use the &lt;STRONG&gt;Managed by Foundry&lt;/STRONG&gt; resource and enter a name for your knowledge base.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 2:&lt;/STRONG&gt; Select&amp;nbsp;&lt;STRONG&gt;Upload files&lt;/STRONG&gt; to add your files as a knowledge source. Foundry IQ processes the uploaded content and prepares it for retrieval through a searchable index. Once the knowledge source status changes to &lt;STRONG&gt;Active&lt;/STRONG&gt;, save the knowledge base. You can also connect a knowledge source supported by the managed preview.&lt;/P&gt;
&lt;P&gt;For supported file formats, upload limits, and processing details, see &lt;A href="https://learn.microsoft.com/en-us/azure/search/agentic-knowledge-source-how-to-file#file-support-and-limits" target="_blank"&gt;Create a file knowledge source&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Find evidence across documents with agentic retrieval&lt;/H2&gt;
&lt;P&gt;With model-based query planning enabled, Foundry IQ can break a complex question into focused searches, run them in parallel, and bring the relevant passages together for the agent.&lt;/P&gt;
&lt;P&gt;For example, asking &lt;STRONG&gt;"How do our Q3 sales in Europe compare with our Q2 forecast?"&lt;/STRONG&gt; may require retrieving actual sales results, forecast assumptions, and regional performance data from different documents. Foundry IQ can plan and execute focused searches across those sources to gather the evidence needed for a grounded response.&lt;/P&gt;
&lt;P&gt;Source references let users check where the answer came from. &lt;A href="https://learn.microsoft.com/en-us/azure/search/search-agentic-retrieval-concept" target="_blank"&gt;Learn how agentic retrieval works&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Use &lt;STRONG&gt;microsoft-retriever-1&lt;/STRONG&gt; out of the box for fast, low-cost retrieval, or bring your own supported model to tune the trade-off between latency, cost, and answer quality. Different workloads may benefit from different models depending on query complexity, retrieval requirements, and performance goals.&lt;/P&gt;
&lt;H2&gt;Ground your agent and test its answers&lt;/H2&gt;
&lt;P&gt;From the saved knowledge base, select &lt;STRONG&gt;Add to an agent&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;In the agent playground, ask a question that draws on multiple files and open a citation to check that the source supports the answer.&lt;/P&gt;
&lt;P&gt;Then try a question answered by one document and another the documents can't answer. For the latter, check that the agent acknowledges the gap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Choose how to run Foundry IQ&lt;/H2&gt;
&lt;P&gt;Use &lt;STRONG&gt;a managed Foundry IQ resource&lt;/STRONG&gt; when you want to create a knowledge base in your project and have Foundry manage the search infrastructure.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Bring your own Foundry IQ (Azure AI Search) resource&lt;/STRONG&gt; when you want to reuse existing search indexes or indexing pipelines, define custom index schemas, or control the search resource configuration directly.&lt;/P&gt;
&lt;P&gt;Supported knowledge sources and configuration options vary by setup.&lt;/P&gt;
&lt;H2&gt;Get started&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://forms.cloud.microsoft/pages/responsepage.aspx?id=v4j5cvGGr0GRqy180BHbR1NvsJ3FgWxFuYVnHQSkNJ5UQjlHTDVTWVJNUFlHSFRaWENUQ0xFOEtUMS4u&amp;amp;route=shorturl" target="_blank"&gt;Request access to private preview&lt;/A&gt;&lt;/STRONG&gt; and try grounding an agent with a set of documents you know well.&lt;/P&gt;
&lt;P&gt;Additional resources:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://ai.azure.com/" target="_blank"&gt;Open Microsoft Foundry&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/search/agentic-knowledge-source-overview" target="_blank"&gt;Explore Azure AI Search knowledge sources&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/foundry-iq-connect?tabs=foundry%2Cpython" target="_blank"&gt;Connect a knowledge base backed by your own Azure AI Search resource to Foundry Agent Service&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/developer/azure-skills/plugins/foundry-iq/foundry-iq" target="_blank"&gt;Use the Foundry IQ skill with an AI coding agent&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://azure.microsoft.com/en-us/pricing/details/search/" target="_blank"&gt;See Azure AI Search pricing for bring-your-own resources&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 18 Nov 2026 21:07:29 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/foundry-iq-now-managed-for-you-in-every-foundry-project/ba-p/4573316</guid>
      <dc:creator>fsunavala-msft</dc:creator>
      <dc:date>2026-11-18T21:07:29Z</dc:date>
    </item>
    <item>
      <title>External agents in Microsoft Foundry are now generally available</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/external-agents-in-microsoft-foundry-are-now-generally-available/ba-p/4572630</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Built your agent somewhere else? Foundry can still help you measure and improve it.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;External agents in Microsoft Foundry are now generally available. If your agent runs outside Foundry and sends OpenTelemetry traces to Application Insights, you can register it in Foundry and use those traces to observe and evaluate it, without moving or rebuilding the agent. Registration, the agent trace view, Agent Insights, and continuous evaluation of production traces are generally available. Other capabilities in this post are in preview and are labeled where they appear.&lt;/P&gt;
&lt;P&gt;Why use production traces? Because they show you what your tests missed. Take Contoso Travel, a fictional company that runs its own trip-planning agent outside Foundry.* Before launch, the agent passed every test the team wrote. After launch, users asked about carry-on bag rules and planned trips with three or four cities. Neither was in the test set. That's normal: tests cover the scenarios your team thought of, and real users bring the rest.&lt;/P&gt;
&lt;P&gt;This post follows Contoso as they connect the agent to Foundry, find problems in production, turn expert review into tests, and use those tests to measure and improve the agent.&lt;/P&gt;
&lt;H2&gt;Connect the agent you already have&lt;/H2&gt;
&lt;P&gt;Your agent keeps running where it is, on its existing endpoint. You send its traces to Application Insights, register it in Foundry, and Foundry reads the traces from there.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Before you begin&lt;/STRONG&gt;, you need:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;An Application Insights resource connected to your Foundry project.&lt;/LI&gt;
&lt;LI&gt;An agent that emits OpenTelemetry traces following the &lt;A href="https://github.com/open-telemetry/semantic-conventions-genai" target="_blank" rel="noopener"&gt;GenAI semantic conventions&lt;/A&gt;, with a &lt;EM&gt;gen_ai.agent.id&lt;/EM&gt; attribute on its invoke_agent span&lt;SPAN style="color: rgb(30, 30, 30);"&gt;. Agents built with frameworks other than the one shown here can also connect if they emit compatible traces.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;The &lt;STRONG&gt;Foundry User&lt;/STRONG&gt; role on the project, and &lt;STRONG&gt;Monitoring Reader&lt;/STRONG&gt; on the Application Insights resource to view traces.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For the full list of prerequisites, see &lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/register-external-agent#prerequisites" target="_blank" rel="noopener"&gt;Register external agents for observability and evaluation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Contoso's agent is built with Microsoft Agent Framework in Python and runs on Azure Kubernetes Service. Connecting it takes three steps.&lt;/P&gt;
&lt;H3&gt;Step 1: Send traces to Application Insights&lt;/H3&gt;
&lt;LI-CODE lang="python"&gt;import os

from agent_framework import Agent
from agent_framework.openai import OpenAIChatCompletionClient
from azure.identity import DefaultAzureCredential
from microsoft.opentelemetry import use_microsoft_opentelemetry

# Send traces, including prompts and responses, to Application Insights.
use_microsoft_opentelemetry(
    enable_azure_monitor=True,
    azure_monitor_connection_string=os.environ["APPLICATIONINSIGHTS_CONNECTION_STRING"],
    enable_sensitive_data=True,
)

client = OpenAIChatCompletionClient(
    model=os.environ["AZURE_OPENAI_DEPLOYMENT"],
    azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],
    credential=DefaultAzureCredential(),
)

agent = Agent(
    client,
    "You are Contoso Travel's trip-planning assistant...",
    id="contoso-trip-planner",  # Emitted as gen_ai.agent.id. Register the agent with this ID in step 2.
    name="contoso-trip-planner",
    tools=[search_flights, search_hotels, policy_lookup],
)&lt;/LI-CODE&gt;
&lt;P&gt;This uses the &lt;A href="https://pypi.org/project/microsoft-opentelemetry/" target="_blank" rel="noopener"&gt;Microsoft OpenTelemetry distro&lt;/A&gt;. Call &lt;EM&gt;use_microsoft_opentelemetry&lt;/EM&gt;&amp;nbsp;once at startup, before you create the agent.&lt;/P&gt;
&lt;P&gt;Decide early how you'll handle message content. &lt;EM&gt;enable_sensitive_data=True&lt;/EM&gt; records prompts and responses in your traces. Evaluators that score what the agent said, such as quality and rubric evaluators, need that content. The tracing docs recommend turning content recording off in production unless you need it. Before you turn it on in production, decide what content you're allowed to capture, who can see it, how long you keep it, and whether to redact it first. For the full set of considerations, see &lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/traces-sensitive-content" target="_blank" rel="noopener"&gt;Restrict access to sensitive content in Microsoft Foundry traces&lt;/A&gt; and &lt;A href="https://learn.microsoft.com/azure/foundry/observability/concepts/trace-data" target="_blank" rel="noopener"&gt;Tracing and data handling&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Step 2: Register the agent in Foundry&lt;/H3&gt;
&lt;P&gt;In the &lt;A href="https://ai.azure.com/" target="_blank" rel="noopener"&gt;Foundry portal&lt;/A&gt;, go to &lt;STRONG&gt;Build&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Agents&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;New agent&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Link external agent&lt;/STRONG&gt;, then enter the agent name and its OpenTelemetry ID.&lt;/P&gt;
&lt;P&gt;Or use the SDK (azure-ai-projects 2.11.0 or later):&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import os
from azure.ai.projects import AIProjectClient
from azure.ai.projects.models import ExternalAgentDefinition
from azure.identity import DefaultAzureCredential

project = AIProjectClient(
    endpoint=os.environ["FOUNDRY_PROJECT_ENDPOINT"],
    credential=DefaultAzureCredential(),
)

project.agents.create_version(
    agent_name="contoso-trip-planner",
    definition=ExternalAgentDefinition(otel_agent_id="contoso-trip-planner"),
)&lt;/LI-CODE&gt;
&lt;H3&gt;Step 3: Check that traces arrive&lt;/H3&gt;
&lt;P&gt;Send the agent a few requests, then open the agent's &lt;STRONG&gt;Traces&lt;/STRONG&gt; tab in Foundry. Traces usually appear within a few minutes.&lt;/P&gt;
&lt;P&gt;If traces don't show up, see &lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/register-external-agent#troubleshoot-missing-traces" target="_blank" rel="noopener"&gt;Troubleshoot missing traces&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;That's the setup. The rest of this post builds on those traces, and you can adopt each part on its own.&lt;/P&gt;
&lt;H2&gt;Find problems in production&lt;/H2&gt;
&lt;P&gt;With traces flowing, the next step is finding what's going wrong. Once an agent is live, there are too many conversations to read one by one, and bad answers often don't show up as errors in logs.&lt;/P&gt;
&lt;P&gt;Start with the trace view. Filter by time range, status, or token count to narrow down the traces you want to review, then open a run. The trace view shows each run step by step, based on what your traces record, such as model calls, tool calls with their inputs and outputs, and messages. That context can help you investigate where a run went wrong, rather than seeing only the final result.&lt;/P&gt;
&lt;P&gt;For a deeper look across many traces, use &lt;STRONG&gt;Agent Insights&lt;/STRONG&gt;. You can run it on demand or periodically. It analyzes the agent's recent traces with a model you choose, then groups recurring issues and shows each one with its severity, the linked traces, and a proposed next step. Foundry doesn't have access to an external agent's code, so for external agents that proposal is general guidance for you to apply in your own code. Changing an insight's status records your decision. It doesn't change your agent.&lt;/P&gt;
&lt;P&gt;Contoso's Agent Insights run flagged a recurring multi-city issue: the agent searched every pair of cities and then searched the same legs again. Around the same time, the support team saw complaints about carry-on answers. Filtering the traces to bag questions showed the agent quoting a size limit that was out of date. It answered from its instructions and never called&amp;nbsp;&lt;EM&gt;policy_lookup&lt;/EM&gt;, the tool that returns the current policy. Instead of reading traces one by one, the team used these signals to decide which traces to look at closely.&lt;/P&gt;
&lt;img /&gt;
&lt;H2&gt;Turn human expert review into reusable tests&lt;/H2&gt;
&lt;P&gt;Agent Insights shows you where to look. Deciding whether an answer is actually wrong often takes someone who knows the business. An LLM judge can help score whether an answer is relevant and grounded, but a general-purpose LLM judge may not know that your airline partner changed its bag rules last month. Your domain experts do, but their judgment often ends up in a chat thread or a support ticket and doesn't make it back into testing.&lt;/P&gt;
&lt;P&gt;In Foundry, a human expert's review can become a test you re-run. Foundry calls this &lt;STRONG&gt;human in the loop&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: rgb(30, 30, 30);"&gt;Annotate the trace (preview).&lt;/STRONG&gt;&lt;SPAN style="color: rgb(30, 30, 30);"&gt; Reviewers can rate a run, add tags, leave a comment, and write the answer they expected. Contoso's support lead reviewed the carry-on traces, marked them as incorrect, and wrote the expected answer with the current limit. The support lead did the same for a few multi-city trips.&lt;/SPAN&gt;&lt;/P&gt;
&lt;img /&gt;
&lt;P class=""&gt;One useful practice, also recommended in the &lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/human-in-the-loop-annotate" target="_blank" rel="noopener"&gt;annotation docs&lt;/A&gt;, is to annotate good runs as well as bad ones, and to say in the comment &lt;EM&gt;why&lt;/EM&gt; an answer is wrong. A score alone doesn't record the reason.&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG style="color: rgb(30, 30, 30);"&gt;Turn annotations into test cases.&lt;/STRONG&gt;&lt;SPAN style="color: rgb(30, 30, 30);"&gt; Foundry can generate dataset rows from annotated traces. A generated row keeps the user's question and the reviewer's expected answer, and Foundry can add a &lt;/SPAN&gt;&lt;STRONG style="color: rgb(30, 30, 30);"&gt;task-level rubric&lt;/STRONG&gt;&lt;SPAN style="color: rgb(30, 30, 30);"&gt; (preview): pass/fail criteria for that specific case. For a carry-on question, one criterion checks that the agent calls policy_lookup before giving a bag rule. The team reviewed the rows, edited one that was too strict, and added them to their golden dataset: a small, reviewed set of test cases the team trusts and re-runs to compare agent versions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;STRONG&gt;Define shared quality criteria.&lt;/STRONG&gt;&amp;nbsp;Task-level rubrics check specific scenarios. A shared rubric applies the same criteria across an evaluation. Foundry can generate one from a description of the agent's job that you write, plus its production traces, and the team edits it to match their standards. Contoso added a criterion that policy answers must come from &lt;EM&gt;policy_lookup&lt;/EM&gt;, so the carry-on lesson applies to fees and seat rules too. When they regenerate the rubric later, Foundry keeps the dimensions they edited and the version history.&lt;/P&gt;
&lt;P&gt;As a result, the support lead's judgment is captured in evaluation artifacts the team can reuse, and the tests come from questions users actually asked.&lt;/P&gt;
&lt;H2&gt;Measure and improve&lt;/H2&gt;
&lt;P&gt;With a golden dataset and a shared rubric, Contoso can measure the agent the same way every time. That matters because quality can change after launch, for example when a tool's data changes or someone edits a prompt. To know whether a change helped, you need to measure the same way before and after.&lt;/P&gt;
&lt;P&gt;You can also evaluate the agent continuously. Foundry scores a sample of its production traces at an interval you set, such as every hour. Intelligent sampling picks a varied set of traces rather than a random one. Use the shared rubric, built-in evaluators, or your own custom evaluators. &lt;SPAN style="color: rgb(30, 30, 30);"&gt;Contoso added a custom evaluator that checks each answer against the current policy, the kind of fact a general-purpose judge wouldn't know.&amp;nbsp;&lt;/SPAN&gt;Each scheduled run records its scores, so you can track quality over time and set an alert in Azure Monitor when a score falls&lt;SPAN style="color: rgb(30, 30, 30);"&gt;. Low scores are also a good place to look for the next traces to annotate.&lt;/SPAN&gt;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;With the problems identified, the team had two ways to improve the agent.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Fix it yourself.&lt;/STRONG&gt; For carry-on bags, the cause was clear. The team updated the instructions to always call &lt;EM&gt;policy_lookup &lt;/EM&gt;for bag and fee questions, then re-ran the golden dataset. In this example, the carry-on rows passed and the other rows still passed.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Learn from past traces with skill optimization (preview).&lt;/STRONG&gt; Multi-city trips were harder to fix by hand, so the team tried skill optimization. It analyzes past traces, along with any annotations and evaluation results, and proposes a new or updated skill: a versioned folder of instructions, with a SKILL.md file and optional scripts and reference files, that an agent can load when it needs them. The team ran it on recent traces with a focus on multi-city planning. It returned findings and a proposed skill.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;A successful run means the run finished. It doesn't mean the proposal is better. The team reviewed the findings and the proposed skill before trying it. Because the agent runs outside Foundry, they downloaded the skill into the agent's project, then re-ran the golden dataset to compare it with the current version. A skill ships only if the comparison shows it helps.&lt;/P&gt;
&lt;P&gt;Either way, the check is the same: run the same golden dataset before and after and compare.&lt;/P&gt;
&lt;H2&gt;Put it together&lt;/H2&gt;
&lt;P&gt;Each piece works on its own, and they also connect into one loop. Here's the carry-on issue from start to finish:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Detect: &lt;/STRONG&gt;support complaints and a trace filter surface outdated carry-on answers.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Review:&lt;/STRONG&gt; the support lead marks the traces incorrect and writes the expected answer.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt; the annotated traces become rows in the golden dataset.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Fix and re-run:&lt;/STRONG&gt; the team updates the instructions and re-runs the golden dataset.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Ship and monitor:&lt;/STRONG&gt; Foundry continuously evaluates a sample of production traffic.&lt;/LI&gt;
&lt;/OL&gt;
&lt;img /&gt;
&lt;P&gt;Steps 1 to 4 fix the issue in front of you. Over time, the team adds reviewed cases to the golden dataset and refines the shared rubric, so later evaluations include what they learned earlier.&lt;/P&gt;
&lt;P&gt;Pre-launch testing still matters. Production can add scenarios those tests missed, including unexpected requests or misuse, and expert review helps you decide which ones should become test cases.&lt;/P&gt;
&lt;H3&gt;Start where you are&lt;/H3&gt;
&lt;P&gt;You don't need everything at once. Start at the top and go as far as you need:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 100%; border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Stage&lt;/th&gt;&lt;th&gt;What to do&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Connect&lt;/td&gt;&lt;td&gt;Link your agent and check its traces&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Learn&lt;/td&gt;&lt;td&gt;Filter and review traces, run Agent Insights, and annotate traces that show the problems your team cares about&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Capture&lt;/td&gt;&lt;td&gt;Build a golden dataset and define evaluation criteria&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Measure&lt;/td&gt;&lt;td&gt;Continuously evaluate a sample of production traces&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Improve&lt;/td&gt;&lt;td&gt;Test each proposed change against the same golden dataset&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 13.179%" /&gt;&lt;col style="width: 86.8827%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;H2&gt;Get started&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/register-external-agent" target="_blank" rel="noopener"&gt;Register your external agent&lt;/A&gt;&lt;/STRONG&gt;, send it a few requests, and open its Traces tab. To try the full workflow, start from our external agent&lt;A class="lia-external-url" href="https://aka.ms/foundry-external-agents-sample" target="_blank" rel="noopener"&gt; sample.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Reference&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/trace-agent-framework#microsoft-agent-framework-agents-hosted-outside-of-foundry" target="_blank" rel="noopener"&gt;Configure tracing for AI agent frameworks&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/agent-insights" target="_blank" rel="noopener"&gt;Find recurring issues with insights&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/human-in-the-loop" target="_blank" rel="noopener"&gt;Human in the loop&lt;/A&gt; (preview)&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/concepts/evaluation-evaluators/rubric-evaluators" target="_blank" rel="noopener"&gt;Rubric evaluators&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/continuous-scheduled-evaluation" target="_blank" rel="noopener"&gt;Set up continuous and scheduled evaluation&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/optimize-skills-from-traces" target="_blank" rel="noopener"&gt;Optimize skills in Microsoft Foundry&lt;/A&gt; (preview)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Preview features are subject to the &lt;A href="https://azure.microsoft.com/support/legal/preview-supplemental-terms/" target="_blank" rel="noopener"&gt;Supplemental Terms of Use for Microsoft Azure Previews&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;*Contoso Travel and all data and results in this post are fictional and for illustration only.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2026 22:16:07 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/external-agents-in-microsoft-foundry-are-now-generally-available/ba-p/4572630</guid>
      <dc:creator>aprilk</dc:creator>
      <dc:date>2026-11-18T22:16:07Z</dc:date>
    </item>
    <item>
      <title>Observe and improve agents built outside Foundry</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/observe-and-improve-agents-built-outside-foundry/ba-p/4574508</link>
      <description>&lt;P&gt;External agents in Microsoft Foundry are now generally available. If your agent runs outside Foundry and sends OpenTelemetry traces to Application Insights, you can &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/register-external-agent?tabs=portal" target="_blank" rel="noopener"&gt;register it in Foundry and use its traces to observe and evaluate it&lt;/A&gt;. You don't have to move or rebuild the agent. &lt;STRONG&gt;External agent registration, the agent trace view, Insights, and continuous evaluation of production traces are generally available. &lt;/STRONG&gt;Other capabilities in this post are in preview and are labeled where they appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before launch, you test the scenarios you expect. Once your agent is live, users bring scenarios you didn't plan for.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Take Contoso Travel, a fictional company that runs its own trip-planning agent outside Foundry.*&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before launch, the agent passed every test the team wrote. After launch, users asked about carry-on bag rules and planned trips with three or four cities. Neither was in the test set.&lt;/P&gt;
&lt;P&gt;Tests can only cover the scenarios your team thought of. Production shows you the ones it didn't.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This post follows Contoso as they connect the agent to Foundry, find problems in production, capture human expert judgment, and turn it into tests they can run again.&lt;/P&gt;
&lt;H2&gt;Connect the agent you already have&lt;/H2&gt;
&lt;P&gt;Connecting an external agent doesn't mean migrating it. Your agent keeps running where it is, on its existing endpoint. You send its traces to Application Insights and register it in Foundry, and Foundry reads the traces from there.&lt;/P&gt;
&lt;P&gt;Before you begin, you need:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;An Application Insights resource connected to your Foundry project.&lt;/LI&gt;
&lt;LI&gt;An agent that emits OpenTelemetry traces following the GenAI semantic conventions, with gen_ai.agent.id and microsoft.foundry.project.id attributes on its spans. Agents built with frameworks other than the one shown here can also connect if they emit compatible traces.&lt;/LI&gt;
&lt;LI&gt;The Foundry User role on the project, and Monitoring Reader on the Application Insights resource to view traces.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For the full list of prerequisites, see Register external agents for observability and evaluation.&lt;/P&gt;
&lt;P&gt;Contoso's agent is built with Microsoft Agent Framework in Python and runs on Azure Kubernetes Service. Connecting it takes three steps.&lt;/P&gt;
&lt;H3&gt;Step 1: Send traces to Application Insights&lt;/H3&gt;
&lt;LI-CODE lang=""&gt;import os

from microsoft.opentelemetry import use_microsoft_opentelemetry

from opentelemetry import trace

from opentelemetry.sdk.trace import SpanProcessor



use_microsoft_opentelemetry(

    enable_azure_monitor=True,

    azure_monitor_connection_string=os.environ["APPLICATIONINSIGHTS_CONNECTION_STRING"],

    enable_sensitive_data=True,

    instrumentation_options={

        "agent-framework": {

            "enabled": True,

            # Emitted as gen_ai.agent.id. Register the agent with the same ID in step 2.

            "agent_id": "contoso-trip-planner",

            "agent_name": "contoso-trip-planner",

        },

    },

)



# Tag every span with the Foundry project, so the agent's Traces tab can find it.

class FoundryProject(SpanProcessor):

    def on_start(self, span, parent_context=None):

        span.set_attribute("microsoft.foundry.project.id", os.environ["FOUNDRY_PROJECT_RESOURCE_ID"])



trace.get_tracer_provider().add_span_processor(FoundryProject())&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This uses the Microsoft OpenTelemetry distro. Run it once at startup, then create and run the agent as usual. Set FOUNDRY_PROJECT_RESOURCE_ID to your project's resource ID, in the form /subscriptions/&amp;lt;subscription&amp;gt;/resourceGroups/&amp;lt;group&amp;gt;/providers/Microsoft.CognitiveServices/accounts/&amp;lt;account&amp;gt;/projects/&amp;lt;project&amp;gt;.&lt;/P&gt;
&lt;P&gt;Decide early how you'll handle message content. enable_sensitive_data=True records prompts and responses in your traces. Evaluators that score what the agent said, such as quality and rubric evaluators, need that content. The tracing docs recommend turning content recording off in production unless you need it. Before you turn it on in production, decide what content you're allowed to capture, who can see it, how long you keep it, and whether to redact it first. For the full set of considerations, see Restrict access to sensitive content in Microsoft Foundry traces and Tracing and data handling.&lt;/P&gt;
&lt;H3&gt;Step 2: Register the agent in Foundry&lt;/H3&gt;
&lt;P&gt;In the Foundry portal, go to &lt;STRONG&gt;Build&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Agents&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;New agent&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Link external agent&lt;/STRONG&gt;, then enter the agent name and its OpenTelemetry ID.&lt;/P&gt;
&lt;P&gt;Or use the SDK (azure-ai-projects 2.11.0 or later):&lt;/P&gt;
&lt;LI-CODE lang=""&gt;import os

from azure.ai.projects import AIProjectClient

from azure.ai.projects.models import ExternalAgentDefinition

from azure.identity import DefaultAzureCredential



project = AIProjectClient(

    endpoint=os.environ["FOUNDRY_PROJECT_ENDPOINT"],

    credential=DefaultAzureCredential(),

)



project.agents.create_version(

    agent_name="contoso-trip-planner",

    definition=ExternalAgentDefinition(otel_agent_id="contoso-trip-planner"),

)&lt;/LI-CODE&gt;
&lt;H3&gt;Step 3: Check that traces arrive&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;Send the agent a few requests, then open the agent's &lt;STRONG&gt;Traces&lt;/STRONG&gt; tab in Foundry. Traces usually appear within a few minutes.&lt;/LI&gt;
&lt;LI&gt;If traces don't show up, see Troubleshoot missing traces.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;That's the setup. The rest of this post builds on those traces, and you can adopt each part on its own.&lt;/P&gt;
&lt;H2&gt;Find problems in production&lt;/H2&gt;
&lt;P&gt;With traces flowing, the next step is finding what's going wrong. Once an agent is live, there are too many conversations to read one by one, and bad answers often don't show up as errors in logs.&lt;/P&gt;
&lt;P&gt;Start with the trace view. Filter by time range, status, or model to narrow down the traces you want to review, then open a run. The trace view shows each run step by step, based on what your traces record, such as model calls, tool calls with their inputs and outputs, and messages. That context can help you investigate where a run went wrong, rather than seeing only the final result.&lt;/P&gt;
&lt;P&gt;For a deeper look across many traces, use Insights. You can run it on demand or periodically. It analyzes the agent's recent traces with a GPT model you choose, then groups recurring issues and shows each one with its severity, the linked traces, and a proposed next step. Foundry doesn't have access to an external agent's code, so for external agents that proposal is general guidance for you to apply in your own code. Changing an insight's status records your decision. It doesn't change your agent.&lt;/P&gt;
&lt;P&gt;Contoso's Insights run flagged two issues. First, some answers about carry-on bags gave a size limit that was out of date. The traces showed that the agent answered from its instructions and never called policy_lookup, the tool that returns the current policy. Second, on multi-city trips the agent searched legs in an inconsistent order and repeated searches it had already done. Instead of reading traces one by one, the team used these issues to decide which traces to look at closely.&lt;/P&gt;
&lt;H2&gt;Turn human expert review into reusable tests&lt;/H2&gt;
&lt;P&gt;Insights shows you where to look. Deciding whether an answer is actually wrong often takes someone who knows the business. An LLM judge can help score whether an answer is relevant and grounded, but a general-purpose LLM judge may not know that your airline partner changed its bag rules last month. Your domain experts do, but their judgment often ends up in a chat thread or a support ticket and doesn't make it back into testing.&lt;/P&gt;
&lt;P&gt;In Foundry, a human expert's review can become a test you re-run. Foundry calls this human in the loop, and it works in three steps. Annotation and task-level rubrics are in preview. Dataset generation from traces and shared quality rubrics are generally available.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt; Annotate the trace (preview).&lt;/STRONG&gt; Reviewers can rate a run, add tags, leave a comment, and write the answer they expected. Contoso's support lead reviewed the carry-on traces from the insight, marked them as incorrect, and wrote the expected answer with the current limit. The support lead did the same for a few multi-city trips.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;One useful practice, also recommended in the annotation docs, is to annotate good runs as well as bad ones, and to say in the comment why an answer is wrong. A score alone doesn't record the reason.&lt;/P&gt;
&lt;OL start="2"&gt;
&lt;LI&gt;&lt;STRONG&gt; Turn annotations into test cases.&lt;/STRONG&gt; Foundry can generate dataset rows from annotated traces. A generated row keeps the user's question and the reviewer's expected answer, and Foundry can add a task-level rubric (preview): pass/fail criteria for that specific case. For a carry-on question, one criterion checks that the agent calls policy_lookup before giving a bag rule. The team reviewed the rows, edited one that was too strict, and added them to their golden dataset: a small, reviewed set of test cases the team trusts and re-runs to compare agent versions.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt; Define shared quality criteria.&lt;/STRONG&gt; Task-level rubrics check specific questions. A shared rubric applies the same criteria across an evaluation. Foundry can generate one from a description of the agent's job that you write, plus its production traces, and the team edits it to match their standards. Contoso added a criterion that policy answers must come from policy_lookup, so the carry-on lesson applies to fees and seat rules too. When they regenerate the rubric later, Foundry keeps the dimensions they edited and the version history.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;As a result, the support lead's judgment is captured in evaluation artifacts the team can reuse, and the tests come from questions users actually asked.&lt;/P&gt;
&lt;H2&gt;Measure the same way before and after every change&lt;/H2&gt;
&lt;P&gt;With a &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/human-in-the-loop-golden-datasets" target="_blank" rel="noopener"&gt;golden dataset&lt;/A&gt; and a shared rubric, Contoso can measure the agent the same way every time. That matters because quality can change after launch, for example when a tool's data changes or someone edits a prompt. To know whether a change helped, you need to measure the same way before and after.&lt;/P&gt;
&lt;P&gt;You can also &lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/continuous-scheduled-evaluation?tabs=python" target="_blank" rel="noopener"&gt;evaluate the agent continuously&lt;/A&gt;. Foundry scores a sample of its production traces at an interval you set, such as every hour. Intelligent sampling picks a varied set of traces rather than a random one. Use the shared rubric, built-in evaluators, or your own custom evaluators. The Agent Monitoring Dashboard shows the scores over time, and you can set an alert in Azure Monitor for when a score drops. Low scores are also a good place to look for the next traces to annotate.&lt;/P&gt;
&lt;P&gt;With the problems identified, the team had two ways to improve the agent.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Fix it yourself.&lt;/STRONG&gt; For carry-on bags, the cause was clear. The team updated the instructions to always call policy_lookup for bag and fee questions, then re-ran the golden dataset. In this example, the carry-on rows passed and the other rows still passed.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Use agent optimizer.&lt;/STRONG&gt; Agent optimizer can be used on external agents too. Multi-city trips were harder to fix by hand, so the team tried skill optimization (preview), which learns from past traces. It analyzes those traces, along with any annotations and evaluation results, and proposes a new or updated skill: a versioned folder of instructions, with a SKILL.md file and optional scripts and reference files, that an agent can load when it needs them. The team ran it on recent multi-city traces with a focus instruction: improve multi-city planning. It returned findings and a proposed skill version. For more on how it works, see [Improve production agents with agent optimizer in Microsoft Foundry].&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;A successful run means the run finished. It doesn't mean the proposal is better. The team reviewed the findings and the proposed skill, and decided to try it. Because the agent runs outside Foundry, they downloaded the skill into the agent's project, then re-ran the golden dataset to compare. In this example, the multi-city rows passed and the other rows still passed, so they shipped it.&lt;/P&gt;
&lt;P&gt;Either way, the check is the same: run the same golden dataset before and after, and compare.&lt;/P&gt;
&lt;H2&gt;From flagged issue to shipped fix&lt;/H2&gt;
&lt;P&gt;Each piece works on its own, and they also connect into one loop. Here's the carry-on issue from start to finish:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Detect.&lt;/STRONG&gt; The Insights run flags outdated carry-on answers.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Review.&lt;/STRONG&gt; The support lead marks the traces incorrect and writes the expected answer.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Test.&lt;/STRONG&gt; The annotated traces become rows in the golden dataset.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Fix and re-run.&lt;/STRONG&gt; The team updates the instructions and re-runs the golden cont.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Ship and monitor.&lt;/STRONG&gt; Foundry continuously evaluates a sample of production traffic.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both loops start from the same production traces. Steps 1 to 4 fix the issue in front of you. Over time, the team adds reviewed cases to the golden dataset and refines the shared rubric, so later evaluations include what they learned earlier.&lt;/P&gt;
&lt;P&gt;Pre-launch testing still matters. Production can add scenarios those tests missed, including unexpected requests or misuse, and expert review helps you decide which ones should become test cases.&lt;/P&gt;
&lt;H2&gt;Start where you are&lt;/H2&gt;
&lt;P&gt;You don't need everything at once. Start at the top and go as far as you need:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;Stage&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;&lt;STRONG&gt;What to do&lt;/STRONG&gt;&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;Link your agent and check its traces&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;Learn&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;Filter and review traces, run Insights, and annotate traces that show the problems your team cares about&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;Capture&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;Build a golden dataset and define evaluation criteria&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;Measure&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;Continuously evaluate a sample of production traces&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
&lt;P&gt;Improve&lt;/P&gt;
&lt;/td&gt;&lt;td&gt;
&lt;P&gt;Test each proposed change against the same golden dataset&lt;/P&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 50.00%" /&gt;&lt;col style="width: 50.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Get started&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Get started in Microsoft Foundry.&lt;/STRONG&gt; Go to &lt;A href="https://ai.azure.com" target="_blank" rel="noopener"&gt;ai.azure.com&lt;/A&gt;, register your external agent, send it a few requests, and open its &lt;STRONG&gt;Traces&lt;/STRONG&gt; tab.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Try the full workflow.&lt;/STRONG&gt; Start from the trip planner sample [CONFIRM sample repo].&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Read the announcement.&lt;/STRONG&gt; &lt;A href="http://aka.ms/ignite26foundry" target="_blank" rel="noopener"&gt;Continuous improvement comes to Microsoft Foundry&lt;/A&gt; covers the full improvement loop.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Join us at Ignite.&lt;/STRONG&gt; &lt;A href="https://ignite.microsoft.com/en-US/sessions/BRK249" target="_blank" rel="noopener"&gt;BRK249: From traces to better agents: The Foundry improvement loop&lt;/A&gt; and &lt;A href="https://ignite.microsoft.com/en-US/sessions/BRK251" target="_blank" rel="noopener"&gt;BRK251: Agents in production: From issue detection to continuous improvement&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Reference&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/trace-agent-framework" target="_blank" rel="noopener"&gt;Configure tracing for AI agent frameworks&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/agent-insights" target="_blank" rel="noopener"&gt;Find recurring issues with insights&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/human-in-the-loop" target="_blank" rel="noopener"&gt;Human in the loop (preview)&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/rubric-evaluators" target="_blank" rel="noopener"&gt;Rubric evaluators&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="lia-external-url" href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/continuous-scheduled-evaluation?tabs=python" target="_blank" rel="noopener"&gt;Set up continuous and scheduled evaluation&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/optimize-skills-from-traces?pivots=portal" target="_blank" rel="noopener"&gt;Optimize skills in Microsoft Foundry (preview)&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;Preview features are subject to the Supplemental Terms of Use for Microsoft Azure Previews.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;*Contoso Travel and all data and results in this post are fictional and for illustration only.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2026 19:34:54 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/observe-and-improve-agents-built-outside-foundry/ba-p/4574508</guid>
      <dc:creator>katelynrothney</dc:creator>
      <dc:date>2026-11-18T19:34:54Z</dc:date>
    </item>
    <item>
      <title>FinOps in Microsoft Foundry: see your token spend, hit your quality bar for less, and set limits</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/finops-in-microsoft-foundry-see-your-token-spend-hit-your/ba-p/4570010</link>
      <description>&lt;P&gt;&lt;EM&gt;Co-authored by Avinav Jami and Bhuwan Sahni&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;An end-to-end walkthrough of FinOps for AI in Microsoft Foundry: plan what an agent should cost, see where the spend goes, find out why it changed, hit your quality bar for less, and set limits.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Most AI agents reach production the same way. A proof of concept shows the idea works. The team estimates what it will cost at scale, the number looks reasonable, and the agent launches. Then it keeps changing, as agents in production do. Traffic grows. A new release moves a step to a smarter model. A prompt picks up a timestamp. A nightly job starts sharing a deployment with live traffic. Each change makes sense on its own. Together, they move the bill, and by the time the invoice arrives, it’s hard to say which change did what.&lt;/P&gt;
&lt;P&gt;That’s why cost became an engineering question this year, not only a line in a finance report. As Satya Nadella wrote in his &lt;A href="https://www.microsoft.com/investor/reports/ar26/index.html" target="_blank" rel="noopener"&gt;October 2026 letter to shareholders&lt;/A&gt;, “customers will increasingly measure the cost of tokens against the outcomes they produce.” Microsoft Foundry now brings cost to where you build and run agents, on the same numbers your finance team already uses.&lt;/P&gt;
&lt;H2 id="what-we-keep-hearing"&gt;What we keep hearing&lt;/H2&gt;
&lt;P&gt;When we sit down with teams that run agents in production, the same worries come up again and again:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;We know the bill went up. We don’t know which team, which agent, or which release did it.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;We find out at the end of the month, from finance.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;We’d move to a cheaper model tomorrow, if we knew the answers wouldn’t get worse.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Nothing stops a runaway agent until the invoice shows up.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Engineering and finance look at different numbers. Every review starts with an argument about whose are right.&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Behind each of those worries is a person with a real question:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Developers&lt;/STRONG&gt; ask: &lt;EM&gt;Which model should each step use?&lt;/EM&gt; They want to ship a cheaper version without breaking what already works.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Platform teams&lt;/STRONG&gt; ask: &lt;EM&gt;Where are our tokens going?&lt;/EM&gt; They answer for every team’s spend, and they’d rather spot a surprise before finance does.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Finance and FinOps practitioners&lt;/STRONG&gt; ask: &lt;EM&gt;What does each outcome cost, and will we stay in budget?&lt;/EM&gt; They want numbers they can trust and charge back, without learning a new tool.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;FinOps for AI is a shared job. It works when everyone sees the same numbers and can act on them, from the first estimate to every release after. Here’s what Foundry gives each of them, at every step.&lt;/P&gt;
&lt;img /&gt;
&lt;H2 id="meet-woodgrove"&gt;Meet Woodgrove&lt;/H2&gt;
&lt;P&gt;Let’s imagine a bank called Woodgrove Bank. It runs a dozen agents across five teams, all on Microsoft Foundry. Its busiest agent, fraud-case-review, prepares card-fraud cases for the bank’s analysts. For each case, it reads the alert, checks the customer’s profile, transactions, devices, and merchants, and drafts a recommendation that an analyst signs off.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Woodgrove Bank and its cases are fictional. The screenshots and numbers come from a Foundry demo environment we ran November 7 to 14, 2026, on synthetic data, with costs at list prices.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The fraud team cares about three things:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;The cost of each resolved case, at a quality its analysts trust.&lt;/STRONG&gt; A cheap answer that an analyst has to redo isn’t cheap.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;No surprises.&lt;/STRONG&gt; If spending jumps, they want to know that day, not at month-end.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;A budget they can stand behind.&lt;/STRONG&gt; Finance charges AI spend back to each team, and the fraud team owns its number.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Version 1 of the agent cost about 10 cents a case, right on plan. Then the team shipped version 2, with a bigger model and a reworked prompt. The analysts didn’t notice a difference. The bill did, and each case now cost about 40 cents. Here’s how Woodgrove planned, found the cause, fixed it, and kept it fixed.&lt;/P&gt;
&lt;H2 id="plan-know-what-a-case-should-cost"&gt;Plan: know what a case should cost&lt;/H2&gt;
&lt;P&gt;FinOps starts before the first deployment. Woodgrove began with a small proof of concept: the agent worked through a sample of closed cases, and the team measured how many tokens one case takes. With that, and the number of cases they expected each month, they estimated production cost in the &lt;A href="https://azure.microsoft.com/pricing/calculator/" target="_blank" rel="noopener"&gt;Azure pricing calculator&lt;/A&gt;. &lt;A href="https://learn.microsoft.com/azure/foundry/concepts/billing-concepts" target="_blank" rel="noopener"&gt;Billing concepts&lt;/A&gt; showed them which charges to expect. Before launch, they ran a small test workload with representative traffic and compared its cost in Foundry with the estimate. The target they agreed on: about 10 cents a case. That target matters because it tells the team what good looks like as a cost per outcome, and it turns “the bill feels high” into a number they can measure against.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/estimate-costs" target="_blank" rel="noopener"&gt;Estimate costs&lt;/A&gt;&lt;/P&gt;
&lt;H2 id="see-where-is-the-spend-going"&gt;See: where is the spend going?&lt;/H2&gt;
&lt;P&gt;Woodgrove’s platform team starts each day on &lt;STRONG&gt;Fleet&lt;/STRONG&gt; (preview), in the &lt;STRONG&gt;Manage&lt;/STRONG&gt; area of the Foundry portal. It’s one view of every agent and model in the subscription: how much they run, how many tokens they use, what they cost, and where errors, slow runs, and policy violations are. Cost, health, and &lt;A href="https://learn.microsoft.com/azure/foundry/control-plane/how-to-manage-compliance-security" target="_blank" rel="noopener"&gt;compliance&lt;/A&gt; sit side by side, and each card links to a page with more detail. In the week version 2 shipped, Fleet put the estimated cost at about $118, across 12 agents and 18 models.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Operations&lt;/STRONG&gt; (preview) showed what was behind it. It tracks agent runs, model requests, tool calls, and tokens, by agent and by model, along with errors, latency, and quality scores from recurring evaluations. It doesn’t show cost, but its numbers arrive within minutes and show what’s happening right now. One agent’s tokens stood out: fraud-case-review.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;Fleet and Operations for Woodgrove’s five projects, over the last seven days, November 7 to 14.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;To put a price on it, the team opened &lt;STRONG&gt;Cost&lt;/STRONG&gt; (preview). It shows spend for every project in the subscription, compares each day with the same weekday last week, and lists the assets that cost the most. Spend can be grouped by project, agent, or model, so the agent behind a cost is one click away. The fraud-risk project was most of the spend, fraud-case-review was most of that project’s cost, and nearly all of it ran on GPT-6 Sol, the frontier model.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;From the bill to the agent and its model.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Cost in Fleet, Cost, and each project’s Monitor comes from Azure Cost Management. It’s the same data finance sees, at the prices you actually pay, including negotiated prices. Foundry tags model charges with their project and model deployment, and, for agent calls, the agent’s name. Engineering sees cost by agent in Foundry, and finance sees the same spend by project in Cost Management, ready for chargeback.&lt;/P&gt;
&lt;P&gt;That’s also why cost arrives later than usage. Usage, like tokens and runs, shows up within minutes. Cost has to be priced first. Cost Management &lt;A href="https://learn.microsoft.com/azure/cost-management-billing/costs/understand-cost-mgt-data#cost-and-usage-data-updates-and-retention" target="_blank" rel="noopener"&gt;updates estimated charges up to six times a day&lt;/A&gt;, and cost typically appears 8 to 24 hours after usage (up to 72 hours on pay-as-you-go subscriptions). That helps you spot a runaway agent well before month-end. Costs stay estimates until the invoice is issued, and Cost Management doesn’t include taxes or credits. We’re working to shorten the delay on the way to general availability.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/control-plane/monitor-fleet" target="_blank" rel="noopener"&gt;Monitor your agent fleet&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/control-plane/monitor-operations" target="_blank" rel="noopener"&gt;Monitor agent and model operations&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/view-subscription-costs" target="_blank" rel="noopener"&gt;View subscription costs&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/view-project-costs" target="_blank" rel="noopener"&gt;View project, agent, and model costs&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/analyze-costs-cost-management" target="_blank" rel="noopener"&gt;Analyze costs in Azure Cost Management&lt;/A&gt;&lt;/P&gt;
&lt;H2 id="dive-deeper-from-one-case-to-the-cause"&gt;Dive deeper: from one case to the cause&lt;/H2&gt;
&lt;P&gt;A cost chart tells you that spending changed. To fix it, you need to know why.&lt;/P&gt;
&lt;P&gt;The fraud team opened the agent’s &lt;STRONG&gt;Traces&lt;/STRONG&gt; and picked one version 2 case. It made 17 model calls, and every one went to GPT-6 Sol, even simple steps like reading the alert. Then came the detail that explained the jump. Each call wrote its prompt to the cache, and none of them read anything back. Version 2 had put the current date and time at the very top of the prompt. No two calls started the same way, and the cache never got a hit. On GPT-5.6 and later models, cache writes can be billed: a cache that’s written and never read adds cost instead of saving it.&lt;/P&gt;
&lt;P&gt;Nobody should have to read a thousand traces to find a pattern. &lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/agent-insights" target="_blank" rel="noopener"&gt;Insights&lt;/A&gt; (preview) reads an agent’s production traces and groups recurring issues by category and severity, and &lt;STRONG&gt;Cost &amp;amp; tokens&lt;/STRONG&gt; is one of the categories. For Woodgrove, it flagged that every step of a case resent the full fraud policy, including sections that step didn’t need, and it linked the traces behind the finding. Each insight comes with a proposed fix. You can test it with Agent Optimizer (preview), covered in the next section. Insights has its own token cost, because it runs a model over your traces. Run it on demand, for example after each release, or turn on scheduled analysis, which runs every six hours.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;From the agent to the cause, in one trace and one insight.&lt;/EM&gt;&lt;/P&gt;
&lt;H2 id="optimize-hit-your-quality-bar-for-less"&gt;Optimize: hit your quality bar for less&lt;/H2&gt;
&lt;P&gt;With the cause known, Woodgrove could fix it. Every cost lever trades something away, such as quality, speed, or flexibility, so before changing anything, the team set a quality bar, in three steps:&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI&gt;&lt;STRONG&gt;Pick real work.&lt;/STRONG&gt; The team took 50 closed fraud cases, each with the decision a senior analyst made.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Decide what counts as right.&lt;/STRONG&gt; Four checks for each case: does the agent reach the same decision as the senior analyst, name the same type of fraud, and cite the two key records behind it?&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Score the current version.&lt;/STRONG&gt; That score is the bar. A cheaper option ships only if it does at least as well, on the same 50 cases.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;In Foundry, this is an &lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/evaluate-agent" target="_blank" rel="noopener"&gt;evaluation&lt;/A&gt;. You run the same cases against each option and compare the scores, tokens, and estimated cost side by side.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;Woodgrove’s evaluation in the Foundry portal: the same 50 cases on five models, four checks each, with each run’s estimated cost. model-router-cost is Model Router in Foundry Models, in ‘cost’ mode.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Every model used about the same number of tokens on these cases, yet the runs cost from about 5 to 90 cents. The price per token for the achieved accuracy made the difference. Per case, that’s 2 cents or less, far below the cost of a case in production, because each evaluation case is one model call on the case’s evidence, while a production case makes 12 to 20. With the bar in place, the team looked at both sides of the bill: how many tokens each case uses, and what each token costs.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;STRONG&gt;1. The right model for each step.&lt;/STRONG&gt; Not every step needs the frontier model. On Woodgrove’s 50 cases, &lt;A href="https://learn.microsoft.com/azure/foundry/openai/concepts/model-router" target="_blank" rel="noopener"&gt;model router&lt;/A&gt; in Cost mode passed 199 of 200 checks, the same as GPT-6 Sol, for about a tenth of the cost at list prices. The lower-priced models on their own cost even less, but each passed fewer checks. Cheaper isn’t automatically good enough, which is why the bar comes first.&lt;/P&gt;
&lt;P&gt;If one smaller model holds the bar for every request in a step, you can call it directly. When requests vary, model router picks a model for each one, and easy requests don’t pay frontier prices. Its default Balanced mode and its Cost mode are both built to cost less than always calling a frontier model. The &lt;A href="https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/model-router-in-foundry-models-start-in-one-line-route-intelligently-evaluate-co/4573543" target="_blank" rel="noopener"&gt;model router blog&lt;/A&gt; goes deeper.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/agents/concepts/agent-optimizer-overview" target="_blank" rel="noopener"&gt;Agent Optimizer&lt;/A&gt; (preview) looks at the agent as a whole. It tries candidate instructions and models on your own evaluation data and scores each candidate against your current version. Nothing changes until you promote one, so you can pick the cheapest candidate that holds the bar. You can start a run from the Foundry portal, Foundry Toolkit for Visual Studio Code, or the &lt;A href="https://learn.microsoft.com/azure/foundry/agents/quickstarts/quickstart-optimize-hosted-agent" target="_blank" rel="noopener"&gt;Azure Developer CLI&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Woodgrove ran it on six of its cases, one for each type of fraud, with a stricter score that also checks that every finding cites a record. Each candidate changed only the system prompt. The best one more than doubled the score and used about a third fewer tokens per case. The team kept the Optimizer’s new evidence rules for version 3.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;Agent Optimizer on fraud-case-review: three candidates against the current version.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Reuse what repeats.&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/prompt-caching" target="_blank" rel="noopener"&gt;Prompt caching&lt;/A&gt; reuses the start of a prompt when it’s identical from call to call and at least 1,024 tokens long. Cached input costs much less than regular input: a tenth as much for GPT-6 Sol, at Data Zone list prices. For Woodgrove, the fix was a small code change: instructions, policy, and tool definitions first, and the timestamp and case data last.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3. Send less.&lt;/STRONG&gt; Insights showed every step getting the full fraud policy. Version 3 still sends it, but now it’s read from the cache. Sending each step only the sections it needs would save more. Two more habits help any agent: &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/reasoning#control-costs" target="_blank" rel="noopener"&gt;cap output tokens&lt;/A&gt;, and use &lt;A href="https://learn.microsoft.com/azure/foundry/agents/how-to/tools/tool-search" target="_blank" rel="noopener"&gt;tool search&lt;/A&gt;, which lets an agent with a large toolbox load tool definitions only when it needs them.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4. The right deployment for the job.&lt;/STRONG&gt; The same model can cost less depending on how you deploy it. It pays to match each workload to the right deployment type, and one question helps: is anyone waiting for this response? Woodgrove re-scores its whole case backlog overnight, on the same deployment that serves analysts during the day. Nobody waits for that job. It can move to &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/batch" target="_blank" rel="noopener"&gt;Batch&lt;/A&gt;, which targets a 24-hour turnaround, or to &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/flex-processing" target="_blank" rel="noopener"&gt;Flex processing&lt;/A&gt; (preview), which runs delay-tolerant requests at a lower price. For steady, high-volume traffic, &lt;A href="https://learn.microsoft.com/azure/foundry/openai/concepts/provisioned-throughput" target="_blank" rel="noopener"&gt;provisioned throughput&lt;/A&gt; gives you reserved capacity and a predictable bill. &lt;A href="https://learn.microsoft.com/azure/foundry/openai/concepts/priority-processing" target="_blank" rel="noopener"&gt;Priority processing&lt;/A&gt; is the opposite case: it’s built for low latency, not for savings. Use it for the traffic where speed matters most.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The result.&lt;/STRONG&gt; Combined, these levers lower the cost per outcome. For Woodgrove, version 3, live since November 12, cut the cost per case in half, to about 20 cents, at the same quality.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/concepts/optimize-costs" target="_blank" rel="noopener"&gt;Cost optimization overview&lt;/A&gt;&lt;/P&gt;
&lt;H2 id="control-set-limits"&gt;Control: set limits&lt;/H2&gt;
&lt;P&gt;The levers bend the curve. &lt;A href="https://learn.microsoft.com/azure/foundry/concepts/cost-controls" target="_blank" rel="noopener"&gt;Cost controls&lt;/A&gt; (preview) help keep it in bounds.&lt;/P&gt;
&lt;P&gt;A cost control is a budget, in US dollars or tokens, with three settings: the usage it covers, how often it resets, and what happens at each threshold. It can cover a whole Foundry resource or project, or only the projects, model deployments, agents, or hosted agent sessions that you pick. At a threshold, it sends an alert through Azure Event Grid, or it blocks new requests until the next reset. Blocked requests get HTTP 429 with the header &lt;CODE&gt;x-&lt;/CODE&gt;&lt;CODE&gt;ms&lt;/CODE&gt;&lt;CODE&gt;-budget-cause: &lt;/CODE&gt;&lt;CODE&gt;budget_exceeded&lt;/CODE&gt;, which lets your app tell a budget block from a busy service.&lt;/P&gt;
&lt;P&gt;Four scopes cover most needs: a project, so each team owns its budget; a model deployment, to cap an expensive model; a single agent; or every session of a hosted agent, so one long conversation can’t run away. A control can share one budget across everything it covers, or give each project, agent, or session its own.&lt;/P&gt;
&lt;P&gt;Cost controls count usage as requests run and act before an overrun reaches the invoice. Platform teams set them for every project in &lt;STRONG&gt;Manage&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Cost&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Cost Control&lt;/STRONG&gt;. They can also create them from code, for example in a deployment pipeline. Teams working in a project see every limit that applies to them in the project’s &lt;STRONG&gt;Monitor&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Cost Control&lt;/STRONG&gt;, before anything blocks. When several controls apply, the most restrictive one decides.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;EM&gt;Creating a cost control for a project: $300 a month, an alert at 80%, and a block at 100%.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Woodgrove’s fraud team now gets an alert at 80% of its monthly budget and a block at 100%, and each analyst conversation with the team’s chat copilot gets its own 40,000 tokens. Finance sees the same spend, by project, in Azure Cost Management. Cost controls work alongside the limits you may already use: Cost Management budgets alert on billed cost, quota caps throughput, and AI gateway token limits cap the tokens for a deployment.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/create-cost-controls" target="_blank" rel="noopener"&gt;Create and manage cost controls&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/concepts/cost-management-permissions" target="_blank" rel="noopener"&gt;Permissions for cost data and cost controls&lt;/A&gt;&lt;/P&gt;
&lt;H2 id="its-not-just-woodgrove"&gt;It’s not just Woodgrove&lt;/H2&gt;
&lt;P&gt;Woodgrove Bank helps illustrate an end-to-end example, but the pattern is real. Teams building on Foundry, like the ones below, are already paying less without giving up the quality they need. They start where Woodgrove did: a clear quality bar, the right model for each step, and only the context that matters.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Docusign&lt;/STRONG&gt; processes more than a million agreements a day. It moved from large, general-purpose models to smaller models in Microsoft Foundry, and it sends each model only the part of an agreement that matters. AI processing costs fell 90% and throughput rose eightfold, with accuracy within two percentage points of the larger models (&lt;A href="https://www.microsoft.com/en/customers/story/27299-docusign-microsoft-foundry" target="_blank" rel="noopener"&gt;Microsoft customer story&lt;/A&gt;). “At a million documents a day, the difference between sending a full 100-page contract and sending the 4,000 tokens that actually matter is the difference between a viable business and an economics problem,” says Ramachandra Kota, Senior Director of Applied Science at Docusign.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Wolters Kluwer&lt;/STRONG&gt; builds expert AI for regulated industries on Microsoft Foundry, including CCH Axcess for tax and accounting professionals and UpToDate Expert AI for clinicians. “We define useful first, and only then make it cheaper. Our experts set the bar, and we test every model in Foundry against it the same way. Our biggest cost lever is prompt caching: we folded separate agents into one shared prompt prefix, with the live request last, and our cache hit rates are above 90%. Cost and latency come down, and accuracy goes up,” says Alex Tyrrell, EVP and CTO, Health and Advanced Technology, Wolters Kluwer.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Enhans&lt;/STRONG&gt; builds AgentOS, its platform for enterprise agents, with Microsoft. “Our goal is fewer tokens per decision, without lowering the bar. Every customer review becomes a Foundry test, and a cheaper model goes live only when it passes. That’s how about 90% of the work in AgentOS runs on small models in Foundry, while frontier models do the planning. Because our agents start from the customer’s business context, they make five times fewer tool calls for the same task,” says SukYeon Jung, Chief Business Officer, Enhans.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;They’re in good company. Teams at &lt;A href="https://www.microsoft.com/en/customers/story/25676-commerzbank-ag-azure-ai-foundry-agent-service" target="_blank" rel="noopener"&gt;Commerzbank&lt;/A&gt;, &lt;A href="https://www.microsoft.com/en/customers/story/26157-discovery-bank-azure-openai-in-foundry-models" target="_blank" rel="noopener"&gt;Discovery Bank&lt;/A&gt;, &lt;A href="https://www.microsoft.com/en/customers/story/21885-fujitsu-azure-ai-foundry" target="_blank" rel="noopener"&gt;Fujitsu&lt;/A&gt;, &lt;A href="https://www.microsoft.com/en/customers/story/25893-niq-microsoft-foundry" target="_blank" rel="noopener"&gt;NIQ&lt;/A&gt;, and &lt;A href="https://www.microsoft.com/en/customers/story/25680-sk-telecom-azure-ai-foundry" target="_blank" rel="noopener"&gt;SK Telecom&lt;/A&gt; also run agents and models in production on Foundry.&lt;/P&gt;
&lt;H2 id="whats-next"&gt;What’s next&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;Caller attribution (private preview).&lt;/STRONG&gt; Projects, agents, and model deployments aren’t the only ways you split cost. With caller attribution, you add your own tags to requests, such as an application, a cost center, or a team, and see model cost by them. It starts with Azure OpenAI in Foundry Models, part of Microsoft Foundry’s unified platform. To try it, &lt;A href="https://aka.ms/FoundryCostAttributionPreview" target="_blank" rel="noopener"&gt;request access to the private preview&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Foundry and Agent 365.&lt;/STRONG&gt; &lt;A href="https://www.microsoft.com/microsoft-agent-365" target="_blank" rel="noopener"&gt;Microsoft Agent 365&lt;/A&gt; is the control plane for agents. It gives IT and security teams one place to observe, govern, and secure every agent in the organization. That includes agents built on Microsoft platforms like Foundry, third-party agents from partners, and agents you register yourself. We’re working to bring Foundry’s cost data and cost controls into Agent 365. The goal: IT governs the spend of Foundry agents where it governs every other agent, while developers keep seeing their limits where they build.&lt;/P&gt;
&lt;H2 id="get-started"&gt;Get started&lt;/H2&gt;
&lt;P&gt;Price per token has been falling. Now your bill can fall with it. Woodgrove went from “why is this so high?” to a cause, a fix, and a budget, without lowering the bar for its analysts. You can follow the same steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Already on Foundry?&lt;/STRONG&gt; Open &lt;STRONG&gt;Manage&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Fleet&lt;/STRONG&gt; in the &lt;A href="https://ai.azure.com" target="_blank" rel="noopener"&gt;Foundry portal&lt;/A&gt;, follow &lt;STRONG&gt;See Cost&lt;/STRONG&gt; to your most expensive agent, and open its traces.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;New to Foundry?&lt;/STRONG&gt; Start building at &lt;A href="https://ai.azure.com" target="_blank" rel="noopener"&gt;ai.azure.com&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Working in code, or with agents?&lt;/STRONG&gt; Create cost controls from a pipeline with the &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/create-cost-controls#create-cost-controls-programmatically" target="_blank" rel="noopener"&gt;REST API&lt;/A&gt;. Pull cost data on a schedule with &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/analyze-costs-cost-management#export-cost-data" target="_blank" rel="noopener"&gt;Cost Management exports&lt;/A&gt;. Run Agent Optimizer on a hosted agent from the &lt;A href="https://learn.microsoft.com/azure/foundry/agents/quickstarts/quickstart-optimize-hosted-agent" target="_blank" rel="noopener"&gt;Azure Developer CLI&lt;/A&gt;. And connect your coding agent to the &lt;A href="https://learn.microsoft.com/azure/foundry/mcp/get-started" target="_blank" rel="noopener"&gt;Foundry MCP Server&lt;/A&gt; (preview). Its &lt;A href="https://learn.microsoft.com/azure/foundry/mcp/available-tools" target="_blank" rel="noopener"&gt;tools&lt;/A&gt; return a model deployment’s requests, latency, errors, and token use, and suggest models with a better balance of quality and cost.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Want the full picture?&lt;/STRONG&gt; Read &lt;A href="https://learn.microsoft.com/azure/foundry/concepts/manage-costs" target="_blank" rel="noopener"&gt;Cost and FinOps in Microsoft Foundry&lt;/A&gt;, which covers the capabilities, data sources, and roles.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Want to swap notes?&lt;/STRONG&gt; Join the community at &lt;A href="https://aka.ms/ai/discord" target="_blank" rel="noopener"&gt;aka.ms/ai/discord&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;If you want to&lt;/th&gt;&lt;th&gt;Start here&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;See what every project, agent, and model costs&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/control-plane/monitor-fleet" target="_blank" rel="noopener"&gt;Monitor your agent fleet&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/view-subscription-costs" target="_blank" rel="noopener"&gt;View subscription costs&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/view-project-costs" target="_blank" rel="noopener"&gt;View project, agent, and model costs&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Find out why cost changed&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/control-plane/monitor-operations" target="_blank" rel="noopener"&gt;Monitor agent and model operations&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/agent-insights" target="_blank" rel="noopener"&gt;Use Insights in Foundry&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Hit your quality bar for less&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/observability/how-to/evaluate-agent" target="_blank" rel="noopener"&gt;Evaluate your AI agents&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/concepts/optimize-costs" target="_blank" rel="noopener"&gt;Cost optimization overview&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/agents/concepts/agent-optimizer-overview" target="_blank" rel="noopener"&gt;Agent Optimizer&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/openai/concepts/model-router" target="_blank" rel="noopener"&gt;Model router&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Set limits&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/concepts/cost-controls" target="_blank" rel="noopener"&gt;Cost controls overview&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/create-cost-controls#create-cost-controls-programmatically" target="_blank" rel="noopener"&gt;Create cost controls programmatically&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Allocate and report costs&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/how-to/analyze-costs-cost-management" target="_blank" rel="noopener"&gt;Analyze costs in Azure Cost Management&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/analyze-costs-cost-management#export-cost-data" target="_blank" rel="noopener"&gt;Export cost data&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Work with Foundry from your coding agent&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/mcp/get-started" target="_blank" rel="noopener"&gt;Get started with Foundry MCP Server&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/mcp/available-tools" target="_blank" rel="noopener"&gt;Available tools&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 50.00%" /&gt;&lt;col style="width: 50.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;EM&gt;Features marked (preview) in this post are in public preview and subject to the &lt;A href="https://azure.microsoft.com/support/legal/preview-supplemental-terms/" target="_blank" rel="noopener"&gt;Supplemental Terms of Use for Microsoft Azure Previews&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2026 21:57:16 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/finops-in-microsoft-foundry-see-your-token-spend-hit-your/ba-p/4570010</guid>
      <dc:creator>Kosti</dc:creator>
      <dc:date>2026-11-19T21:57:16Z</dc:date>
    </item>
    <item>
      <title>Model router in Foundry Models: start in one line, route intelligently, evaluate cost and quality</title>
      <link>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/model-router-in-foundry-models-start-in-one-line-route/ba-p/4573543</link>
      <description>&lt;P&gt;&lt;EM&gt;Co-authored by Miseon Park&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Build with model router from the agents you already use, steer requests when you need to, and evaluate cost and quality on your own workload. Here’s everything new since August.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Teams that build with AI now face a new model decision every few weeks. Each new frontier or open model brings its own price, speed, and strengths. Send every request to the most capable model, and you pay frontier prices for simple requests, which often make up much of your traffic. Default to a cheaper model, and quality can drop on the hard requests that matter most.&lt;/P&gt;
&lt;P&gt;Agents multiply the problem. A single agent task can call a model dozens of times. Many of those calls are routine, like choosing the next tool or summarizing what it returned, and don’t need your strongest model.&lt;/P&gt;
&lt;P&gt;Model router in Foundry Models makes that choice for you, one request at a time. Instead of choosing a model in your code, you send every request to model router, with the model set to &lt;CODE&gt;"auto"&lt;/CODE&gt; or to your model router deployment name.&lt;/P&gt;
&lt;P&gt;For each prompt, model router estimates how well each model would answer it. Then it picks one based on your routing mode, which sets what you optimize for: quality, cost, or a balance of the two. Simple requests can go to fast, low-cost models, and hard ones to more capable models. It weighs prompt caching too: with session affinity (preview), a conversation stays on its current model while that model’s cache is likely still warm and its quality holds up, which can lower cost and latency.&lt;/P&gt;
&lt;P&gt;Since our August update, we’ve focused on making model router easier to adopt and easier to trust. You can start with &lt;STRONG&gt;one line of code&lt;/STRONG&gt;. You can call model router from the &lt;STRONG&gt;API, agent framework, or coding tool&lt;/STRONG&gt; you already use. You can route across a &lt;STRONG&gt;larger pool of models&lt;/STRONG&gt;, &lt;STRONG&gt;steer a single request&lt;/STRONG&gt; when you need to, and you can &lt;STRONG&gt;evaluate the results&lt;/STRONG&gt; before you ship, then monitor them after.&lt;/P&gt;
&lt;img /&gt;
&lt;H2&gt;Start in one line with Auto (preview)&lt;/H2&gt;
&lt;P&gt;Auto is model router without a deployment. Set &lt;CODE&gt;model&lt;/CODE&gt; to &lt;CODE&gt;"auto"&lt;/CODE&gt; in a request to your Foundry resource or project endpoint, and model router picks a model for each request. There’s nothing to deploy, and Auto works in all 32 model router regions. To run it, install the OpenAI SDK (pip install openai) and set FOUNDRY_RESOURCE_ENDPOINT and FOUNDRY_API_KEY to your resource’s endpoint and key. In production, it is recommended to use Microsoft Entra ID instead of keys.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import os
from openai import OpenAI

client = OpenAI(
    base_url=f"{os.environ['FOUNDRY_RESOURCE_ENDPOINT']}/openai/v1/",
    api_key=os.environ["FOUNDRY_API_KEY"],
)

response = client.responses.create(
    model="auto",  # ← That's it. Model router picks the model for each request.
    input="Explain retrieval-augmented generation in two sentences.",
)

print(f"Model: {response.model}")  # For example: Model: gpt-5.6-luna
print(response.output_text)&lt;/LI-CODE&gt;
&lt;P&gt;Each response identifies the model that answered. Auto is a quick way to start. When you need dedicated rate limits, your own routing mode or model subset, or Data Zone Standard processing, deploy model router and replace &lt;CODE&gt;"auto"&lt;/CODE&gt; with your model router deployment name. The rest of your request code stays the same.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Get started:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router#send-your-first-request-with-auto" target="_blank" rel="noopener"&gt;Send your first request with Auto&lt;/A&gt;&lt;/P&gt;
&lt;img /&gt;
&lt;H2&gt;Use the API, agent framework, and coding tool you already have&lt;/H2&gt;
&lt;P&gt;Model router works with the APIs your code already uses: &lt;STRONG&gt;Responses&lt;/STRONG&gt; (preview), &lt;STRONG&gt;Chat Completions&lt;/STRONG&gt;, and &lt;STRONG&gt;Messages&lt;/STRONG&gt; (preview) for the Claude models you deploy in your Foundry resource.&lt;/P&gt;
&lt;P&gt;That makes it well suited for agents. An agent makes many model calls to finish one task, and each call needs something different. For every call, model router works in two steps:&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI&gt;&lt;STRONG&gt;Filter.&lt;/STRONG&gt; It checks what the request needs, such as its tools, its output format, image input, and, if you require it, every parameter you set. It keeps only the models that can serve the request.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Rank.&lt;/STRONG&gt; It reads the request, including the system message, the tool definitions, and the conversation so far. Then it ranks those models for the prompt and picks one based on your routing mode.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;A greeting can go to a fast, low-cost model, and a planning step to a stronger reasoning model. With our new adaptive session affinity (preview), model router also calculates, at each step of a long agent loop, whether staying on the same model is worth it. When the previous model’s prompt cache is likely still warm and its estimated quality is comparable to other eligible models, model router may continue using that model to help improve cache hit rates. Each response identifies the model that answered, so you can trace each step of your agent.&lt;/P&gt;
&lt;P&gt;You can bring model router to the frameworks you already build with. For example, it works with &lt;STRONG&gt;Foundry Agent Service&lt;/STRONG&gt;, &lt;STRONG&gt;Microsoft Agent Framework&lt;/STRONG&gt;, &lt;STRONG&gt;LangGraph&lt;/STRONG&gt;, the &lt;STRONG&gt;OpenAI Agents SDK&lt;/STRONG&gt;, &lt;STRONG&gt;Google ADK&lt;/STRONG&gt;, &lt;STRONG&gt;CrewAI&lt;/STRONG&gt;, and the &lt;STRONG&gt;Claude Agent SDK&lt;/STRONG&gt;, among others. It also works in coding tools such as &lt;STRONG&gt;GitHub Copilot&lt;/STRONG&gt;, &lt;STRONG&gt;Claude Code&lt;/STRONG&gt;, &lt;STRONG&gt;Codex&lt;/STRONG&gt;, and &lt;STRONG&gt;OpenCode&lt;/STRONG&gt;. Each one needs a one-time setup that points it at your model router deployment: see how for &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-agents#github-copilot" target="_blank" rel="noopener"&gt;GitHub Copilot&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-agents#claude-agent-sdk-and-claude-code" target="_blank" rel="noopener"&gt;Claude Code&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-agents#codex" target="_blank" rel="noopener"&gt;Codex&lt;/A&gt;, and &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-agents#opencode" target="_blank" rel="noopener"&gt;OpenCode&lt;/A&gt;. After that, starting GitHub Copilot CLI on model router takes one line:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;copilot --model foundry/model-router&lt;/LI-CODE&gt;
&lt;P&gt;Here's a real session, sped up. We sent the same two prompts, a one-line rename and then a multi-file refactor, to all four tools on one model router deployment. Watch the bar at the bottom of each terminal: it shows the model that model router picked for each request.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-apis" target="_blank" rel="noopener"&gt;Use the Responses, Chat Completions, and Messages APIs&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-agents#choose-an-integration" target="_blank" rel="noopener"&gt;Connect your agent framework or coding tool&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;More models, more providers: 45 and growing&lt;/H2&gt;
&lt;P&gt;Since our August update, 18 models have joined the routing pool, for 45 models from OpenAI, Anthropic, Microsoft AI, xAI, DeepSeek, Meta, and Fireworks as of November 17, 2026. The new models are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;OpenAI:&lt;/STRONG&gt; GPT-6 Astra, GPT-6 Sol, GPT-6 Luna, GPT-6.1 Sol, GPT-6.1 Terra, and GPT-5.1&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Anthropic:&lt;/STRONG&gt; Claude Opus 5, Claude Sonnet 5, Claude Fable 5.1, Claude Opus 5.5, Claude Sonnet 5.5, and Claude Haiku 5.5&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Microsoft AI:&lt;/STRONG&gt; MAI-Code-2-Flash&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;xAI:&lt;/STRONG&gt; Grok 4.6&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;DeepSeek:&lt;/STRONG&gt; DeepSeek-V4.1-Flash&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Fireworks:&lt;/STRONG&gt; GLM-5.3 and GLM-5.3-Flash from Z.ai, and Kimi K3 from Moonshot AI&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Production traffic is rarely uniform. The same app can field a short factual question, a long document, a code review, and a multistep agent task within the same hour. Matching each of those to the right model on your own means testing every new model on your workload, and it’s tempting to settle on one or two. Model router does that matching for you, request by request. Trained by Microsoft, it ranks the models that can serve each request, in order for each request to land on a model that fits it.&lt;/P&gt;
&lt;P&gt;Deployments on the latest version (&lt;CODE&gt;2025-11-18&lt;/CODE&gt;) that use the full pool get new models automatically (preview), with no code changes. You don’t deploy those models yourself, and you’re billed for the model selected for each request, plus any applicable model router fee. Claude and Fireworks models are the exceptions: to add Claude models to the routing pool, deploy them in your Foundry resource first, and to add Fireworks models, an admin first enables them on your subscription and accepts their terms.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/openai/concepts/model-router-models" target="_blank" rel="noopener"&gt;Supported models&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/foundry-models/whats-new-model-router" target="_blank" rel="noopener"&gt;What’s new in model router&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;Steer routing when you need to (preview)&lt;/H2&gt;
&lt;P&gt;Your deployment’s routing mode and model subset set the defaults for every request. Now you can also steer one request at a time. Send the &lt;CODE&gt;Foundry-Features: ModelRouterControls=V1Preview&lt;/CODE&gt; header with a &lt;CODE&gt;routing_config&lt;/CODE&gt; object to set the routing mode, narrow the models or pin one, or require that the selected model supports every parameter in the request.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;completion = client.chat.completions.create(
    model="auto",
    messages=[{"role": "user", "content": "Review this contract clause for risks: ..."}],
    extra_headers={"Foundry-Features": "ModelRouterControls=V1Preview"},
    extra_body={"routing_config": {
        "mode": "quality",
        "models": ["gpt-6.1-sol", "gpt-6-astra"],
        "require_parameters": True,
    }},
)&lt;/LI-CODE&gt;
&lt;P&gt;Model router also does more for you across requests:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Adaptive session affinity (preview).&lt;/STRONG&gt; With the preview header, session affinity is on by default. It keeps a conversation on its previous model while that model’s prompt cache is likely still warm and its estimated quality stays close to the top-ranked model. That can lower cost and latency in long chats and agent loops, and it now works with the Responses API too.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Your deployments serve first (preview).&lt;/STRONG&gt; When model router selects a model that you’ve already deployed, with the same name and version, in the same Foundry resource, your deployment serves the request: your provisioned throughput (PTU) deployment first, for OpenAI models, and then your pay-as-you-go deployment. When your PTU deployment serves a request, it uses capacity you’ve already reserved, and the model router fee applies.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Failover stays in your subset.&lt;/STRONG&gt; When a retryable error occurs, model router first attempts to use available capacity for the same model before considering the next-ranked eligible model within your configured subset.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-routing-controls" target="_blank" rel="noopener"&gt;Control routing per request&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-session-affinity" target="_blank" rel="noopener"&gt;Keep a conversation on one model&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-configure#use-your-own-deployments-for-routed-requests" target="_blank" rel="noopener"&gt;Use your own deployments for routed requests&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;How model router weighs quality and cost&lt;/H2&gt;
&lt;P&gt;Lower cost only matters if the answers stay good, so quality is built into each routing decision. For each prompt, model router estimates how well each eligible model will answer it, compared with the top-ranked model. Your routing mode then sets how far from the top-ranked model it may go to save cost:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 100%; border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Routing mode&lt;/th&gt;&lt;th&gt;What it optimizes for&lt;/th&gt;&lt;th&gt;How it picks*&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Balanced&lt;/STRONG&gt; (default)&lt;/td&gt;&lt;td&gt;Cost and quality together&lt;/td&gt;&lt;td&gt;The most cost-effective model within a small quality range of the top-ranked model for the prompt, for example 1–2%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Cost&lt;/STRONG&gt;&lt;/td&gt;&lt;td&gt;Cost first&lt;/td&gt;&lt;td&gt;The most cost-effective model within a wider estimated quality range, for example 5–6%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;STRONG&gt;Quality&lt;/STRONG&gt;&lt;/td&gt;&lt;td&gt;Quality first&lt;/td&gt;&lt;td&gt;The model with the highest estimated quality for the prompt, regardless of cost&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;col style="width: 33.33%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;Session affinity follows the same rule: a conversation stays on its current model while that model’s estimated quality stays close to the top-ranked model. And you can check each decision. Each response identifies the model that answered, and routing details (preview) also show the routing mode and each model that model router tried.&lt;/P&gt;
&lt;P&gt;*Cost-effectiveness and quality are estimated based on a range of internal and external benchmarks. Benchmarks show how model router behaves across many tasks, but no benchmark knows your workload. The real test is your own prompts. Routing modes use estimated model quality to guide selection. These estimates do not guarantee the correctness of individual responses or application-level outcomes, and cost and quality results depend on your workload and configuration. We recommend that you evaluate both against your own workloads.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/openai/concepts/model-router-how-it-works#routing-modes-in-depth" target="_blank" rel="noopener"&gt;How model router works&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;Evaluate before you ship, then monitor in production&lt;/H2&gt;
&lt;img /&gt;
&lt;P&gt;Teams that adopt model router tend to ask three questions. Is it saving money without hurting quality? Is it healthy in production? What happened to a specific request? Foundry now helps you answer each one:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Evaluate before you ship.&lt;/STRONG&gt; Start with what success means for your workload, such as answer quality, code correctness, or task completion for agents, and choose evaluators that score it. Then, in the Foundry portal, run your model router deployment and a single-model baseline on the same dataset with those evaluators. Each run reports quality scores, P50 and P95 latency, and, for Global Standard deployments, estimated cost with a breakdown by the models that model router selected. To automate the comparison, use &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/evaluate-model-router#evaluate-with-the-sdk" target="_blank" rel="noopener"&gt;cloud evaluation in the Foundry SDK&lt;/A&gt;, or the open-source &lt;A href="https://aka.ms/modelrouter/evaluations" target="_blank" rel="noopener"&gt;Model Router Auto Evaluation toolkit&lt;/A&gt;, which builds a one-file HTML report from a single command.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Ship with Auto or your own deployment.&lt;/STRONG&gt; Start with &lt;CODE&gt;"auto"&lt;/CODE&gt;, or deploy model router with the routing mode and model subset that won your evaluation. Your code stays the same.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Watch it in production.&lt;/STRONG&gt; The &lt;STRONG&gt;Monitor&lt;/STRONG&gt; tab on your model router deployment, released November 5, 2026, shows requests by model, latency, cache hit rate, fallback rate, and estimated cost next to single-model baselines: what the same traffic would have cost on one model. Costs in evaluations and the Monitor tab are estimates based on list prices, so they can differ from your bill.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Inspect any request (preview).&lt;/STRONG&gt; With the preview header, responses include &lt;CODE&gt;model_selection_details&lt;/CODE&gt;: the routing mode that model router applied, the ordered model attempts that show any failover, and the session affinity decision.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/evaluate-model-router" target="_blank" rel="noopener"&gt;Evaluate model router for your workload&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/monitor-model-router" target="_blank" rel="noopener"&gt;Monitor model router&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;Bring model router to AI Gateway&lt;/H2&gt;
&lt;P&gt;As AI use grows, platform teams want one place to control it: who can call which models, how much they can spend, and which capacity comes first. &lt;A href="https://ai.gateway.azure.com" target="_blank" rel="noopener"&gt;AI Gateway&lt;/A&gt;, Microsoft’s managed gateway for AI traffic, is that place: one governed entry point for their models, whichever provider serves them. Apps sign in with Microsoft Entra ID or a gateway key instead of holding provider credentials, and platform teams set token and cost limits and prefer capacity they already pay for, such as provisioned throughput.&lt;/P&gt;
&lt;P&gt;Starting at Ignite, AI Gateway is generally available, and model router works inside it: you can turn on &lt;STRONG&gt;automatic model selection&lt;/STRONG&gt; (preview) for a gateway model alias, and model router ranks the models behind that alias for each request, while the gateway applies your priorities, weights, and policies that customers define.&lt;/P&gt;
&lt;P&gt;Your own backends serve the requests, wherever they run: Foundry or Azure OpenAI deployments, OpenAI and Anthropic, Amazon Bedrock, Google Vertex AI, or your own OpenAI-compatible endpoints for self-hosted open models, as long as each runs a model that model router supports. With Application Insights connected, gateway traces show the ranked models and the model that served each request.&lt;/P&gt;
&lt;P&gt;Automatic model selection is in preview in AI Gateway. There’s no model router fee during the preview, and model router charges will apply at general availability. AI Gateway and backend charges still apply.&lt;/P&gt;
&lt;img /&gt;
&lt;P&gt;&lt;STRONG&gt;Learn more:&lt;/STRONG&gt; &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-ai-gateway" target="_blank" rel="noopener"&gt;Use model router with AI Gateway&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/ai-gateway/overview" target="_blank" rel="noopener"&gt;What is AI Gateway?&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;We’re just getting started&lt;/H2&gt;
&lt;P&gt;Since August, model router has grown from a model you deploy into a routing layer you can reach in many ways: one line of code with Auto, the APIs and agent frameworks you already use, your coding tools, and your gateway. It chooses from more models and more providers, and you can evaluate what it does for you before you ship, and monitor it after. All of this stays within the controls your admins set. A model subset keeps routing inside the models they approve, &lt;A href="https://learn.microsoft.com/azure/foundry/how-to/model-router-policy" target="_blank" rel="noopener"&gt;Azure Policy&lt;/A&gt; checks those models whenever someone creates or updates a deployment, and admins can limit Auto to approved models, or turn it off, for each Foundry resource.&lt;/P&gt;
&lt;P&gt;There’s more to come: new models will keep joining the pool, and we’ll keep sharing what we learn. Here’s where to begin:&lt;/P&gt;
&lt;DIV class="styles_lia-table-wrapper__h6Xo9 styles_table-responsive__MW0lN"&gt;&lt;table border="1" style="width: 100%; border-width: 1px;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;If you want to&lt;/th&gt;&lt;th&gt;Start here&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Try model router&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router" target="_blank" rel="noopener"&gt;Quickstart&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Pick an API, or connect your agent framework or coding tool&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-apis" target="_blank" rel="noopener"&gt;APIs&lt;/A&gt; · &lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-agents" target="_blank" rel="noopener"&gt;Agents and coding tools&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Evaluate cost and quality on your own prompts&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/evaluate-model-router" target="_blank" rel="noopener"&gt;Evaluate model router&lt;/A&gt; · &lt;A href="https://aka.ms/modelrouter/evaluations" target="_blank" rel="noopener"&gt;Auto Evaluation toolkit&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Route through your gateway&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/openai/how-to/model-router-ai-gateway" target="_blank" rel="noopener"&gt;Use model router with AI Gateway&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;See every change in detail&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/foundry-models/whats-new-model-router" target="_blank" rel="noopener"&gt;What’s new in model router&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Build agents hands-on&lt;/td&gt;&lt;td&gt;&lt;A href="https://aka.ms/modelrouter-agentslab" target="_blank" rel="noopener"&gt;Model router agents lab&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Learn how model router decides&lt;/td&gt;&lt;td&gt;&lt;A href="https://learn.microsoft.com/azure/foundry/openai/concepts/model-router-how-it-works" target="_blank" rel="noopener"&gt;How model router works&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;See it live and ask questions&lt;/td&gt;&lt;td&gt;&lt;A href="https://ignite.microsoft.com/en-US/sessions/LAB663" target="_blank" rel="noopener"&gt;Ignite lab LAB663&lt;/A&gt; · &lt;A href="https://aka.ms/model-mondays/model-router" target="_blank" rel="noopener"&gt;Model Mondays&lt;/A&gt; · &lt;A href="https://aka.ms/model-mondays/discord" target="_blank" rel="noopener"&gt;Foundry Discord&lt;/A&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;colgroup&gt;&lt;col style="width: 50.00%" /&gt;&lt;col style="width: 50.00%" /&gt;&lt;/colgroup&gt;&lt;/table&gt;&lt;/DIV&gt;
&lt;P&gt;Are you already using model router? If your deployment runs the latest version with the full pool, new capabilities and models in your region join its routing automatically (preview). Deploy the new Claude models and enable Fireworks models to bring them in too, and open the Monitor tab to compare your estimated costs with a single model. Are you new to model router? Start with one line: set the model to &lt;CODE&gt;"auto"&lt;/CODE&gt;, run your own prompts, and see which models answer them. Either way, we’d love to hear what you find, at Ignite or in the &lt;A href="https://aka.ms/model-mondays/discord" target="_blank" rel="noopener"&gt;Foundry Discord&lt;/A&gt;. Your feedback helps shape what we build next.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Features marked preview are subject to the &lt;A href="https://azure.microsoft.com/support/legal/preview-supplemental-terms/" target="_blank" rel="noopener"&gt;Supplemental Terms of Use for Microsoft Azure Previews&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2026 21:56:49 GMT</pubDate>
      <guid>https://techcommunity.microsoft.com/t5/microsoft-foundry-blog/model-router-in-foundry-models-start-in-one-line-route/ba-p/4573543</guid>
      <dc:creator>Kosti</dc:creator>
      <dc:date>2026-11-19T21:56:49Z</dc:date>
    </item>
  </channel>
</rss>

