langgraph-state-graph
LangGraph StateGraph builder with state schema design. Create stateful agent workflows with cycles, conditionals, and persistence.
npx skills add a5c-ai/babysitter --skill langgraph-state-graph --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# langgraph-state-graph Build stateful agent workflows using LangGraph's StateGraph pattern. Design state schemas, create nodes, define edges with conditional routing, and enable persistence. ## Overview LangGraph is a library for building stateful, multi-actor applications with LLMs. The StateGraph is the core abstraction that enables: - Cyclical computation graphs (unlike DAGs) - State persistence and checkpointing - Human-in-the-loop interaction patterns - Conditional branching and routing - Multi-agent coordination ## Capabilities ### State Schema Design - Define typed state schemas with TypedDict or Pydantic - Configure state channels for message passing - Set up reducer functions for state updates - Design accumulator patterns for conversation history ### Graph Construction - Create nodes as functions or runnables - Define edges (normal, conditional, entry points) - Configure start and end nodes - Implement routing logic for conditional edges ### Persistence & Checkpointing - Configure checkpoint backends (SQLite, PostgreSQL, Redis) - Enable state snapshots at each step - Support for resuming interrupted workflows - Thread-based conversation persistence ### Human-in-the-Loop
- Overview
- Capabilities
- State Schema Design
- Graph Construction
- Persistence & Checkpointing
- Human-in-the-Loop
- Usage
- Basic StateGraph Pattern
- Conditional Routing
- Persistence with Checkpointing
- Task Definition
- Applicable Processes
- External Dependencies
- References
What does the langgraph-state-graph skill do?
LangGraph StateGraph builder with state schema design. Create stateful agent workflows with cycles, conditionals, and persistence.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill langgraph-state-graph --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
