A programming framework for agentic AI
.NET cleanup and refactor (#558)
Ryan Sweet7d7fc8a912c1
diff --git a/.DS_Store b/.DS_Storenew file mode 100644index 000000000..1f7da00cdBinary files /dev/null and b/.DS_Store differdiff --git a/.devcontainer/startup.sh b/.devcontainer/startup.shindex f270f8d50..ef05df769 100644--- a/.devcontainer/startup.sh+++ b/.devcontainer/startup.sh@@ -2,6 +2,7 @@# dotnet setupdotnet workload update+dotnet dev-certs https --trust# python setuppushd pythondiff --git a/docs/design/01 - Programming Model.md b/docs/design/01 - Programming Model.mdindex 21de10d6d..3873c80cf 100644--- a/docs/design/01 - Programming Model.md+++ b/docs/design/01 - Programming Model.md@@ -11,7 +11,7 @@ Each event in the system is defined using the [CloudEvents Specification](https:## Event Handlers-Each agent has a set of event handlers, that are bound to a specific match against a CloudEvents *type*. Event Handlers could match against an exact type or match for a pattern of events of a particular level in the type heirarchy (eg: *com.Microsoft.AI.Agents.System.\** for all Events in the *System* namespace) Each event handler is a function that can change state, call models, access memory, call external tools, emit other events, and flow data to/from other systems. Each event handler can be a simple function or a more complex function that uses a state machine or other control logic.+Each agent has a set of event handlers, that are bound to a specific match against a CloudEvents *type*. Event Handlers could match against an exact type or match for a pattern of events of a particular level in the type heirarchy (eg: *com.Microsoft.AutoGen.Agents.System.\** for all Events in the *System* namespace) Each event handler is a function that can change state, call models, access memory, call external tools, emit other events, and flow data to/from other systems. Each event handler can be a simple function or a more complex function that uses a state machine or other control logic.## Orchestrating Agentsdiff --git a/dotnet/AGNext.sln b/dotnet/AGNext.slndeleted file mode 100644index bdc18e3ad..000000000--- a/dotnet/AGNext.sln+++ /dev/null@@ -1,122 +0,0 @@--Microsoft Visual Studio Solution File, Format Version 12.00-# Visual Studio Version 17-VisualStudioVersion = 17.0.31903.59-MinimumVisualStudioVersion = 10.0.40219.1-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Autogen.Agents", "src\Microsoft.Autogen.Agents\Microsoft.Autogen.Agents.csproj", "{B0BF1CD6-34E3-4ED4-9B2A-9B8781E9BE20}"-EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{943853E7-513D-45EA-870F-549CFC0AF8E8}"-EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E6A25E68-EA75-4294-9B45-3CF2BB3B4ACD}"- ProjectSection(SolutionItems) = preProject- .editorconfig = .editorconfig- EndProjectSection-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Autogen.Agents.Worker.Client", "src\Microsoft.Autogen.Agents.Worker.Client\Microsoft.Autogen.Agents.Worker.Client.csproj", "{20E5C8C3-CE40-4FC3-96F8-B4A2C51936E9}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Autogen.Agents.Worker.Server", "src\Microsoft.Autogen.Agents.Worker.Server\Microsoft.Autogen.Agents.Worker.Server.csproj", "{B9188ADC-D322-4B38-B3D6-95338E89C34B}"-EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "greeter", "greeter", "{320B05A6-4E1B-4B15-B3F6-745819D2BF22}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Greeter.AppHost", "samples\Greeter\Greeter.AppHost\Greeter.AppHost.csproj", "{06B30F2A-BA17-451A-81FF-E9CC9551F671}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Greeter.ServiceDefaults", "samples\Greeter\Greeter.ServiceDefaults\Greeter.ServiceDefaults.csproj", "{E45990FD-85B3-44A2-8646-4AB2E868BC5F}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Greeter.AgentHost", "samples\Greeter\Greeter.AgentHost\Greeter.AgentHost.csproj", "{590BACCE-7310-4D7B-9618-46496F2EB171}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Greeter.AgentWorker", "samples\Greeter\Greeter.AgentWorker\Greeter.AgentWorker.csproj", "{7BA721F2-EE46-4A85-A8C8-3695C4ADF93E}"-EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dev-team", "dev-team", "{23B6B210-4515-4F7B-870E-108266B76E3F}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevTeam.AgentHost", "samples\dev-team\DevTeam.AgentHost\DevTeam.AgentHost.csproj", "{AB2B3ACA-C302-4063-A56F-3F325042FB01}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevTeam.Agents", "samples\dev-team\DevTeam.Agents\DevTeam.Agents.csproj", "{01F62B2D-2EFB-4355-86EE-46AC0004F376}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevTeam.AppHost", "samples\dev-team\DevTeam.AppHost\DevTeam.AppHost.csproj", "{ED286F45-A2E3-426F-A306-720E834ACC42}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevTeam.Backend", "samples\dev-team\DevTeam.Backend\DevTeam.Backend.csproj", "{DDE8693A-6F7B-481C-A379-A9F1CC450840}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevTeam.ServiceDefaults", "samples\dev-team\DevTeam.ServiceDefaults\DevTeam.ServiceDefaults.csproj", "{5179C606-9714-4D0E-962D-75FE32A2D6A2}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevTeam.Shared", "samples\dev-team\DevTeam.Shared\DevTeam.Shared.csproj", "{778D2B00-CE88-449D-AC52-0CAE9EA870AF}"-EndProject-Global- GlobalSection(SolutionConfigurationPlatforms) = preSolution- Debug|Any CPU = Debug|Any CPU- Release|Any CPU = Release|Any CPU- EndGlobalSection- GlobalSection(ProjectConfigurationPlatforms) = postSolution- {B0BF1CD6-34E3-4ED4-9B2A-9B8781E9BE20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {B0BF1CD6-34E3-4ED4-9B2A-9B8781E9BE20}.Debug|Any CPU.Build.0 = Debug|Any CPU- {B0BF1CD6-34E3-4ED4-9B2A-9B8781E9BE20}.Release|Any CPU.ActiveCfg = Release|Any CPU- {B0BF1CD6-34E3-4ED4-9B2A-9B8781E9BE20}.Release|Any CPU.Build.0 = Release|Any CPU- {20E5C8C3-CE40-4FC3-96F8-B4A2C51936E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {20E5C8C3-CE40-4FC3-96F8-B4A2C51936E9}.Debug|Any CPU.Build.0 = Debug|Any CPU- {20E5C8C3-CE40-4FC3-96F8-B4A2C51936E9}.Release|Any CPU.ActiveCfg = Release|Any CPU- {20E5C8C3-CE40-4FC3-96F8-B4A2C51936E9}.Release|Any CPU.Build.0 = Release|Any CPU- {B9188ADC-D322-4B38-B3D6-95338E89C34B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {B9188ADC-D322-4B38-B3D6-95338E89C34B}.Debug|Any CPU.Build.0 = Debug|Any CPU- {B9188ADC-D322-4B38-B3D6-95338E89C34B}.Release|Any CPU.ActiveCfg = Release|Any CPU- {B9188ADC-D322-4B38-B3D6-95338E89C34B}.Release|Any CPU.Build.0 = Release|Any CPU- {06B30F2A-BA17-451A-81FF-E9CC9551F671}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {06B30F2A-BA17-451A-81FF-E9CC9551F671}.Debug|Any CPU.Build.0 = Debug|Any CPU- {06B30F2A-BA17-451A-81FF-E9CC9551F671}.Release|Any CPU.ActiveCfg = Release|Any CPU- {06B30F2A-BA17-451A-81FF-E9CC9551F671}.Release|Any CPU.Build.0 = Release|Any CPU- {E45990FD-85B3-44A2-8646-4AB2E868BC5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {E45990FD-85B3-44A2-8646-4AB2E868BC5F}.Debug|Any CPU.Build.0 = Debug|Any CPU- {E45990FD-85B3-44A2-8646-4AB2E868BC5F}.Release|Any CPU.ActiveCfg = Release|Any CPU- {E45990FD-85B3-44A2-8646-4AB2E868BC5F}.Release|Any CPU.Build.0 = Release|Any CPU- {590BACCE-7310-4D7B-9618-46496F2EB171}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {590BACCE-7310-4D7B-9618-46496F2EB171}.Debug|Any CPU.Build.0 = Debug|Any CPU- {590BACCE-7310-4D7B-9618-46496F2EB171}.Release|Any CPU.ActiveCfg = Release|Any CPU- {590BACCE-7310-4D7B-9618-46496F2EB171}.Release|Any CPU.Build.0 = Release|Any CPU- {7BA721F2-EE46-4A85-A8C8-3695C4ADF93E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {7BA721F2-EE46-4A85-A8C8-3695C4ADF93E}.Debug|Any CPU.Build.0 = Debug|Any CPU- {7BA721F2-EE46-4A85-A8C8-3695C4ADF93E}.Release|Any CPU.ActiveCfg = Release|Any CPU- {7BA721F2-EE46-4A85-A8C8-3695C4ADF93E}.Release|Any CPU.Build.0 = Release|Any CPU- {AB2B3ACA-C302-4063-A56F-3F325042FB01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {AB2B3ACA-C302-4063-A56F-3F325042FB01}.Debug|Any CPU.Build.0 = Debug|Any CPU- {AB2B3ACA-C302-4063-A56F-3F325042FB01}.Release|Any CPU.ActiveCfg = Release|Any CPU- {AB2B3ACA-C302-4063-A56F-3F325042FB01}.Release|Any CPU.Build.0 = Release|Any CPU- {01F62B2D-2EFB-4355-86EE-46AC0004F376}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {01F62B2D-2EFB-4355-86EE-46AC0004F376}.Debug|Any CPU.Build.0 = Debug|Any CPU- {01F62B2D-2EFB-4355-86EE-46AC0004F376}.Release|Any CPU.ActiveCfg = Release|Any CPU- {01F62B2D-2EFB-4355-86EE-46AC0004F376}.Release|Any CPU.Build.0 = Release|Any CPU- {ED286F45-A2E3-426F-A306-720E834ACC42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {ED286F45-A2E3-426F-A306-720E834ACC42}.Debug|Any CPU.Build.0 = Debug|Any CPU- {ED286F45-A2E3-426F-A306-720E834ACC42}.Release|Any CPU.ActiveCfg = Release|Any CPU- {ED286F45-A2E3-426F-A306-720E834ACC42}.Release|Any CPU.Build.0 = Release|Any CPU- {DDE8693A-6F7B-481C-A379-A9F1CC450840}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {DDE8693A-6F7B-481C-A379-A9F1CC450840}.Debug|Any CPU.Build.0 = Debug|Any CPU- {DDE8693A-6F7B-481C-A379-A9F1CC450840}.Release|Any CPU.ActiveCfg = Release|Any CPU- {DDE8693A-6F7B-481C-A379-A9F1CC450840}.Release|Any CPU.Build.0 = Release|Any CPU- {5179C606-9714-4D0E-962D-75FE32A2D6A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {5179C606-9714-4D0E-962D-75FE32A2D6A2}.Debug|Any CPU.Build.0 = Debug|Any CPU- {5179C606-9714-4D0E-962D-75FE32A2D6A2}.Release|Any CPU.ActiveCfg = Release|Any CPU- {5179C606-9714-4D0E-962D-75FE32A2D6A2}.Release|Any CPU.Build.0 = Release|Any CPU- {778D2B00-CE88-449D-AC52-0CAE9EA870AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {778D2B00-CE88-449D-AC52-0CAE9EA870AF}.Debug|Any CPU.Build.0 = Debug|Any CPU- {778D2B00-CE88-449D-AC52-0CAE9EA870AF}.Release|Any CPU.ActiveCfg = Release|Any CPU- {778D2B00-CE88-449D-AC52-0CAE9EA870AF}.Release|Any CPU.Build.0 = Release|Any CPU- EndGlobalSection- GlobalSection(SolutionProperties) = preSolution- HideSolutionNode = FALSE- EndGlobalSection- GlobalSection(NestedProjects) = preSolution- {320B05A6-4E1B-4B15-B3F6-745819D2BF22} = {943853E7-513D-45EA-870F-549CFC0AF8E8}- {06B30F2A-BA17-451A-81FF-E9CC9551F671} = {320B05A6-4E1B-4B15-B3F6-745819D2BF22}- {E45990FD-85B3-44A2-8646-4AB2E868BC5F} = {320B05A6-4E1B-4B15-B3F6-745819D2BF22}- {590BACCE-7310-4D7B-9618-46496F2EB171} = {320B05A6-4E1B-4B15-B3F6-745819D2BF22}- {7BA721F2-EE46-4A85-A8C8-3695C4ADF93E} = {320B05A6-4E1B-4B15-B3F6-745819D2BF22}- {23B6B210-4515-4F7B-870E-108266B76E3F} = {943853E7-513D-45EA-870F-549CFC0AF8E8}- {AB2B3ACA-C302-4063-A56F-3F325042FB01} = {23B6B210-4515-4F7B-870E-108266B76E3F}- {01F62B2D-2EFB-4355-86EE-46AC0004F376} = {23B6B210-4515-4F7B-870E-108266B76E3F}- {ED286F45-A2E3-426F-A306-720E834ACC42} = {23B6B210-4515-4F7B-870E-108266B76E3F}- {DDE8693A-6F7B-481C-A379-A9F1CC450840} = {23B6B210-4515-4F7B-870E-108266B76E3F}- {5179C606-9714-4D0E-962D-75FE32A2D6A2} = {23B6B210-4515-4F7B-870E-108266B76E3F}- {778D2B00-CE88-449D-AC52-0CAE9EA870AF} = {23B6B210-4515-4F7B-870E-108266B76E3F}- EndGlobalSection- GlobalSection(ExtensibilityGlobals) = postSolution- SolutionGuid = {C9250809-2B94-4552-99DE-333E4646A16F}- EndGlobalSection-EndGlobaldiff --git a/dotnet/AutoGen.sln b/dotnet/AutoGen.slnnew file mode 100644index 000000000..efb90ee87--- /dev/null+++ b/dotnet/AutoGen.sln@@ -0,0 +1,58 @@++Microsoft Visual Studio Solution File, Format Version 12.00+# Visual Studio Version 17+VisualStudioVersion = 17.0.31903.59+MinimumVisualStudioVersion = 10.0.40219.1+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{9CFC5A2B-AE61-4840-9E1B-FC490EF4C99B}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Agents.Worker.Client", "src\Microsoft.AutoGen.Agents.Worker.Client\Microsoft.AutoGen.Agents.Worker.Client.csproj", "{38494BE5-9E87-47E3-8439-D828FBAB0C7A}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Agents.Worker.Server", "src\Microsoft.AutoGen.Agents.Worker.Server\Microsoft.AutoGen.Agents.Worker.Server.csproj", "{6D11A33E-644C-47FC-B0C5-4697B9AE598E}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Agents", "src\Microsoft.AutoGen.Agents\Microsoft.AutoGen.Agents.csproj", "{A2864CB0-C745-4B59-8219-74AD403BC68F}"+EndProject+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Microsoft.AutoGen.Agents.Extensions", "Microsoft.AutoGen.Agents.Extensions", "{2AFA283F-345A-4E3D-BF60-FBD727B841BE}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Agents.Extensions.CloudEvents", "src\Microsoft.AutoGen.Agents.Extensions\CloudEvents\Microsoft.AutoGen.Agents.Extensions.CloudEvents.csproj", "{286218DA-7A24-4EA1-9073-20B2E266511F}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Agents.Extensions.SemanticKernel", "src\Microsoft.AutoGen.Agents.Extensions\SemanticKernel\Microsoft.AutoGen.Agents.Extensions.SemanticKernel.csproj", "{32E844CB-C1C5-4C44-9105-34A24EF76EE7}"+EndProject+Global+ GlobalSection(SolutionConfigurationPlatforms) = preSolution+ Debug|Any CPU = Debug|Any CPU+ Release|Any CPU = Release|Any CPU+ EndGlobalSection+ GlobalSection(SolutionProperties) = preSolution+ HideSolutionNode = FALSE+ EndGlobalSection+ GlobalSection(ProjectConfigurationPlatforms) = postSolution+ {38494BE5-9E87-47E3-8439-D828FBAB0C7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {38494BE5-9E87-47E3-8439-D828FBAB0C7A}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {38494BE5-9E87-47E3-8439-D828FBAB0C7A}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {38494BE5-9E87-47E3-8439-D828FBAB0C7A}.Release|Any CPU.Build.0 = Release|Any CPU+ {6D11A33E-644C-47FC-B0C5-4697B9AE598E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {6D11A33E-644C-47FC-B0C5-4697B9AE598E}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {6D11A33E-644C-47FC-B0C5-4697B9AE598E}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {6D11A33E-644C-47FC-B0C5-4697B9AE598E}.Release|Any CPU.Build.0 = Release|Any CPU+ {A2864CB0-C745-4B59-8219-74AD403BC68F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {A2864CB0-C745-4B59-8219-74AD403BC68F}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {A2864CB0-C745-4B59-8219-74AD403BC68F}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {A2864CB0-C745-4B59-8219-74AD403BC68F}.Release|Any CPU.Build.0 = Release|Any CPU+ {286218DA-7A24-4EA1-9073-20B2E266511F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {286218DA-7A24-4EA1-9073-20B2E266511F}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {286218DA-7A24-4EA1-9073-20B2E266511F}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {286218DA-7A24-4EA1-9073-20B2E266511F}.Release|Any CPU.Build.0 = Release|Any CPU+ {32E844CB-C1C5-4C44-9105-34A24EF76EE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {32E844CB-C1C5-4C44-9105-34A24EF76EE7}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {32E844CB-C1C5-4C44-9105-34A24EF76EE7}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {32E844CB-C1C5-4C44-9105-34A24EF76EE7}.Release|Any CPU.Build.0 = Release|Any CPU+ EndGlobalSection+ GlobalSection(NestedProjects) = preSolution+ {38494BE5-9E87-47E3-8439-D828FBAB0C7A} = {9CFC5A2B-AE61-4840-9E1B-FC490EF4C99B}+ {6D11A33E-644C-47FC-B0C5-4697B9AE598E} = {9CFC5A2B-AE61-4840-9E1B-FC490EF4C99B}+ {A2864CB0-C745-4B59-8219-74AD403BC68F} = {9CFC5A2B-AE61-4840-9E1B-FC490EF4C99B}+ {2AFA283F-345A-4E3D-BF60-FBD727B841BE} = {9CFC5A2B-AE61-4840-9E1B-FC490EF4C99B}+ {286218DA-7A24-4EA1-9073-20B2E266511F} = {2AFA283F-345A-4E3D-BF60-FBD727B841BE}+ {32E844CB-C1C5-4C44-9105-34A24EF76EE7} = {2AFA283F-345A-4E3D-BF60-FBD727B841BE}+ EndGlobalSection+EndGlobaldiff --git a/dotnet/samples/AutoGenExamples.sln b/dotnet/samples/AutoGenExamples.slnnew file mode 100644index 000000000..3fce6d757--- /dev/null+++ b/dotnet/samples/AutoGenExamples.sln@@ -0,0 +1,99 @@++Microsoft Visual Studio Solution File, Format Version 12.00+# Visual Studio Version 17+VisualStudioVersion = 17.0.31903.59+MinimumVisualStudioVersion = 10.0.40219.1+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Greeter", "Greeter", "{7A8735DB-D651-4A24-8550-74600607F2EF}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Greeter.AgentHost", "Greeter\Greeter.AgentHost\Greeter.AgentHost.csproj", "{17B6C843-F3E2-4FA6-8A0B-B1C0C123188A}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Greeter.AgentWorker", "Greeter\Greeter.AgentWorker\Greeter.AgentWorker.csproj", "{9DEA56F1-B1A0-40B3-AE4C-B05CD999CF62}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Greeter.AppHost", "Greeter\Greeter.AppHost\Greeter.AppHost.csproj", "{DE94A508-0D6D-40E2-B816-0D444B14B021}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Greeter.ServiceDefaults", "Greeter\Greeter.ServiceDefaults\Greeter.ServiceDefaults.csproj", "{44FB2624-823E-496C-AF02-66C236DFCB75}"+EndProject+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dev-team", "dev-team", "{FF6FB488-9226-401C-80EE-D07E5B7F2525}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTeam.AgentHost", "dev-team\DevTeam.AgentHost\DevTeam.AgentHost.csproj", "{FB5A29C6-C158-4D4F-A667-835AC7CC08B6}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTeam.Agents", "dev-team\DevTeam.Agents\DevTeam.Agents.csproj", "{E65C4663-85C7-49AB-98BA-A2F2AEA4CE20}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTeam.AppHost", "dev-team\DevTeam.AppHost\DevTeam.AppHost.csproj", "{9AF452B8-3EFC-483F-8BBF-6A6C4B0AAE26}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTeam.Backend", "dev-team\DevTeam.Backend\DevTeam.Backend.csproj", "{3A6EA1D2-26CE-4B74-928D-B3A9119FE267}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTeam.ServiceDefaults", "dev-team\DevTeam.ServiceDefaults\DevTeam.ServiceDefaults.csproj", "{E9A80E91-72D9-4262-B031-E4C1C90B86F8}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTeam.Shared", "dev-team\DevTeam.Shared\DevTeam.Shared.csproj", "{5EE4794D-FBE6-4B8F-A255-3669A2A445E9}"+EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "seed-memory", "dev-team\seed-memory\seed-memory.csproj", "{EA13D415-4E1C-4358-AE18-30B7AF5E8CA5}"+EndProject+Global+ GlobalSection(SolutionConfigurationPlatforms) = preSolution+ Debug|Any CPU = Debug|Any CPU+ Release|Any CPU = Release|Any CPU+ EndGlobalSection+ GlobalSection(SolutionProperties) = preSolution+ HideSolutionNode = FALSE+ EndGlobalSection+ GlobalSection(ProjectConfigurationPlatforms) = postSolution+ {17B6C843-F3E2-4FA6-8A0B-B1C0C123188A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {17B6C843-F3E2-4FA6-8A0B-B1C0C123188A}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {17B6C843-F3E2-4FA6-8A0B-B1C0C123188A}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {17B6C843-F3E2-4FA6-8A0B-B1C0C123188A}.Release|Any CPU.Build.0 = Release|Any CPU+ {9DEA56F1-B1A0-40B3-AE4C-B05CD999CF62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {9DEA56F1-B1A0-40B3-AE4C-B05CD999CF62}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {9DEA56F1-B1A0-40B3-AE4C-B05CD999CF62}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {9DEA56F1-B1A0-40B3-AE4C-B05CD999CF62}.Release|Any CPU.Build.0 = Release|Any CPU+ {DE94A508-0D6D-40E2-B816-0D444B14B021}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {DE94A508-0D6D-40E2-B816-0D444B14B021}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {DE94A508-0D6D-40E2-B816-0D444B14B021}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {DE94A508-0D6D-40E2-B816-0D444B14B021}.Release|Any CPU.Build.0 = Release|Any CPU+ {44FB2624-823E-496C-AF02-66C236DFCB75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {44FB2624-823E-496C-AF02-66C236DFCB75}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {44FB2624-823E-496C-AF02-66C236DFCB75}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {44FB2624-823E-496C-AF02-66C236DFCB75}.Release|Any CPU.Build.0 = Release|Any CPU+ {FB5A29C6-C158-4D4F-A667-835AC7CC08B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {FB5A29C6-C158-4D4F-A667-835AC7CC08B6}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {FB5A29C6-C158-4D4F-A667-835AC7CC08B6}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {FB5A29C6-C158-4D4F-A667-835AC7CC08B6}.Release|Any CPU.Build.0 = Release|Any CPU+ {E65C4663-85C7-49AB-98BA-A2F2AEA4CE20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {E65C4663-85C7-49AB-98BA-A2F2AEA4CE20}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {E65C4663-85C7-49AB-98BA-A2F2AEA4CE20}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {E65C4663-85C7-49AB-98BA-A2F2AEA4CE20}.Release|Any CPU.Build.0 = Release|Any CPU+ {9AF452B8-3EFC-483F-8BBF-6A6C4B0AAE26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {9AF452B8-3EFC-483F-8BBF-6A6C4B0AAE26}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {9AF452B8-3EFC-483F-8BBF-6A6C4B0AAE26}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {9AF452B8-3EFC-483F-8BBF-6A6C4B0AAE26}.Release|Any CPU.Build.0 = Release|Any CPU+ {3A6EA1D2-26CE-4B74-928D-B3A9119FE267}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {3A6EA1D2-26CE-4B74-928D-B3A9119FE267}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {3A6EA1D2-26CE-4B74-928D-B3A9119FE267}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {3A6EA1D2-26CE-4B74-928D-B3A9119FE267}.Release|Any CPU.Build.0 = Release|Any CPU+ {E9A80E91-72D9-4262-B031-E4C1C90B86F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {E9A80E91-72D9-4262-B031-E4C1C90B86F8}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {E9A80E91-72D9-4262-B031-E4C1C90B86F8}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {E9A80E91-72D9-4262-B031-E4C1C90B86F8}.Release|Any CPU.Build.0 = Release|Any CPU+ {5EE4794D-FBE6-4B8F-A255-3669A2A445E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {5EE4794D-FBE6-4B8F-A255-3669A2A445E9}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {5EE4794D-FBE6-4B8F-A255-3669A2A445E9}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {5EE4794D-FBE6-4B8F-A255-3669A2A445E9}.Release|Any CPU.Build.0 = Release|Any CPU+ {EA13D415-4E1C-4358-AE18-30B7AF5E8CA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {EA13D415-4E1C-4358-AE18-30B7AF5E8CA5}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {EA13D415-4E1C-4358-AE18-30B7AF5E8CA5}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {EA13D415-4E1C-4358-AE18-30B7AF5E8CA5}.Release|Any CPU.Build.0 = Release|Any CPU+ EndGlobalSection+ GlobalSection(NestedProjects) = preSolution+ {17B6C843-F3E2-4FA6-8A0B-B1C0C123188A} = {7A8735DB-D651-4A24-8550-74600607F2EF}+ {9DEA56F1-B1A0-40B3-AE4C-B05CD999CF62} = {7A8735DB-D651-4A24-8550-74600607F2EF}+ {DE94A508-0D6D-40E2-B816-0D444B14B021} = {7A8735DB-D651-4A24-8550-74600607F2EF}+ {44FB2624-823E-496C-AF02-66C236DFCB75} = {7A8735DB-D651-4A24-8550-74600607F2EF}+ {FB5A29C6-C158-4D4F-A667-835AC7CC08B6} = {FF6FB488-9226-401C-80EE-D07E5B7F2525}+ {E65C4663-85C7-49AB-98BA-A2F2AEA4CE20} = {FF6FB488-9226-401C-80EE-D07E5B7F2525}+ {9AF452B8-3EFC-483F-8BBF-6A6C4B0AAE26} = {FF6FB488-9226-401C-80EE-D07E5B7F2525}+ {3A6EA1D2-26CE-4B74-928D-B3A9119FE267} = {FF6FB488-9226-401C-80EE-D07E5B7F2525}+ {E9A80E91-72D9-4262-B031-E4C1C90B86F8} = {FF6FB488-9226-401C-80EE-D07E5B7F2525}+ {5EE4794D-FBE6-4B8F-A255-3669A2A445E9} = {FF6FB488-9226-401C-80EE-D07E5B7F2525}+ {EA13D415-4E1C-4358-AE18-30B7AF5E8CA5} = {FF6FB488-9226-401C-80EE-D07E5B7F2525}+ EndGlobalSection+EndGlobaldiff --git a/dotnet/samples/Greeter/Greeter.AgentHost/Greeter.AgentHost.csproj b/dotnet/samples/Greeter/Greeter.AgentHost/Greeter.AgentHost.csprojindex 8a8eb7522..03160223f 100644--- a/dotnet/samples/Greeter/Greeter.AgentHost/Greeter.AgentHost.csproj+++ b/dotnet/samples/Greeter/Greeter.AgentHost/Greeter.AgentHost.csproj@@ -7,7 +7,7 @@</PropertyGroup><ItemGroup>- <ProjectReference Include="../../../src/Microsoft.Autogen.Agents.Worker.Server/Microsoft.Autogen.Agents.Worker.Server.csproj" />+ <ProjectReference Include="../../../src/Microsoft.AutoGen.Agents.Worker.Server/Microsoft.AutoGen.Agents.Worker.Server.csproj" /><ProjectReference Include="..\Greeter.ServiceDefaults\Greeter.ServiceDefaults.csproj" /></ItemGroup>diff --git a/dotnet/samples/Greeter/Greeter.AgentHost/Program.cs b/dotnet/samples/Greeter/Greeter.AgentHost/Program.csindex 19a49f43b..858f3420b 100644--- a/dotnet/samples/Greeter/Greeter.AgentHost/Program.cs+++ b/dotnet/samples/Greeter/Greeter.AgentHost/Program.cs@@ -1,4 +1,4 @@-using Microsoft.AI.Agents.Worker;+using Microsoft.AutoGen.Agents.Worker;var builder = WebApplication.CreateBuilder(args);diff --git a/dotnet/samples/Greeter/Greeter.AgentWorker/AgentClient.cs b/dotnet/samples/Greeter/Greeter.AgentWorker/AgentClient.csindex 189908766..703fb36af 100644--- a/dotnet/samples/Greeter/Greeter.AgentWorker/AgentClient.cs+++ b/dotnet/samples/Greeter/Greeter.AgentWorker/AgentClient.cs@@ -1,7 +1,7 @@using System.Diagnostics;using Agents;-using Microsoft.AI.Agents.Worker.Client;-using AgentId = Microsoft.AI.Agents.Worker.Client.AgentId;+using Microsoft.AutoGen.Agents.Worker.Client;+using AgentId = Microsoft.AutoGen.Agents.Worker.Client.AgentId;namespace Greeter.AgentWorker;diff --git a/dotnet/samples/Greeter/Greeter.AgentWorker/Greeter.AgentWorker.csproj b/dotnet/samples/Greeter/Greeter.AgentWorker/Greeter.AgentWorker.csprojindex 5b0f67dd0..70d553afc 100644--- a/dotnet/samples/Greeter/Greeter.AgentWorker/Greeter.AgentWorker.csproj+++ b/dotnet/samples/Greeter/Greeter.AgentWorker/Greeter.AgentWorker.csproj@@ -7,7 +7,7 @@</PropertyGroup><ItemGroup>- <ProjectReference Include="../../../src/Microsoft.Autogen.Agents.Worker.Client/Microsoft.Autogen.Agents.Worker.Client.csproj" />+ <ProjectReference Include="../../../src/Microsoft.AutoGen.Agents.Worker.Client/Microsoft.AutoGen.Agents.Worker.Client.csproj" /><ProjectReference Include="..\Greeter.ServiceDefaults\Greeter.ServiceDefaults.csproj" /></ItemGroup>diff --git a/dotnet/samples/Greeter/Greeter.AgentWorker/Program.cs b/dotnet/samples/Greeter/Greeter.AgentWorker/Program.csindex 984414db5..9b3b254a6 100644--- a/dotnet/samples/Greeter/Greeter.AgentWorker/Program.cs+++ b/dotnet/samples/Greeter/Greeter.AgentWorker/Program.cs@@ -1,8 +1,8 @@using Agents;using Google.Protobuf;using Greeter.AgentWorker;-using Microsoft.AI.Agents.Worker.Client;-using AgentId = Microsoft.AI.Agents.Worker.Client.AgentId;+using Microsoft.AutoGen.Agents.Worker.Client;+using AgentId = Microsoft.AutoGen.Agents.Worker.Client.AgentId;var builder = WebApplication.CreateBuilder(args);diff --git a/dotnet/samples/dev-team/DevTeam.AgentHost/DevTeam.AgentHost.csproj b/dotnet/samples/dev-team/DevTeam.AgentHost/DevTeam.AgentHost.csprojindex e872e0606..7776728cb 100644--- a/dotnet/samples/dev-team/DevTeam.AgentHost/DevTeam.AgentHost.csproj+++ b/dotnet/samples/dev-team/DevTeam.AgentHost/DevTeam.AgentHost.csproj@@ -8,7 +8,7 @@<ItemGroup><ProjectReference Include="..\DevTeam.ServiceDefaults\DevTeam.ServiceDefaults.csproj" />- <ProjectReference Include="..\..\..\src\Microsoft.Autogen.Agents.Worker.Server\Microsoft.Autogen.Agents.Worker.Server.csproj" />+ <ProjectReference Include="..\..\..\src\Microsoft.AutoGen.Agents.Worker.Server\Microsoft.AutoGen.Agents.Worker.Server.csproj" /></ItemGroup></Project>diff --git a/dotnet/samples/dev-team/DevTeam.AgentHost/Program.cs b/dotnet/samples/dev-team/DevTeam.AgentHost/Program.csindex 65060279e..7cdb6423a 100644--- a/dotnet/samples/dev-team/DevTeam.AgentHost/Program.cs+++ b/dotnet/samples/dev-team/DevTeam.AgentHost/Program.cs@@ -1,4 +1,4 @@-using Microsoft.AI.Agents.Worker;+using Microsoft.AutoGen.Agents.Worker;var builder = WebApplication.CreateBuilder(args);diff --git a/dotnet/samples/dev-team/DevTeam.Agents/DevTeam.Agents.csproj b/dotnet/samples/dev-team/DevTeam.Agents/DevTeam.Agents.csprojindex 5a3e15073..0bbb5f340 100644--- a/dotnet/samples/dev-team/DevTeam.Agents/DevTeam.Agents.csproj+++ b/dotnet/samples/dev-team/DevTeam.Agents/DevTeam.Agents.csproj@@ -10,7 +10,7 @@<ProjectReference Include="..\DevTeam.ServiceDefaults\DevTeam.ServiceDefaults.csproj" /><ProjectReference Include="..\DevTeam.Shared\DevTeam.Shared.csproj" />- <ProjectReference Include="..\..\..\src\Microsoft.Autogen.Agents.Worker.Client\Microsoft.Autogen.Agents.Worker.Client.csproj" />+ <ProjectReference Include="..\..\..\src\Microsoft.AutoGen.Agents.Worker.Client\Microsoft.AutoGen.Agents.Worker.Client.csproj" /></ItemGroup></Project>diff --git a/dotnet/samples/dev-team/DevTeam.Agents/Developer/Developer.cs b/dotnet/samples/dev-team/DevTeam.Agents/Developer/Developer.csindex 75e4a51b8..3b89bf4b0 100644--- a/dotnet/samples/dev-team/DevTeam.Agents/Developer/Developer.cs+++ b/dotnet/samples/dev-team/DevTeam.Agents/Developer/Developer.cs@@ -1,6 +1,6 @@using DevTeam.Shared;-using Microsoft.AI.Agents.Abstractions;-using Microsoft.AI.Agents.Worker.Client;+using Microsoft.AutoGen.Agents.Abstractions;+using Microsoft.AutoGen.Agents.Worker.Client;using Microsoft.SemanticKernel;using Microsoft.SemanticKernel.Memory;@@ -17,6 +17,9 @@ public class Dev(IAgentContext context, Kernel kernel, ISemanticTextMemory memorvar code = await GenerateCode(item.Ask);var evt = new CodeGenerated{+ Org = item.Org,+ Repo = item.Repo,+ IssueNumber = item.IssueNumber,Code = code}.ToCloudEvent(this.AgentId.Key);await PublishEvent(evt);diff --git a/dotnet/samples/dev-team/DevTeam.Agents/DeveloperLead/DeveloperLead.cs b/dotnet/samples/dev-team/DevTeam.Agents/DeveloperLead/DeveloperLead.csindex 96036ff93..23eaa3d65 100644--- a/dotnet/samples/dev-team/DevTeam.Agents/DeveloperLead/DeveloperLead.cs+++ b/dotnet/samples/dev-team/DevTeam.Agents/DeveloperLead/DeveloperLead.cs@@ -1,6 +1,6 @@using DevTeam.Shared;-using Microsoft.AI.Agents.Abstractions;-using Microsoft.AI.Agents.Worker.Client;+using Microsoft.AutoGen.Agents.Abstractions;+using Microsoft.AutoGen.Agents.Worker.Client;using Microsoft.SemanticKernel;using Microsoft.SemanticKernel.Connectors.OpenAI;using Microsoft.SemanticKernel.Memory;@@ -18,6 +18,9 @@ public class DeveloperLead(IAgentContext context, Kernel kernel, ISemanticTextMevar plan = await CreatePlan(item.Ask);var evt = new DevPlanGenerated{+ Org = item.Org,+ Repo = item.Repo,+ IssueNumber = item.IssueNumber,Plan = plan}.ToCloudEvent(this.AgentId.Key);await PublishEvent(evt);diff --git a/dotnet/samples/dev-team/DevTeam.Agents/ProductManager/ProductManager.cs b/dotnet/samples/dev-team/DevTeam.Agents/ProductManager/ProductManager.csindex 58cfe9a8b..254fd1185 100644--- a/dotnet/samples/dev-team/DevTeam.Agents/ProductManager/ProductManager.cs+++ b/dotnet/samples/dev-team/DevTeam.Agents/ProductManager/ProductManager.cs@@ -1,6 +1,6 @@using DevTeam.Shared;-using Microsoft.AI.Agents.Abstractions;-using Microsoft.AI.Agents.Worker.Client;+using Microsoft.AutoGen.Agents.Abstractions;+using Microsoft.AutoGen.Agents.Worker.Client;using Microsoft.SemanticKernel;using Microsoft.SemanticKernel.Memory;@@ -27,7 +27,10 @@ public class ProductManager(IAgentContext context, Kernel kernel, ISemanticTextMvar readme = await CreateReadme(item.Ask);var evt = new ReadmeGenerated{- Readme = readme+ Readme = readme,+ Org = item.Org,+ Repo = item.Repo,+ IssueNumber = item.IssueNumber}.ToCloudEvent(this.AgentId.Key);await PublishEvent(evt);}diff --git a/dotnet/samples/dev-team/DevTeam.Agents/Program.cs b/dotnet/samples/dev-team/DevTeam.Agents/Program.csindex 96cdbb497..5978323fd 100644--- a/dotnet/samples/dev-team/DevTeam.Agents/Program.cs+++ b/dotnet/samples/dev-team/DevTeam.Agents/Program.cs@@ -1,4 +1,4 @@-using Microsoft.AI.Agents.Worker.Client;+using Microsoft.AutoGen.Agents.Worker.Client;using DevTeam;using DevTeam.Agents;diff --git a/dotnet/samples/dev-team/DevTeam.Backend/AgentClient.cs b/dotnet/samples/dev-team/DevTeam.Backend/AgentClient.csindex 7c168e642..abb31f098 100644--- a/dotnet/samples/dev-team/DevTeam.Backend/AgentClient.cs+++ b/dotnet/samples/dev-team/DevTeam.Backend/AgentClient.cs@@ -1,7 +1,7 @@using System.Diagnostics;using Agents;-using Microsoft.AI.Agents.Worker.Client;-using AgentId = Microsoft.AI.Agents.Worker.Client.AgentId;+using Microsoft.AutoGen.Agents.Worker.Client;+using AgentId = Microsoft.AutoGen.Agents.Worker.Client.AgentId;namespace DevTeam.Backend;diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Agents/AzureGenie.cs b/dotnet/samples/dev-team/DevTeam.Backend/Agents/AzureGenie.csindex 0e2bc88f7..eb1acbffa 100644--- a/dotnet/samples/dev-team/DevTeam.Backend/Agents/AzureGenie.cs+++ b/dotnet/samples/dev-team/DevTeam.Backend/Agents/AzureGenie.cs@@ -1,7 +1,7 @@using DevTeam.Backend;using DevTeam.Shared;-using Microsoft.AI.Agents.Abstractions;-using Microsoft.AI.Agents.Worker.Client;+using Microsoft.AutoGen.Agents.Abstractions;+using Microsoft.AutoGen.Agents.Worker.Client;using Microsoft.SemanticKernel;using Microsoft.SemanticKernel.Memory;namespace Microsoft.AI.DevTeam;diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Agents/Hubber.cs b/dotnet/samples/dev-team/DevTeam.Backend/Agents/Hubber.csindex 5e42f0e4c..fdfa72fda 100644--- a/dotnet/samples/dev-team/DevTeam.Backend/Agents/Hubber.cs+++ b/dotnet/samples/dev-team/DevTeam.Backend/Agents/Hubber.cs@@ -2,8 +2,8 @@ using DevTeam;using System.Text.Json;using DevTeam.Backend;using DevTeam.Shared;-using Microsoft.AI.Agents.Abstractions;-using Microsoft.AI.Agents.Worker.Client;+using Microsoft.AutoGen.Agents.Abstractions;+using Microsoft.AutoGen.Agents.Worker.Client;using Microsoft.SemanticKernel;using Microsoft.SemanticKernel.Memory;diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Agents/Sandbox.cs b/dotnet/samples/dev-team/DevTeam.Backend/Agents/Sandbox.csindex 813527360..9f48936fd 100644--- a/dotnet/samples/dev-team/DevTeam.Backend/Agents/Sandbox.cs+++ b/dotnet/samples/dev-team/DevTeam.Backend/Agents/Sandbox.cs@@ -1,7 +1,7 @@// TODO: Reimplement using ACA Sessions// using DevTeam.Events;-// using Microsoft.AI.Agents.Abstractions;-// using Microsoft.AI.Agents.Worker.Client;+// using Microsoft.AutoGen.Agents.Abstractions;+// using Microsoft.AutoGen.Agents.Worker.Client;// namespace DevTeam.Backend;diff --git a/dotnet/samples/dev-team/DevTeam.Backend/DevTeam.Backend.csproj b/dotnet/samples/dev-team/DevTeam.Backend/DevTeam.Backend.csprojindex ccf07d552..8469898ba 100644--- a/dotnet/samples/dev-team/DevTeam.Backend/DevTeam.Backend.csproj+++ b/dotnet/samples/dev-team/DevTeam.Backend/DevTeam.Backend.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk.Web"><ItemGroup>- <ProjectReference Include="..\..\..\src\Microsoft.Autogen.Agents.Worker.Client\Microsoft.Autogen.Agents.Worker.Client.csproj" />+ <ProjectReference Include="..\..\..\src\Microsoft.AutoGen.Agents.Worker.Client\Microsoft.AutoGen.Agents.Worker.Client.csproj" /></ItemGroup><PropertyGroup>diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Program.cs b/dotnet/samples/dev-team/DevTeam.Backend/Program.csindex f851967c4..bf350813a 100644--- a/dotnet/samples/dev-team/DevTeam.Backend/Program.cs+++ b/dotnet/samples/dev-team/DevTeam.Backend/Program.cs@@ -1,4 +1,4 @@-using Microsoft.AI.Agents.Worker.Client;+using Microsoft.AutoGen.Agents.Worker.Client;using DevTeam;using Microsoft.AI.DevTeam;using DevTeam.Backend;diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Services/GithubWebHookProcessor.cs b/dotnet/samples/dev-team/DevTeam.Backend/Services/GithubWebHookProcessor.csindex faaaaedbd..06a7c5508 100644--- a/dotnet/samples/dev-team/DevTeam.Backend/Services/GithubWebHookProcessor.cs+++ b/dotnet/samples/dev-team/DevTeam.Backend/Services/GithubWebHookProcessor.cs@@ -1,6 +1,7 @@using System.Globalization;-using System.Text.Json;using Agents;+using DevTeam.Shared;+using Microsoft.AutoGen.Agents.Abstractions;using Octokit.Webhooks;using Octokit.Webhooks.Events;using Octokit.Webhooks.Events.IssueComment;@@ -52,12 +53,12 @@ public sealed class GithubWebHookProcessor(ILogger<GithubWebHookProcessor> loggeif (issuesEvent.Action == IssuesAction.Opened){_logger.LogInformation("Processing HandleNewAsk");- await HandleNewAsk(issueNumber, parentNumber, skillName, labels[skillName], suffix, input, org, repo);+ await HandleNewAsk(issueNumber, skillName, labels[skillName], suffix, input, org, repo);}else if (issuesEvent.Action == IssuesAction.Closed && issuesEvent.Issue?.User.Type.Value == UserType.Bot){_logger.LogInformation("Processing HandleClosingIssue");- await HandleClosingIssue(issueNumber, parentNumber, skillName, labels[skillName], suffix, org, repo);+ await HandleClosingIssue(issueNumber, skillName, labels[skillName], suffix);}}catch (Exception ex)@@ -95,7 +96,7 @@ public sealed class GithubWebHookProcessor(ILogger<GithubWebHookProcessor> logge// we only respond to non-bot commentsif (issueCommentEvent.Sender!.Type.Value != UserType.Bot){- await HandleNewAsk(issueNumber, parentNumber, skillName, labels[skillName], suffix, input, org, repo);+ await HandleNewAsk(issueNumber, skillName, labels[skillName], suffix, input, org, repo);}}catch (Exception ex)@@ -106,63 +107,37 @@ public sealed class GithubWebHookProcessor(ILogger<GithubWebHookProcessor> logge}- private async Task HandleClosingIssue(long issueNumber, long? parentNumber, string skillName, string functionName, string suffix, string org, string repo)+ private async Task HandleClosingIssue(long issueNumber, string skillName, string functionName, string suffix){var subject = suffix + issueNumber.ToString();- var eventType = (skillName, functionName) switch+ var evt = (skillName, functionName) switch{- //("PM", "Readme") => nameof(EventTypes.ReadmeChainClosed),- //("DevLead", "Plan") => nameof(EventTypes.DevPlanChainClosed),- //("Developer", "Implement") => nameof(EventTypes.CodeChainClosed),- _ => "asd"+ ("PM", "Readme") => new ReadmeChainClosed { }.ToCloudEvent(subject),+ ("DevLead", "Plan") => new DevPlanChainClosed { }.ToCloudEvent(subject),+ ("Developer", "Implement") => new CodeChainClosed { }.ToCloudEvent(subject),+ _ => new CloudEvent() // TODO: default event};- var data = new Dictionary<string, string>- {- ["org"] = org,- ["repo"] = repo,- ["issueNumber"] = issueNumber.ToString(),- ["parentNumber"] = (parentNumber ?? 0).ToString()- };- await _client.PublishEventAsync(new CloudEvent- {- Source = subject,- Type = eventType,- TextData = JsonSerializer.Serialize(data),- });- await Task.CompletedTask;++ await _client.PublishEventAsync(evt);}- private async Task HandleNewAsk(long issueNumber, long? parentNumber, string skillName, string functionName, string suffix, string input, string org, string repo)+ private async Task HandleNewAsk(long issueNumber,string skillName, string functionName, string suffix, string input, string org, string repo){try{_logger.LogInformation("Handling new ask");var subject = suffix + issueNumber.ToString();- var eventType = (skillName, functionName) switch+ var evt = (skillName, functionName) switch{- //("Do", "It") => nameof(EventTypes.NewAsk),- //("PM", "Readme") => nameof(EventTypes.ReadmeRequested),- //("DevLead", "Plan") => nameof(EventTypes.DevPlanRequested),- //("Developer", "Implement") => nameof(EventTypes.CodeGenerationRequested),- _ => "nameof(EventTypes.NewAsk)"+ ("Do", "It") => new NewAsk { Ask = input, IssueNumber = issueNumber, Org = org, Repo = repo }.ToCloudEvent(subject),+ ("PM", "Readme") => new ReadmeRequested { Ask = input, IssueNumber = issueNumber, Org = org, Repo = repo }.ToCloudEvent(subject),+ ("DevLead", "Plan") => new DevPlanRequested { Ask = input, IssueNumber = issueNumber, Org = org, Repo = repo }.ToCloudEvent(subject),+ ("Developer", "Implement") => new CodeGenerationRequested { Ask = input, IssueNumber = issueNumber, Org = org, Repo = repo }.ToCloudEvent(subject),+ _ => new CloudEvent()};- var data = new Dictionary<string, string>- {- { "org", org },- { "repo", repo },- { "issueNumber", issueNumber.ToString() },- { "parentNumber", (parentNumber ?? 0).ToString()},- { "input", input}-- };- await _client.PublishEventAsync(new CloudEvent- {- Source = subject,- Type = eventType,- TextData = JsonSerializer.Serialize(data),- });+ await _client.PublishEventAsync(evt);}catch (Exception ex){diff --git a/dotnet/samples/dev-team/DevTeam.Shared/DevTeam.Shared.csproj b/dotnet/samples/dev-team/DevTeam.Shared/DevTeam.Shared.csprojindex 4cbd96f6f..c2328ab7e 100644--- a/dotnet/samples/dev-team/DevTeam.Shared/DevTeam.Shared.csproj+++ b/dotnet/samples/dev-team/DevTeam.Shared/DevTeam.Shared.csproj@@ -1,7 +1,7 @@<Project Sdk="Microsoft.NET.Sdk"><ItemGroup>- <ProjectReference Include="..\..\..\src\Microsoft.Autogen.Agents.Worker.Client\Microsoft.Autogen.Agents.Worker.Client.csproj" />+ <ProjectReference Include="..\..\..\src\Microsoft.AutoGen.Agents.Worker.Client\Microsoft.AutoGen.Agents.Worker.Client.csproj" /></ItemGroup><PropertyGroup>diff --git a/dotnet/samples/dev-team/Protos/messages.proto b/dotnet/samples/dev-team/Protos/messages.protoindex dfa6b317f..23db04a43 100644--- a/dotnet/samples/dev-team/Protos/messages.proto+++ b/dotnet/samples/dev-team/Protos/messages.proto@@ -12,7 +12,10 @@ message NewAsk {}message ReadmeRequested {- string ask = 1;+ string org = 1;+ string repo = 2;+ int64 issue_number = 3;+ string ask = 4;}message ReadmeChainClosed {string ask = 1;@@ -35,11 +38,17 @@ message CodeChainClosed {}message CodeGenerationRequested {- string ask = 1;+ string org = 1;+ string repo = 2;+ int64 issue_number = 3;+ string ask = 4;}message DevPlanRequested {- string ask = 1;+ string org = 1;+ string repo = 2;+ int64 issue_number = 3;+ string ask = 4;}message DevPlanGenerated {diff --git a/dotnet/samples/dev-team/README.md b/dotnet/samples/dev-team/README.mdindex 45342de29..c3029a668 100644--- a/dotnet/samples/dev-team/README.md+++ b/dotnet/samples/dev-team/README.md@@ -66,11 +66,4 @@ graph TD;SRC --> |Sandbox| SRM[Check every minute if the run finished];SRM --> SRF([SandboxRunFinished event]);SRF --> |Hubber| SRCC[Code files commited to branch];-```--dotnet user-secrets set "OpenAI:Key" "your_key"-dotnet user-secrets set "OpenAI:Endpoint" "https://your_endpoint.openai.azure.com/"-dotnet user-secrets set "Github:AppId" "your_key"-dotnet user-secrets set "Github:InstallationId" "https://your_endpoint.openai.azure.com/"-dotnet user-secrets set "Github:WebhookSecret" "your_key"-dotnet user-secrets set "Github:AppKey" "https://your_endpoint.openai.azure.com/"\ No newline at end of file+```\ No newline at end of filediff --git a/dotnet/samples/dev-team/docs/github-flow-getting-started.md b/dotnet/samples/dev-team/docs/github-flow-getting-started.mdindex ebfb16825..8a23b505c 100644--- a/dotnet/samples/dev-team/docs/github-flow-getting-started.md+++ b/dotnet/samples/dev-team/docs/github-flow-getting-started.md@@ -119,4 +119,22 @@ As the last step, we also need to [load the WAF into the vector DB](#load-the-wa### Load the WAF into Qdrant.If you are running the app locally, we have [Qdrant](https://qdrant.tech/) setup in the Codespace and if you are running in Azure, Qdrant is deployed to ACA.-The loader is a project in the `samples` folder, called `seed-memory`. We need to fill in the `appsettings.json` (after renaming `appsettings.template.json` in `appsettings.json`) file in the `config` folder with the OpenAI details and the Qdrant endpoint, then just run the loader with `dotnet run` and you are ready to go.\ No newline at end of file+The loader is a project in the `samples` folder, called `seed-memory`. We need to fill in the `appsettings.json` (after renaming `appsettings.template.json` in `appsettings.json`) file in the `config` folder with the OpenAI details and the Qdrant endpoint, then just run the loader with `dotnet run` and you are ready to go.++++### WIP Local setup++```+dotnet user-secrets set "OpenAI:Key" "your_key"++dotnet user-secrets set "OpenAI:Endpoint" "https://your_endpoint.openai.azure.com/"++dotnet user-secrets set "Github:AppId" "gh_app_id"++dotnet user-secrets set "Github:InstallationId" "gh_inst_id"++dotnet user-secrets set "Github:WebhookSecret" "webhook_secret"++dotnet user-secrets set "Github:AppKey" "gh_app_key"+```\ No newline at end of filediff --git a/dotnet/src/Shared/CloudEventExtensions.cs b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/CloudEventExtensions.cssimilarity index 93%rename from dotnet/src/Shared/CloudEventExtensions.csrename to dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/CloudEventExtensions.csindex c69191fa4..ea54b0352 100644--- a/dotnet/src/Shared/CloudEventExtensions.cs+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/CloudEventExtensions.cs@@ -2,7 +2,7 @@ using Agents;using Google.Protobuf;using Google.Protobuf.WellKnownTypes;-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;public static class CloudEventExtensionsdiff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Microsoft.AutoGen.Agents.Extensions.CloudEvents.csproj b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Microsoft.AutoGen.Agents.Extensions.CloudEvents.csprojnew file mode 100644index 000000000..5f7f5a788--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Microsoft.AutoGen.Agents.Extensions.CloudEvents.csproj@@ -0,0 +1,23 @@+<Project Sdk="Microsoft.NET.Sdk">++ <ItemGroup>+ <ProjectReference Include="..\..\..\src\Microsoft.AutoGen.Agents.Worker.Client\Microsoft.AutoGen.Agents.Worker.Client.csproj" />+ </ItemGroup>++ <PropertyGroup>+ <TargetFramework>net8.0</TargetFramework>+ <ImplicitUsings>enable</ImplicitUsings>+ <Nullable>enable</Nullable>+ </PropertyGroup>++ <ItemGroup>+ <PackageReference Include="Google.Protobuf" />+ <PackageReference Include="Grpc.Tools" PrivateAssets="All" />+ </ItemGroup>++ <ItemGroup>+ <Protobuf Include="Protos\messages.proto" Link="Protos\messages.proto" />+ <Protobuf Include="Protos\states.proto" Link="Protos\states.proto" />+ </ItemGroup>++</Project>diff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Protos/messages.proto b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Protos/messages.protonew file mode 100644index 000000000..0dc7ccc80--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Protos/messages.proto@@ -0,0 +1,13 @@+syntax = "proto3";++package cloudevents;++option csharp_namespace = "Microsoft.AutoGen.Agents.Extensions.CloudEvents";++message NewMessageReceived {+ string message = 1;+}++message MessageEmitted {+ string message = 1;+}diff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Protos/states.proto b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Protos/states.protonew file mode 100644index 000000000..8e0981396--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/CloudEvents/Protos/states.proto@@ -0,0 +1,9 @@+syntax = "proto3";++package devteam;++option csharp_namespace = "Microsoft.AutoGen.Agents.Extensions.CloudEvents";++message CloudEventsState {+ string cloudevent = 1;+}diff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Microsoft.AutoGen.Agents.Extensions.SemanticKernel.csproj b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Microsoft.AutoGen.Agents.Extensions.SemanticKernel.csprojnew file mode 100644index 000000000..eedc16326--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Microsoft.AutoGen.Agents.Extensions.SemanticKernel.csproj@@ -0,0 +1,20 @@+<Project Sdk="Microsoft.NET.Sdk">++ <ItemGroup>+ <ProjectReference Include="..\..\..\src\Microsoft.AutoGen.Agents.Worker.Client\Microsoft.AutoGen.Agents.Worker.Client.csproj" />+ </ItemGroup>++ <PropertyGroup>+ <TargetFramework>net8.0</TargetFramework>+ <ImplicitUsings>enable</ImplicitUsings>+ <Nullable>enable</Nullable>+ </PropertyGroup>++ <ItemGroup>+ <PackageReference Include="Azure.AI.OpenAI" />+ <PackageReference Include="Microsoft.SemanticKernel" />+ <PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" />+ <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" />+ </ItemGroup>++</Project>diff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/AzureOptions.cs b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/AzureOptions.csnew file mode 100644index 000000000..d79c985ad--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/AzureOptions.cs@@ -0,0 +1,21 @@+using System.ComponentModel.DataAnnotations;++namespace Microsoft.AutoGen.Agents.Extensions.SemanticKernel;++public class AzureOptions+{+ [Required]+ public required string SubscriptionId { get; set; }+ [Required]+ public required string Location { get; set; }+ [Required]+ public required string ContainerInstancesResourceGroup { get; set; }+ [Required]+ public required string FilesShareName { get; set; }+ [Required]+ public required string FilesAccountName { get; set; }+ [Required]+ public required string FilesAccountKey { get; set; }+ [Required]+ public required string SandboxImage { get; set; }+}\ No newline at end of filediff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/GithubOptions.cs b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/GithubOptions.csnew file mode 100644index 000000000..3f3fe285a--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/GithubOptions.cs@@ -0,0 +1,14 @@+using System.ComponentModel.DataAnnotations;++namespace Microsoft.AutoGen.Agents.Extensions.SemanticKernel;+public class GithubOptions+{+ [Required]+ public required string AppKey { get; set; }+ [Required]+ public int AppId { get; set; }+ [Required]+ public long InstallationId { get; set; }+ [Required]+ public required string WebhookSecret { get; set; }+}\ No newline at end of filediff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/OpenAIOptions.cs b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/OpenAIOptions.csnew file mode 100644index 000000000..8df66294e--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/OpenAIOptions.cs@@ -0,0 +1,30 @@+using System.ComponentModel.DataAnnotations;++namespace Microsoft.AutoGen.Agents.Extensions.SemanticKernel;++public class OpenAIOptions+{+ // Embeddings+ [Required]+ public required string EmbeddingsEndpoint { get; set; }+ [Required]+ public required string EmbeddingsApiKey { get; set; }+ [Required]+ public required string EmbeddingsDeploymentOrModelId { get; set; }++ // Chat+ [Required]+ public required string ChatEndpoint { get; set; }+ [Required]+ public required string ChatApiKey { get; set; }+ [Required]+ public required string ChatDeploymentOrModelId { get; set; }++ // TextToImage+ [Required]+ public required string ImageEndpoint { get; set; }+ [Required]+ public required string ImageApiKey { get; set; }+ // When using OpenAI, this is not required.+ public required string ImageDeploymentOrModelId { get; set; }+}\ No newline at end of filediff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/QdrantOptions.cs b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/QdrantOptions.csnew file mode 100644index 000000000..0d0b739af--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/Options/QdrantOptions.cs@@ -0,0 +1,11 @@+using System.ComponentModel.DataAnnotations;++namespace Microsoft.AutoGen.Agents.Extensions.SemanticKernel;+public class QdrantOptions+{+ [Required]+ public required string Endpoint { get; set; }+ [Required]+ public required int VectorSize { get; set; }+ public string ApiKey { get; set; } = "";+}\ No newline at end of filediff --git a/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/SemanticKernelHostingExtensions.cs b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/SemanticKernelHostingExtensions.csnew file mode 100644index 000000000..9d88a220e--- /dev/null+++ b/dotnet/src/Microsoft.AutoGen.Agents.Extensions/SemanticKernel/SemanticKernelHostingExtensions.cs@@ -0,0 +1,107 @@+// Copyright (c) Microsoft. All rights reserved.++using System.Text.Json;+using Azure.AI.OpenAI;+using Microsoft.Extensions.Configuration;+using Microsoft.Extensions.DependencyInjection;+using Microsoft.Extensions.Hosting;+using Microsoft.Extensions.Logging;+using Microsoft.Extensions.Options;+using Microsoft.SemanticKernel;+using Microsoft.SemanticKernel.Connectors.OpenAI;+using Microsoft.SemanticKernel.Connectors.Qdrant;+using Microsoft.SemanticKernel.Memory;++namespace Microsoft.AutoGen.Agents.Extensions.SemanticKernel;+public static class SemanticKernelHostingExtensions+{+ public static IHostApplicationBuilder ConfigureSemanticKernel(this IHostApplicationBuilder builder)+ {+ builder.Services.Configure<OpenAIOptions>(o =>+ {+ o.EmbeddingsEndpoint = o.ImageEndpoint = o.ChatEndpoint = builder.Configuration["OpenAI:Endpoint"] ?? throw new InvalidOperationException("Ensure that OpenAI:Endpoint is set in configuration");+ o.EmbeddingsApiKey = o.ImageApiKey = o.ChatApiKey = builder.Configuration["OpenAI:Key"]!;+ o.EmbeddingsDeploymentOrModelId = "text-embedding-3-large";+ o.ImageDeploymentOrModelId = "dall-e-3";+ o.ChatDeploymentOrModelId = "gpt-4o";+ });++ builder.Services.Configure<OpenAIClientOptions>(o =>+ {+ o.Retry.NetworkTimeout = TimeSpan.FromMinutes(5);+ });++ builder.Services.AddOptions<QdrantOptions>().Bind(builder.Configuration.GetSection("Qdrant"))+ .ValidateDataAnnotations()+ .ValidateOnStart();++ builder.Services.Configure<JsonSerializerOptions>(options =>+ {+ options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;+ });++ builder.Services.AddTransient(CreateKernel);+ builder.Services.AddTransient(CreateMemory);+ return builder;+ }++ static ISemanticTextMemory CreateMemory(IServiceProvider provider)+ {+ var qdrantConfig = provider.GetRequiredService<IOptions<QdrantOptions>>().Value;+ var openAiConfig = provider.GetRequiredService<IOptions<OpenAIOptions>>().Value;+ var qdrantHttpClient = new HttpClient();+ if (!string.IsNullOrEmpty(qdrantConfig.ApiKey)) {+ qdrantHttpClient.DefaultRequestHeaders.Add("api-key", qdrantConfig.ApiKey);+ }+ var loggerFactory = provider.GetRequiredService<ILoggerFactory>();+ var memoryBuilder = new MemoryBuilder();+ return memoryBuilder.WithLoggerFactory(loggerFactory)+ .WithQdrantMemoryStore(qdrantHttpClient, qdrantConfig.VectorSize, qdrantConfig.Endpoint)+ .WithAzureOpenAITextEmbeddingGeneration(openAiConfig.EmbeddingsDeploymentOrModelId, openAiConfig.EmbeddingsEndpoint, openAiConfig.EmbeddingsApiKey)+ .Build();+ }++ static Kernel CreateKernel(IServiceProvider provider)+ {+ OpenAIOptions openAiConfig = provider.GetRequiredService<IOptions<OpenAIOptions>>().Value;+ var builder = Kernel.CreateBuilder();++ // Chat+ if (openAiConfig.ChatEndpoint.Contains(".azure", StringComparison.OrdinalIgnoreCase))+ {+ var openAIClient = new OpenAIClient(new Uri(openAiConfig.ChatEndpoint), new Azure.AzureKeyCredential(openAiConfig.ChatApiKey));+ builder.Services.AddAzureOpenAIChatCompletion(openAiConfig.ChatDeploymentOrModelId, openAIClient);+ }+ else+ {+ var openAIClient = new OpenAIClient(openAiConfig.ChatApiKey);+ builder.Services.AddOpenAIChatCompletion(openAiConfig.ChatDeploymentOrModelId, openAIClient);+ }++ // Text to Image+ if (openAiConfig.ImageEndpoint.Contains(".azure", StringComparison.OrdinalIgnoreCase))+ {+ ArgumentException.ThrowIfNullOrEmpty(openAiConfig.ImageDeploymentOrModelId);+ var openAIClient = new OpenAIClient(new Uri(openAiConfig.ImageEndpoint), new Azure.AzureKeyCredential(openAiConfig.ImageApiKey));+ builder.Services.AddAzureOpenAITextToImage(openAiConfig.ImageDeploymentOrModelId, openAIClient);+ }+ else+ {+ builder.Services.AddOpenAITextToImage(openAiConfig.ImageApiKey, modelId: openAiConfig.ImageDeploymentOrModelId);+ }++ // Embeddings+ if (openAiConfig.EmbeddingsEndpoint.Contains(".azure", StringComparison.OrdinalIgnoreCase))+ {+ var openAIClient = new OpenAIClient(new Uri(openAiConfig.EmbeddingsEndpoint), new Azure.AzureKeyCredential(openAiConfig.EmbeddingsApiKey));+ builder.Services.AddAzureOpenAITextEmbeddingGeneration(openAiConfig.EmbeddingsDeploymentOrModelId, openAIClient);+ }+ else+ {+ var openAIClient = new OpenAIClient(openAiConfig.EmbeddingsApiKey);+ builder.Services.AddOpenAITextEmbeddingGeneration(openAiConfig.EmbeddingsDeploymentOrModelId, openAIClient);+ }++ return builder.Build();+ }+}\ No newline at end of filediff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentBase.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentBase.csindex ea045645a..661c10b87 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentBase.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentBase.cs@@ -5,9 +5,9 @@ using System.Text.Json;using System.Diagnostics;using System.Text;using Google.Protobuf;-using Microsoft.AI.Agents.Abstractions;+using Microsoft.AutoGen.Agents.Abstractions;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;public abstract class AgentBase{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentBaseExtensions.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentBaseExtensions.csindex efdb39270..9d2235da3 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentBaseExtensions.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentBaseExtensions.cs@@ -1,6 +1,6 @@using System.Diagnostics;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;public static class AgentBaseExtensions{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentContext.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentContext.csindex 9420b43e2..1594fafe1 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentContext.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentContext.cs@@ -2,7 +2,7 @@ using Agents;using Microsoft.Extensions.Logging;using System.Diagnostics;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;internal sealed class AgentContext(AgentId agentId, AgentWorkerRuntime runtime, ILogger<AgentBase> logger, DistributedContextPropagator distributedContextPropagator) : IAgentContext{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentId.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentId.csindex cf52213d1..ed319aa26 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentId.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentId.cs@@ -1,6 +1,6 @@using RpcAgentId = Agents.AgentId;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;public sealed record class AgentId(string Type, string Key){diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentWorkerRuntime.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentWorkerRuntime.csindex ab4450124..2e2f243b3 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentWorkerRuntime.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AgentWorkerRuntime.cs@@ -6,10 +6,10 @@ using Microsoft.Extensions.Logging;using Microsoft.Extensions.DependencyInjection;using System.Threading.Channels;using System.Diagnostics;-using Microsoft.AI.Agents.Abstractions;+using Microsoft.AutoGen.Agents.Abstractions;using System.Reflection;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;public sealed class AgentWorkerRuntime : IHostedService, IDisposable, IAgentWorkerRuntime{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AiAgent.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AiAgent.csindex bf2642a74..05d22042e 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AiAgent.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/AiAgent.cs@@ -6,7 +6,7 @@ using Microsoft.SemanticKernel;using Microsoft.SemanticKernel.Connectors.OpenAI;using Microsoft.SemanticKernel.Memory;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;public abstract class AiAgent<T> : AgentBase where T : class, new(){protected AgentState<T> _state;diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/HostBuilderExtensions.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/HostBuilderExtensions.csindex d81d1e4fd..92d94e8c1 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/HostBuilderExtensions.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/HostBuilderExtensions.cs@@ -9,9 +9,9 @@ using System.Reflection;using Google.Protobuf.Reflection;using Google.Protobuf;using System.Diagnostics.CodeAnalysis;-using Microsoft.AI.Agents.Abstractions;+using Microsoft.AutoGen.Agents.Abstractions;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;public static class HostBuilderExtensions{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/IAgentContext.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/IAgentContext.csindex 134f4d462..147449a0c 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/IAgentContext.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/IAgentContext.cs@@ -2,7 +2,7 @@ using Agents;using Microsoft.Extensions.Logging;using System.Diagnostics;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;public interface IAgentContext{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/Microsoft.Autogen.Agents.Worker.Client.csproj b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/Microsoft.Autogen.Agents.Worker.Client.csprojindex 19f1b0e63..8d0b84d12 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/Microsoft.Autogen.Agents.Worker.Client.csproj+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Client/Microsoft.Autogen.Agents.Worker.Client.csproj@@ -12,7 +12,7 @@</PropertyGroup><ItemGroup>- <ProjectReference Include="../Microsoft.Autogen.Agents/Microsoft.Autogen.Agents.csproj" />+ <ProjectReference Include="../Microsoft.AutoGen.Agents/Microsoft.AutoGen.Agents.csproj" /></ItemGroup></Project>diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentStateGrain.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentStateGrain.csindex 421ecfdbf..eb1c11a61 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentStateGrain.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentStateGrain.cs@@ -1,4 +1,4 @@-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;internal sealed class AgentStateGrain([PersistentState("state", "agent-state")] IPersistentState<Dictionary<string, object>> state) : Grain, IAgentStateGrain{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentWorkerHostingExtensions.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentWorkerHostingExtensions.csindex 2ff906266..4148a74dc 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentWorkerHostingExtensions.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentWorkerHostingExtensions.cs@@ -5,7 +5,7 @@ using Orleans.Serialization;using Microsoft.Extensions.DependencyInjection.Extensions;using System.Diagnostics;-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;public static class AgentWorkerHostingExtensions{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentWorkerRegistryGrain.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentWorkerRegistryGrain.csindex 4ddd4bc70..7d3ec0448 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentWorkerRegistryGrain.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/AgentWorkerRegistryGrain.cs@@ -1,6 +1,6 @@using Agents;-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;public sealed class AgentWorkerRegistryGrain : Grain, IAgentWorkerRegistryGrain{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IAgentStateGrain.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IAgentStateGrain.csindex f5a10f7d3..3f83c0db8 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IAgentStateGrain.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IAgentStateGrain.cs@@ -1,4 +1,4 @@-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;internal interface IAgentStateGrain : IGrainWithStringKey{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IAgentWorkerRegistryGrain.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IAgentWorkerRegistryGrain.csindex 09fb4c805..b532bf3e8 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IAgentWorkerRegistryGrain.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IAgentWorkerRegistryGrain.cs@@ -1,6 +1,6 @@using Agents;-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;public interface IAgentWorkerRegistryGrain : IGrainWithIntegerKey{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IWorkerGateway.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IWorkerGateway.csindex d81a7604c..e33c0910f 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IWorkerGateway.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/IWorkerGateway.cs@@ -1,6 +1,6 @@using Agents;-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;public interface IWorkerGateway : IGrainObserver{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/Microsoft.Autogen.Agents.Worker.Server.csproj b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/Microsoft.Autogen.Agents.Worker.Server.csprojindex 9bb416b32..bf7fefbb7 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/Microsoft.Autogen.Agents.Worker.Server.csproj+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/Microsoft.Autogen.Agents.Worker.Server.csproj@@ -12,7 +12,7 @@</PropertyGroup><ItemGroup>- <ProjectReference Include="../Microsoft.Autogen.Agents/Microsoft.Autogen.Agents.csproj" />+ <ProjectReference Include="../Microsoft.AutoGen.Agents/Microsoft.AutoGen.Agents.csproj" /></ItemGroup><ItemGroup>diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerGateway.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerGateway.csindex 3cfab84f9..bfdbf46c0 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerGateway.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerGateway.cs@@ -4,7 +4,7 @@ using Microsoft.Extensions.Hosting;using Microsoft.Extensions.Logging;using System.Collections.Concurrent;-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;internal sealed class WorkerGateway : BackgroundService, IWorkerGateway{diff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerGatewayService.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerGatewayService.csindex 934289a78..8706563c9 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerGatewayService.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerGatewayService.cs@@ -1,7 +1,7 @@using Grpc.Core;using Agents;-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;// gRPC service which handles communication between the agent worker and the cluster.internal sealed class WorkerGatewayService(WorkerGateway agentWorker) : AgentRpc.AgentRpcBasediff --git a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerProcessConnection.cs b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerProcessConnection.csindex fab84deed..369acf0c9 100644--- a/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerProcessConnection.cs+++ b/dotnet/src/Microsoft.Autogen.Agents.Worker.Server/WorkerProcessConnection.cs@@ -2,7 +2,7 @@ using Grpc.Core;using Agents;using System.Threading.Channels;-namespace Microsoft.AI.Agents.Worker;+namespace Microsoft.AutoGen.Agents.Worker;internal sealed class WorkerProcessConnection : IAsyncDisposable{diff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/AgentState.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/AgentState.csindex 97666e2d9..c0a758797 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/AgentState.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/AgentState.cs@@ -1,4 +1,4 @@-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;public class AgentState<T> where T : class, new(){diff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/ChatHistoryItem.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/ChatHistoryItem.csindex fa90f985b..23f6f5a1c 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/ChatHistoryItem.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/ChatHistoryItem.cs@@ -1,4 +1,4 @@-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;[Serializable]public class ChatHistoryItemdiff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/ChatUserType.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/ChatUserType.csindex 4168b7bcd..419b90904 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/ChatUserType.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/ChatUserType.cs@@ -1,4 +1,4 @@-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;public enum ChatUserType{diff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/Event.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/Event.csindex f8d7fb28d..67372add6 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/Event.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/Event.cs@@ -1,6 +1,6 @@using System.Runtime.Serialization;-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;/// <summary>/// Base class for all eventsdiff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAgent.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAgent.csindex 157daa9d5..760ce356e 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAgent.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAgent.cs@@ -1,4 +1,4 @@-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;public interface IAgent{diff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAgentWorkerRuntime.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAgentWorkerRuntime.csindex f7bd59149..b938c70f7 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAgentWorkerRuntime.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAgentWorkerRuntime.cs@@ -2,7 +2,7 @@using Agents;-namespace Microsoft.AI.Agents.Worker.Client;+namespace Microsoft.AutoGen.Agents.Worker.Client;public interface IAgentWorkerRuntime{ValueTask PublishEvent(CloudEvent evt);diff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAiAgent.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAiAgent.csindex 54ea314eb..8e4016741 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAiAgent.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IAiAgent.cs@@ -2,7 +2,7 @@using Microsoft.SemanticKernel;using Microsoft.SemanticKernel.Connectors.OpenAI;-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;public interface IAiAgent : IAgent{diff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IHandle.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IHandle.csindex ffda7d93a..e7cc982d0 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IHandle.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/IHandle.cs@@ -1,4 +1,4 @@-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;public interface IHandle<T>{diff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/MessageExtensions.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/MessageExtensions.csindex 031918fdd..185439765 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/MessageExtensions.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/MessageExtensions.cs@@ -2,7 +2,7 @@ using Agents;using Google.Protobuf;using Google.Protobuf.WellKnownTypes;-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;public static class MessageExtensions{diff --git a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/TopicSubscriptionAttribute.cs b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/TopicSubscriptionAttribute.csindex fb0fb3c28..00365ab5f 100644--- a/dotnet/src/Microsoft.Autogen.Agents/Abstractions/TopicSubscriptionAttribute.cs+++ b/dotnet/src/Microsoft.Autogen.Agents/Abstractions/TopicSubscriptionAttribute.cs@@ -1,4 +1,4 @@-namespace Microsoft.AI.Agents.Abstractions;+namespace Microsoft.AutoGen.Agents.Abstractions;[AttributeUsage(AttributeTargets.All)]public class TopicSubscriptionAttribute(string topic) : Attributediff --git a/python/packages/agbench/src/agbench/run_cmd.py b/python/packages/agbench/src/agbench/run_cmd.pyindex 323d61990..5ed93c33e 100644--- a/python/packages/agbench/src/agbench/run_cmd.py+++ b/python/packages/agbench/src/agbench/run_cmd.py@@ -249,7 +249,7 @@ def get_scenario_env(token_provider: Optional[Callable[[], str]], env_file: strReturn a dictionary of environment variables needed to run a scenario.Args:- config_list (list): An Autogen OAI_CONFIG_LIST to be used when running scenarios.+ config_list (list): An AutoGen OAI_CONFIG_LIST to be used when running scenarios.env_file (str): The path to the env_file to read. (default: DEFAULT_ENV_FILE)Returns: A dictionary of keys and values that need to be added to the system environment.