Langgraph Fundamentals
INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.
- Type
- Skill
- Author
- langchain-ai
- Category
- AI Agents
- GitHub stars
- 1.3K
- Installs
- 18.1K
- Last updated
- October 29, 2026
Install
npx skills add https://github.com/langchain-ai/langchain-skills --skill langgraph-fundamentalsUse cases
- Generate a StateGraph with nodes and edges instead of guessing the LangGraph API.
- Wire Command and Send into a graph that routes work between steps.
- Add streaming and error handling to a graph before running it.
Frequently Asked Questions
When should this skill be invoked?
The description says to invoke it when writing any LangGraph code, so graph construction follows the framework's real API.
Which LangGraph concepts does it cover?
StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.
Does it cover running a graph, or only building one?
Both — it covers graph construction as well as runtime calls such as invoke and streaming.
About this skill
A reference skill covering the core LangGraph building blocks: StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling. It is meant to be loaded whenever an agent is about to write LangGraph code, so the generated graph follows the framework's actual API instead of guessed patterns. Covers both graph construction and the runtime calls.
Summary written with AI assistance from the project's public description.
More from langchain-ai
Deep Agents Memory
INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent),...
by langchain-ai
Langgraph Persistence
INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer sc...
by langchain-ai
Langchain Rag
INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embedding...
by langchain-ai
Langchain Fundamentals
Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.
by langchain-ai
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh