Skip to main content
All terms
Frameworks & Tools

LangChain

An open-source framework of building blocks for LLM applications, RAG, and agents.

Definition

LangChain is an open-source framework that provides modular building blocks for LLM applications — prompt templates, chains, tool integrations, memory, and retrieval. It abstracts common patterns like retrieval-augmented generation and multi-step agent loops, letting developers wire together components from different providers with little boilerplate. It helped popularize the patterns behind RAG and agents.