Author Archives: Jesse Liberty

Unknown's avatar

About Jesse Liberty

** Note ** Jesse is currently looking for a new position. You can learn more about him at https://jesseliberty.bio Thank you. Jesse Liberty has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen online courses. His latest book, Building APIs with .NET, is now available wherever you buy your books. Liberty was a Team Lead and Senior Software Engineer for various corporations, a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a 13 year Microsoft MVP.

Migrating C# -> Microsoft Agent Framework

In the previous blog posts 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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

.NET Live Turns the Tables

I had the great privilege of being interviewed about AI on .NET Live. You can find the video on YouTube. Find my YouTube channel here.

Posted in AI | Leave a comment

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment