Framework to compose LLM apps: prompt | model | parser as LCEL Runnables
A toolbox of pre-built pieces — loaders, splitters, retrievers, model wrappers — so you don't write the same plumbing for the fifth time.
It gets you to a working prototype fast; knowing where to stop using it is the production skill.
LangChain is the most widely used framework for building applications on top of LLMs. Its core idea is composition: small pieces (a prompt template, a chat model, an output parser) are wired together with LCEL, the pipe (|) syntax, into a single Runnable you can invoke, stream, or batch. On top of that base you layer retrieval (RAG), tools and agents, and memory, all backed by a huge ecosystem of integrations.
LangChain is a framework for LLM apps built around composition. You express a pipeline as prompt | model | parser using LCEL, and the whole thing becomes a Runnable with invoke, stream, and batch built in. From there you add retrieval for RAG, give the model tools to build agents, and swap any component thanks to its large integration ecosystem.
What is LangChain? — IBM Technology, 8:07