AutoGen.SemanticKernel Overview
AutoGen.SemanticKernel is a package that provides seamless integration with Semantic Kernel. It provides the following agents:
- SemanticKernelAgent: A slim wrapper agent over
Kernelthat only support originalChatMessageContenttype viaIMessage<ChatMessageContent>. To support more AutoGen built-in message type, register the agent with SemanticKernelChatMessageContentConnector. - SemanticKernelChatCompletionAgent: A slim wrapper agent over
Microsoft.SemanticKernel.Agents.ChatCompletionAgent.
AutoGen.SemanticKernel also provides the following middleware:
- SemanticKernelChatMessageContentConnector: A connector that convert the message from AutoGen built-in message types to
ChatMessageContentand vice versa. At the current stage, it only supports conversation between TextMessage, ImageMessage and MultiModalMessage. Function call message type like ToolCallMessage and ToolCallResultMessage are not supported yet. - KernelPluginMiddleware: A middleware that allows you to use semantic kernel plugins in other AutoGen agents like OpenAIChatAgent.
Get start with AutoGen.SemanticKernel
To get start with AutoGen.SemanticKernel, firstly, follow the installation guide to make sure you add the AutoGen feed correctly. Then add AutoGen.SemanticKernel package to your project file.
<ItemGroup>
<PackageReference Include="AutoGen.SemanticKernel" Version="AUTOGEN_VERSION" />
</ItemGroup>