Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

To install the LangChain package:
npm install langchain @langchain/core
# Requires Node.js 20+
LangChain provides integrations to hundreds of LLMs and thousands of other integrations. These live in independent provider packages.
# 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.
Now that you have LangChain installed, you can get started by following the Quickstart guide.