Skip to main content
To install the base LangGraph package:
npm install @langchain/langgraph @langchain/core
pnpm add @langchain/langgraph @langchain/core
yarn add @langchain/langgraph @langchain/core
bun add @langchain/langgraph @langchain/core
To use LangGraph you will usually want to access LLMs and define tools. You can do this however you see fit. One way to do this (which we will use in the docs) is to use LangChain. Install LangChain with:
npm install langchain
pnpm add langchain
yarn add langchain
bun add langchain
To work with specific LLM provider packages, you will need install them separately. Refer to the integrations page for provider-specific installation instructions.