Help us improve
Share bugs, ideas, or general feedback.
From langchain-skills
Guides tool selection (LangChain vs LangGraph vs Deep Agents) for agent building projects. Loaded first to determine framework choice, environment setup, and next skill.
npx claudepluginhub langchain-ai/langchain-skills --plugin langchain-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/langchain-skills:ecosystem-primerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<overview>
Manages package versions and dependencies for LangChain, LangGraph, LangSmith, and Deep Agents projects in Python and TypeScript. Use when setting up or upgrading.
Designs and optimizes production-grade multi-agent systems using LangGraph, LangChain, and DeepAgents. Use for creating, debugging, or scaling supervisor, planner, researcher, and coder agents with memory and tool-calling.
Complete reference for the LangChain ecosystem covering models, agents, RAG pipelines, memory, streaming, middlewares, LangGraph state machines, multi-agent orchestration, and LLM provider integrations.
Share bugs, ideas, or general feedback.
Higher layers depend on lower ones, but you don't need to use lower layers directly. Deep Agents gives you LangGraph's durable execution without writing graph code. LangChain gives you models and tools without managing graph edges.
Evaluate these conditions in order and stop at the first match:
create_agent function)This is your layer. BUT you are not done: later in Step 4, you MUST load the layer-specific skill before writing any agent code.
Best for:
Not ideal when:
All LangChain agents use create_agent(model, tools=[...]).
Best for:
Not ideal when:
All LangGraph graphs use StateGraph(State) with explicit nodes, edges, and conditional edges.
Best for:
Not ideal when:
All Deep Agents use create_deep_agent(model, tools=[...]).
The tools are layered, so they can be combined in the same project. Common patterns:
A compiled LangGraph graph can be registered as a named subagent inside Deep Agents — the orchestrator delegates to it via the task tool without knowing its internal structure. LangChain tools and retrievers work freely inside both LangGraph nodes and Deep Agents tools.
Always set these for observability. These are the current LangSmith env var names. Copy them as-is. OLDER NAMES NO LONGER WORK.
LANGSMITH_API_KEY= LANGSMITH_TRACING=true LANGSMITH_PROJECT=Model-provider and tool-specific keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, TAVILY_API_KEY, etc.) depend on your stack — set them as needed.
All documentation lives at docs.langchain.com, organized into two top-level sections:
/oss/python/) and TypeScript (/oss/javascript/) trees in parallel.Each product has its own page tree: overview → quickstart → how-to guides → reference.
Start here rather than tree-searching from root (swap python → javascript for TypeScript):
/oss/python/langchain/overview/oss/python/langgraph/overview/oss/python/deepagents/overview/langsmith/home (no language split)If the LangChain Docs MCP server is connected (mcp__docs-langchain__* tools are available), query it directly:
tree /oss/python -L 2 # explore Python structure
tree /oss/javascript -L 2 # parallel TypeScript structure
cat /oss/python/langchain/quickstart.mdx # read a specific page
rg -il "checkpointer" /oss/python/langgraph/ # search by keyword
If the MCP server is not available, use the llms.txt index:
https://docs.langchain.com/llms.txt — structured list of all pages with descriptionsAlways prefer fetching live docs over relying on training-data knowledge — these libraries evolve fast and APIs change often.
Now load the skill below that matches your layer from Step 1. This is required — the layer-specific skill carries the current API; the primer alone does not.
langchain-fundamentals — building any LangChain agentlangchain-rag — adding RAG / vector store retrievallangchain-middleware — structured output with Pydanticlangchain-dependencies — package versions, installs, or dependency management questionslanggraph-fundamentals — any LangGraph graphlanggraph-human-in-the-loop — human-in-the-loop or approval workflowslanggraph-persistence — state that must survive restarts, or cross-thread memoryAlways load deep-agents-core first. Then, as needed:
deep-agents-orchestration — subagent delegation or orchestrationdeep-agents-memory — cross-session persistent memory