LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.
Overview
LangChain is an agent engineering platform and a framework for building agents and LLM-powered applications. It chains together interoperable components and third-party integrations so teams can assemble AI applications while swapping underlying models when needs change.
The framework connects language models to varied data sources and systems through integrations with model providers, tools, vector stores, and retrievers. Its modular, component-based layout supports quick prototypes and finer-grained control through different abstraction levels, from high-level chains to lower-level building blocks.
Related packages in the ecosystem include Deep Agents for planning and subagents, LangGraph for controllable agent workflows, and LangChain.js for JavaScript and TypeScript. Documentation, API reference, and community forums support learning and feedback.
Teams can use LangChain on its own or alongside LangChain products such as LangSmith for debugging, evaluation, and deployment.
Key features
- Interoperable LLM and tool components
- Model and provider swap support
- Vector store and retriever integrations
- Modular component-based architecture
- Deep Agents and LangGraph companions
- LangChain.js for TypeScript builds
- Data source and system connectors
- LangSmith integration options
Use cases
- Prototyping LLM-powered applications
- Building multi-step agent workflows
- Connecting models to custom data sources
- Experimenting with different model providers