Skip to main content
To install the LangChain package:
pip install -U langchain
# Requires Python 3.10+
LangChain provides integrations to hundreds of LLMs and thousands of other integrations. These live in independent provider packages.
# Installing the OpenAI integration
pip install -U langchain-openai

# Installing the Anthropic integration
pip install -U 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.