langchain Documentation
LangChain and LangGraph documentation. Use for agents, RAG, vector stores, chains, and LLM application development. Covers LangChain, LangGraph, Deep Agents, and hundreds of Python and JavaScript integrations.
Quick Reference
| Task | Entry Point |
|------|-------------|
| Getting started | contents/langchain/quickstart.mdx |
| Agents | contents/langchain/agents.mdx |
| Middleware | contents/langchain/middleware/ |
| LangGraph graph API | contents/langgraph/graph-api.mdx |
| Persistence and memory | contents/langgraph/persistence.mdx |
| Deep Agents | contents/deepagents/overview.mdx |
| Python integrations | contents/python/integrations/ |
| JavaScript integrations | contents/javascript/integrations/ |
| Troubleshooting | contents/common-errors.mdx |
When to use
Use this skill when the user asks about:
- Building LangChain agents, tools, models, structured output, and middleware
- LangGraph workflows, state, checkpointers, interrupts, and streaming
- Deep Agents, subagents, sandboxes, and backends
- RAG, vector stores, embeddings, retrievers, and document loaders
- Provider integrations (chat models, tools, stores) in Python or JavaScript
- Migrating to LangChain or LangGraph v1
How to find information
- First, read
TOC.mdfor complete file listing organized by directory - Identify relevant section based on user's question
- Read specific files for details
TOC.md contains all files organized by directory - always check it first.