[Feature Proposal] Durable tool execution idempotency & retry middleware
Author: glatinoneCreated Jul 28, 2026Updated Sep 29, 2026
Labelsexternal
Feature Description
Long-running or retried graph executions re-invoke tools and duplicate side effects when workers restart or time out.
Proposed Solution
Introduce a first-class, opt-in idempotency layer (DurableClaimStore interface with In-Memory and SQLite implementations) that pre-claims a stable request key in durable storage before tool execution and returns cached results on retries, ensuring exactly-once semantics for tool side effects.
Source: langchain-ai/langgraph