autogen vs langchain
autogen is an open-source agent framework for multi-agent frameworks. langchain is an open-source agent framework for ai models and llm tooling.
- langchain has more GitHub stars (149,722 vs 61,876).
- autogen is best for study how an earlier multi-agent framework was designed.
- langchain is best for build a tool-calling assistant in a few lines of python.
- What it is
- autogen is an open-source agent framework for multi-agent frameworks.langchain is an open-source agent framework for ai models and llm tooling.
- Best for
- Study how an earlier multi-agent framework was designedBuild a tool-calling assistant in a few lines of Python
- Kind
- AgentAgent
- Pricing
- Open sourceOpen source
- Platforms
- CLI, APICLI, API
- Agent type
- Agent frameworkAgent framework
- GitHub stars
- 61.9K150K
- Last commit
- Nov 2026Nov 2026
- License
- CC-BY-4.0MIT
- Open source
- Good for
- Study how an earlier multi-agent framework was designed; Migrate an existing AutoGen project to Microsoft Agent Framework; Prototype multi-agent experiments in a research settingBuild a tool-calling assistant in a few lines of Python; Switch the same agent between model providers; Add tracing and evaluation to a production agent
What autogen does
Multi-agent framework
Build applications where several agents cooperate or work with people.
AgentChat package
Higher-level chat-style API installed as autogen-agentchat.
Extensions
autogen-ext adds model clients such as OpenAI.
Migration guide
Docs point to moving to Microsoft Agent Framework.
What langchain does
create_agent harness
Minimal function for assembling an agent.
Provider extras
Install support for OpenAI, Google GenAI, Anthropic or OpenRouter models.
Tool calling
Plain Python functions can be passed as tools.
Middleware
Customise agent behaviour around the model loop.
LangSmith integration
Tracing, evaluation and debugging through a separate service.
autogen vs langchain: questions
Is autogen or langchain cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between autogen and langchain?
autogen is an open-source agent framework for multi-agent frameworks. langchain is an open-source agent framework for ai models and llm tooling. langchain has more GitHub stars (149,722 vs 61,876).

