LangGraph Subgraph Composition
Master LangGraph 1.0 subgraph composition with explicit state propagation, callback scoping, and recursive budget management.
This skill provides expert guidance for nesting LangGraph 1.0 agents and subgraphs within complex Python AI workflows. It specifically addresses critical architectural challenges such as silent state loss across graph boundaries (P21), callback inheritance failures (P28), and recursion limit overflows (P55). By following these patterns, developers can reliably implement hierarchical agent teams, planner-executor architectures, and modular subgraph libraries while ensuring full observability and isolated testability.
主な機能
01Correct callback scoping for end-to-end tracing visibility
02Per-subgraph recursion budget management
03Isolated subgraph unit testing patterns
04Multi-pattern dispatching via Subgraph-as-a-Node, Send, and Command
05Explicit state-key propagation and TypedDict synchronization
062,357 GitHub stars
ユースケース
01Building hierarchical agent teams with supervisors and specialists
02Implementing complex Planner-Executor loops with sub-task isolation
03Developing modular, reusable subgraph libraries for enterprise AI