.NET Agent framework: AG-UI protocol server and Blazor client with Ollama
Authorised Territory demonstrates a .NET tutorial that builds an AG-UI protocol server and a Blazor client, hosting an AI agent locally with Ollama. The client sends prompts to the server and receives the model output as a streamed response.
Overview
The video shows how to:
- Build a .NET server that implements the AG-UI protocol.
- Host an AI agent locally using Ollama.
- Build a Blazor client that:
- Sends a prompt to the server
- Receives the agent response via streaming back to the UI
Key components
- AG-UI protocol server: the backend endpoint that accepts prompts and coordinates the agent execution.
- AI agent runtime: runs locally via Ollama (local LLM hosting).
- Blazor client: UI that submits prompts and renders streamed tokens/partial responses as they arrive.