Harnessing AI in C# with Microsoft.Extensions.AI, Ollama, and MCP Server

Mar 15, 2025

In the previous post "Leveraging Microsoft.Extensions.AI for Tool Calling in C#", we explored how to create custom tools that enhance the capabilities of Large Language Models (LLMs). We demonstrated how integrating these technologies enables developers to build applications with advanced AI capabilities, facilitating more complex interactions.

In this post, we'll take a step further and explore how to leverage Model Context Protocol (MCP) servers to utilize external Tools and AI models in C# applications. We'll continue using Ollama to run local AI models.

Continue reading

.NET Aspire and Dev Container

.NET Aspire 9.1 was just released on February 25th, 2025. It comes with great new dashboard features, and there is more! One feature I am particularly interested in is the ability to use Dev Containers.

In this post, I will show you how to use the new .NET Aspire 9.1 with a Dev Container and JetBrains Rider. You could also use Visual Studio Code.

Continue reading

Building Local AI Agents: Semantic Kernel Agent with Functions in C# using Ollama

In my previous post, we saw how to build the simplest Semantic Kernel local AI agent using Semantic Kernel and Ollama in C#. In this short post, we will see how simple it is to extend the capabilities of the Semantic Kernel local AI agent by adding function calling.

Continue reading

Building Local AI Agents: Semantic Kernel and Ollama in C#

The recent release of Microsoft's Semantic Kernel Agents Framework RC1 provides an excellent opportunity to explore its capabilities with C#. In this post, we'll walk through creating a simple agent using this framework and running it locally with Ollama.

Let's dive in!

Continue reading

Page 1 of 145