Microsoft details non-chat .NET decision agents in Foundry
A .NET Blog walkthrough shows how to build a Microsoft Agent Framework AIAgent backed by Microsoft-Decision-1.1 instead of a conversational LLM to route support tickets into typed C# results. It covers running the single-turn agent locally on .NET 10 and deploying it to Microsoft Foundry Hosted Agents via Azure Developer CLI without Docker.
Putting a conversational LLM in charge of routine routing or triage is one of the most common over-engineering mistakes in agent architectures — wrapping a dedicated decision model inside an AIAgent keeps standardized hosting and protocols while cutting latency and prose-parsing fragility.
- –Microsoft-Decision-1.1 (which went GA at Ignite in November, post-trained on an open Gemma base) targets bounded classification, scoring, and routing via Foundry's native `/providers/microsoft/v1/systemone` endpoint, returning calibrated probabilities in a single pass (~123ms average latency, $0.042 per million input tokens, zero output tokens).
- –The `SupportRoutingAgent` sample enforces a strict single-ticket, 64 KiB text contract, preserves the full probability distribution and provider confidence in a `RoutingDecision` C# record, and formats its text output via a hardcoded C# template rather than paying for a second chat model to generate a rationale.
- –Official provider-neutral decision abstractions for `Microsoft.Extensions.AI` are still only proposed (`dotnet/extensions#7795` and `#7796`), so the walkthrough depends on author Bruno Capuano's community `ElBruno.AI.Decisions.Foundry` package alongside preview `Microsoft.Agents.AI.Foundry.Hosting` (`1.28.0-preview`).
- –The guide flags practical production gotchas: calling Foundry's native resource-root endpoint requires separate RBAC permissions for the hosted agent's managed identity beyond project-level access, and native decision calls do not automatically emit `IChatClient` telemetry spans.
- –Deploying with `azd deploy` and `dependencyResolution: bundled` on `.NET 10` pushes the compiled agent straight to Foundry Hosted Agents over the Responses protocol without maintaining Dockerfiles or an Azure Container Registry.
DISCOVERED
3h ago
2026-12-01
PUBLISHED
3h ago
2026-12-01
RELEVANCE
AUTHOR
dotnet