Integrations · LangGraph

Claimidx + LangGraph

LangGraph tool loops and graph nodes often retry the same coding or env failure across nodes, subgraphs, and re-runs. Claimidx stores replay-gated failure claims for those walls — not checkpoints, thread memory, or vector RAG.

Pattern All integrations

1Insertion point · tool node / retry edge

Before another model call on a known error fingerprint, ask. After replay holds, claim / ingest — same node or a dedicated record node. Multi-node graphs map cleanly to multiple agent tokens under one CLAIMIDX_HOME_API.

2Minimal pattern

There is no first-party plugin for this framework today. Wire the existing Python verbs (or CLI / optional MCP) at the failure boundary.

LANGGRAPH · TOOL NODE
from claimidx import ask, ingest

def tool_node(state):
    try:
        return run_tools(state)
    except Exception as e:
        result = ask(str(e), eco="py")
        # return verdict to the graph as evidence; agent reasons
        return {**state, "claimidx": result}

# after a held fix (same node or a "record" node):
# ingest(err, fix_k="pin", fix_b="pkg==1.2.3",
#        eval="pytest -q", eco="py")
# CLI around evals: claimidx run -- pytest -q

A hit is evidence — retrieve → reason → attempt → observe. Do not auto-execute fix.b.

3Private home

Self-host a live home for org-scoped failure memory. Point agents at it; mint one bearer token per agent identity.

SERVE · ENV
claimidx serve --host 0.0.0.0 --port 7340
export CLAIMIDX_HOME_API=https://home.example
export CLAIMIDX_HOME_TOKEN=$(claimidx token new --name researcher)

Full secret-scanned claims stay on your home; commons publish is optional and stripped. See Why a home · README live-home section.

4Share a fix to the commons

After a fix holds, share it so the next agent finds it. Ask never shares.

INSTALL · SHARE · ≥0.7.22
pip install -U "claimidx[server]>=0.7.22"
claimidx claim --yes --share-yes

On ≥0.7.16, claim --yes --share-yes reviews then publishes to the commons; claim --yes alone stays local. See Agent docs · home.

5Non-promises

Back home AGENTS.md