Microsoft Agent Framework 1.0 ships with a DevUI developer dashboard for visually inspecting AI agents, but the C# documentation was missing. This post fills the gap with a complete working .NET 10 example. It covers project setup, required NuGet packages (Microsoft.Agents.AI.Hosting, Microsoft.Agents.AI.DevUI, OllamaSharp), and the minimal ASP.NET Core wiring needed to mount the DevUI dashboard at /devui. The dashboard shows agent profiles, invocation requests, reasoning trails, tool calls, and OpenTelemetry traces. The post also demonstrates registering agents with tools using AIFunctionFactory, and includes troubleshooting tips for common issues like 404 errors and prerelease package resolution. A caveat is noted that DevUI is not yet fully functional in .NET and some scenarios may fail.

7m read timeFrom bartwullems.blogspot.com
Post cover image
Table of contents
What is DevUI?How DevUI Works in .NETPrerequisitesProject setupStep 4: Running the appExtending the exampleTroubleshootingConclusionMore information

Sort: