LangGraph models agent workflows as directed graphs. You use a StateGraph to build stateful graphs. Nodes are functions that do work and update state. Edges define the order of execution. State uses reducers to control how updates merge. Graphs must be compiled before running.
When designing a new graph, follow five steps. First, map out the steps of your workflow. Each step becomes a node. Second, decide what each step does. Third, design your state as shared memory for all nodes. Fourth, build your nodes as functions. Fifth, connect nodes with edges and conditional routing. Compile with a checkpointer if needed.
Use LangGraph when you need fine control over agent orchestration. It works well for complex workflows with branching and loops. It also supports human in the loop and persistence. For quick prototyping, use simpler alternatives.
Global
mkdir -p ~/.claude/skills/langgraph-fundamentalsProject
mkdir -p .claude/skills/langgraph-fundamentalsSource Repository
Find Skillsvercel-labs/skills
Find and install the perfect skill to extend your AI agent
Microsoft Foundrymicrosoft/azure-skills
Build, deploy, and improve AI agents on Microsoft Foundry from start to finish
Azure Aimicrosoft/azure-skills
Search, transcribe, and analyze with Azure AI tools for smarter apps
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Build, deploy, and manage your Copilot SDK apps on Azure with ease
Triagemattpocock/skills
Triage issues with a state machine driven by clear roles and agent briefs
Handoffmattpocock/skills
Hand off your work to another AI agent with a clear summary
Image Editagentspace-so/runcomfy-agent-skills
Smart router picks the best AI model for your image editing needs
Agentspaceagentspace-so/skills
See your AI agent's live folder from any browser instantly