.NET Agent framework: Add console telemetry to harness with Ollama and OpenTelemetry

Authorised Territory demonstrates how to add console telemetry to a .NET AI agent harness by wiring up a trace provider and emitting traces using OpenTelemetry, with a local Ollama model (gpt-oss) used as the LLM runtime.

Overview

This tutorial focuses on instrumenting a .NET AI agent “harness” so that traces are written to the console.

Key elements called out in the video description:

Starting solution referenced by the author: