CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-langchain--langgraph

Low-level orchestration framework for building stateful, multi-actor applications with LLMs

Overview
Eval results
Files

persistence-api.mddocs/api/

Persistence API

Checkpoints, stores, and caching for state persistence.

MemorySaver

In-memory checkpoint storage.

class MemorySaver extends BaseCheckpointSaver {
  constructor();

  put(
    config: RunnableConfig,
    checkpoint: Checkpoint,
    metadata: CheckpointMetadata
  ): Promise<RunnableConfig>;

  getTuple(config: RunnableConfig): Promise<CheckpointTuple | undefined>;

  list(
    config: RunnableConfig,
    options?: CheckpointListOptions
  ): AsyncIterableIterator<CheckpointTuple>;
}

BaseCheckpointSaver

Abstract checkpoint saver interface.

abstract class BaseCheckpointSaver {
  abstract put(
    config: RunnableConfig,
    checkpoint: Checkpoint,
    metadata: CheckpointMetadata
  ): Promise<RunnableConfig>;

  abstract getTuple(
    config: RunnableConfig
  ): Promise<CheckpointTuple | undefined>;

  abstract list(
    config: RunnableConfig,
    options?: CheckpointListOptions
  ): AsyncIterableIterator<CheckpointTuple>;
}

InMemoryStore

Long-term memory storage.

class InMemoryStore extends BaseStore {
  get(namespace: NameSpacePath, key: string): Promise<Item | null>;
  put(namespace: NameSpacePath, key: string, value: unknown): Promise<void>;
  delete(namespace: NameSpacePath, key: string): Promise<void>;
  search(namespace: NameSpacePath, options?: SearchOptions): AsyncIterableIterator<Item>;
}

type NameSpacePath = string[];

See: Checkpointing Guide for persistence patterns.

Install with Tessl CLI

npx tessl i tessl/npm-langchain--langgraph@1.0.1

docs

api

channels.md

control-flow-api.md

execution-api.md

functional-api.md

graph-api.md

graph-construction-full.md

imports.md

persistence-api.md

persistence-full.md

prebuilt.md

remote.md

state-management.md

types.md

zod.md

index.md

tile.json