AutoGen.Net
implementation of AI-Agentic-Design-Patterns-with-AutoGen
Note
Some examples are not exactly match what python AutoGen does. This is because some libraries are not available in .NET. For example, we use Tic Tac Toe game as a tool to demonstrate the concept of tool use where the python one use Chess game. This is because the chess
library is not available in .NET. Another case is in Lesson 5, where python ones use financial analysis to demostrate code interpreter usage. In .Net AutoGen, however, I replace the financial analysis with math problem solving because of lacking library support in .Net eco-system.
- Lesson 1: Multi-Agent Conversation and Stand-up Comedy
- Lesson 2: Sequential Chats and Customer Onboarding
- Lesson 3: Reflection_and_Blogpost_Writing
- Lesson 4: Tool_Use_and_Conversational_Tic_Tac_Toe
- Lesson 5: Coding_and_Math_Problem_Solving
- Lesson 6: L6-Planning_and_Stock_Report_Generation
- Lesson 1: Multi-Agent Conversation and Stand-up Comedy
- Lesson 2: Sequential Chats and Customer Onboarding
- Lesson 3: Reflection_and_Blogpost_Writing
- Lesson 4: Tool_Use_and_Conversational_Tic_Tac_Toe
- Lesson 5: Coding_and_Math_Problem_Solving
- Lesson 6: Planning_and_Stock_Report_Generation
- Notebook also contains the output result while Console app doesn't.
- The way to define a tool call is different between Console app and notebook examples. Console app uses
AutoGen.SourceGenerator
to create function definition directly from the structural comment while Notebook examples create function definition using semantic-kernel plugin style. This is because source generator is not available in Notebook use case. - The code executor is different: In Console app examples, it needs to start a dotnet interactive instance to run C# code, which is not necessary in Notebook and we can simply execute the code using the running kernel.