Agent skill · Design & Presentation

langgraph-state-graph

LangGraph StateGraph builder with state schema design. Create stateful agent workflows with cycles, conditionals, and persistence.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill langgraph-state-graph --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Allowed tools: ReadGrepWriteEditBashGlobWebFetch
Path: library/specializations/ai-agents-conversational/skills/langgraph-state-graph/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Overview
  2. Capabilities
  3. State Schema Design
  4. Graph Construction
  5. Persistence & Checkpointing
  6. Human-in-the-Loop
  7. Usage
  8. Basic StateGraph Pattern
  9. Conditional Routing
  10. Persistence with Checkpointing
  11. Task Definition
  12. Applicable Processes
  13. External Dependencies
  14. References
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
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.

Keep going