mirror of
https://github.com/langchain-ai/langgraphjs-api.git
synced 2026-07-21 00:35:21 -04:00
2bdc6192c8330f6fc052d5dab23c01b08c260ddf
LangGraph.js API
This package implements the LangGraph API for rapid development and testing. Build and iterate on LangGraph.js agents with a tight feedback loop. The server is backed by a predominently in-memory data store that is persisted to local disk.
For production use, see the various deployment options for the LangGraph API, which are backed by a production-grade database.
Installation
Install the @langchain/langgraph-api package via your package manager of choice.
npm install @langchain/langgraph-api
Usage
Start the development server:
npm run langgraph dev
Your agent's state (threads, runs, assistants, store) persists in memory while the server is running - perfect for development and testing. Each run's state is tracked and can be inspected, making it easy to debug and improve your agent's behavior.
Description
Languages
TypeScript
98.1%
JavaScript
1.1%
Python
0.8%