Skip to content

Files

This branch is 1 commit behind microsoft/semantic-kernel:main.

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 20, 2025
Mar 11, 2025
Mar 10, 2025
Mar 3, 2025
Feb 28, 2025
Mar 3, 2025
Feb 26, 2025

Semantic Kernel: Agent concept examples

This project contains a step by step guide to get started with Semantic Kernel Agents in Python.

PyPI:

  • For the use of Chat Completion agents, the minimum allowed Semantic Kernel pypi version is 1.3.0.
  • For the use of OpenAI Assistant agents, the minimum allowed Semantic Kernel pypi version is 1.4.0.
  • For the use of Agent Group Chat, the minimum allowed Semantic kernel pypi version is 1.6.0.
  • For the use of Streaming OpenAI Assistant agents, the minimum allowed Semantic Kernel pypi version is 1.11.0.
  • For the use of AzureAI and Bedrock agents, the minimum allowed Semantic Kernel pypi version is 1.21.0.
  • For the use of Crew.AI as a plugin, the minimum allowed Semantic Kernel pypi version is 1.21.1.

Source

Examples

The concept agents examples are grouped by prefix:

Prefix Description
assistant How to use agents based on the Open AI Assistant API.
autogen_conversable_agent How to use AutoGen 0.2 Conversable Agents within Semantic Kernel.
azure_ai_agent How to use an Azure AI Agent within Semantic Kernel.
chat_completion_agent How to use Semantic Kernel Chat Completion agents that leverage AI Connector Chat Completion APIs.
bedrock How to use AWS Bedrock agents in Semantic Kernel.
mixed_chat How to combine different agent types.
openai_assistant How to use OpenAI Assistants in Semantic Kernel.

Configuring the Kernel

Similar to the Semantic Kernel Python concept samples, it is necessary to configure the secrets and keys used by the kernel. See the follow "Configuring the Kernel" guide for more information.

Running Concept Samples

Concept samples can be run in an IDE or via the command line. After setting up the required api key or token authentication for your AI connector, the samples run without any extra command line arguments.