What it is
LangChain is the most popular framework for building LLM applications: prompts, models, tools, memory and retrieval become standardized, composable modules, so developers do not rebuild RAG apps and agents from scratch. The ecosystem also includes LangGraph for complex agent orchestration and LangSmith for debugging and monitoring, covering the full path from prototype to production.
Highlights
- The richest component ecosystem, with integrations for mainstream models and vector stores
- LangGraph supports stateful, complex agent flows
- LangSmith provides tracing and evaluation—essential in production
- MIT licensed, with both Python and JavaScript versions
How to use
Install langchain plus the relevant model package in Python to get started. New projects should learn LangGraph’s graph-based orchestration; the older chain API suits simple cases. It has the most documentation and tutorials of any framework, so answers to common pitfalls are easy to find.
Notes
The framework evolves quickly and APIs change relatively often—pin versions in production. Simple needs do not require the full stack; import only the modules you use.