langgraph
Installation
SKILL.md
LangGraph Workflow Patterns
Comprehensive patterns for building production LangGraph workflows. LangGraph 1.x is LTS (Long Term Support) — the first stable major release, powering agents at Uber, LinkedIn, and Klarna. Each category has individual rule files in rules/ loaded on-demand.
LangGraph 1.2 (Q1 2026) — new in this bump:
- Deferred nodes (
defer=Trueonadd_node) — the node runs only after all other upstream nodes have completed, so its execution is deferred until the run is about to end. This makes "aggregate once everyone else is done" patterns a one-liner instead of a custom reducer.- Model middleware (
before_model/after_model) oncreate_agent(...)(fromlangchain.agents) — inject compression, summarization, or PII redaction without subclassing. Note: the legacypre_model_hook/post_model_hookparams only existed on the now-deprecatedcreate_react_agent; the current equivalent is middleware oncreate_agent.- Node-level caching via
CachePolicy(ttl=..., key_func=...)withSqliteCacheandRedisCachebackends (pluggable viagraph.compile(cache=...)). Idempotent nodes skip recomputation on replay.