- Install the LangGraph CLI.
npx @langchain/langgraph-cli- Create a
.envfile. While this starter app does not require any secrets, if you later decide to connect to LLM providers and other integrations, you will likely need to provide API keys.
cp .env.example .env- Install dependencies
npm install
- Start the LangGraph Server.
npm start
npx @langchain/langgraph-cli dev