LangChain
Framework for developing applications powered by large language models, agents and retrieval-augmented generation.
- Actively maintained
- Well documented
- Permissive license
Overview
LangChain is a framework for building LLM-powered applications and agents by chaining together interoperable components - chat models, embeddings, vector stores, retrievers, and third-party integrations - behind a standard interface, so you can swap providers as the underlying model landscape changes without rewriting application logic.
It's designed to scale from quick prototypes to more complex systems: start with LangChain's high-level abstractions, and move to lower-level components, or to companion tools like LangGraph (for building more controllable, stateful agent workflows) and LangSmith (for evaluating, debugging, and deploying LLM applications), as requirements grow. It's available for both Python and JavaScript/TypeScript.
LangChain is a fit for developers building retrieval-augmented, tool-using, or multi-step LLM applications who want a common set of abstractions and a large library of integrations, rather than writing glue code for each model or vector store from scratch.
Why it's in this catalog
Catalog rating: ★★★★☆ (4/5)
The most widely adopted LLM application framework; essential representative project despite category saturation.
- Foundational
- Vendor-backed
- Categories
- AI & Machine Learning
- Languages
- Python
- License
- MIT
Related Projects
Ollama
MITRun large language models locally with a simple command-line interface and API.
Actively maintained
- AI & Machine Learning
LlamaIndex
MITData framework for connecting large language models to your own data - documents, databases, APIs - for retrieval-augmented applications.
Actively maintained
- AI & Machine Learning
Haystack
Apache-2.0Open-source framework for building production-ready search and RAG (retrieval-augmented generation) applications with LLMs.
Actively maintained
- AI & Machine Learning
llama.cpp
MITHigh-performance C/C++ implementation for running LLM inference locally on consumer hardware, including CPUs, with minimal dependencies.
Actively maintained
- AI & Machine Learning
Spotted an error? Suggest an edit on GitHub.