langgraph-routing

Solid

Conditional edge routing and state-based transitions for LangGraph workflows

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
51
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# LangGraph Routing Skill ## Capabilities - Design conditional edge routing in LangGraph - Implement state-based transition logic - Create dynamic routing functions - Handle multi-path workflow branches - Implement router nodes for complex decisions - Design fallback and error routing paths ## Target Processes - langgraph-workflow-design - plan-and-execute-agent ## Implementation Details ### Routing Patterns 1. **Conditional Edges**: add_conditional_edges with routing functions 2. **Router Nodes**: Dedicated nodes for routing decisions 3. **State-Based Routing**: Routing based on state values 4. **LLM-Based Routing**: Using LLM to determine next node ### Configuration Options - Routing function definitions - Path mapping configurations - Default/fallback routes - Cycle detection settings - Max iteration limits ### Best Practices - Clear routing logic documentation - Handle all possible states - Implement fallback paths - Avoid infinite cycles - Use descriptive edge names ### Dependencies - langgraph

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills