Where a decision model sits in a Copilot agent Decide in the open, episode 42 Anna: Decide in the open. We're looking at where a decision model sits in a Copilot agent, based on Craig Stanley's site. Tom: A Copilot agent already answers questions and drafts replies. Why pay for a second model inside it? Anna: Because an agent relies on a generative model. If you ask it whether to approve a request, it produces a piece of text rather than a measured probability. Tom: And text is hard to govern when you want automated routing. Anna: Right. Microsoft-Decision-1 does one narrower thing. Microsoft's documentation says it doesn't generate a free-form response or written rationale. You feed it text or JSON describing the case and a question with fixed options. It returns a probability for each option, a yes or no probability, or a score on an ordered scale. Tom: How do the agent and the decision model divide the work? Anna: The agent handles the messy parts of work: reading a request, gathering relevant records, and finding the policy that applies. Then it sends that case with a fixed question to the decision model. The decision model returns probabilities. Next, a threshold rule set by people in advance turns those probabilities into a route: act, ask a person, or stop. Finally, the agent carries out that route and logs what happened. Tom: Why not keep that threshold rule inside the agent's prompt? Anna: Because prompts drift when wording changes. Craig stresses that this step shouldn't live in the prompt. It belongs in configuration that someone owns, so the policy stays explicit. Tom: Walk through the service desk ticket example. Anna: An agent receives a ticket: 'I can't get into the finance system since this morning.' It checks the user's recent tickets and outage notices, then asks the decision model which team should handle it. The options are access, outage, training, and cannot tell. In the worked example, access gets 0.78, outage 0.15, training 0.04, and cannot tell gets 0.03. Tom: Access is the clear leader. Does the agent route it straight through? Anna: No. The team's rule says route automatically if the top option is above 0.85, otherwise ask a service desk analyst to confirm. At 0.78, the agent passes the ticket to a person with the model's suggestion attached. Microsoft's documentation recommends including an abstention option like 'cannot tell' and treating a low top probability as a reason to escalate. Tom: How does this connect in practice? Does it run inside Copilot Studio? Anna: Microsoft-Decision-1 is deployed in Microsoft Foundry and called through an API. An agent built in Copilot Studio or Foundry could call that API as one of its steps. Craig notes he hasn't built this end to end in Copilot Studio yet, so he's describing a pattern rather than a tested recipe. On billing, Microsoft's Copilot Studio billing page notes that Foundry models are billed separately from Copilot Credits, so the cost shows up on the Azure bill. Tom: What about prompt sensitivity? If wording shifts slightly, do those scores move? Anna: They can. Microsoft's documentation says scores can change based on how you phrase or order questions and options, and suggests testing option order. Craig wants to see how large that effect is on a real routing task before trusting a single threshold across wording changes. Tom: So you have two separate services and two different bills to monitor. Anna: And keeping scoring separate makes the decision testable. You can run the model on a few hundred past cases with known answers to see if its 80% calls are right about 80% of the time. Doing that with an answer buried in generated text is much harder. Which of these do you already pay for and not use? Tom: You can read the full page, and the rest of the site, at craigstanley.work.