Back to all tools
Open Source
Tool Comparison

DSPy
Programming — not prompting — LLMs with auto-optimized, declarative modules.
VS
At a Glance
| Attribute | DSPy | Semantic Kernel |
|---|---|---|
| License / Pricing | Open Source | Open Source |
| Type | ai | ai |
| GitHub Stars | — | — |
| Rating | 4.3/5 | 4.2/5 |
| Key Features | 6 listed | 6 listed |
| Integrations | 5 listed | 5 listed |
| Categories | AI Agents | AI Agents |
Key Features
DSPy
- Declarative signatures instead of brittle prompt strings
- Automatic prompt optimization with teleprompters
- Built-in evaluation and metric-driven tuning
- Supports any LLM via OpenAI-compatible API
- ChainOfThought, ReAct, and MultiChainComparison modules
- Compiled programs that generalize across LLM versions
Semantic Kernel
- 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 Use Cases
DSPy
Build a reliable multi-hop QA system
Define a Signature: 'question -> answer' with context field
Semantic Kernel
Add AI to a .NET enterprise application
Add the Microsoft.SemanticKernel NuGet package
Integrations
DSPy
openaianthropicollamalangchainweaviate
Semantic Kernel
openaianthropicazure-devopslangchainpinecone
🏆 Which should you choose?
Choose DSPy if…
- → you're already in the AI Agents ecosystem and prefer DSPy's workflow
Choose Semantic Kernel if…
- → you're already in the AI Agents ecosystem and prefer Semantic Kernel's workflow
