langgraph
Skill424 starsChanged 3 months agoMITView on GitHub
Build stateful, durable agent workflows with LangGraph. Use when you need custom graph-based control flow, human-in-the-loop, persistence, or multi-agent orchestration.
- Installs packages
6 other projects use a version of this.
Adopted by
Most recently taken up by
- magnus919/agent-skillstheir own version, first seen Jul 21, 2026
- smit-faldu/cloudedashtheir own version, first seen Jun 24, 2026
- Fandry96/k3-agentic-skillstheir own version, first seen May 12, 2026
- ai4brands-design/claude-skillstheir own version, first seen Mar 22, 2026
- jcsaaddupuy/badrobotstheir own version, first seen Feb 26, 2026
- xfstudio/skillstheir own version, first seen Jan 22, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- magnus919/agent-skills★ 109same name
- Fandry96/k3-agentic-skills★ 27same name
- xfstudio/skills★ 9same name
- ai4brands-design/claude-skills★ 2same name
- jcsaaddupuy/badrobots★ 1same name
- smit-faldu/cloudedash★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/docs-style.mdcCursor rule
- add-docs-pageSkill
- docs-code-samplesSkill
- docs-editSkill
- docs-restructureSkill
- docs-reviewSkill
- docs-team-voiceSkill
- docs-tooling-notionSkill
- submit-integrationSkill
- update-integrations-prsSkill
- verify-against-sourceSkill
- langgraph-docsSkill
- write-timestampSkill
- pandas-patternsSkill
- deep-agentsSkill
- langchainSkill
- langsmithSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use LangGraph when you need to:
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LangGraph
LangGraph is a low-level orchestration framework and runtime for building, managing, and deploying long-running, stateful agents. It provides durable execution, streaming, human-in-the-loop interactions, and time-travel debugging.
When to use
Use LangGraph when you need to:
- Design custom agent workflows with explicit graph-based control flow
- Add durable execution so agents survive failures and restarts
- Implement human-in-the-loop with interrupts and approval steps
- Build multi-agent systems with state shared across agents
- Stream intermediate results from long-running agent tasks
- Time-travel debug by replaying agent execution from any checkpoint
When NOT to use
- For a simple tool-calling agent, use LangChain agents instead—less boilerplate for common patterns
- For a batteries-included agent with planning and subagents, use Deep Agents instead
- LangGraph is the orchestration layer—use it when you need fine-grained control over agent behavior
Install
# Python
pip install -U langgraph
# JavaScript/TypeScript
npm install @langchain/langgraph @langchain/coreQuick reference
Graph API (recommended for most use cases)
from langgraph.graph import StateGraph, MessagesState, START, END
def my_node(state: MessagesState):
return {"messages": [{"role": "ai", "content": "hello world"}]}
graph = StateGraph(MessagesState)
graph.add_node(my_node)
graph.add_edge(START, "my_node")
graph.add_edge("my_node", END)
graph = graph.compile()
result = graph.invoke(
{"messages": [{"role": "user", "content": "Hello!"}]}
)Functional API (for simple pipelines)
from langgraph.func import entrypoint, task
@task
def step_one(input: str) -> str:
return f"processed: {input}"
@entrypoint()
def pipeline(input: str) -> str:
return step_one(input).result()Add human-in-the-loop
from langgraph.types import interrupt
def human_approval(state: MessagesState):
answer = interrupt({"question": "Approve this action?"})
return {"messages": [{"role": "user", "content": answer}]}Key concepts
| Concept | Description |
StateGraph | Define nodes and edges that form your agent's control flow |
MessagesState | Built-in state schema for chat-based agents |
compile() | Compile a graph builder into an executable graph |
interrupt() | Pause execution and wait for human input |
| Checkpointer | Persist state for durable execution and time-travel |
| Graph API vs Functional API | Graph API for complex workflows; Functional API for linear pipelines |
Key documentation
- Overview—What LangGraph is and when to use it
- Quickstart—Build your first graph
- Persistence—Add memory and durable execution
- Interrupts—Human-in-the-loop patterns
- Streaming—Stream intermediate results
- Graph API—Define nodes, edges, and state
- Deploy—Deploy to production with LangSmith
API reference
For SDK class and method details, use the LangChain API Reference site:
- Browse:
https://reference.langchain.com/python/langgraph - MCP server:
https://reference.langchain.com/mcp
Related skills
- langchain—Core building blocks for models, tools, and simple agents
- deep-agents—High-level agent harness built on LangGraph
- langsmith—Trace, evaluate, and deploy your LangGraph agents
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

