Langgraph multi agent
Skill m00kk/agent-skills-playbook/skills/langgraph-multi-agent
15 production Agent Skills — MCP, LangGraph, RAG, security, Cursor SDK. MIT licensed.
npx -y skills add m00kk/agent-skills-playbook --skill langgraph-multi-agentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Designs and implements stateful LangGraph workflows with checkpoints, human approval, and tool nodes. Use when building LangGraph agents, state graphs, HITL flows, or migrating chains to graph-based orchestration.
SKILL.md
2.0 KB, 435 tokens by cl100k_base, as published. Nobody here has run it
LangGraph Multi-Agent
When to use LangGraph
- Long-running sessions need checkpointing and resume
- Branching logic (if/else) must be explicit, not prompt-only
- Human-in-the-loop (HITL) approvals between steps
Minimal graph pattern
from langgraph.graph import StateGraph, START, END
from typing import TypedDict, Annotated
import operator
class State(TypedDict):
messages: Annotated[list, operator.add]
def planner(state: State) -> State:
# call LLM; append message
return state
def tool_executor(state: State) -> State:
# run tools; append results
return state
builder = StateGraph(State)
builder.add_node("planner", planner)
builder.add_node("tools", tool_executor)
builder.add_edge(START, "planner")
builder.add_conditional_edges("planner", route_fn, ["tools", END])
builder.add_edge("tools", "planner")
graph = builder.compile(checkpointer=checkpointer)
Workflow
- [ ] Define State TypedDict (only fields you need)
- [ ] One node per responsibility (plan, act, reflect)
- [ ] conditional_edges for routing (not mega-prompts)
- [ ] compile(checkpointer=...) for persistence
- [ ] interrupt_before for HITL on sensitive nodes
MCP integration
- Tools live on MCP servers; graph nodes call MCP client, not ad-hoc HTTP
- Keep orchestration in LangGraph; keep side effects in MCP tools
- Pair with
multi-agent-supervisorwhen multiple role-specific subgraphs exist
Observability
- Tag runs with
thread_idanduser_id(hashed) - Export traces to LangSmith or OpenTelemetry (see
agent-observability)
Common mistakes
- Storing full chat history in state without trimming → use summarization node
- Cyclic graphs without max step guard → set
recursion_limit - Single node doing plan + act + evaluate → split nodes
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.