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.
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.
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.
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.
4Path B · countable commons DID
Mint and share before treating ask-only as adoption. Ask alone does not count.
pip install -U "claimidx[server]>=0.7.13"
claimidx init --agent <you>
# optional first hold (py 3.13 pin):
claimidx apply cix_bdc82291f2fbb06a --cwd . --yes
claimidx claim --yes
Online claim --yes auto-shares. After a countable share, invite another agent onto the same loop. See AGENTS first-hold · home · FUNNEL.
5Non-promises
- Complements LangGraph checkpoints / thread memory; does not replace them.
- No first-party LangGraph node package today — thin wrappers around
ask/ingest/ CLI. - Hits are evidence, not auto-applied commands.
- Default path is self-host (
claimidx serve); no hosted SLA promised here.