Deep Agents Core
langchain-ai/langchain-skills
Explains how to build agents with the Deep Agents framework: create_deep_agent, the built-in middleware, the harness, SKILL.md format and configuration options.
Build stateful, durable agent workflows with LangGraph. An agent skill from langchain-ai/docs.
$ npx skills add langchain-ai/docs --skill langgraph -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install langchain-ai/docs langgraph --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/.mintlify/skills/langgraph .claude/skills/langgraph && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "langgraph" agent skill from https://github.com/langchain-ai/docs/tree/main/src/.mintlify/skills/langgraph into .claude/skills/langgraph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "langgraph", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/langchain-ai/docs/tree/main/src/.mintlify/skills/langgraphType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add langchain-ai/docs --skill langgraph -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install langchain-ai/docs langgraph --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/src/.mintlify/skills/langgraph .agents/skills/langgraph && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "langgraph" agent skill from https://github.com/langchain-ai/docs/tree/main/src/.mintlify/skills/langgraph into .agents/skills/langgraph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "langgraph", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add langchain-ai/docs --skill langgraph -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install langchain-ai/docs langgraph --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/src/.mintlify/skills/langgraph .cursor/skills/langgraph && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "langgraph" agent skill from https://github.com/langchain-ai/docs/tree/main/src/.mintlify/skills/langgraph into .cursor/skills/langgraph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "langgraph", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/langchain-ai/docs.git --path src/.mintlify/skills/langgraph--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add langchain-ai/docs --skill langgraph -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install langchain-ai/docs langgraph --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/src/.mintlify/skills/langgraph .gemini/skills/langgraph && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "langgraph" agent skill from https://github.com/langchain-ai/docs/tree/main/src/.mintlify/skills/langgraph into .gemini/skills/langgraph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "langgraph", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install langchain-ai/docs langgraphInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add langchain-ai/docs --skill langgraph -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .github/skills && cp -r skills-src/src/.mintlify/skills/langgraph .github/skills/langgraph && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "langgraph" agent skill from https://github.com/langchain-ai/docs/tree/main/src/.mintlify/skills/langgraph into .github/skills/langgraph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "langgraph", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add langchain-ai/docs --skill langgraph -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install langchain-ai/docs langgraph --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/src/.mintlify/skills/langgraph .opencode/skills/langgraph && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "langgraph" agent skill from https://github.com/langchain-ai/docs/tree/main/src/.mintlify/skills/langgraph into .opencode/skills/langgraph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "langgraph", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
langgraphBuild stateful, durable agent workflows with LangGraph. An agent skill from langchain-ai/docs.
Langgraph is an agent skill from langchain-ai/docs, published by the product's own GitHub organization. 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.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Python 3.10+, Node.js 22+
It sits in AI & LLM Engineering, covering Building AI agents and Human-in-the-loop approvals. It works with LangGraph, LangChain and LangSmith. The repository describes itself as: Unified LangChain documentation. The licence is MIT.
Read from SKILL.md and the folder at commit dcfc8b4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pipnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
reference.langchain.comAlso links to:
docs.langchain.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Python 3.10+, Node.js 22+
From compatibility in the SKILL.md frontmatter.
Langgraph loads about 1.1k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 285 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from langchain-ai/docs at commit dcfc8b4, republished under its MIT licence (© langchain-ai). 285 words, ~1,060 tokens.
.claude/skills/langgraph/SKILL.md (or your agent's skills folder).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.
Use LangGraph when you need to:
# Python
pip install -U langgraph
# JavaScript/TypeScript
npm install @langchain/langgraph @langchain/corefrom 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!"}]}
)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()from langgraph.types import interrupt
def human_approval(state: MessagesState):
answer = interrupt({"question": "Approve this action?"})
return {"messages": [{"role": "user", "content": answer}]}| 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 |
For SDK class and method details, use the LangChain API Reference site:
https://reference.langchain.com/python/langgraphhttps://reference.langchain.com/mcp© langchain-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in src/.mintlify/skills/langgraph of langchain-ai/docs.
Open the folder on GitHubat commit dcfc8b4
Langgraph next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Langgraph this skilllangchain-ai/docs | 425 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Deep Agents Corelangchain-ai/langchain-skills | 1.3k | 1 repos | ~3.1k | Automated safety check: Pass | MIT | |
| LangSmith Trace DebuggingComposioHQ/awesome-claude-skills | 77k | 9 repos | ~2.7k | Automated safety check: Pass | None | |
| Dive Into LangGraphluochang212/dive-into-langgraph | 457 | — | ~837 | Automated safety check: Notes | Custom licence | |
| LangGraph Decision Modelslangchain-ai/langchain-skills | 1.3k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Langchain Dependencieslangchain-ai/langchain-skills | 1.3k | 1 repos | ~3.6k | Automated safety check: Pass | MIT |
langchain-ai/langchain-skills
Explains how to build agents with the Deep Agents framework: create_deep_agent, the built-in middleware, the harness, SKILL.md format and configuration options.
ComposioHQ/awesome-claude-skills
Debugs LangChain and LangGraph agents by pulling recent execution traces with the langsmith-fetch CLI and reporting errors, tool calls, timings and token use.
luochang212/dive-into-langgraph
A Chinese-language guide and reference for building agents with LangGraph 1.0, from a first ReAct agent through middleware, memory, MCP, RAG and web search.
langchain-ai/langchain-skills
Routes LangGraph agents with typed decision models that return probabilities, and finds LLM calls that only exist to produce a routing decision.
langchain-ai/langchain-skills
INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph, LangSmith, or Deep Agents.
soba-labs/langchain-agent-skills
Initialize, validate, and troubleshoot Deep Agents projects in Python or JavaScript using the deepagents package.
langchain-ai/docs
Add, move, rename, or delete a page on the LangChain docs site.
langchain-ai/docs
Build batteries-included agents with planning, context management, subagent delegation, and sandboxed execution.
langchain-ai/docs
A skill your agent uses when migrating inline code samples from LangChain docs (MDX files) into external, testable code files that are extracted by this repo’s snippet scripts and used as Mintlify…
langchain-ai/docs
Edit a docs page that already has an open pull request, or revise a page in place.
langchain-ai/docs
Restructure documentation that spans several pages. An agent skill from langchain-ai/docs.
langchain-ai/docs
Write or revise documentation prose so it reads like the rest of this site, in the docs team's shared voice.
Categories
Build stateful, durable agent workflows with LangGraph. An agent skill from langchain-ai/docs. Langgraph is an agent skill from langchain-ai/docs, published by the product's own GitHub organization. Build stateful, durable agent workflows with LangGraph.
Langgraph fits situations like: you need custom graph-based control flow; human-in-the-loop; multi-agent orchestration.
Run `npx skills add langchain-ai/docs --skill langgraph -a claude-code`. Or copy the skill folder (src/.mintlify/skills/langgraph in langchain-ai/docs) into .claude/skills/langgraph in your project. Claude Code loads it when a task matches its description.
Run `npx skills add langchain-ai/docs --skill langgraph -a codex`. Or copy the skill folder (src/.mintlify/skills/langgraph in langchain-ai/docs) into .agents/skills/langgraph in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add langchain-ai/docs --skill langgraph -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/langgraph, .gemini/skills/langgraph, .github/skills/langgraph and .opencode/skills/langgraph in your project.
Going by SKILL.md and its folder, Langgraph needs the command-line tools its instructions call (pip and npm). Our summary lists: Python 3; Node.js. Compatibility (from SKILL.md): Python 3.10+, Node.js 22+.
SKILL.md names 2 domains. In commands or code: reference.langchain.com; the agent is likely to contact it when it follows the instructions. As links in the text: docs.langchain.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Langgraph is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Langgraph: Deep Agents Core (langchain-ai/langchain-skills, 1.3k stars), LangSmith Trace Debugging (ComposioHQ/awesome-claude-skills, 77k stars), Dive Into LangGraph (luochang212/dive-into-langgraph, 457 stars) and LangGraph Decision Models (langchain-ai/langchain-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
langchain-ai (a GitHub organization, an official publisher) maintains it in langchain-ai/docs, which has 425 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.
Source: langchain-ai/docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.