AutoGen vs LangChain
AutoGen and LangChain are both agent frameworks for Python. AutoGen is published by Microsoft and LangChain by LangChain. On GitHub, LangChain has 148,371 stars and AutoGen has 61,549. Both were last active in Oct 2026. The table lines up where they differ (publisher, license and weekly downloads) and has the install commands for both. Everything here comes from the listings' public sources and is refreshed daily. AutoGen describes itself as: Archived Microsoft Python framework for multi-agent apps; Microsoft directs new users to Microsoft Agent Framework. LangChain: Python framework of interoperable components and integrations for building agents and LLM apps, with LangGraph and Deep Agents layered above it. Licenses: AutoGen CC-BY-4.0, LangChain MIT.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
AutoGen
Microsoft
Archived Microsoft Python framework for multi-agent apps; Microsoft directs new users to Microsoft Agent Framework.
LangChain
LangChain
Python framework of interoperable components and integrations for building agents and LLM apps, with LangGraph and Deep Agents layered above it.
Who should pick which
- Pick AutoGen if you need several agents working together.
- Pick LangChain if you want a stable release (AutoGen is marked experimental).
- LangChain has the larger community: 148,371 GitHub stars against 61,549.
From listing data only. We don't pick a winner on security beyond the grades; read how grades work.
Side by side
| Fact | AutoGen | LangChain |
|---|---|---|
| Type | Harness | Harness |
| Publisher | Microsoft | LangChain |
| License | CC-BY-4.0 | 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 | 61,549 | 148,371 |
| Weekly downloads | 88,975 | 37,334,710 |
| Last release | Sep 30, 2025 | Oct 22, 2026 |
| Last activity | Oct 16, 2026 | Oct 24, 2026 |
Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.
Install
AutoGen
pip install autogen-agentchat
LangChain
pip install langchain
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 AutoGen or LangChain more popular?
- LangChain has more GitHub stars (148,371 against 61,549). Stars measure attention, not quality, so check freshness and docs too.
- Are AutoGen and LangChain open source?
- Yes: AutoGen is CC-BY-4.0 and LangChain is MIT.
Related
- AlternativesAlternatives to LangChain
- Best ofBest agent frameworks for Python
- Best ofBest agent frameworks for building AI agents
- ComparisonAutoGen vs LlamaIndex
- ComparisonAutoGen vs Strands Agents
- ComparisonAutoGen vs GitHub Copilot SDK
- ComparisonLangChain vs Strands Agents
- ComparisonGitHub Copilot SDK vs LangChain
- ComparisonGenkit vs LangChain
Cite this page
AutoGen vs LangChain. Agent Mart. https://agentmart.dev/compare/autogen-vs-langchain (last updated 2026-10-26)