Alpha Notice: These docs cover the v1-alpha release. Content is incomplete and subject to change.For the latest stable version, see the current LangGraph Python or LangGraph JavaScript docs.
To install the base LangGraph package:
npm install @langchain/langgraph
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. You can install LangChain with:
npm install langchain
To work with specific LLM provider packages, you will need install them one by one. See the LLM integrations page for instructions on how to do that.