Chat UIs, RAG & agentsMITPython

LangChain

The most widely used framework for building LLM applications.

Stars
147.8K
Forks
24.8K
Open issues
647
Last commit
2026-10-15

Live from the GitHub API · updated 2026-10-15

What is LangChain?

LangChain provides standard interfaces for models, retrievers, tools and agents, plus hundreds of integrations. LangGraph, its companion library, adds stateful agent orchestration.

Key features

  • Unified model and tool interfaces
  • Hundreds of integrations
  • Agents via LangGraph
  • Python and JavaScript versions

System requirements

Platforms
Windows · macOS · Linux
Python
3.9+

How to install LangChain

Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.

pip

  1. 1
    Install the core package and a provider integration.
    pip install -U langchain langchain-openai

Strengths

  • Largest ecosystem
  • Good for prototyping fast

Limitations

  • Abstractions can feel heavy

LangChain alternatives compared

SoftwareStarsLicensePlatformsVRAM
LangChain

The most widely used framework for building LLM applications.

147.8KMIT—
LlamaIndex

Data framework for connecting LLMs to your documents.

52.5KMIT—
CrewAI

Python framework for orchestrating role-playing, collaborative AI agents.

59.7KMIT—
AutoGen

Microsoft’s framework for building multi-agent AI applications.

61.4KCC-BY-4.0—
Open WebUI

Self-hosted ChatGPT-style interface for Ollama and OpenAI-compatible APIs.

155.7KOpen WebUI License (BSD-3-Clause based)—
LibreChat

Open-source ChatGPT clone supporting every major AI provider.

45.7KMIT—

FAQ

Is LangChain free?

Yes — LangChain is open-source software released under the MIT license. Check the license (and any model weight licenses) before commercial use.

Does LangChain run on Windows, Mac and Linux?

LangChain supports: Windows, macOS, Linux.

How do I install LangChain?

1. Install the core package and a provider integration.

What are the best LangChain alternatives?

Popular alternatives include LlamaIndex, CrewAI, AutoGen, Open WebUI. See the comparison table on this page.