Skip to main content
To install the LangChain package:
npm install langchain @langchain/core
LangChain provides integrations to hundreds of LLMs and thousands of other integrations. These live in independent provider packages. For example:
# Installing the OpenAI integration
npm install @langchain/openai
# Installing the Anthropic integration
npm install @langchain/anthropic
See the Integrations tab for a full list of available integrations.

Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.
I