.NET Agent Framework: Expose an agent via OpenAI Chat Completions + Ollama

Authorised Territory demonstrates how to expose a .NET AI agent through an OpenAI-compatible HTTP endpoint using the Chat Completions API protocol, built with an ASP.NET Core Empty project in Visual Studio 2026 and tested via an HTTP request file, with the agent running against a local Ollama model (gpt-oss).

Overview

What the video builds

Local model runtime

Tooling and testing approach