integrations

LangGraph Integration

State graph locking with Klock.

While LangChain's @klock_protected works immediately at the Tool level, LangGraph allows you to operate state machines where concurrency happens at the Node level.

Status: Use klock-langchain today

The dedicated klock-langgraph adapter does not exist yet as a separate package.

The goal for LangGraph is to provide a dedicated Node Interceptor. Instead of locking single files, Klock will lock segments of the State dictionary representing your graph's specific transitions, using the StateGraph compilation cycle.

If your LangGraph nodes call tools, you can use the shipping @klock_protected decorator from klock-langchain right now and get tool-level protection immediately.