Decision-model starter for Foundry Decide in the open, episode 90 Anna: This is Decide in the open, looking at Craig Stanley's design notes for a decision-model starter on Microsoft Foundry. Tom: Nothing is built yet, though. He's publishing the design before writing any code. Anna: That's right. He wants to test his own thinking first, so there aren't any performance claims yet. The planned reference repository covers a Foundry model behind a thin scoring service with threshold routing, decision records, and tests. Tom: Most AI examples show a chat. Why frame this around a decision instead? Anna: A decision is different. There's a short list of allowed answers, a cost to getting it wrong, and a need to show later why a choice was made. The starter shows one decision handled that way on Microsoft Foundry, small enough to read in an afternoon. Tom: Why build it on Foundry? If an organisation uses Microsoft 365, Copilot Studio is already there. Anna: Copilot Studio suits people working inside Microsoft 365, but decisions usually need to run inside another system, like a case management tool. Foundry gives direct control over the model, deployment region and tracing. Microsoft says Foundry agents can also be published to Teams and Microsoft Copilot later. Tom: What about data residency? That's a major concern for UK or EU organisations. Anna: Foundry defaults to Global Standard. For a UK or EU organisation with residency concerns, Craig points to an EU Data Zone deployment instead. Tom: Walk me through the pipeline. What are the actual moving parts? Anna: A short scoring program sends the case to the model, asking for one option and a probability. A config file lists the allowed answers, like approve, refer and decline. The program checks the reply is valid, and anything outside that list counts as a referral. Tom: What about routing? Do you need code changes to tweak thresholds? Anna: No. Routing thresholds from the threshold calculator live in the same config file. Changing a threshold means a reviewed edit to one file, with no code changes needed. Tom: Take that council grants example from the notes. How does that break down? Anna: The scenario is illustrative. A council grants team gets about three hundred small-grant applications a quarter, with three options: eligible, ineligible and refer. From the calculator, cases scoring zero point nine six or above, about forty-five per cent, move straight to scoring by a panel. Tom: Auto-rejecting fifteen per cent sounds risky for a council. What if the model gets it wrong? Anna: Nothing is decided by the model alone. It sorts the queue, but a person checks every rejection letter before sending. Craig builds that in as the default because a wrong rejection is the costliest mistake. The remaining forty per cent goes to an officer to review. Tom: What about running costs? Standard deployments are billed per token. Anna: They are, but Microsoft also offers a Batch option at fifty per cent less, with a twenty-four-hour target turnaround. For overnight queue sorting, Batch looks like a good fit. Craig hasn't priced it yet, and won't publish estimates until he's run it. Tom: What about calibration? Can a general model actually provide trustworthy probability scores? Anna: That's his biggest open question. The starter uses an evaluation set of labelled past cases to report accuracy and calibration before changes go live. Every case also logs the input, option, probability, route taken, model version and time. Microsoft says some Foundry monitoring dashboards are in preview, so he plans to keep his own log as well. Which item on this list changes a decision your team has already made? Tom: You can read the full page, and the rest of the site, at craigstanley.work.