langgraph-subgraphs

Installation
SKILL.md

LangGraph Subgraphs

Compose modular, reusable workflow components with nested graphs.

Two Primary Patterns

Pattern 1: Invoke from Node (Different Schemas)

Use when subgraph needs completely isolated state.

from langgraph.graph import StateGraph, START, END

# Parent state
class ParentState(TypedDict):
    query: str
    analysis_result: dict

# Subgraph state (completely different)
Related skills

More from yonatangross/orchestkit

Installs
6
GitHub Stars
170
First Seen
Feb 6, 2026