2025-01-16 16:05:21 +01:00
2025-01-15 21:03:59 +01:00
2025-01-16 16:05:21 +01:00
2025-01-15 19:39:14 +01:00
2025-01-16 16:05:21 +01:00
2025-01-16 16:04:36 +01:00
2025-01-14 04:36:57 +01:00

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.

S
Description
LangGraph.js CLI and in-memory server implementation
Readme MIT 2 MiB
Languages
TypeScript 98.1%
JavaScript 1.1%
Python 0.8%