Back to all tools

Semantic Kernel
Microsoft's enterprise AI SDK — orchestrate LLMs in Python, C#, and Java.
0Open Source
AI Agents
Overview
Semantic Kernel is Microsoft's open-source SDK for integrating LLMs into enterprise applications, with support for Python, C#, and Java and first-class Azure OpenAI integration.
Key Features
- Plugins — wrap functions as AI-callable tools
- Planner for autonomous goal decomposition
- Memory store with vector DB integrations
- Multi-LLM support: Azure OpenAI, OpenAI, Mistral, Ollama
- Available in Python, C#, and Java
- Native integration with Microsoft 365 and Azure
Real-World Workflows
Add AI to a .NET enterprise application
- 1Add the Microsoft.SemanticKernel NuGet package
- 2Configure Azure OpenAI credentials
- 3Define plugins from existing C# functions with [KernelFunction] attribute
- 4Use the Kernel to invoke functions via natural language
Getting Started
pip install semantic-kernel
import asyncio
from semantic_kernel import Kernel
from semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion
kernel = Kernel()
kernel.add_service(OpenAIChatCompletion(ai_model_id='gpt-4o'))
result = asyncio.run(kernel.invoke_prompt('What is 2+2?'))
print(result)Compare Alternatives
See how Semantic Kernel stacks up against similar tools.