Microsoft Agent Framework Console App to a Visual DevUI Playground


The article discusses transforming a Microsoft Agent Framework (MAF) console application into a Visual DevUI playground for improved interaction. Initially, it describes setting up a console app using C# and Ollama LLM for basic mathematical operations. However, console scripts are limited for testing dynamic interactions; thus, Microsoft introduces DevUI, providing a graphical interface like "Swagger UI" for AI. The guide details the steps to update the project for hosting on a local web server using Kestrel, transforming core code from procedural scripts to a .NET WebApplication structure, and setting up DevUI. It includes instructions on configuring projects, creating services, and managing environments with launchSettings.json to trigger development flags. Finally, it offers a testing workflow using DevUI, allowing users to engage with the AI application via a browser-accessible interface.


Article 3w

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time