LangChain vs Semantic Kernel
LangChain and Semantic Kernel are both agent frameworks for Python. LangChain is published by LangChain and Semantic Kernel by Microsoft. On GitHub, LangChain has 148,371 stars and Semantic Kernel has 28,694. Both were last active in Oct 2026. The table lines up where they differ (publisher, weekly downloads, category and languages) and has the install commands for both. Everything here comes from the listings' public sources and is refreshed daily. LangChain describes itself as: Python framework of interoperable components and integrations for building agents and LLM apps, with LangGraph and Deep Agents layered above it. Semantic Kernel: Model-agnostic SDK for building agents and multi-agent systems in Python, .NET and Java; Microsoft names Agent Framework as its successor. Licenses: LangChain MIT, Semantic Kernel MIT.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
LangChain
LangChain
Python framework of interoperable components and integrations for building agents and LLM apps, with LangGraph and Deep Agents layered above it.
Semantic Kernel
Microsoft
Model-agnostic SDK for building agents and multi-agent systems in Python, .NET and Java; Microsoft names Agent Framework as its successor.
Who should pick which
- Pick Semantic Kernel if you work in C# and Java.
- Pick Semantic Kernel if you want MCP support built in.
- Pick Semantic Kernel if you need several agents working together.
- LangChain has the larger community: 148,371 GitHub stars against 28,694.
From listing data only. We don't pick a winner on security beyond the grades; read how grades work.
Side by side
| Fact | LangChain | Semantic Kernel |
|---|---|---|
| Type | Harness | Harness |
| Publisher | LangChain | Microsoft |
| License | MIT | MIT |
| Pricing | Not stated | Not stated |
| Runs | Not stated | Not stated |
| Auth | Not stated | Not stated |
| Hosts supported | Not stated | Not stated |
| Tools | Not listed yet | Not listed yet |
| Security grade | –Security: not graded yet | –Security: not graded yet |
| Freshness grade | AFreshness: A | AFreshness: A |
| GitHub stars | 148,371 | 28,694 |
| Weekly downloads | 37,334,710 | 77,490 |
| Last release | Oct 22, 2026 | Oct 6, 2026 |
| Last activity | Oct 24, 2026 | Oct 23, 2026 |
Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.
Install
LangChain
pip install langchain
Semantic Kernel
pip install semantic-kernel
Also consider
- 0.853score
LlamaIndex
LlamaIndex
Open-source Python toolkit for RAG and agents over your own data, with event-driven workflows and 300+ integration packages.
HarnessAFreshness: A★ 52.6K↓ 1.4M/wk - 0.851score
Strands Agents
AWS
Open-source Python and TypeScript SDK for model-driven agents, with tools, MCP, multi-agent patterns and streaming.
HarnessAFreshness: A★ 8.9K↓ 8.9M/wk - 0.841score
GitHub Copilot SDK
GitHub
Multi-language SDKs for embedding the GitHub Copilot agent runtime, with planning, tool calls and file edits, in your apps.
HarnessAFreshness: A★ 10.6K↓ 1.2M/wk
Questions
- Is LangChain or Semantic Kernel more popular?
- LangChain has more GitHub stars (148,371 against 28,694). Stars measure attention, not quality, so check freshness and docs too.
- Are LangChain and Semantic Kernel open source?
- Yes: LangChain is MIT and Semantic Kernel is MIT.
Related
- AlternativesAlternatives to LangChain
- AlternativesAlternatives to Semantic Kernel
- Best ofBest agent frameworks for Python
- Best ofBest agent frameworks for building AI agents
- Best ofBest agent frameworks for Java
- ComparisonLangChain vs Strands Agents
- ComparisonGitHub Copilot SDK vs LangChain
- ComparisonGenkit vs LangChain
- ComparisonAutoGen vs Semantic Kernel
- ComparisonCrewAI vs Semantic Kernel
Cite this page
LangChain vs Semantic Kernel. Agent Mart. https://agentmart.dev/compare/langchain-vs-semantic-kernel (last updated 2026-10-26)