Backend
627 installs
langgraph-fundamentals
by langchain-ai/langchain-skills
INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.
Skill content
- StateGraph: Main class for building stateful graphs - Nodes: Functions that perform work and update state - Edges: Define execution order (static or conditional) - START/END: Special nodes marking entry and exit points - State with Reducers: Control how state updates are merged Graphs must be compile()d before execution. Designing a LangGraph application Follow these 5 steps when building a new graph: