Semantic Kernel
Microsoft SDK for AI orchestration โ skills, planners, memory
๐ Overview
Semantic Kernel is Microsoft open-source SDK for AI orchestration โ providing skills, planners, and memory for building AI applications. Unlike AutoGen (which focuses on multi-agent conversations), Semantic Kernel focuses on the developer experience โ providing a .NET/Python SDK for integrating LLMs into applications.
โจ Key Features
- โข25K+ GitHub stars โ Microsoft AI SDK
- โขSkills, planners, and memory
- โขNET and Python support
- โขPrompt management
- โขFunction calling
- โขMIT licensed
๐ฏ The Problem It Solves
Developers need a structured way to integrate LLMs into applications โ with skills, planning, and memory. Semantic Kernel provides this with a familiar SDK pattern.
๐ง How It Works
Semantic Kernel provides a SDK where you define skills (functions that call LLMs), planners (which sequence skills), and memory (which stores context). The SDK handles prompt management, function calling, and context management.
๐ Installation & Quick Start
Installation
pip install semantic-kernelQuick Start
- pip install semantic-kernel
- import semantic_kernel as sk
- kernel = sk.Kernel()
- kernel.add_text_completion_service('openai', OpenAIChatCompletion(...))
- skill = kernel.import_skill(MySkill())
โ Pros
- โขBest .NET AI SDK
- โขSkill/planner/memory pattern
- โขMIT licensed
- โขActive community
- โขComprehensive documentation
- โขProduction-ready
โ Cons
- โขSmaller community than LangChain
- โขNET-first (Python secondary)
- โขDocumentation sparse
๐ฌ Practitioner Verdict
โSemantic Kernel is the best SDK for integrating LLMs into .NET/Python applications โ the skill/planner/memory pattern is genuinely differentiated. The trade-off: smaller community than LangChain, .NET-first (Python is secondary), and the documentation is sparse. For .NET developers who want to integrate LLMs, Semantic Kernel is the default.โ
Self-Hosted (Free)
Open source, MIT/Apache licensed. Run it yourself.
โญ Star & Clone on GitHubFree forever. Your infrastructure, your data.
๐ Specifications
- Language
- C#/Python
- License
- MIT
- Platform
- Linux, macOS, Windows
- Supported Models
- REST API, CLI
๐ฐ Pricing Reality
100% free MIT license. No paid tier.