Core component ecosystem
The diagram below shows how LangChain’s major components connect to form complete AI applications:How components connect
Each component layer builds on the previous ones:- Input processing – Transform raw data into structured documents
- Embedding & storage – Convert text into searchable vector representations
- Retrieval – Find relevant information based on user queries
- Generation – Use AI models to create responses, optionally with tools
- Orchestration – Coordinate everything through agents and memory systems
Component categories
LangChain organizes components into these main categories:Common patterns
RAG (Retrieval-Augmented generation)
Agent with tools
Multi-agent system
Learn more
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

