Category Archives: Essentials

An Overview of Agent Memory for .NET

The ability for Microsoft Agent Framework agents to retain and utilize knowledge across interactions is critical. One solution for this is Agent Memory for .NET, a cutting-edge, mind-blowing, graph-native memory engine that leverages the robust capabilities of Neo4j as its … Continue reading

Posted in AI, Essentials | Comments Off on An Overview of Agent Memory for .NET

ChatClient Middleware vs. Agent Middleware

As noted in a previous post, middleware plays a pivotal role in enhancing the functionality and observability of agents. The Microsoft Agent Framework utilizes two primary types of middleware: ChatClient Middleware and Agent Middleware. Understanding the distinctions between these two … Continue reading

Posted in AI, Essentials | Comments Off on ChatClient Middleware vs. Agent Middleware

Agentic Table of Contents (so far)

RAG – A quick example RAG in detail Deeper into RAG The R in RAG PEAS for Agentic AI AI Reasoning and Planning REACT and Agents in AI Creating a multi-agent system (Python & LangChain/LangGraph) part 1 of 6 Migrating … Continue reading

Posted in AI, Essentials | Comments Off on Agentic Table of Contents (so far)

Limit token usage in Microsoft Agent Framework

In the rapidly evolving landscape of artificial intelligence, managing costs associated with API usage is a critical concern for developers. The Microsoft Agent Framework offers a powerful tool in this regard: ChatClientAgentRunOptions. This component allows developers to cap the number … Continue reading

Posted in AI, Essentials | Comments Off on Limit token usage in Microsoft Agent Framework

Dependency Injection & Agent Framework

In the previous blog posts we ported a Python implementation of an agentic application to C# and Microsoft Agent Framework. We used interfaces, but we did not use Dependency Injection (DI). It is pretty easy to add. Agents, tools, executors … Continue reading

Posted in AI, C#, Essentials, Programming | Comments Off on Dependency Injection & Agent Framework

Migrating Agentic Code Python -> C# Part 2

In Part 1 of this multi-part series, I laid out my goal to migrate the Python agentics program from the previous series to C#. To do this migration I’m going to work my way down through my Python script and … Continue reading

Posted in AI, C#, Essentials, Programming | Comments Off on Migrating Agentic Code Python -> C# Part 2

Creating a multi-agent application. Part 2

In my previous post, I showed the output of a multi-agent application I wrote to create blog posts (not to worry, it is for demonstration purposes only). In this post, I will begin the process of working through the code, … Continue reading

Posted in Essentials | Comments Off on Creating a multi-agent application. Part 2

AI Reasoning and Planning

Until very recently, it was observed that LLMs had a very hard time with complex problems. Context was lost, memory of previous steps was distorted, and so forth. This led to unreliable results (hallucinations) and, consequently, to a lack of … Continue reading

Posted in Agents, AI, Essentials | Tagged , , | Comments Off on AI Reasoning and Planning

The R in RAG

In my previous post we looked at saving to the vector store. In this short post we’ll look at retrieving that information. The simple search is a good starting point and depends on writing a good prompt, but we can … Continue reading

Posted in AI, Essentials | Tagged , | Comments Off on The R in RAG

Deeper into RAG

In the previous post we walked through creating a RAG example, line by line. Let’s take a closer conceptual look at the steps involved in creating a RAG

Posted in Essentials | Comments Off on Deeper into RAG

RAG In Detail

In my previous post I walked through a RAG example but glossed over the details. In this post I’ll back up and walk through the program line by line. The key steps in RAG are

Posted in AI, Essentials, Python | Tagged , | Comments Off on RAG In Detail

Mads Torgersen

Mads (Lead Designer of C#) joins me to discuss C# and AI as well as what to expect in C# 15. PodcastVideo

Posted in Essentials | Comments Off on Mads Torgersen