Author Archives: Jesse Liberty

Unknown's avatar

About Jesse Liberty

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. Liberty is a Senior AI Engineer at the University of Pittsburgh Medical Center, and 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 21 year Microsoft MVP.

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

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

Creating a multi-agent application – Part 1

The following text was created by a multi-agent application designed to create blog posts. In my next post we’ll take the application apart, step by step. For now, here is a test run with the prompt Use of multiagents in … Continue reading

Posted in AI | Comments Off on Creating a multi-agent application – Part 1

ReAct and Agents in AI

In the previous post, we looked at the use of Chain of Thought (CoT) reasoning in the context of LLMs. For an LLM to take action in the world, however, it needs agents. The paradigm for this is called ReAct—that … Continue reading

Posted in Agents, AI | Tagged , | Comments Off on ReAct and Agents in AI

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

PEAS for Agent AI

A classic AI framework to define an agent’s task environment is PEAS. It stands for:

Posted in Agents, AI, Programming | Tagged , , | Comments Off on PEAS for Agent AI