LangChain reference

Welcome to the LangChain package reference documentation!

Most users will primarily interact with the main langchain package, which provides the complete set of implementations for building LLM applications. The packages below form the foundation of the LangChain ecosystem, each serving a specific purpose in the architecture:

  • langchain


    The main entrypoint containing all implementations you need for building applications with LLMs.

    Reference

  • langchain-core


    Core interfaces and abstractions used across the LangChain ecosystem.

    Reference

  • langchain-text-splitters


    Text splitting utilities for document processing.

    Reference

  • langchain-mcp-adapters


    Make MCP tools available in LangChain and LangGraph applications.

    Reference

  • langchain-tests


    Standard tests suite used to validate LangChain integration package implementations.

    Reference

  • langchain-classic


    Legacy langchain implementations and components.

    Reference

Integration Packages

Looking for integrations with specific providers and services? Check out the integrations reference for packages that connect with popular LLM providers, vector stores, tools, and other services.