Skip to content
Agent Search Engine.

Agent Frameworks · Head-to-head

autogen vs langchain

autogen and langchain are both agent frameworks. autogen is A programming framework for agentic AI; upstream is in maintenance mode, while langchain is the agent engineering platform. Here's an independent, side-by-side look at how they compare — and which fits.

autogen

Framework· Open source

A programming framework for agentic AI; upstream is in maintenance mode.

Visit autogen →
langchain

Framework· Open source

The agent engineering platform.

Visit langchain →

Bottom line

autogen and langchain are both open-source agent frameworks you can self-host for free. langchain has wider GitHub adoption — 147k stars vs 61k. Neither is universally better — pick by fit.

Building one yourself? How to choose an agent framework →

Side by side

Specautogenlangchain
TypeFrameworkFramework
ModelOpen sourceOpen source
PricingOpen sourceOpen source
GitHub stars61,203147,201
LanguagePythonPython
LicenseCC-BY-4.0MIT
Last activityApr 2026Sep 2026

Key differences

  • langchain has wider GitHub adoption — 147k stars vs 61k.
  • Licensing differs: autogen is CC-BY-4.0, langchain is MIT.

Choose autogen if

Research-grade multi-agent conversation patterns backed by Microsoft.

Choose langchain if

Builders who want composable primitives and the broadest ecosystem of integrations for LLM applications.

About autogen

AutoGen is a framework for building multi-agent applications. Its README carries a maintenance notice: the project is in maintenance mode, will not receive new features or enhancements, and is community managed going forward, with new users directed to Microsoft Agent Framework and a published migration guide. The repository is not archived and its last commit was 2026-04-15.

Full autogen profile →

About langchain

The agent engineering platform.

Full langchain profile →

Frequently asked

What's the main difference between autogen and langchain?
langchain has wider GitHub adoption — 147k stars vs 61k.
Is autogen or langchain better?
Neither is universally better. autogen is the stronger fit for Research-grade multi-agent conversation patterns backed by Microsoft; langchain for Builders who want composable primitives and the broadest ecosystem of integrations for LLM applications. Use the side-by-side specs to decide by your own constraints.
Is autogen or langchain free?
autogen is free to run and self-host; langchain is free to run and self-host. Both are free to self-host — you only pay for the infrastructure and any model or API usage.
Which is more popular, autogen or langchain?
By GitHub stars — a proxy for open-source adoption — langchain is ahead (147k vs 61k). Stars measure attention, not necessarily the better fit for you.
For agent buildersMake your product part of the discovery.Explore advertising

More agent frameworks comparisons

All agent frameworks →