Category Archives: Programming

Transparency in Agentics

A key requirement in building agentic systems is for their reasoning to be transparent. This allows you to ensure accuracy and to provide “human in the loop” oversight. This is also a key requirement for debugging your agents and their … Continue reading

Posted in AI, Programming | Comments Off on Transparency in Agentics

Migrating C# -> Microsoft Agent Framework

In a previous blog post I ported a Python application to C#. However, I did not take advantage of the Microsoft Agent Framework (MAF). In this admittedly long post, I’ll migrate that code to MAF. Note, the updated source code … Continue reading

Posted in AI, Microsoft Agent Framework, Programming | Comments Off on Migrating C# -> 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 6 (final)

Note, the complete source code for the .NET version of this demo application is now available at https://github.com/JesseLiberty/blogMigration—public In the previous post we finished up creating our agents. You’ll remember that each of the agents declared nodes. We’re finally going … Continue reading

Posted in AI, C#, Programming | Comments Off on Migrating Agentic Code Python -> C# Part 6 (final)

Migrating Agentic Code Python -> C# Part 5

In the previous post we looked at implementing the Researcher in C#. In this, as promised, we’ll look at the Author and the Reviewer. The Author is handed two objects when instantiated: the llm (an IChatClient object) and the chatOptions. … Continue reading

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

Migrating Agentic Code Python -> C# Part 4

In the previous blog post we looked at the Blogger (orchestrator) code in C#. Let’s move on to some of the other agents. The Blogger invokes the Researcher, so let’s go there next.

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

Migrating Agentic Code Python -> C# Part 3

In the previous blog post (Part 2) we began the migration by setting up the configuration. In this post, we’ll tackle the Blogger, which acts as an orchestrator for the agents. In the python version of our program the blogger_prompt_template … Continue reading

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

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

Migrating Agentic Code Python -> C# Part 1

In the last 5 posts we created an agentic application using Python. Let’s migrate that to C#. Here’s the set of files we’ll create: And here is the output after running it as a test using the prompt Use of … Continue reading

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

Creating a multi-agent application – Part 5 (final)

In part 4 of this series we created our final two agents. In this final part of the series we’ll review the workflow that we create with the StateGraph class of LangGraph.

Posted in AI, Programming, Python | Comments Off on Creating a multi-agent application – Part 5 (final)

Creating a multi-agent application – Part 4

In part 3 we looked at creating the researcher. As promised, today we’ll look at the author. You’ll notice in the following code a great deal of similarity to what we’ve seen before. The goal is to create a code … Continue reading

Posted in Agents, AI, Programming, Python | Comments Off on Creating a multi-agent application – Part 4

Creating a multi-agent application — Part 3

In the previous post, we examined how to load the libraries we need and how to create the Blogger agent. In this post, we’ll examine the Research agent. You’ll no doubt notice the pattern of defining the template, the agent … Continue reading

Posted in AI, Programming, Python | Comments Off on Creating a multi-agent application — Part 3