langgraph-fundamentals

Design and orchestrate LangGraph agent graphs with stateful nodes and conditional routing.

Updated May 25, 2026
One-click install
npx skills add https://github.com/lguibr/fh --skill langgraph-fundamentals-lguibr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langgraph-fundamentals
Source: https://github.com/lguibr/fh/tree/main/.agents/skills/langgraph-fundamentals
Command: npx skills add https://github.com/lguibr/fh --skill langgraph-fundamentals-lguibr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LangGraph fundamentals help developers design and orchestrate directed graphs of stateful workflows using LangGraph’s StateGraph, Nodes, Edges, and Command constructs.

Core Features & Use Cases

  • Provides patterns for building stateful graphs, including START/END nodes, reducers, and conditional routing.
  • Illustrates node signatures, edge types, and Send/Command patterns to model complex agent workflows.
  • Use cases include end-to-end workflow orchestration, error handling strategies, and streaming/incremental state updates.

Quick Start

Create a minimal LangGraph with two nodes, wire them from START to END, compile, and invoke it to validate orchestration.

Frequently Asked Questions about langgraph-fundamentals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build stateful agent graphs with LangGraph?

Conditional routing in LangGraph is implemented using conditional edges within the StateGraph. You define edge types and routing logic to direct workflow execution between nodes based on current state, enabling dynamic agent workflow orchestration.

How does conditional routing work in LangGraph workflows?

Conditional routing in LangGraph is implemented using conditional edges within the StateGraph. You define edge types and routing logic to direct workflow execution between nodes based on current state, enabling dynamic agent workflow orchestration.

Can I use LangGraph for error handling and streaming in Python and TypeScript?

Yes, LangGraph supports error handling strategies and streaming incremental state updates in both Python and TypeScript. You can model complex agent workflows using Send and Command patterns to manage runtime execution and error recovery.

What are LangGraph node signatures and Send patterns used for?

LangGraph node signatures and Send patterns are used to model complex agent workflows. They define how data flows between stateful nodes, allowing you to orchestrate directed graphs with precise control over state management and command execution.

When do I need to compile a LangGraph before invocation?

You need to compile a LangGraph before invocation to validate orchestration and prepare the runtime. Graph compilation transforms your StateGraph definition with nodes and edges into an executable runtime object that can process stateful workflow invocations.