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.

Ensuring Agent Safety in AI Development

Key Insights from Microsoft Learn* As artificial intelligence continues to evolve, ensuring the safety and security of AI agents has become more important. The Microsoft Learn documentation on agent safety provides a comprehensive overview of best practices and guidelines for … Continue reading

Posted in AI | Leave a comment

MAF-Doctor Walkthrough

Our latest video is a walkthrough of MAF-Doctor. This is an extraordinary utility for anyone using the Microsoft Agent Framework.

Posted in AI, Microsoft Agent Framework, Utilities | Leave a comment

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

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 | 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