@moldea.ai/adapter-langgraph
v3.0.3
Published
Deterministic runtime evidence and diagnostics for LangGraph TypeScript workflows.
Readme
@moldea.ai/adapter-langgraph
Deterministic runtime evidence and diagnostics for LangGraph TypeScript Graph API and Functional API workflows declared by moldea agents.
Installation
pnpm add @moldea.ai/adapter-langgraph @moldea.ai/core @moldea.ai/repositoryThe package exports one immutable adapter:
import { langGraphAdapter } from '@moldea.ai/adapter-langgraph';
import { createCore } from '@moldea.ai/core';
const core = createCore({ adapters: [langGraphAdapter] });Verified targets
Version 3.0.3 supports Repository Format 1, @moldea.ai/core ^4.0.0, and declared ranges that intersect @langchain/langgraph >=1.4.12 with companion @langchain/core >=1.2.9. Those minimum versions are verified. Later stable releases are eligible for deterministic inspection on a best-effort basis and must still match the documented source patterns. Qualification evidence records the exact package versions and date used for each execution. The targets recognize:
- directly exported compiled
StateGraphdefinitions using supported inline fluent or single-owner module-local builders - closed modern Graph API schema initialization and direct input/output schema wiring
- supported node, direct-edge, waiting-edge, and conditional-edge operations
- directly exported Functional API
entrypoint(...)definitions - direct task, interrupt, previous-state, and final-state patterns in an entrypoint's own lexical body
The adapter reads source through the Repository contract. It does not execute LangGraph, import inspected modules, inspect lockfiles or installed packages, contact LangSmith or model providers, or write to the repository.
Public API
The package exports only langGraphAdapter. It has no default export, configuration factory, LangGraph facade, parser export, or public diagnostic registry.
Documentation
- Complete binding example: manifest, canonical instructions, runtime source, and supported schema or routing relationships.
These guides are included in the installed package. Open only the page relevant to your task.
